305 lines
14 KiB
ArmAsm
305 lines
14 KiB
ArmAsm
.include "macros.inc"
|
|
|
|
.section .text, "ax" # 0x80006A00 - 0x80406260 ; 0x003FF860
|
|
.global __HBMSYNSetupVolumeEnvelope
|
|
__HBMSYNSetupVolumeEnvelope:
|
|
/* 8014A160 00145FA0 94 21 FF D0 */ stwu r1, -0x30(r1)
|
|
/* 8014A164 00145FA4 7C 08 02 A6 */ mflr r0
|
|
/* 8014A168 00145FA8 90 01 00 34 */ stw r0, 0x34(r1)
|
|
/* 8014A16C 00145FAC 3C 00 43 30 */ lis r0, 0x4330
|
|
/* 8014A170 00145FB0 93 E1 00 2C */ stw r31, 0x2c(r1)
|
|
/* 8014A174 00145FB4 3F E0 80 41 */ lis r31, "@1811_8040E2F0"@ha
|
|
/* 8014A178 00145FB8 3B FF E2 F0 */ addi r31, r31, "@1811_8040E2F0"@l
|
|
/* 8014A17C 00145FBC 93 C1 00 28 */ stw r30, 0x28(r1)
|
|
/* 8014A180 00145FC0 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8014A184 00145FC4 80 C3 00 14 */ lwz r6, 0x14(r3)
|
|
/* 8014A188 00145FC8 90 01 00 08 */ stw r0, 0x8(r1)
|
|
/* 8014A18C 00145FCC 80 86 00 18 */ lwz r4, 0x18(r6)
|
|
/* 8014A190 00145FD0 90 01 00 10 */ stw r0, 0x10(r1)
|
|
/* 8014A194 00145FD4 3C 04 80 00 */ addis r0, r4, 0x8000
|
|
/* 8014A198 00145FD8 28 00 00 00 */ cmplwi r0, 0x0
|
|
/* 8014A19C 00145FDC 40 82 00 38 */ bne lbl_8014A1D4
|
|
/* 8014A1A0 00145FE0 38 80 00 01 */ li r4, 0x1
|
|
/* 8014A1A4 00145FE4 38 00 00 00 */ li r0, 0x0
|
|
/* 8014A1A8 00145FE8 90 83 00 30 */ stw r4, 0x30(r3)
|
|
/* 8014A1AC 00145FEC 90 03 00 34 */ stw r0, 0x34(r3)
|
|
/* 8014A1B0 00145FF0 80 86 00 1C */ lwz r4, 0x1c(r6)
|
|
/* 8014A1B4 00145FF4 3C 04 80 00 */ addis r0, r4, 0x8000
|
|
/* 8014A1B8 00145FF8 28 00 00 00 */ cmplwi r0, 0x0
|
|
/* 8014A1BC 00145FFC 40 82 01 34 */ bne lbl_8014A2F0
|
|
/* 8014A1C0 00146000 38 00 00 02 */ li r0, 0x2
|
|
/* 8014A1C4 00146004 90 03 00 30 */ stw r0, 0x30(r3)
|
|
/* 8014A1C8 00146008 80 06 00 20 */ lwz r0, 0x20(r6)
|
|
/* 8014A1CC 0014600C 90 03 00 34 */ stw r0, 0x34(r3)
|
|
/* 8014A1D0 00146010 48 00 01 20 */ b lbl_8014A2F0
|
|
.global lbl_8014A1D4
|
|
lbl_8014A1D4:
|
|
/* 8014A1D4 00146014 88 A3 00 0E */ lbz r5, 0xe(r3)
|
|
/* 8014A1D8 00146018 80 66 00 28 */ lwz r3, 0x28(r6)
|
|
/* 8014A1DC 0014601C 40 82 00 0C */ bne lbl_8014A1E8
|
|
/* 8014A1E0 00146020 38 80 00 00 */ li r4, 0x0
|
|
/* 8014A1E4 00146024 48 00 00 B4 */ b lbl_8014A298
|
|
.global lbl_8014A1E8
|
|
lbl_8014A1E8:
|
|
/* 8014A1E8 00146028 3C 03 80 00 */ addis r0, r3, 0x8000
|
|
/* 8014A1EC 0014602C 28 00 00 00 */ cmplwi r0, 0x0
|
|
/* 8014A1F0 00146030 40 82 00 44 */ bne lbl_8014A234
|
|
/* 8014A1F4 00146034 6C 80 80 00 */ xoris r0, r4, 0x8000
|
|
/* 8014A1F8 00146038 90 01 00 0C */ stw r0, 0xc(r1)
|
|
/* 8014A1FC 0014603C C8 5F 00 18 */ lfd f2, 0x18(r31)
|
|
/* 8014A200 00146040 C8 21 00 08 */ lfd f1, 0x8(r1)
|
|
/* 8014A204 00146044 C0 1F 00 08 */ lfs f0, 0x8(r31)
|
|
/* 8014A208 00146048 EC 41 10 28 */ fsubs f2, f1, f2
|
|
/* 8014A20C 0014604C C8 3F 00 00 */ lfd f1, 0x0(r31)
|
|
/* 8014A210 00146050 EC 42 00 24 */ fdivs f2, f2, f0
|
|
/* 8014A214 00146054 4B EC A3 89 */ bl pow
|
|
/* 8014A218 00146058 FC 20 08 18 */ frsp f1, f1
|
|
/* 8014A21C 0014605C C0 1F 00 0C */ lfs f0, 0xc(r31)
|
|
/* 8014A220 00146060 EC 00 00 72 */ fmuls f0, f0, f1
|
|
/* 8014A224 00146064 FC 00 00 1E */ fctiwz f0, f0
|
|
/* 8014A228 00146068 D8 01 00 18 */ stfd f0, 0x18(r1)
|
|
/* 8014A22C 0014606C 80 81 00 1C */ lwz r4, 0x1c(r1)
|
|
/* 8014A230 00146070 48 00 00 68 */ b lbl_8014A298
|
|
.global lbl_8014A234
|
|
lbl_8014A234:
|
|
/* 8014A234 00146074 6C 60 80 00 */ xoris r0, r3, 0x8000
|
|
/* 8014A238 00146078 90 01 00 0C */ stw r0, 0xc(r1)
|
|
/* 8014A23C 0014607C 6C 84 80 00 */ xoris r4, r4, 0x8000
|
|
/* 8014A240 00146080 3C 60 80 44 */ lis r3, __HBMSYNn128@ha
|
|
/* 8014A244 00146084 C8 9F 00 18 */ lfd f4, 0x18(r31)
|
|
/* 8014A248 00146088 54 A0 15 BA */ rlwinm r0, r5, 2, 22, 29
|
|
/* 8014A24C 0014608C C8 01 00 08 */ lfd f0, 0x8(r1)
|
|
/* 8014A250 00146090 38 63 62 58 */ addi r3, r3, __HBMSYNn128@l
|
|
/* 8014A254 00146094 90 81 00 14 */ stw r4, 0x14(r1)
|
|
/* 8014A258 00146098 EC 60 20 28 */ fsubs f3, f0, f4
|
|
/* 8014A25C 0014609C 7C 43 04 2E */ lfsx f2, r3, r0
|
|
/* 8014A260 001460A0 C8 21 00 10 */ lfd f1, 0x10(r1)
|
|
/* 8014A264 001460A4 C0 1F 00 10 */ lfs f0, 0x10(r31)
|
|
/* 8014A268 001460A8 EC 81 20 28 */ fsubs f4, f1, f4
|
|
/* 8014A26C 001460AC C8 3F 00 00 */ lfd f1, 0x0(r31)
|
|
/* 8014A270 001460B0 EC 43 00 B2 */ fmuls f2, f3, f2
|
|
/* 8014A274 001460B4 EC 44 10 2A */ fadds f2, f4, f2
|
|
/* 8014A278 001460B8 EC 42 00 24 */ fdivs f2, f2, f0
|
|
/* 8014A27C 001460BC 4B EC A3 21 */ bl pow
|
|
/* 8014A280 001460C0 FC 20 08 18 */ frsp f1, f1
|
|
/* 8014A284 001460C4 C0 1F 00 0C */ lfs f0, 0xc(r31)
|
|
/* 8014A288 001460C8 EC 00 00 72 */ fmuls f0, f0, f1
|
|
/* 8014A28C 001460CC FC 00 00 1E */ fctiwz f0, f0
|
|
/* 8014A290 001460D0 D8 01 00 18 */ stfd f0, 0x18(r1)
|
|
/* 8014A294 001460D4 80 81 00 1C */ lwz r4, 0x1c(r1)
|
|
.global lbl_8014A298
|
|
lbl_8014A298:
|
|
/* 8014A298 001460D8 3C 60 55 55 */ lis r3, 0x5555
|
|
/* 8014A29C 001460DC 38 03 55 56 */ addi r0, r3, 0x5556
|
|
/* 8014A2A0 001460E0 7C 60 20 96 */ mulhw r3, r0, r4
|
|
/* 8014A2A4 001460E4 54 60 0F FE */ srwi r0, r3, 31
|
|
/* 8014A2A8 001460E8 7C 63 02 15 */ add. r3, r3, r0
|
|
/* 8014A2AC 001460EC 41 82 00 28 */ beq lbl_8014A2D4
|
|
/* 8014A2B0 001460F0 3C 00 00 64 */ lis r0, 0x64
|
|
/* 8014A2B4 001460F4 38 80 00 00 */ li r4, 0x0
|
|
/* 8014A2B8 001460F8 7C 60 1B D6 */ divw r3, r0, r3
|
|
/* 8014A2BC 001460FC 90 9E 00 38 */ stw r4, 0x38(r30)
|
|
/* 8014A2C0 00146100 3C 00 FC 40 */ lis r0, 0xfc40
|
|
/* 8014A2C4 00146104 90 1E 00 34 */ stw r0, 0x34(r30)
|
|
/* 8014A2C8 00146108 90 9E 00 30 */ stw r4, 0x30(r30)
|
|
/* 8014A2CC 0014610C 90 7E 00 3C */ stw r3, 0x3c(r30)
|
|
/* 8014A2D0 00146110 48 00 00 20 */ b lbl_8014A2F0
|
|
.global lbl_8014A2D4
|
|
lbl_8014A2D4:
|
|
/* 8014A2D4 00146114 38 80 00 00 */ li r4, 0x0
|
|
/* 8014A2D8 00146118 3C 60 00 64 */ lis r3, 0x64
|
|
/* 8014A2DC 0014611C 3C 00 FC 40 */ lis r0, 0xfc40
|
|
/* 8014A2E0 00146120 90 9E 00 38 */ stw r4, 0x38(r30)
|
|
/* 8014A2E4 00146124 90 7E 00 3C */ stw r3, 0x3c(r30)
|
|
/* 8014A2E8 00146128 90 1E 00 34 */ stw r0, 0x34(r30)
|
|
/* 8014A2EC 0014612C 90 9E 00 30 */ stw r4, 0x30(r30)
|
|
.global lbl_8014A2F0
|
|
lbl_8014A2F0:
|
|
/* 8014A2F0 00146130 80 1E 00 30 */ lwz r0, 0x30(r30)
|
|
/* 8014A2F4 00146134 28 00 00 02 */ cmplwi r0, 0x2
|
|
/* 8014A2F8 00146138 40 80 01 08 */ bge lbl_8014A400
|
|
/* 8014A2FC 0014613C 80 9E 00 14 */ lwz r4, 0x14(r30)
|
|
/* 8014A300 00146140 88 BE 00 0D */ lbz r5, 0xd(r30)
|
|
/* 8014A304 00146144 80 64 00 1C */ lwz r3, 0x1c(r4)
|
|
/* 8014A308 00146148 80 84 00 2C */ lwz r4, 0x2c(r4)
|
|
/* 8014A30C 0014614C 3C 03 80 00 */ addis r0, r3, 0x8000
|
|
/* 8014A310 00146150 28 00 00 00 */ cmplwi r0, 0x0
|
|
/* 8014A314 00146154 40 82 00 0C */ bne lbl_8014A320
|
|
/* 8014A318 00146158 38 80 00 00 */ li r4, 0x0
|
|
/* 8014A31C 0014615C 48 00 00 B4 */ b lbl_8014A3D0
|
|
.global lbl_8014A320
|
|
lbl_8014A320:
|
|
/* 8014A320 00146160 3C 04 80 00 */ addis r0, r4, 0x8000
|
|
/* 8014A324 00146164 28 00 00 00 */ cmplwi r0, 0x0
|
|
/* 8014A328 00146168 40 82 00 44 */ bne lbl_8014A36C
|
|
/* 8014A32C 0014616C 6C 60 80 00 */ xoris r0, r3, 0x8000
|
|
/* 8014A330 00146170 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8014A334 00146174 C8 5F 00 18 */ lfd f2, 0x18(r31)
|
|
/* 8014A338 00146178 C8 21 00 10 */ lfd f1, 0x10(r1)
|
|
/* 8014A33C 0014617C C0 1F 00 08 */ lfs f0, 0x8(r31)
|
|
/* 8014A340 00146180 EC 41 10 28 */ fsubs f2, f1, f2
|
|
/* 8014A344 00146184 C8 3F 00 00 */ lfd f1, 0x0(r31)
|
|
/* 8014A348 00146188 EC 42 00 24 */ fdivs f2, f2, f0
|
|
/* 8014A34C 0014618C 4B EC A2 51 */ bl pow
|
|
/* 8014A350 00146190 FC 20 08 18 */ frsp f1, f1
|
|
/* 8014A354 00146194 C0 1F 00 0C */ lfs f0, 0xc(r31)
|
|
/* 8014A358 00146198 EC 00 00 72 */ fmuls f0, f0, f1
|
|
/* 8014A35C 0014619C FC 00 00 1E */ fctiwz f0, f0
|
|
/* 8014A360 001461A0 D8 01 00 18 */ stfd f0, 0x18(r1)
|
|
/* 8014A364 001461A4 80 81 00 1C */ lwz r4, 0x1c(r1)
|
|
/* 8014A368 001461A8 48 00 00 68 */ b lbl_8014A3D0
|
|
.global lbl_8014A36C
|
|
lbl_8014A36C:
|
|
/* 8014A36C 001461AC 6C 80 80 00 */ xoris r0, r4, 0x8000
|
|
/* 8014A370 001461B0 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8014A374 001461B4 6C 64 80 00 */ xoris r4, r3, 0x8000
|
|
/* 8014A378 001461B8 3C 60 80 44 */ lis r3, __HBMSYNn128@ha
|
|
/* 8014A37C 001461BC C8 9F 00 18 */ lfd f4, 0x18(r31)
|
|
/* 8014A380 001461C0 54 A0 15 BA */ rlwinm r0, r5, 2, 22, 29
|
|
/* 8014A384 001461C4 C8 01 00 10 */ lfd f0, 0x10(r1)
|
|
/* 8014A388 001461C8 38 63 62 58 */ addi r3, r3, __HBMSYNn128@l
|
|
/* 8014A38C 001461CC 90 81 00 0C */ stw r4, 0xc(r1)
|
|
/* 8014A390 001461D0 EC 60 20 28 */ fsubs f3, f0, f4
|
|
/* 8014A394 001461D4 7C 43 04 2E */ lfsx f2, r3, r0
|
|
/* 8014A398 001461D8 C8 21 00 08 */ lfd f1, 0x8(r1)
|
|
/* 8014A39C 001461DC C0 1F 00 10 */ lfs f0, 0x10(r31)
|
|
/* 8014A3A0 001461E0 EC 81 20 28 */ fsubs f4, f1, f4
|
|
/* 8014A3A4 001461E4 C8 3F 00 00 */ lfd f1, 0x0(r31)
|
|
/* 8014A3A8 001461E8 EC 43 00 B2 */ fmuls f2, f3, f2
|
|
/* 8014A3AC 001461EC EC 44 10 2A */ fadds f2, f4, f2
|
|
/* 8014A3B0 001461F0 EC 42 00 24 */ fdivs f2, f2, f0
|
|
/* 8014A3B4 001461F4 4B EC A1 E9 */ bl pow
|
|
/* 8014A3B8 001461F8 FC 20 08 18 */ frsp f1, f1
|
|
/* 8014A3BC 001461FC C0 1F 00 0C */ lfs f0, 0xc(r31)
|
|
/* 8014A3C0 00146200 EC 00 00 72 */ fmuls f0, f0, f1
|
|
/* 8014A3C4 00146204 FC 00 00 1E */ fctiwz f0, f0
|
|
/* 8014A3C8 00146208 D8 01 00 18 */ stfd f0, 0x18(r1)
|
|
/* 8014A3CC 0014620C 80 81 00 1C */ lwz r4, 0x1c(r1)
|
|
.global lbl_8014A3D0
|
|
lbl_8014A3D0:
|
|
/* 8014A3D0 00146210 3C 60 55 55 */ lis r3, 0x5555
|
|
/* 8014A3D4 00146214 38 03 55 56 */ addi r0, r3, 0x5556
|
|
/* 8014A3D8 00146218 7C 60 20 96 */ mulhw r3, r0, r4
|
|
/* 8014A3DC 0014621C 54 60 0F FE */ srwi r0, r3, 31
|
|
/* 8014A3E0 00146220 7C 63 02 15 */ add. r3, r3, r0
|
|
/* 8014A3E4 00146224 41 82 00 14 */ beq lbl_8014A3F8
|
|
/* 8014A3E8 00146228 3C 00 FC 40 */ lis r0, 0xfc40
|
|
/* 8014A3EC 0014622C 7C 00 1B D6 */ divw r0, r0, r3
|
|
/* 8014A3F0 00146230 90 1E 00 40 */ stw r0, 0x40(r30)
|
|
/* 8014A3F4 00146234 48 00 00 0C */ b lbl_8014A400
|
|
.global lbl_8014A3F8
|
|
lbl_8014A3F8:
|
|
/* 8014A3F8 00146238 3C 00 FC 40 */ lis r0, 0xfc40
|
|
/* 8014A3FC 0014623C 90 1E 00 40 */ stw r0, 0x40(r30)
|
|
.global lbl_8014A400
|
|
lbl_8014A400:
|
|
/* 8014A400 00146240 80 7E 00 14 */ lwz r3, 0x14(r30)
|
|
/* 8014A404 00146244 80 03 00 20 */ lwz r0, 0x20(r3)
|
|
/* 8014A408 00146248 90 1E 00 44 */ stw r0, 0x44(r30)
|
|
/* 8014A40C 0014624C 80 03 00 24 */ lwz r0, 0x24(r3)
|
|
/* 8014A410 00146250 90 1E 00 48 */ stw r0, 0x48(r30)
|
|
/* 8014A414 00146254 83 E1 00 2C */ lwz r31, 0x2c(r1)
|
|
/* 8014A418 00146258 83 C1 00 28 */ lwz r30, 0x28(r1)
|
|
/* 8014A41C 0014625C 80 01 00 34 */ lwz r0, 0x34(r1)
|
|
/* 8014A420 00146260 7C 08 03 A6 */ mtlr r0
|
|
/* 8014A424 00146264 38 21 00 30 */ addi r1, r1, 0x30
|
|
/* 8014A428 00146268 4E 80 00 20 */ blr
|
|
/* 8014A42C 0014626C 00 00 00 00 */ .4byte 0x00000000
|
|
.global __HBMSYNRunVolumeEnvelope
|
|
__HBMSYNRunVolumeEnvelope:
|
|
/* 8014A430 00146270 80 03 00 30 */ lwz r0, 0x30(r3)
|
|
/* 8014A434 00146274 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 8014A438 00146278 41 82 00 18 */ beq lbl_8014A450
|
|
/* 8014A43C 0014627C 28 00 00 01 */ cmplwi r0, 0x1
|
|
/* 8014A440 00146280 41 82 00 68 */ beq lbl_8014A4A8
|
|
/* 8014A444 00146284 28 00 00 03 */ cmplwi r0, 0x3
|
|
/* 8014A448 00146288 41 82 00 C8 */ beq lbl_8014A510
|
|
/* 8014A44C 0014628C 4E 80 00 20 */ blr
|
|
.global lbl_8014A450
|
|
lbl_8014A450:
|
|
/* 8014A450 00146290 80 A3 00 38 */ lwz r5, 0x38(r3)
|
|
/* 8014A454 00146294 3C 00 00 63 */ lis r0, 0x63
|
|
/* 8014A458 00146298 80 83 00 3C */ lwz r4, 0x3c(r3)
|
|
/* 8014A45C 0014629C 7C 85 22 14 */ add r4, r5, r4
|
|
/* 8014A460 001462A0 90 83 00 38 */ stw r4, 0x38(r3)
|
|
/* 8014A464 001462A4 7C 04 00 00 */ cmpw r4, r0
|
|
/* 8014A468 001462A8 41 80 00 10 */ blt lbl_8014A478
|
|
/* 8014A46C 001462AC 38 00 00 00 */ li r0, 0x0
|
|
/* 8014A470 001462B0 90 03 00 34 */ stw r0, 0x34(r3)
|
|
/* 8014A474 001462B4 48 00 00 1C */ b lbl_8014A490
|
|
.global lbl_8014A478
|
|
lbl_8014A478:
|
|
/* 8014A478 001462B8 7C 80 86 70 */ srawi r0, r4, 16
|
|
/* 8014A47C 001462BC 3C 80 80 44 */ lis r4, __HBMSYNAttackAttnTable@ha
|
|
/* 8014A480 001462C0 54 00 10 3A */ slwi r0, r0, 2
|
|
/* 8014A484 001462C4 38 84 66 58 */ addi r4, r4, __HBMSYNAttackAttnTable@l
|
|
/* 8014A488 001462C8 7C 04 00 2E */ lwzx r0, r4, r0
|
|
/* 8014A48C 001462CC 90 03 00 34 */ stw r0, 0x34(r3)
|
|
.global lbl_8014A490
|
|
lbl_8014A490:
|
|
/* 8014A490 001462D0 80 03 00 34 */ lwz r0, 0x34(r3)
|
|
/* 8014A494 001462D4 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 8014A498 001462D8 4C 82 00 20 */ bnelr
|
|
/* 8014A49C 001462DC 38 00 00 01 */ li r0, 0x1
|
|
/* 8014A4A0 001462E0 90 03 00 30 */ stw r0, 0x30(r3)
|
|
/* 8014A4A4 001462E4 4E 80 00 20 */ blr
|
|
.global lbl_8014A4A8
|
|
lbl_8014A4A8:
|
|
/* 8014A4A8 001462E8 80 83 00 34 */ lwz r4, 0x34(r3)
|
|
/* 8014A4AC 001462EC 80 03 00 40 */ lwz r0, 0x40(r3)
|
|
/* 8014A4B0 001462F0 80 A3 00 44 */ lwz r5, 0x44(r3)
|
|
/* 8014A4B4 001462F4 7C 04 02 14 */ add r0, r4, r0
|
|
/* 8014A4B8 001462F8 90 03 00 34 */ stw r0, 0x34(r3)
|
|
/* 8014A4BC 001462FC 7C 00 28 00 */ cmpw r0, r5
|
|
/* 8014A4C0 00146300 41 81 00 10 */ bgt lbl_8014A4D0
|
|
/* 8014A4C4 00146304 38 00 00 02 */ li r0, 0x2
|
|
/* 8014A4C8 00146308 90 A3 00 34 */ stw r5, 0x34(r3)
|
|
/* 8014A4CC 0014630C 90 03 00 30 */ stw r0, 0x30(r3)
|
|
.global lbl_8014A4D0
|
|
lbl_8014A4D0:
|
|
/* 8014A4D0 00146310 80 83 00 34 */ lwz r4, 0x34(r3)
|
|
/* 8014A4D4 00146314 3C 00 FD 30 */ lis r0, 0xfd30
|
|
/* 8014A4D8 00146318 7C 04 00 00 */ cmpw r4, r0
|
|
/* 8014A4DC 0014631C 4D 81 00 20 */ bgtlr
|
|
/* 8014A4E0 00146320 88 83 00 0C */ lbz r4, 0xc(r3)
|
|
/* 8014A4E4 00146324 38 E0 00 04 */ li r7, 0x4
|
|
/* 8014A4E8 00146328 88 03 00 0D */ lbz r0, 0xd(r3)
|
|
/* 8014A4EC 0014632C 38 C0 00 00 */ li r6, 0x0
|
|
/* 8014A4F0 00146330 80 A3 00 08 */ lwz r5, 0x8(r3)
|
|
/* 8014A4F4 00146334 54 84 48 2C */ slwi r4, r4, 9
|
|
/* 8014A4F8 00146338 90 E3 00 30 */ stw r7, 0x30(r3)
|
|
/* 8014A4FC 0014633C 54 00 10 3A */ slwi r0, r0, 2
|
|
/* 8014A500 00146340 7C 65 22 14 */ add r3, r5, r4
|
|
/* 8014A504 00146344 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8014A508 00146348 90 C3 04 08 */ stw r6, 0x408(r3)
|
|
/* 8014A50C 0014634C 4E 80 00 20 */ blr
|
|
.global lbl_8014A510
|
|
lbl_8014A510:
|
|
/* 8014A510 00146350 80 83 00 34 */ lwz r4, 0x34(r3)
|
|
/* 8014A514 00146354 3C 00 FD 30 */ lis r0, 0xfd30
|
|
/* 8014A518 00146358 7C 04 00 00 */ cmpw r4, r0
|
|
/* 8014A51C 0014635C 41 81 00 10 */ bgt lbl_8014A52C
|
|
/* 8014A520 00146360 38 00 00 04 */ li r0, 0x4
|
|
/* 8014A524 00146364 90 03 00 30 */ stw r0, 0x30(r3)
|
|
/* 8014A528 00146368 4E 80 00 20 */ blr
|
|
.global lbl_8014A52C
|
|
lbl_8014A52C:
|
|
/* 8014A52C 0014636C 80 03 00 48 */ lwz r0, 0x48(r3)
|
|
/* 8014A530 00146370 7C 04 02 14 */ add r0, r4, r0
|
|
/* 8014A534 00146374 90 03 00 34 */ stw r0, 0x34(r3)
|
|
/* 8014A538 00146378 4E 80 00 20 */ blr
|
|
/* 8014A53C 0014637C 00 00 00 00 */ .4byte 0x00000000
|
|
.include "macros.inc"
|
|
|
|
.section .rodata, "wa" # 0x80406560 - 0x80421040 ; 0x0001AAE0
|
|
.global "@1811_8040E2F0"
|
|
"@1811_8040E2F0":
|
|
|
|
.4byte 0x40000000
|
|
.4byte 0
|
|
.4byte 0x4C960000
|
|
.4byte 0x447A0000
|
|
.4byte 0x4C95FF6A
|
|
.4byte 0
|
|
.4byte 0x43300000
|
|
.4byte 0x80000000
|