1906 lines
89 KiB
ArmAsm
1906 lines
89 KiB
ArmAsm
|
.include "macros.inc"
|
||
|
|
||
|
.section .text, "ax" # 0x80006A00 - 0x80406260 ; 0x003FF860
|
||
|
.global lbl_8004B430
|
||
|
lbl_8004B430:
|
||
|
/* 8004B430 00047270 94 21 FF F0 */ stwu r1, -0x10(r1)
|
||
|
/* 8004B434 00047274 7C 08 02 A6 */ mflr r0
|
||
|
/* 8004B438 00047278 90 01 00 14 */ stw r0, 0x14(r1)
|
||
|
/* 8004B43C 0004727C 93 E1 00 0C */ stw r31, 0xc(r1)
|
||
|
/* 8004B440 00047280 4B FD 63 E1 */ bl lbl_80021820
|
||
|
/* 8004B444 00047284 88 0D E8 EE */ lbz r0, lbl_8055CD0E@sda21(r13)
|
||
|
/* 8004B448 00047288 2C 00 00 00 */ cmpwi r0, 0x0
|
||
|
/* 8004B44C 0004728C 41 82 00 0C */ beq lbl_8004B458
|
||
|
/* 8004B450 00047290 4B FD 64 11 */ bl lbl_80021860
|
||
|
/* 8004B454 00047294 48 00 00 68 */ b lbl_8004B4BC
|
||
|
.global lbl_8004B458
|
||
|
lbl_8004B458:
|
||
|
/* 8004B458 00047298 3B E0 00 01 */ li r31, 0x1
|
||
|
/* 8004B45C 0004729C 9B ED E8 EE */ stb r31, lbl_8055CD0E@sda21(r13)
|
||
|
/* 8004B460 000472A0 9B ED E8 D8 */ stb r31, lbl_8055CCF8@sda21(r13)
|
||
|
/* 8004B464 000472A4 4B FD 63 FD */ bl lbl_80021860
|
||
|
/* 8004B468 000472A8 80 6D 82 58 */ lwz r3, lbl_80556678@sda21(r13)
|
||
|
/* 8004B46C 000472AC 4B FD 02 75 */ bl lbl_8001B6E0
|
||
|
/* 8004B470 000472B0 3C 60 80 4B */ lis r3, lbl_804B5B80@ha
|
||
|
/* 8004B474 000472B4 38 63 5B 80 */ addi r3, r3, lbl_804B5B80@l
|
||
|
/* 8004B478 000472B8 4B FD 92 C9 */ bl lbl_80024740
|
||
|
/* 8004B47C 000472BC 4B FC EF E5 */ bl lbl_8001A460
|
||
|
/* 8004B480 000472C0 54 60 00 C7 */ rlwinm. r0, r3, 0, 3, 3
|
||
|
/* 8004B484 000472C4 41 82 00 08 */ beq lbl_8004B48C
|
||
|
/* 8004B488 000472C8 9B ED E8 EC */ stb r31, lbl_8055CD0C@sda21(r13)
|
||
|
.global lbl_8004B48C
|
||
|
lbl_8004B48C:
|
||
|
/* 8004B48C 000472CC 4B FF EA 45 */ bl lbl_80049ED0
|
||
|
/* 8004B490 000472D0 2C 03 00 00 */ cmpwi r3, 0x0
|
||
|
/* 8004B494 000472D4 40 82 00 20 */ bne lbl_8004B4B4
|
||
|
/* 8004B498 000472D8 3C 60 80 4B */ lis r3, lbl_804B5D20@ha
|
||
|
/* 8004B49C 000472DC 38 80 40 00 */ li r4, 0x4000
|
||
|
/* 8004B4A0 000472E0 38 63 5D 20 */ addi r3, r3, lbl_804B5D20@l
|
||
|
/* 8004B4A4 000472E4 38 A0 00 00 */ li r5, 0x0
|
||
|
/* 8004B4A8 000472E8 48 00 01 49 */ bl lbl_8004B5F0
|
||
|
/* 8004B4AC 000472EC 2C 03 00 00 */ cmpwi r3, 0x0
|
||
|
/* 8004B4B0 000472F0 41 82 00 0C */ beq lbl_8004B4BC
|
||
|
.global lbl_8004B4B4
|
||
|
lbl_8004B4B4:
|
||
|
/* 8004B4B4 000472F4 38 00 00 02 */ li r0, 0x2
|
||
|
/* 8004B4B8 000472F8 98 0D E8 D8 */ stb r0, lbl_8055CCF8@sda21(r13)
|
||
|
.global lbl_8004B4BC
|
||
|
lbl_8004B4BC:
|
||
|
/* 8004B4BC 000472FC 80 01 00 14 */ lwz r0, 0x14(r1)
|
||
|
/* 8004B4C0 00047300 83 E1 00 0C */ lwz r31, 0xc(r1)
|
||
|
/* 8004B4C4 00047304 7C 08 03 A6 */ mtlr r0
|
||
|
/* 8004B4C8 00047308 38 21 00 10 */ addi r1, r1, 0x10
|
||
|
/* 8004B4CC 0004730C 4E 80 00 20 */ blr
|
||
|
.global lbl_8004B4D0
|
||
|
lbl_8004B4D0:
|
||
|
/* 8004B4D0 00047310 94 21 FF E0 */ stwu r1, -0x20(r1)
|
||
|
/* 8004B4D4 00047314 7C 08 02 A6 */ mflr r0
|
||
|
/* 8004B4D8 00047318 90 01 00 24 */ stw r0, 0x24(r1)
|
||
|
/* 8004B4DC 0004731C 93 E1 00 1C */ stw r31, 0x1c(r1)
|
||
|
/* 8004B4E0 00047320 93 C1 00 18 */ stw r30, 0x18(r1)
|
||
|
/* 8004B4E4 00047324 93 A1 00 14 */ stw r29, 0x14(r1)
|
||
|
/* 8004B4E8 00047328 4B FD 63 39 */ bl lbl_80021820
|
||
|
/* 8004B4EC 0004732C 8B AD E8 D8 */ lbz r29, lbl_8055CCF8@sda21(r13)
|
||
|
/* 8004B4F0 00047330 28 1D 00 03 */ cmplwi r29, 0x3
|
||
|
/* 8004B4F4 00047334 40 82 00 D4 */ bne lbl_8004B5C8
|
||
|
/* 8004B4F8 00047338 38 00 00 01 */ li r0, 0x1
|
||
|
/* 8004B4FC 0004733C 98 0D E8 D8 */ stb r0, lbl_8055CCF8@sda21(r13)
|
||
|
/* 8004B500 00047340 4B FD 63 61 */ bl lbl_80021860
|
||
|
/* 8004B504 00047344 3F E0 80 4B */ lis r31, lbl_804B5B80@ha
|
||
|
/* 8004B508 00047348 3B FF 5B 80 */ addi r31, r31, lbl_804B5B80@l
|
||
|
/* 8004B50C 0004734C 80 7F 01 6C */ lwz r3, 0x16c(r31)
|
||
|
/* 8004B510 00047350 80 9F 01 7C */ lwz r4, 0x17c(r31)
|
||
|
/* 8004B514 00047354 48 00 05 8D */ bl lbl_8004BAA0
|
||
|
/* 8004B518 00047358 2C 03 00 00 */ cmpwi r3, 0x0
|
||
|
/* 8004B51C 0004735C 40 82 00 40 */ bne lbl_8004B55C
|
||
|
/* 8004B520 00047360 4B FD 63 01 */ bl lbl_80021820
|
||
|
/* 8004B524 00047364 3C A0 80 4B */ lis r5, lbl_804B5D20@ha
|
||
|
/* 8004B528 00047368 80 9F 01 6C */ lwz r4, 0x16c(r31)
|
||
|
/* 8004B52C 0004736C 38 A5 5D 20 */ addi r5, r5, lbl_804B5D20@l
|
||
|
/* 8004B530 00047370 7C 7D 1B 78 */ mr r29, r3
|
||
|
/* 8004B534 00047374 7C 05 20 40 */ cmplw r5, r4
|
||
|
/* 8004B538 00047378 41 82 00 10 */ beq lbl_8004B548
|
||
|
/* 8004B53C 0004737C 7C A3 2B 78 */ mr r3, r5
|
||
|
/* 8004B540 00047380 38 A0 40 00 */ li r5, 0x4000
|
||
|
/* 8004B544 00047384 4B FB 8A BD */ bl func_80004000
|
||
|
.global lbl_8004B548
|
||
|
lbl_8004B548:
|
||
|
/* 8004B548 00047388 38 00 00 00 */ li r0, 0x0
|
||
|
/* 8004B54C 0004738C 98 0D E8 ED */ stb r0, lbl_8055CD0D@sda21(r13)
|
||
|
/* 8004B550 00047390 7F A3 EB 78 */ mr r3, r29
|
||
|
/* 8004B554 00047394 4B FD 63 0D */ bl lbl_80021860
|
||
|
/* 8004B558 00047398 48 00 00 64 */ b lbl_8004B5BC
|
||
|
.global lbl_8004B55C
|
||
|
lbl_8004B55C:
|
||
|
/* 8004B55C 0004739C 4B FD 62 C5 */ bl lbl_80021820
|
||
|
/* 8004B560 000473A0 83 FF 01 6C */ lwz r31, 0x16c(r31)
|
||
|
/* 8004B564 000473A4 7C 7D 1B 78 */ mr r29, r3
|
||
|
/* 8004B568 000473A8 3B C0 40 00 */ li r30, 0x4000
|
||
|
/* 8004B56C 000473AC 38 80 00 00 */ li r4, 0x0
|
||
|
/* 8004B570 000473B0 7F E3 FB 78 */ mr r3, r31
|
||
|
/* 8004B574 000473B4 38 A0 40 00 */ li r5, 0x4000
|
||
|
/* 8004B578 000473B8 4B FB 8D D9 */ bl func_80004350
|
||
|
/* 8004B57C 000473BC 28 1E 00 0C */ cmplwi r30, 0xc
|
||
|
/* 8004B580 000473C0 40 81 00 2C */ ble lbl_8004B5AC
|
||
|
/* 8004B584 000473C4 7F E3 FB 78 */ mr r3, r31
|
||
|
/* 8004B588 000473C8 38 8D 83 58 */ addi r4, r13, lbl_80556778@sda21
|
||
|
/* 8004B58C 000473CC 38 A0 00 04 */ li r5, 0x4
|
||
|
/* 8004B590 000473D0 4B FB 8A 71 */ bl func_80004000
|
||
|
/* 8004B594 000473D4 38 7F 3F FC */ addi r3, r31, 0x3ffc
|
||
|
/* 8004B598 000473D8 38 8D 83 60 */ addi r4, r13, lbl_80556780@sda21
|
||
|
/* 8004B59C 000473DC 38 A0 00 04 */ li r5, 0x4
|
||
|
/* 8004B5A0 000473E0 4B FB 8A 61 */ bl func_80004000
|
||
|
/* 8004B5A4 000473E4 38 00 00 08 */ li r0, 0x8
|
||
|
/* 8004B5A8 000473E8 B0 1F 00 06 */ sth r0, 0x6(r31)
|
||
|
.global lbl_8004B5AC
|
||
|
lbl_8004B5AC:
|
||
|
/* 8004B5AC 000473EC 38 00 00 00 */ li r0, 0x0
|
||
|
/* 8004B5B0 000473F0 98 0D E8 ED */ stb r0, lbl_8055CD0D@sda21(r13)
|
||
|
/* 8004B5B4 000473F4 7F A3 EB 78 */ mr r3, r29
|
||
|
/* 8004B5B8 000473F8 4B FD 62 A9 */ bl lbl_80021860
|
||
|
.global lbl_8004B5BC
|
||
|
lbl_8004B5BC:
|
||
|
/* 8004B5BC 000473FC 3B A0 00 00 */ li r29, 0x0
|
||
|
/* 8004B5C0 00047400 9B AD E8 D8 */ stb r29, lbl_8055CCF8@sda21(r13)
|
||
|
/* 8004B5C4 00047404 48 00 00 08 */ b lbl_8004B5CC
|
||
|
.global lbl_8004B5C8
|
||
|
lbl_8004B5C8:
|
||
|
/* 8004B5C8 00047408 4B FD 62 99 */ bl lbl_80021860
|
||
|
.global lbl_8004B5CC
|
||
|
lbl_8004B5CC:
|
||
|
/* 8004B5CC 0004740C 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
||
|
/* 8004B5D0 00047410 7F A3 EB 78 */ mr r3, r29
|
||
|
/* 8004B5D4 00047414 83 C1 00 18 */ lwz r30, 0x18(r1)
|
||
|
/* 8004B5D8 00047418 83 A1 00 14 */ lwz r29, 0x14(r1)
|
||
|
/* 8004B5DC 0004741C 80 01 00 24 */ lwz r0, 0x24(r1)
|
||
|
/* 8004B5E0 00047420 7C 08 03 A6 */ mtlr r0
|
||
|
/* 8004B5E4 00047424 38 21 00 20 */ addi r1, r1, 0x20
|
||
|
/* 8004B5E8 00047428 4E 80 00 20 */ blr
|
||
|
/* 8004B5EC 0004742C 00 00 00 00 */ .4byte 0x00000000
|
||
|
.global lbl_8004B5F0
|
||
|
lbl_8004B5F0:
|
||
|
/* 8004B5F0 00047430 94 21 FF E0 */ stwu r1, -0x20(r1)
|
||
|
/* 8004B5F4 00047434 7C 08 02 A6 */ mflr r0
|
||
|
/* 8004B5F8 00047438 28 04 40 00 */ cmplwi r4, 0x4000
|
||
|
/* 8004B5FC 0004743C 90 01 00 24 */ stw r0, 0x24(r1)
|
||
|
/* 8004B600 00047440 93 E1 00 1C */ stw r31, 0x1c(r1)
|
||
|
/* 8004B604 00047444 93 C1 00 18 */ stw r30, 0x18(r1)
|
||
|
/* 8004B608 00047448 93 A1 00 14 */ stw r29, 0x14(r1)
|
||
|
/* 8004B60C 0004744C 7C 7D 1B 78 */ mr r29, r3
|
||
|
/* 8004B610 00047450 40 80 00 0C */ bge lbl_8004B61C
|
||
|
/* 8004B614 00047454 38 60 FF 80 */ li r3, -0x80
|
||
|
/* 8004B618 00047458 48 00 00 D0 */ b lbl_8004B6E8
|
||
|
.global lbl_8004B61C
|
||
|
lbl_8004B61C:
|
||
|
/* 8004B61C 0004745C 3F C0 80 4B */ lis r30, lbl_804B5B80@ha
|
||
|
/* 8004B620 00047460 3D 20 80 40 */ lis r9, lbl_80407C60@ha
|
||
|
/* 8004B624 00047464 3B DE 5B 80 */ addi r30, r30, lbl_804B5B80@l
|
||
|
/* 8004B628 00047468 3D 00 80 40 */ lis r8, lbl_80407C78@ha
|
||
|
/* 8004B62C 0004746C 3B E0 00 00 */ li r31, 0x0
|
||
|
/* 8004B630 00047470 3C 80 80 00 */ lis r4, 0x80003800@ha
|
||
|
/* 8004B634 00047474 38 E4 38 00 */ addi r7, r4, 0x80003800@l
|
||
|
/* 8004B638 00047478 90 BE 01 5C */ stw r5, 0x15c(r30)
|
||
|
/* 8004B63C 0004747C 39 29 7C 60 */ addi r9, r9, lbl_80407C60@l
|
||
|
/* 8004B640 00047480 39 08 7C 78 */ addi r8, r8, lbl_80407C78@l
|
||
|
/* 8004B644 00047484 38 80 00 01 */ li r4, 0x1
|
||
|
/* 8004B648 00047488 38 C0 40 00 */ li r6, 0x4000
|
||
|
/* 8004B64C 0004748C 38 00 01 00 */ li r0, 0x100
|
||
|
/* 8004B650 00047490 98 8D E8 D8 */ stb r4, lbl_8055CCF8@sda21(r13)
|
||
|
/* 8004B654 00047494 38 80 00 00 */ li r4, 0x0
|
||
|
/* 8004B658 00047498 38 A0 40 00 */ li r5, 0x4000
|
||
|
/* 8004B65C 0004749C 93 FE 01 60 */ stw r31, 0x160(r30)
|
||
|
/* 8004B660 000474A0 9B FE 01 5A */ stb r31, 0x15a(r30)
|
||
|
/* 8004B664 000474A4 93 FE 01 7C */ stw r31, 0x17c(r30)
|
||
|
/* 8004B668 000474A8 93 FE 01 80 */ stw r31, 0x180(r30)
|
||
|
/* 8004B66C 000474AC 91 3E 01 64 */ stw r9, 0x164(r30)
|
||
|
/* 8004B670 000474B0 91 1E 01 68 */ stw r8, 0x168(r30)
|
||
|
/* 8004B674 000474B4 90 7E 01 6C */ stw r3, 0x16c(r30)
|
||
|
/* 8004B678 000474B8 90 FE 01 70 */ stw r7, 0x170(r30)
|
||
|
/* 8004B67C 000474BC 90 DE 01 74 */ stw r6, 0x174(r30)
|
||
|
/* 8004B680 000474C0 90 1E 01 78 */ stw r0, 0x178(r30)
|
||
|
/* 8004B684 000474C4 4B FB 8C CD */ bl func_80004350
|
||
|
/* 8004B688 000474C8 7F A3 EB 78 */ mr r3, r29
|
||
|
/* 8004B68C 000474CC 38 8D 83 58 */ addi r4, r13, lbl_80556778@sda21
|
||
|
/* 8004B690 000474D0 38 A0 00 04 */ li r5, 0x4
|
||
|
/* 8004B694 000474D4 4B FB 89 6D */ bl func_80004000
|
||
|
/* 8004B698 000474D8 38 7D 3F FC */ addi r3, r29, 0x3ffc
|
||
|
/* 8004B69C 000474DC 38 8D 83 60 */ addi r4, r13, lbl_80556780@sda21
|
||
|
/* 8004B6A0 000474E0 38 A0 00 04 */ li r5, 0x4
|
||
|
/* 8004B6A4 000474E4 4B FB 89 5D */ bl func_80004000
|
||
|
/* 8004B6A8 000474E8 38 00 00 08 */ li r0, 0x8
|
||
|
/* 8004B6AC 000474EC B0 1D 00 06 */ sth r0, 0x6(r29)
|
||
|
/* 8004B6B0 000474F0 3C C0 80 05 */ lis r6, lbl_8004B710@ha
|
||
|
/* 8004B6B4 000474F4 38 9E 00 08 */ addi r4, r30, 0x8
|
||
|
/* 8004B6B8 000474F8 88 1E 01 5A */ lbz r0, 0x15a(r30)
|
||
|
/* 8004B6BC 000474FC 38 C6 B7 10 */ addi r6, r6, lbl_8004B710@l
|
||
|
/* 8004B6C0 00047500 9B FE 01 59 */ stb r31, 0x159(r30)
|
||
|
/* 8004B6C4 00047504 38 FE 00 94 */ addi r7, r30, 0x94
|
||
|
/* 8004B6C8 00047508 54 00 10 3A */ slwi r0, r0, 2
|
||
|
/* 8004B6CC 0004750C 38 A0 00 01 */ li r5, 0x1
|
||
|
/* 8004B6D0 00047510 7C 7E 02 14 */ add r3, r30, r0
|
||
|
/* 8004B6D4 00047514 93 ED E8 E8 */ stw r31, lbl_8055CD08@sda21(r13)
|
||
|
/* 8004B6D8 00047518 80 63 01 64 */ lwz r3, 0x164(r3)
|
||
|
/* 8004B6DC 0004751C 93 ED E8 E0 */ stw r31, lbl_8055CD00@sda21(r13)
|
||
|
/* 8004B6E0 00047520 93 ED E8 DC */ stw r31, lbl_8055CCFC@sda21(r13)
|
||
|
/* 8004B6E4 00047524 4B FF DE 6D */ bl lbl_80049550
|
||
|
.global lbl_8004B6E8
|
||
|
lbl_8004B6E8:
|
||
|
/* 8004B6E8 00047528 80 01 00 24 */ lwz r0, 0x24(r1)
|
||
|
/* 8004B6EC 0004752C 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
||
|
/* 8004B6F0 00047530 83 C1 00 18 */ lwz r30, 0x18(r1)
|
||
|
/* 8004B6F4 00047534 83 A1 00 14 */ lwz r29, 0x14(r1)
|
||
|
/* 8004B6F8 00047538 7C 08 03 A6 */ mtlr r0
|
||
|
/* 8004B6FC 0004753C 38 21 00 20 */ addi r1, r1, 0x20
|
||
|
/* 8004B700 00047540 4E 80 00 20 */ blr
|
||
|
/* 8004B704 00047544 00 00 00 00 */ .4byte 0x00000000
|
||
|
/* 8004B708 00047548 00 00 00 00 */ .4byte 0x00000000
|
||
|
/* 8004B70C 0004754C 00 00 00 00 */ .4byte 0x00000000
|
||
|
.global lbl_8004B710
|
||
|
lbl_8004B710:
|
||
|
/* 8004B710 00047550 94 21 FF F0 */ stwu r1, -0x10(r1)
|
||
|
/* 8004B714 00047554 7C 08 02 A6 */ mflr r0
|
||
|
/* 8004B718 00047558 2C 03 00 00 */ cmpwi r3, 0x0
|
||
|
/* 8004B71C 0004755C 90 01 00 14 */ stw r0, 0x14(r1)
|
||
|
/* 8004B720 00047560 93 E1 00 0C */ stw r31, 0xc(r1)
|
||
|
/* 8004B724 00047564 7C 7F 1B 78 */ mr r31, r3
|
||
|
/* 8004B728 00047568 40 82 00 44 */ bne lbl_8004B76C
|
||
|
/* 8004B72C 0004756C 3C 80 80 4B */ lis r4, lbl_804B5B80@ha
|
||
|
/* 8004B730 00047570 3C C0 80 05 */ lis r6, lbl_8004B7E0@ha
|
||
|
/* 8004B734 00047574 38 84 5B 80 */ addi r4, r4, lbl_804B5B80@l
|
||
|
/* 8004B738 00047578 38 A0 00 01 */ li r5, 0x1
|
||
|
/* 8004B73C 0004757C 88 04 01 5A */ lbz r0, 0x15a(r4)
|
||
|
/* 8004B740 00047580 38 64 00 08 */ addi r3, r4, 0x8
|
||
|
/* 8004B744 00047584 98 A4 01 59 */ stb r5, 0x159(r4)
|
||
|
/* 8004B748 00047588 38 E4 00 94 */ addi r7, r4, 0x94
|
||
|
/* 8004B74C 0004758C 54 00 10 3A */ slwi r0, r0, 2
|
||
|
/* 8004B750 00047590 38 C6 B7 E0 */ addi r6, r6, lbl_8004B7E0@l
|
||
|
/* 8004B754 00047594 7C A4 02 14 */ add r5, r4, r0
|
||
|
/* 8004B758 00047598 80 85 01 6C */ lwz r4, 0x16c(r5)
|
||
|
/* 8004B75C 0004759C 80 A5 01 74 */ lwz r5, 0x174(r5)
|
||
|
/* 8004B760 000475A0 4B FF CC 21 */ bl lbl_80048380
|
||
|
/* 8004B764 000475A4 2C 03 00 00 */ cmpwi r3, 0x0
|
||
|
/* 8004B768 000475A8 41 82 00 64 */ beq lbl_8004B7CC
|
||
|
.global lbl_8004B76C
|
||
|
lbl_8004B76C:
|
||
|
/* 8004B76C 000475AC 3C 60 80 4B */ lis r3, lbl_804B5B80@ha
|
||
|
/* 8004B770 000475B0 38 63 5B 80 */ addi r3, r3, lbl_804B5B80@l
|
||
|
/* 8004B774 000475B4 88 03 01 5A */ lbz r0, 0x15a(r3)
|
||
|
/* 8004B778 000475B8 2C 00 00 00 */ cmpwi r0, 0x0
|
||
|
/* 8004B77C 000475BC 40 82 00 08 */ bne lbl_8004B784
|
||
|
/* 8004B780 000475C0 93 E3 01 60 */ stw r31, 0x160(r3)
|
||
|
.global lbl_8004B784
|
||
|
lbl_8004B784:
|
||
|
/* 8004B784 000475C4 3C A0 80 4B */ lis r5, lbl_804B5B80@ha
|
||
|
/* 8004B788 000475C8 38 80 00 00 */ li r4, 0x0
|
||
|
/* 8004B78C 000475CC 38 A5 5B 80 */ addi r5, r5, lbl_804B5B80@l
|
||
|
/* 8004B790 000475D0 88 05 01 5A */ lbz r0, 0x15a(r5)
|
||
|
/* 8004B794 000475D4 54 00 10 3A */ slwi r0, r0, 2
|
||
|
/* 8004B798 000475D8 7C 65 02 14 */ add r3, r5, r0
|
||
|
/* 8004B79C 000475DC 90 83 01 7C */ stw r4, 0x17c(r3)
|
||
|
/* 8004B7A0 000475E0 88 05 01 59 */ lbz r0, 0x159(r5)
|
||
|
/* 8004B7A4 000475E4 2C 00 00 00 */ cmpwi r0, 0x0
|
||
|
/* 8004B7A8 000475E8 41 82 00 20 */ beq lbl_8004B7C8
|
||
|
/* 8004B7AC 000475EC 3C 80 80 05 */ lis r4, lbl_8004BA90@ha
|
||
|
/* 8004B7B0 000475F0 38 65 00 08 */ addi r3, r5, 0x8
|
||
|
/* 8004B7B4 000475F4 38 84 BA 90 */ addi r4, r4, lbl_8004BA90@l
|
||
|
/* 8004B7B8 000475F8 38 A5 00 94 */ addi r5, r5, 0x94
|
||
|
/* 8004B7BC 000475FC 4B FF DF 05 */ bl lbl_800496C0
|
||
|
/* 8004B7C0 00047600 2C 03 00 00 */ cmpwi r3, 0x0
|
||
|
/* 8004B7C4 00047604 41 82 00 08 */ beq lbl_8004B7CC
|
||
|
.global lbl_8004B7C8
|
||
|
lbl_8004B7C8:
|
||
|
/* 8004B7C8 00047608 48 00 01 99 */ bl lbl_8004B960
|
||
|
.global lbl_8004B7CC
|
||
|
lbl_8004B7CC:
|
||
|
/* 8004B7CC 0004760C 80 01 00 14 */ lwz r0, 0x14(r1)
|
||
|
/* 8004B7D0 00047610 83 E1 00 0C */ lwz r31, 0xc(r1)
|
||
|
/* 8004B7D4 00047614 7C 08 03 A6 */ mtlr r0
|
||
|
/* 8004B7D8 00047618 38 21 00 10 */ addi r1, r1, 0x10
|
||
|
/* 8004B7DC 0004761C 4E 80 00 20 */ blr
|
||
|
.global lbl_8004B7E0
|
||
|
lbl_8004B7E0:
|
||
|
/* 8004B7E0 00047620 94 21 FF F0 */ stwu r1, -0x10(r1)
|
||
|
/* 8004B7E4 00047624 7C 08 02 A6 */ mflr r0
|
||
|
/* 8004B7E8 00047628 3C A0 80 4B */ lis r5, lbl_804B5B80@ha
|
||
|
/* 8004B7EC 0004762C 90 01 00 14 */ stw r0, 0x14(r1)
|
||
|
/* 8004B7F0 00047630 38 A5 5B 80 */ addi r5, r5, lbl_804B5B80@l
|
||
|
/* 8004B7F4 00047634 93 E1 00 0C */ stw r31, 0xc(r1)
|
||
|
/* 8004B7F8 00047638 7C 7F 1B 78 */ mr r31, r3
|
||
|
/* 8004B7FC 0004763C 88 05 01 5A */ lbz r0, 0x15a(r5)
|
||
|
/* 8004B800 00047640 54 00 10 3A */ slwi r0, r0, 2
|
||
|
/* 8004B804 00047644 7C 85 02 14 */ add r4, r5, r0
|
||
|
/* 8004B808 00047648 80 04 01 74 */ lwz r0, 0x174(r4)
|
||
|
/* 8004B80C 0004764C 7C 03 00 40 */ cmplw r3, r0
|
||
|
/* 8004B810 00047650 40 82 00 2C */ bne lbl_8004B83C
|
||
|
/* 8004B814 00047654 90 64 01 7C */ stw r3, 0x17c(r4)
|
||
|
/* 8004B818 00047658 38 00 00 00 */ li r0, 0x0
|
||
|
/* 8004B81C 0004765C 3C 80 80 05 */ lis r4, lbl_8004B8D0@ha
|
||
|
/* 8004B820 00047660 38 65 00 08 */ addi r3, r5, 0x8
|
||
|
/* 8004B824 00047664 98 05 01 59 */ stb r0, 0x159(r5)
|
||
|
/* 8004B828 00047668 38 84 B8 D0 */ addi r4, r4, lbl_8004B8D0@l
|
||
|
/* 8004B82C 0004766C 38 A5 00 94 */ addi r5, r5, 0x94
|
||
|
/* 8004B830 00047670 4B FF DE 91 */ bl lbl_800496C0
|
||
|
/* 8004B834 00047674 2C 03 00 00 */ cmpwi r3, 0x0
|
||
|
/* 8004B838 00047678 41 82 00 7C */ beq lbl_8004B8B4
|
||
|
.global lbl_8004B83C
|
||
|
lbl_8004B83C:
|
||
|
/* 8004B83C 0004767C 3C 60 80 4B */ lis r3, lbl_804B5B80@ha
|
||
|
/* 8004B840 00047680 38 63 5B 80 */ addi r3, r3, lbl_804B5B80@l
|
||
|
/* 8004B844 00047684 88 03 01 5A */ lbz r0, 0x15a(r3)
|
||
|
/* 8004B848 00047688 2C 00 00 00 */ cmpwi r0, 0x0
|
||
|
/* 8004B84C 0004768C 40 82 00 20 */ bne lbl_8004B86C
|
||
|
/* 8004B850 00047690 2C 1F 00 00 */ cmpwi r31, 0x0
|
||
|
/* 8004B854 00047694 38 00 FF 80 */ li r0, -0x80
|
||
|
/* 8004B858 00047698 41 82 00 08 */ beq lbl_8004B860
|
||
|
/* 8004B85C 0004769C 7F E0 FB 78 */ mr r0, r31
|
||
|
.global lbl_8004B860
|
||
|
lbl_8004B860:
|
||
|
/* 8004B860 000476A0 3C 60 80 4B */ lis r3, lbl_804B5B80@ha
|
||
|
/* 8004B864 000476A4 38 63 5B 80 */ addi r3, r3, lbl_804B5B80@l
|
||
|
/* 8004B868 000476A8 90 03 01 60 */ stw r0, 0x160(r3)
|
||
|
.global lbl_8004B86C
|
||
|
lbl_8004B86C:
|
||
|
/* 8004B86C 000476AC 3C A0 80 4B */ lis r5, lbl_804B5B80@ha
|
||
|
/* 8004B870 000476B0 38 80 00 00 */ li r4, 0x0
|
||
|
/* 8004B874 000476B4 38 A5 5B 80 */ addi r5, r5, lbl_804B5B80@l
|
||
|
/* 8004B878 000476B8 88 05 01 5A */ lbz r0, 0x15a(r5)
|
||
|
/* 8004B87C 000476BC 54 00 10 3A */ slwi r0, r0, 2
|
||
|
/* 8004B880 000476C0 7C 65 02 14 */ add r3, r5, r0
|
||
|
/* 8004B884 000476C4 90 83 01 7C */ stw r4, 0x17c(r3)
|
||
|
/* 8004B888 000476C8 88 05 01 59 */ lbz r0, 0x159(r5)
|
||
|
/* 8004B88C 000476CC 2C 00 00 00 */ cmpwi r0, 0x0
|
||
|
/* 8004B890 000476D0 41 82 00 20 */ beq lbl_8004B8B0
|
||
|
/* 8004B894 000476D4 3C 80 80 05 */ lis r4, lbl_8004BA90@ha
|
||
|
/* 8004B898 000476D8 38 65 00 08 */ addi r3, r5, 0x8
|
||
|
/* 8004B89C 000476DC 38 84 BA 90 */ addi r4, r4, lbl_8004BA90@l
|
||
|
/* 8004B8A0 000476E0 38 A5 00 94 */ addi r5, r5, 0x94
|
||
|
/* 8004B8A4 000476E4 4B FF DE 1D */ bl lbl_800496C0
|
||
|
/* 8004B8A8 000476E8 2C 03 00 00 */ cmpwi r3, 0x0
|
||
|
/* 8004B8AC 000476EC 41 82 00 08 */ beq lbl_8004B8B4
|
||
|
.global lbl_8004B8B0
|
||
|
lbl_8004B8B0:
|
||
|
/* 8004B8B0 000476F0 48 00 00 B1 */ bl lbl_8004B960
|
||
|
.global lbl_8004B8B4
|
||
|
lbl_8004B8B4:
|
||
|
/* 8004B8B4 000476F4 80 01 00 14 */ lwz r0, 0x14(r1)
|
||
|
/* 8004B8B8 000476F8 83 E1 00 0C */ lwz r31, 0xc(r1)
|
||
|
/* 8004B8BC 000476FC 7C 08 03 A6 */ mtlr r0
|
||
|
/* 8004B8C0 00047700 38 21 00 10 */ addi r1, r1, 0x10
|
||
|
/* 8004B8C4 00047704 4E 80 00 20 */ blr
|
||
|
/* 8004B8C8 00047708 00 00 00 00 */ .4byte 0x00000000
|
||
|
/* 8004B8CC 0004770C 00 00 00 00 */ .4byte 0x00000000
|
||
|
.global lbl_8004B8D0
|
||
|
lbl_8004B8D0:
|
||
|
/* 8004B8D0 00047710 94 21 FF F0 */ stwu r1, -0x10(r1)
|
||
|
/* 8004B8D4 00047714 7C 08 02 A6 */ mflr r0
|
||
|
/* 8004B8D8 00047718 2C 03 00 00 */ cmpwi r3, 0x0
|
||
|
/* 8004B8DC 0004771C 90 01 00 14 */ stw r0, 0x14(r1)
|
||
|
/* 8004B8E0 00047720 40 82 00 0C */ bne lbl_8004B8EC
|
||
|
/* 8004B8E4 00047724 48 00 00 7D */ bl lbl_8004B960
|
||
|
/* 8004B8E8 00047728 48 00 00 64 */ b lbl_8004B94C
|
||
|
.global lbl_8004B8EC
|
||
|
lbl_8004B8EC:
|
||
|
/* 8004B8EC 0004772C 3C 80 80 4B */ lis r4, lbl_804B5B80@ha
|
||
|
/* 8004B8F0 00047730 38 84 5B 80 */ addi r4, r4, lbl_804B5B80@l
|
||
|
/* 8004B8F4 00047734 88 04 01 5A */ lbz r0, 0x15a(r4)
|
||
|
/* 8004B8F8 00047738 2C 00 00 00 */ cmpwi r0, 0x0
|
||
|
/* 8004B8FC 0004773C 40 82 00 08 */ bne lbl_8004B904
|
||
|
/* 8004B900 00047740 90 64 01 60 */ stw r3, 0x160(r4)
|
||
|
.global lbl_8004B904
|
||
|
lbl_8004B904:
|
||
|
/* 8004B904 00047744 3C A0 80 4B */ lis r5, lbl_804B5B80@ha
|
||
|
/* 8004B908 00047748 38 80 00 00 */ li r4, 0x0
|
||
|
/* 8004B90C 0004774C 38 A5 5B 80 */ addi r5, r5, lbl_804B5B80@l
|
||
|
/* 8004B910 00047750 88 05 01 5A */ lbz r0, 0x15a(r5)
|
||
|
/* 8004B914 00047754 54 00 10 3A */ slwi r0, r0, 2
|
||
|
/* 8004B918 00047758 7C 65 02 14 */ add r3, r5, r0
|
||
|
/* 8004B91C 0004775C 90 83 01 7C */ stw r4, 0x17c(r3)
|
||
|
/* 8004B920 00047760 88 05 01 59 */ lbz r0, 0x159(r5)
|
||
|
/* 8004B924 00047764 2C 00 00 00 */ cmpwi r0, 0x0
|
||
|
/* 8004B928 00047768 41 82 00 20 */ beq lbl_8004B948
|
||
|
/* 8004B92C 0004776C 3C 80 80 05 */ lis r4, lbl_8004BA90@ha
|
||
|
/* 8004B930 00047770 38 65 00 08 */ addi r3, r5, 0x8
|
||
|
/* 8004B934 00047774 38 84 BA 90 */ addi r4, r4, lbl_8004BA90@l
|
||
|
/* 8004B938 00047778 38 A5 00 94 */ addi r5, r5, 0x94
|
||
|
/* 8004B93C 0004777C 4B FF DD 85 */ bl lbl_800496C0
|
||
|
/* 8004B940 00047780 2C 03 00 00 */ cmpwi r3, 0x0
|
||
|
/* 8004B944 00047784 41 82 00 08 */ beq lbl_8004B94C
|
||
|
.global lbl_8004B948
|
||
|
lbl_8004B948:
|
||
|
/* 8004B948 00047788 48 00 00 19 */ bl lbl_8004B960
|
||
|
.global lbl_8004B94C
|
||
|
lbl_8004B94C:
|
||
|
/* 8004B94C 0004778C 80 01 00 14 */ lwz r0, 0x14(r1)
|
||
|
/* 8004B950 00047790 7C 08 03 A6 */ mtlr r0
|
||
|
/* 8004B954 00047794 38 21 00 10 */ addi r1, r1, 0x10
|
||
|
/* 8004B958 00047798 4E 80 00 20 */ blr
|
||
|
/* 8004B95C 0004779C 00 00 00 00 */ .4byte 0x00000000
|
||
|
.global lbl_8004B960
|
||
|
lbl_8004B960:
|
||
|
/* 8004B960 000477A0 94 21 FF E0 */ stwu r1, -0x20(r1)
|
||
|
/* 8004B964 000477A4 7C 08 02 A6 */ mflr r0
|
||
|
/* 8004B968 000477A8 90 01 00 24 */ stw r0, 0x24(r1)
|
||
|
/* 8004B96C 000477AC 93 E1 00 1C */ stw r31, 0x1c(r1)
|
||
|
/* 8004B970 000477B0 3B E0 00 00 */ li r31, 0x0
|
||
|
/* 8004B974 000477B4 93 C1 00 18 */ stw r30, 0x18(r1)
|
||
|
/* 8004B978 000477B8 3F C0 80 05 */ lis r30, lbl_8004B710@ha
|
||
|
/* 8004B97C 000477BC 93 A1 00 14 */ stw r29, 0x14(r1)
|
||
|
/* 8004B980 000477C0 3F A0 80 4B */ lis r29, lbl_804B5B80@ha
|
||
|
/* 8004B984 000477C4 3B BD 5B 80 */ addi r29, r29, lbl_804B5B80@l
|
||
|
/* 8004B988 000477C8 93 81 00 10 */ stw r28, 0x10(r1)
|
||
|
.global lbl_8004B98C
|
||
|
lbl_8004B98C:
|
||
|
/* 8004B98C 000477CC 88 7D 01 5A */ lbz r3, 0x15a(r29)
|
||
|
/* 8004B990 000477D0 38 63 00 01 */ addi r3, r3, 0x1
|
||
|
/* 8004B994 000477D4 98 7D 01 5A */ stb r3, 0x15a(r29)
|
||
|
/* 8004B998 000477D8 54 60 06 3E */ clrlwi r0, r3, 24
|
||
|
/* 8004B99C 000477DC 28 00 00 02 */ cmplwi r0, 0x2
|
||
|
/* 8004B9A0 000477E0 40 80 00 34 */ bge lbl_8004B9D4
|
||
|
/* 8004B9A4 000477E4 54 60 15 BA */ rlwinm r0, r3, 2, 22, 29
|
||
|
/* 8004B9A8 000477E8 9B FD 01 59 */ stb r31, 0x159(r29)
|
||
|
/* 8004B9AC 000477EC 7C 7D 02 14 */ add r3, r29, r0
|
||
|
/* 8004B9B0 000477F0 38 9D 00 08 */ addi r4, r29, 0x8
|
||
|
/* 8004B9B4 000477F4 80 63 01 64 */ lwz r3, 0x164(r3)
|
||
|
/* 8004B9B8 000477F8 38 DE B7 10 */ addi r6, r30, lbl_8004B710@l
|
||
|
/* 8004B9BC 000477FC 38 FD 00 94 */ addi r7, r29, 0x94
|
||
|
/* 8004B9C0 00047800 38 A0 00 01 */ li r5, 0x1
|
||
|
/* 8004B9C4 00047804 4B FF DB 8D */ bl lbl_80049550
|
||
|
/* 8004B9C8 00047808 2C 03 00 00 */ cmpwi r3, 0x0
|
||
|
/* 8004B9CC 0004780C 40 82 FF C0 */ bne lbl_8004B98C
|
||
|
/* 8004B9D0 00047810 48 00 00 94 */ b lbl_8004BA64
|
||
|
.global lbl_8004B9D4
|
||
|
lbl_8004B9D4:
|
||
|
/* 8004B9D4 00047814 80 1D 01 60 */ lwz r0, 0x160(r29)
|
||
|
/* 8004B9D8 00047818 2C 00 00 00 */ cmpwi r0, 0x0
|
||
|
/* 8004B9DC 0004781C 40 82 00 0C */ bne lbl_8004B9E8
|
||
|
/* 8004B9E0 00047820 3B 80 00 03 */ li r28, 0x3
|
||
|
/* 8004B9E4 00047824 48 00 00 4C */ b lbl_8004BA30
|
||
|
.global lbl_8004B9E8
|
||
|
lbl_8004B9E8:
|
||
|
/* 8004B9E8 00047828 83 DD 01 6C */ lwz r30, 0x16c(r29)
|
||
|
/* 8004B9EC 0004782C 38 80 00 00 */ li r4, 0x0
|
||
|
/* 8004B9F0 00047830 38 A0 40 00 */ li r5, 0x4000
|
||
|
/* 8004B9F4 00047834 7F C3 F3 78 */ mr r3, r30
|
||
|
/* 8004B9F8 00047838 4B FB 89 59 */ bl func_80004350
|
||
|
/* 8004B9FC 0004783C 7F C3 F3 78 */ mr r3, r30
|
||
|
/* 8004BA00 00047840 38 8D 83 58 */ addi r4, r13, lbl_80556778@sda21
|
||
|
/* 8004BA04 00047844 38 A0 00 04 */ li r5, 0x4
|
||
|
/* 8004BA08 00047848 4B FB 85 F9 */ bl func_80004000
|
||
|
/* 8004BA0C 0004784C 38 7E 3F FC */ addi r3, r30, 0x3ffc
|
||
|
/* 8004BA10 00047850 38 8D 83 60 */ addi r4, r13, lbl_80556780@sda21
|
||
|
/* 8004BA14 00047854 38 A0 00 04 */ li r5, 0x4
|
||
|
/* 8004BA18 00047858 4B FB 85 E9 */ bl func_80004000
|
||
|
/* 8004BA1C 0004785C 38 00 00 08 */ li r0, 0x8
|
||
|
/* 8004BA20 00047860 B0 1E 00 06 */ sth r0, 0x6(r30)
|
||
|
/* 8004BA24 00047864 3B 80 00 03 */ li r28, 0x3
|
||
|
/* 8004BA28 00047868 80 1D 01 74 */ lwz r0, 0x174(r29)
|
||
|
/* 8004BA2C 0004786C 90 1D 01 7C */ stw r0, 0x17c(r29)
|
||
|
.global lbl_8004BA30
|
||
|
lbl_8004BA30:
|
||
|
/* 8004BA30 00047870 3C 60 80 00 */ lis r3, 0x800038FF@ha
|
||
|
/* 8004BA34 00047874 3B C0 00 00 */ li r30, 0x0
|
||
|
/* 8004BA38 00047878 3F E0 80 4B */ lis r31, lbl_804B5B80@ha
|
||
|
/* 8004BA3C 0004787C 9B C3 38 FF */ stb r30, 0x800038FF@l(r3)
|
||
|
/* 8004BA40 00047880 3B FF 5B 80 */ addi r31, r31, lbl_804B5B80@l
|
||
|
/* 8004BA44 00047884 81 9F 01 5C */ lwz r12, 0x15c(r31)
|
||
|
/* 8004BA48 00047888 2C 0C 00 00 */ cmpwi r12, 0x0
|
||
|
/* 8004BA4C 0004788C 41 82 00 14 */ beq lbl_8004BA60
|
||
|
/* 8004BA50 00047890 80 7F 01 60 */ lwz r3, 0x160(r31)
|
||
|
/* 8004BA54 00047894 7D 89 03 A6 */ mtctr r12
|
||
|
/* 8004BA58 00047898 4E 80 04 21 */ bctrl
|
||
|
/* 8004BA5C 0004789C 93 DF 01 5C */ stw r30, 0x15c(r31)
|
||
|
.global lbl_8004BA60
|
||
|
lbl_8004BA60:
|
||
|
/* 8004BA60 000478A0 9B 8D E8 D8 */ stb r28, lbl_8055CCF8@sda21(r13)
|
||
|
.global lbl_8004BA64
|
||
|
lbl_8004BA64:
|
||
|
/* 8004BA64 000478A4 80 01 00 24 */ lwz r0, 0x24(r1)
|
||
|
/* 8004BA68 000478A8 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
||
|
/* 8004BA6C 000478AC 83 C1 00 18 */ lwz r30, 0x18(r1)
|
||
|
/* 8004BA70 000478B0 83 A1 00 14 */ lwz r29, 0x14(r1)
|
||
|
/* 8004BA74 000478B4 83 81 00 10 */ lwz r28, 0x10(r1)
|
||
|
/* 8004BA78 000478B8 7C 08 03 A6 */ mtlr r0
|
||
|
/* 8004BA7C 000478BC 38 21 00 20 */ addi r1, r1, 0x20
|
||
|
/* 8004BA80 000478C0 4E 80 00 20 */ blr
|
||
|
/* 8004BA84 000478C4 00 00 00 00 */ .4byte 0x00000000
|
||
|
/* 8004BA88 000478C8 00 00 00 00 */ .4byte 0x00000000
|
||
|
/* 8004BA8C 000478CC 00 00 00 00 */ .4byte 0x00000000
|
||
|
.global lbl_8004BA90
|
||
|
lbl_8004BA90:
|
||
|
/* 8004BA90 000478D0 4B FF FE D0 */ b lbl_8004B960
|
||
|
/* 8004BA94 000478D4 00 00 00 00 */ .4byte 0x00000000
|
||
|
/* 8004BA98 000478D8 00 00 00 00 */ .4byte 0x00000000
|
||
|
/* 8004BA9C 000478DC 00 00 00 00 */ .4byte 0x00000000
|
||
|
.global lbl_8004BAA0
|
||
|
lbl_8004BAA0:
|
||
|
/* 8004BAA0 000478E0 94 21 FF A0 */ stwu r1, -0x60(r1)
|
||
|
/* 8004BAA4 000478E4 7C 08 02 A6 */ mflr r0
|
||
|
/* 8004BAA8 000478E8 90 01 00 64 */ stw r0, 0x64(r1)
|
||
|
/* 8004BAAC 000478EC 39 61 00 60 */ addi r11, r1, 0x60
|
||
|
/* 8004BAB0 000478F0 4B FB B8 75 */ bl lbl_80007324
|
||
|
/* 8004BAB4 000478F4 38 04 FF F4 */ addi r0, r4, -0xc
|
||
|
/* 8004BAB8 000478F8 3F 60 80 44 */ lis r27, lbl_80438298@ha
|
||
|
/* 8004BABC 000478FC 28 00 3F F4 */ cmplwi r0, 0x3ff4
|
||
|
/* 8004BAC0 00047900 7C 79 1B 78 */ mr r25, r3
|
||
|
/* 8004BAC4 00047904 7C 9A 23 78 */ mr r26, r4
|
||
|
/* 8004BAC8 00047908 3B 7B 82 98 */ addi r27, r27, lbl_80438298@l
|
||
|
/* 8004BACC 0004790C 41 81 02 00 */ bgt lbl_8004BCCC
|
||
|
/* 8004BAD0 00047910 7F E3 22 14 */ add r31, r3, r4
|
||
|
/* 8004BAD4 00047914 38 00 00 26 */ li r0, 0x26
|
||
|
/* 8004BAD8 00047918 90 0D E8 E4 */ stw r0, lbl_8055CD04@sda21(r13)
|
||
|
/* 8004BADC 0004791C 38 8D 83 58 */ addi r4, r13, lbl_80556778@sda21
|
||
|
/* 8004BAE0 00047920 38 A0 00 04 */ li r5, 0x4
|
||
|
/* 8004BAE4 00047924 3B FF FF FC */ addi r31, r31, -0x4
|
||
|
/* 8004BAE8 00047928 4B FB F3 89 */ bl lbl_8000AE70
|
||
|
/* 8004BAEC 0004792C 2C 03 00 00 */ cmpwi r3, 0x0
|
||
|
/* 8004BAF0 00047930 40 82 01 DC */ bne lbl_8004BCCC
|
||
|
/* 8004BAF4 00047934 7F E3 FB 78 */ mr r3, r31
|
||
|
/* 8004BAF8 00047938 38 8D 83 60 */ addi r4, r13, lbl_80556780@sda21
|
||
|
/* 8004BAFC 0004793C 38 A0 00 04 */ li r5, 0x4
|
||
|
/* 8004BB00 00047940 4B FB F3 71 */ bl lbl_8000AE70
|
||
|
/* 8004BB04 00047944 2C 03 00 00 */ cmpwi r3, 0x0
|
||
|
/* 8004BB08 00047948 40 82 01 C4 */ bne lbl_8004BCCC
|
||
|
/* 8004BB0C 0004794C 28 1A 40 00 */ cmplwi r26, 0x4000
|
||
|
/* 8004BB10 00047950 40 80 00 2C */ bge lbl_8004BB3C
|
||
|
/* 8004BB14 00047954 22 DA 40 00 */ subfic r22, r26, 0x4000
|
||
|
/* 8004BB18 00047958 7F E3 FB 78 */ mr r3, r31
|
||
|
/* 8004BB1C 0004795C 7E C5 B3 78 */ mr r5, r22
|
||
|
/* 8004BB20 00047960 38 80 00 00 */ li r4, 0x0
|
||
|
/* 8004BB24 00047964 4B FB 88 2D */ bl func_80004350
|
||
|
/* 8004BB28 00047968 7F FF B2 14 */ add r31, r31, r22
|
||
|
/* 8004BB2C 0004796C 38 8D 83 60 */ addi r4, r13, lbl_80556780@sda21
|
||
|
/* 8004BB30 00047970 7F E3 FB 78 */ mr r3, r31
|
||
|
/* 8004BB34 00047974 38 A0 00 04 */ li r5, 0x4
|
||
|
/* 8004BB38 00047978 4B FB 84 C9 */ bl func_80004000
|
||
|
.global lbl_8004BB3C
|
||
|
lbl_8004BB3C:
|
||
|
/* 8004BB3C 0004797C 38 19 00 06 */ addi r0, r25, 0x6
|
||
|
/* 8004BB40 00047980 7C 00 F8 40 */ cmplw r0, r31
|
||
|
/* 8004BB44 00047984 40 81 00 0C */ ble lbl_8004BB50
|
||
|
/* 8004BB48 00047988 38 00 00 00 */ li r0, 0x0
|
||
|
/* 8004BB4C 0004798C 48 00 00 14 */ b lbl_8004BB60
|
||
|
.global lbl_8004BB50
|
||
|
lbl_8004BB50:
|
||
|
/* 8004BB50 00047990 88 79 00 04 */ lbz r3, 0x4(r25)
|
||
|
/* 8004BB54 00047994 38 00 00 01 */ li r0, 0x1
|
||
|
/* 8004BB58 00047998 8B D9 00 05 */ lbz r30, 0x5(r25)
|
||
|
/* 8004BB5C 0004799C 50 7E 44 2E */ rlwimi r30, r3, 8, 16, 23
|
||
|
.global lbl_8004BB60
|
||
|
lbl_8004BB60:
|
||
|
/* 8004BB60 000479A0 2C 00 00 00 */ cmpwi r0, 0x0
|
||
|
/* 8004BB64 000479A4 41 82 01 68 */ beq lbl_8004BCCC
|
||
|
/* 8004BB68 000479A8 3B B9 00 06 */ addi r29, r25, 0x6
|
||
|
/* 8004BB6C 000479AC 57 C0 08 3C */ slwi r0, r30, 1
|
||
|
/* 8004BB70 000479B0 7C 7D 02 14 */ add r3, r29, r0
|
||
|
/* 8004BB74 000479B4 3A E0 00 00 */ li r23, 0x0
|
||
|
/* 8004BB78 000479B8 38 03 00 02 */ addi r0, r3, 0x2
|
||
|
/* 8004BB7C 000479BC 7F B8 EB 78 */ mr r24, r29
|
||
|
/* 8004BB80 000479C0 7F 99 00 50 */ subf r28, r25, r0
|
||
|
/* 8004BB84 000479C4 48 00 00 48 */ b lbl_8004BBCC
|
||
|
.global lbl_8004BB88
|
||
|
lbl_8004BB88:
|
||
|
/* 8004BB88 000479C8 7C 1C D0 40 */ cmplw r28, r26
|
||
|
/* 8004BB8C 000479CC 41 81 01 40 */ bgt lbl_8004BCCC
|
||
|
/* 8004BB90 000479D0 7C 19 C0 50 */ subf r0, r25, r24
|
||
|
/* 8004BB94 000479D4 7C 00 D0 40 */ cmplw r0, r26
|
||
|
/* 8004BB98 000479D8 41 81 01 34 */ bgt lbl_8004BCCC
|
||
|
/* 8004BB9C 000479DC A0 18 00 00 */ lhz r0, 0x0(r24)
|
||
|
/* 8004BBA0 000479E0 7C 1C 00 40 */ cmplw r28, r0
|
||
|
/* 8004BBA4 000479E4 40 82 01 28 */ bne lbl_8004BCCC
|
||
|
/* 8004BBA8 000479E8 7C 79 E2 14 */ add r3, r25, r28
|
||
|
/* 8004BBAC 000479EC 38 81 00 08 */ addi r4, r1, 0x8
|
||
|
/* 8004BBB0 000479F0 48 00 01 41 */ bl lbl_8004BCF0
|
||
|
/* 8004BBB4 000479F4 2C 03 00 00 */ cmpwi r3, 0x0
|
||
|
/* 8004BBB8 000479F8 41 82 01 14 */ beq lbl_8004BCCC
|
||
|
/* 8004BBBC 000479FC 80 01 00 24 */ lwz r0, 0x24(r1)
|
||
|
/* 8004BBC0 00047A00 3B 18 00 02 */ addi r24, r24, 0x2
|
||
|
/* 8004BBC4 00047A04 3A F7 00 01 */ addi r23, r23, 0x1
|
||
|
/* 8004BBC8 00047A08 7F 9C 02 14 */ add r28, r28, r0
|
||
|
.global lbl_8004BBCC
|
||
|
lbl_8004BBCC:
|
||
|
/* 8004BBCC 00047A0C 7C 17 F0 40 */ cmplw r23, r30
|
||
|
/* 8004BBD0 00047A10 41 80 FF B8 */ blt lbl_8004BB88
|
||
|
/* 8004BBD4 00047A14 7C 1C D0 40 */ cmplw r28, r26
|
||
|
/* 8004BBD8 00047A18 41 81 00 F4 */ bgt lbl_8004BCCC
|
||
|
/* 8004BBDC 00047A1C 56 E0 08 3C */ slwi r0, r23, 1
|
||
|
/* 8004BBE0 00047A20 7C 1D 02 2E */ lhzx r0, r29, r0
|
||
|
/* 8004BBE4 00047A24 7C 1C 00 40 */ cmplw r28, r0
|
||
|
/* 8004BBE8 00047A28 40 82 00 E4 */ bne lbl_8004BCCC
|
||
|
/* 8004BBEC 00047A2C 38 7F FF B4 */ addi r3, r31, -0x4c
|
||
|
/* 8004BBF0 00047A30 7C 19 E2 14 */ add r0, r25, r28
|
||
|
/* 8004BBF4 00047A34 7C 00 18 40 */ cmplw r0, r3
|
||
|
/* 8004BBF8 00047A38 41 81 00 D4 */ bgt lbl_8004BCCC
|
||
|
/* 8004BBFC 00047A3C 7F 80 18 50 */ subf r28, r0, r3
|
||
|
/* 8004BC00 00047A40 7C A3 F8 50 */ subf r5, r3, r31
|
||
|
/* 8004BC04 00047A44 38 80 00 00 */ li r4, 0x0
|
||
|
/* 8004BC08 00047A48 4B FB 87 49 */ bl func_80004350
|
||
|
/* 8004BC0C 00047A4C 80 0D E8 E4 */ lwz r0, lbl_8055CD04@sda21(r13)
|
||
|
/* 8004BC10 00047A50 3B FF FF FE */ addi r31, r31, -0x2
|
||
|
/* 8004BC14 00047A54 54 00 18 38 */ slwi r0, r0, 3
|
||
|
/* 8004BC18 00047A58 7F 5B 02 14 */ add r26, r27, r0
|
||
|
/* 8004BC1C 00047A5C 48 00 00 84 */ b lbl_8004BCA0
|
||
|
.global lbl_8004BC20
|
||
|
lbl_8004BC20:
|
||
|
/* 8004BC20 00047A60 7E C3 B3 78 */ mr r3, r22
|
||
|
/* 8004BC24 00047A64 4B FB AE 69 */ bl lbl_80006A8C
|
||
|
/* 8004BC28 00047A68 7C 75 1B 78 */ mr r21, r3
|
||
|
/* 8004BC2C 00047A6C 7F B8 EB 78 */ mr r24, r29
|
||
|
/* 8004BC30 00047A70 3A E0 00 00 */ li r23, 0x0
|
||
|
/* 8004BC34 00047A74 48 00 00 60 */ b lbl_8004BC94
|
||
|
.global lbl_8004BC38
|
||
|
lbl_8004BC38:
|
||
|
/* 8004BC38 00047A78 A0 18 00 00 */ lhz r0, 0x0(r24)
|
||
|
/* 8004BC3C 00047A7C 7C 99 02 14 */ add r4, r25, r0
|
||
|
/* 8004BC40 00047A80 7C 19 00 AE */ lbzx r0, r25, r0
|
||
|
/* 8004BC44 00047A84 54 03 06 FE */ clrlwi r3, r0, 27
|
||
|
/* 8004BC48 00047A88 38 03 00 01 */ addi r0, r3, 0x1
|
||
|
/* 8004BC4C 00047A8C 7C 15 00 40 */ cmplw r21, r0
|
||
|
/* 8004BC50 00047A90 40 82 00 3C */ bne lbl_8004BC8C
|
||
|
/* 8004BC54 00047A94 7E C3 B3 78 */ mr r3, r22
|
||
|
/* 8004BC58 00047A98 7E A5 AB 78 */ mr r5, r21
|
||
|
/* 8004BC5C 00047A9C 38 84 00 01 */ addi r4, r4, 0x1
|
||
|
/* 8004BC60 00047AA0 4B FB F2 11 */ bl lbl_8000AE70
|
||
|
/* 8004BC64 00047AA4 2C 03 00 00 */ cmpwi r3, 0x0
|
||
|
/* 8004BC68 00047AA8 40 82 00 24 */ bne lbl_8004BC8C
|
||
|
/* 8004BC6C 00047AAC 80 1B 00 04 */ lwz r0, 0x4(r27)
|
||
|
/* 8004BC70 00047AB0 56 E3 08 3C */ slwi r3, r23, 1
|
||
|
/* 8004BC74 00047AB4 7C 7D 1A 14 */ add r3, r29, r3
|
||
|
/* 8004BC78 00047AB8 7C 00 00 D0 */ neg r0, r0
|
||
|
/* 8004BC7C 00047ABC 54 00 08 3C */ slwi r0, r0, 1
|
||
|
/* 8004BC80 00047AC0 7C 79 18 50 */ subf r3, r25, r3
|
||
|
/* 8004BC84 00047AC4 7C 7F 03 2E */ sthx r3, r31, r0
|
||
|
/* 8004BC88 00047AC8 48 00 00 14 */ b lbl_8004BC9C
|
||
|
.global lbl_8004BC8C
|
||
|
lbl_8004BC8C:
|
||
|
/* 8004BC8C 00047ACC 3B 18 00 02 */ addi r24, r24, 0x2
|
||
|
/* 8004BC90 00047AD0 3A F7 00 01 */ addi r23, r23, 0x1
|
||
|
.global lbl_8004BC94
|
||
|
lbl_8004BC94:
|
||
|
/* 8004BC94 00047AD4 7C 17 F0 40 */ cmplw r23, r30
|
||
|
/* 8004BC98 00047AD8 41 80 FF A0 */ blt lbl_8004BC38
|
||
|
.global lbl_8004BC9C
|
||
|
lbl_8004BC9C:
|
||
|
/* 8004BC9C 00047ADC 3B 7B 00 08 */ addi r27, r27, 0x8
|
||
|
.global lbl_8004BCA0
|
||
|
lbl_8004BCA0:
|
||
|
/* 8004BCA0 00047AE0 7C 1B D0 40 */ cmplw r27, r26
|
||
|
/* 8004BCA4 00047AE4 40 80 00 10 */ bge lbl_8004BCB4
|
||
|
/* 8004BCA8 00047AE8 82 DB 00 00 */ lwz r22, 0x0(r27)
|
||
|
/* 8004BCAC 00047AEC 2C 16 00 00 */ cmpwi r22, 0x0
|
||
|
/* 8004BCB0 00047AF0 40 82 FF 70 */ bne lbl_8004BC20
|
||
|
.global lbl_8004BCB4
|
||
|
lbl_8004BCB4:
|
||
|
/* 8004BCB4 00047AF4 7C 19 F8 50 */ subf r0, r25, r31
|
||
|
/* 8004BCB8 00047AF8 90 0D E8 E8 */ stw r0, lbl_8055CD08@sda21(r13)
|
||
|
/* 8004BCBC 00047AFC 38 60 00 00 */ li r3, 0x0
|
||
|
/* 8004BCC0 00047B00 93 CD E8 E0 */ stw r30, lbl_8055CD00@sda21(r13)
|
||
|
/* 8004BCC4 00047B04 93 8D E8 DC */ stw r28, lbl_8055CCFC@sda21(r13)
|
||
|
/* 8004BCC8 00047B08 48 00 00 08 */ b lbl_8004BCD0
|
||
|
.global lbl_8004BCCC
|
||
|
lbl_8004BCCC:
|
||
|
/* 8004BCCC 00047B0C 38 60 00 02 */ li r3, 0x2
|
||
|
.global lbl_8004BCD0
|
||
|
lbl_8004BCD0:
|
||
|
/* 8004BCD0 00047B10 39 61 00 60 */ addi r11, r1, 0x60
|
||
|
/* 8004BCD4 00047B14 4B FB B6 9D */ bl lbl_80007370
|
||
|
/* 8004BCD8 00047B18 80 01 00 64 */ lwz r0, 0x64(r1)
|
||
|
/* 8004BCDC 00047B1C 7C 08 03 A6 */ mtlr r0
|
||
|
/* 8004BCE0 00047B20 38 21 00 60 */ addi r1, r1, 0x60
|
||
|
/* 8004BCE4 00047B24 4E 80 00 20 */ blr
|
||
|
/* 8004BCE8 00047B28 00 00 00 00 */ .4byte 0x00000000
|
||
|
/* 8004BCEC 00047B2C 00 00 00 00 */ .4byte 0x00000000
|
||
|
.global lbl_8004BCF0
|
||
|
lbl_8004BCF0:
|
||
|
/* 8004BCF0 00047B30 94 21 FF F0 */ stwu r1, -0x10(r1)
|
||
|
/* 8004BCF4 00047B34 7C 08 02 A6 */ mflr r0
|
||
|
/* 8004BCF8 00047B38 38 A0 00 20 */ li r5, 0x20
|
||
|
/* 8004BCFC 00047B3C 90 01 00 14 */ stw r0, 0x14(r1)
|
||
|
/* 8004BD00 00047B40 93 E1 00 0C */ stw r31, 0xc(r1)
|
||
|
/* 8004BD04 00047B44 7C 9F 23 78 */ mr r31, r4
|
||
|
/* 8004BD08 00047B48 38 80 00 00 */ li r4, 0x0
|
||
|
/* 8004BD0C 00047B4C 93 C1 00 08 */ stw r30, 0x8(r1)
|
||
|
/* 8004BD10 00047B50 7C 7E 1B 78 */ mr r30, r3
|
||
|
/* 8004BD14 00047B54 7F E3 FB 78 */ mr r3, r31
|
||
|
/* 8004BD18 00047B58 4B FB 86 39 */ bl func_80004350
|
||
|
/* 8004BD1C 00047B5C 88 1E 00 00 */ lbz r0, 0x0(r30)
|
||
|
/* 8004BD20 00047B60 38 9E 00 01 */ addi r4, r30, 0x1
|
||
|
/* 8004BD24 00047B64 54 03 06 FE */ clrlwi r3, r0, 27
|
||
|
/* 8004BD28 00047B68 54 06 06 34 */ rlwinm r6, r0, 0, 24, 26
|
||
|
/* 8004BD2C 00047B6C 38 03 00 01 */ addi r0, r3, 0x1
|
||
|
/* 8004BD30 00047B70 90 9F 00 14 */ stw r4, 0x14(r31)
|
||
|
/* 8004BD34 00047B74 7C 7E 02 14 */ add r3, r30, r0
|
||
|
/* 8004BD38 00047B78 2C 06 00 60 */ cmpwi r6, 0x60
|
||
|
/* 8004BD3C 00047B7C 38 63 00 01 */ addi r3, r3, 0x1
|
||
|
/* 8004BD40 00047B80 90 1F 00 0C */ stw r0, 0xc(r31)
|
||
|
/* 8004BD44 00047B84 90 7F 00 18 */ stw r3, 0x18(r31)
|
||
|
/* 8004BD48 00047B88 41 82 00 38 */ beq lbl_8004BD80
|
||
|
/* 8004BD4C 00047B8C 2C 06 00 E0 */ cmpwi r6, 0xe0
|
||
|
/* 8004BD50 00047B90 41 82 00 30 */ beq lbl_8004BD80
|
||
|
/* 8004BD54 00047B94 2C 06 00 80 */ cmpwi r6, 0x80
|
||
|
/* 8004BD58 00047B98 41 82 00 34 */ beq lbl_8004BD8C
|
||
|
/* 8004BD5C 00047B9C 2C 06 00 A0 */ cmpwi r6, 0xa0
|
||
|
/* 8004BD60 00047BA0 41 82 00 38 */ beq lbl_8004BD98
|
||
|
/* 8004BD64 00047BA4 2C 06 00 C0 */ cmpwi r6, 0xc0
|
||
|
/* 8004BD68 00047BA8 41 82 00 3C */ beq lbl_8004BDA4
|
||
|
/* 8004BD6C 00047BAC 2C 06 00 40 */ cmpwi r6, 0x40
|
||
|
/* 8004BD70 00047BB0 41 82 00 40 */ beq lbl_8004BDB0
|
||
|
/* 8004BD74 00047BB4 2C 06 00 20 */ cmpwi r6, 0x20
|
||
|
/* 8004BD78 00047BB8 41 82 00 5C */ beq lbl_8004BDD4
|
||
|
/* 8004BD7C 00047BBC 48 00 00 CC */ b lbl_8004BE48
|
||
|
.global lbl_8004BD80
|
||
|
lbl_8004BD80:
|
||
|
/* 8004BD80 00047BC0 38 00 00 01 */ li r0, 0x1
|
||
|
/* 8004BD84 00047BC4 90 1F 00 10 */ stw r0, 0x10(r31)
|
||
|
/* 8004BD88 00047BC8 48 00 00 74 */ b lbl_8004BDFC
|
||
|
.global lbl_8004BD8C
|
||
|
lbl_8004BD8C:
|
||
|
/* 8004BD8C 00047BCC 38 00 00 02 */ li r0, 0x2
|
||
|
/* 8004BD90 00047BD0 90 1F 00 10 */ stw r0, 0x10(r31)
|
||
|
/* 8004BD94 00047BD4 48 00 00 68 */ b lbl_8004BDFC
|
||
|
.global lbl_8004BD98
|
||
|
lbl_8004BD98:
|
||
|
/* 8004BD98 00047BD8 38 00 00 04 */ li r0, 0x4
|
||
|
/* 8004BD9C 00047BDC 90 1F 00 10 */ stw r0, 0x10(r31)
|
||
|
/* 8004BDA0 00047BE0 48 00 00 5C */ b lbl_8004BDFC
|
||
|
.global lbl_8004BDA4
|
||
|
lbl_8004BDA4:
|
||
|
/* 8004BDA4 00047BE4 38 00 00 08 */ li r0, 0x8
|
||
|
/* 8004BDA8 00047BE8 90 1F 00 10 */ stw r0, 0x10(r31)
|
||
|
/* 8004BDAC 00047BEC 48 00 00 50 */ b lbl_8004BDFC
|
||
|
.global lbl_8004BDB0
|
||
|
lbl_8004BDB0:
|
||
|
/* 8004BDB0 00047BF0 88 A3 00 00 */ lbz r5, 0x0(r3)
|
||
|
/* 8004BDB4 00047BF4 38 83 00 01 */ addi r4, r3, 0x1
|
||
|
/* 8004BDB8 00047BF8 80 7F 00 1C */ lwz r3, 0x1c(r31)
|
||
|
/* 8004BDBC 00047BFC 38 05 00 01 */ addi r0, r5, 0x1
|
||
|
/* 8004BDC0 00047C00 90 1F 00 10 */ stw r0, 0x10(r31)
|
||
|
/* 8004BDC4 00047C04 38 03 00 01 */ addi r0, r3, 0x1
|
||
|
/* 8004BDC8 00047C08 90 9F 00 18 */ stw r4, 0x18(r31)
|
||
|
/* 8004BDCC 00047C0C 90 1F 00 1C */ stw r0, 0x1c(r31)
|
||
|
/* 8004BDD0 00047C10 48 00 00 2C */ b lbl_8004BDFC
|
||
|
.global lbl_8004BDD4
|
||
|
lbl_8004BDD4:
|
||
|
/* 8004BDD4 00047C14 88 03 00 00 */ lbz r0, 0x0(r3)
|
||
|
/* 8004BDD8 00047C18 38 83 00 02 */ addi r4, r3, 0x2
|
||
|
/* 8004BDDC 00047C1C 88 A3 00 01 */ lbz r5, 0x1(r3)
|
||
|
/* 8004BDE0 00047C20 50 05 44 2E */ rlwimi r5, r0, 8, 16, 23
|
||
|
/* 8004BDE4 00047C24 80 7F 00 1C */ lwz r3, 0x1c(r31)
|
||
|
/* 8004BDE8 00047C28 38 05 00 01 */ addi r0, r5, 0x1
|
||
|
/* 8004BDEC 00047C2C 90 1F 00 10 */ stw r0, 0x10(r31)
|
||
|
/* 8004BDF0 00047C30 38 03 00 02 */ addi r0, r3, 0x2
|
||
|
/* 8004BDF4 00047C34 90 9F 00 18 */ stw r4, 0x18(r31)
|
||
|
/* 8004BDF8 00047C38 90 1F 00 1C */ stw r0, 0x1c(r31)
|
||
|
.global lbl_8004BDFC
|
||
|
lbl_8004BDFC:
|
||
|
/* 8004BDFC 00047C3C 28 06 00 40 */ cmplwi r6, 0x40
|
||
|
/* 8004BE00 00047C40 41 82 00 0C */ beq lbl_8004BE0C
|
||
|
/* 8004BE04 00047C44 28 06 00 20 */ cmplwi r6, 0x20
|
||
|
/* 8004BE08 00047C48 40 82 00 10 */ bne lbl_8004BE18
|
||
|
.global lbl_8004BE0C
|
||
|
lbl_8004BE0C:
|
||
|
/* 8004BE0C 00047C4C 38 00 00 40 */ li r0, 0x40
|
||
|
/* 8004BE10 00047C50 98 1F 00 09 */ stb r0, 0x9(r31)
|
||
|
/* 8004BE14 00047C54 48 00 00 18 */ b lbl_8004BE2C
|
||
|
.global lbl_8004BE18
|
||
|
lbl_8004BE18:
|
||
|
/* 8004BE18 00047C58 98 DF 00 08 */ stb r6, 0x8(r31)
|
||
|
/* 8004BE1C 00047C5C 7F E3 FB 78 */ mr r3, r31
|
||
|
/* 8004BE20 00047C60 80 9F 00 18 */ lwz r4, 0x18(r31)
|
||
|
/* 8004BE24 00047C64 80 BF 00 10 */ lwz r5, 0x10(r31)
|
||
|
/* 8004BE28 00047C68 4B FB 81 D9 */ bl func_80004000
|
||
|
.global lbl_8004BE2C
|
||
|
lbl_8004BE2C:
|
||
|
/* 8004BE2C 00047C6C 80 7F 00 0C */ lwz r3, 0xc(r31)
|
||
|
/* 8004BE30 00047C70 80 1F 00 10 */ lwz r0, 0x10(r31)
|
||
|
/* 8004BE34 00047C74 80 9F 00 1C */ lwz r4, 0x1c(r31)
|
||
|
/* 8004BE38 00047C78 7C 03 02 14 */ add r0, r3, r0
|
||
|
/* 8004BE3C 00047C7C 7C 60 22 14 */ add r3, r0, r4
|
||
|
/* 8004BE40 00047C80 38 03 00 01 */ addi r0, r3, 0x1
|
||
|
/* 8004BE44 00047C84 90 1F 00 1C */ stw r0, 0x1c(r31)
|
||
|
.global lbl_8004BE48
|
||
|
lbl_8004BE48:
|
||
|
/* 8004BE48 00047C88 80 7F 00 10 */ lwz r3, 0x10(r31)
|
||
|
/* 8004BE4C 00047C8C 83 E1 00 0C */ lwz r31, 0xc(r1)
|
||
|
/* 8004BE50 00047C90 7C 03 00 D0 */ neg r0, r3
|
||
|
/* 8004BE54 00047C94 83 C1 00 08 */ lwz r30, 0x8(r1)
|
||
|
/* 8004BE58 00047C98 7C 00 1B 78 */ or r0, r0, r3
|
||
|
/* 8004BE5C 00047C9C 54 03 0F FE */ srwi r3, r0, 31
|
||
|
/* 8004BE60 00047CA0 80 01 00 14 */ lwz r0, 0x14(r1)
|
||
|
/* 8004BE64 00047CA4 7C 08 03 A6 */ mtlr r0
|
||
|
/* 8004BE68 00047CA8 38 21 00 10 */ addi r1, r1, 0x10
|
||
|
/* 8004BE6C 00047CAC 4E 80 00 20 */ blr
|
||
|
.global lbl_8004BE70
|
||
|
lbl_8004BE70:
|
||
|
/* 8004BE70 00047CB0 94 21 FF D0 */ stwu r1, -0x30(r1)
|
||
|
/* 8004BE74 00047CB4 7C 08 02 A6 */ mflr r0
|
||
|
/* 8004BE78 00047CB8 90 01 00 34 */ stw r0, 0x34(r1)
|
||
|
/* 8004BE7C 00047CBC 39 61 00 30 */ addi r11, r1, 0x30
|
||
|
/* 8004BE80 00047CC0 4B FB B4 B1 */ bl lbl_80007330
|
||
|
/* 8004BE84 00047CC4 80 0D E8 E4 */ lwz r0, lbl_8055CD04@sda21(r13)
|
||
|
/* 8004BE88 00047CC8 3F E0 80 4B */ lis r31, lbl_804B5D20@ha
|
||
|
/* 8004BE8C 00047CCC 3B FF 5D 20 */ addi r31, r31, lbl_804B5D20@l
|
||
|
/* 8004BE90 00047CD0 7C 03 00 40 */ cmplw r3, r0
|
||
|
/* 8004BE94 00047CD4 40 80 01 58 */ bge lbl_8004BFEC
|
||
|
/* 8004BE98 00047CD8 80 8D E8 E8 */ lwz r4, lbl_8055CD08@sda21(r13)
|
||
|
/* 8004BE9C 00047CDC 2C 04 00 00 */ cmpwi r4, 0x0
|
||
|
/* 8004BEA0 00047CE0 41 82 01 4C */ beq lbl_8004BFEC
|
||
|
/* 8004BEA4 00047CE4 7C 03 00 D0 */ neg r0, r3
|
||
|
/* 8004BEA8 00047CE8 7F 9F 22 14 */ add r28, r31, r4
|
||
|
/* 8004BEAC 00047CEC 54 00 08 3C */ slwi r0, r0, 1
|
||
|
/* 8004BEB0 00047CF0 7F DC 02 2E */ lhzx r30, r28, r0
|
||
|
/* 8004BEB4 00047CF4 2C 1E 00 00 */ cmpwi r30, 0x0
|
||
|
/* 8004BEB8 00047CF8 41 82 01 34 */ beq lbl_8004BFEC
|
||
|
/* 8004BEBC 00047CFC 80 0D E8 E0 */ lwz r0, lbl_8055CD00@sda21(r13)
|
||
|
/* 8004BEC0 00047D00 2C 00 00 00 */ cmpwi r0, 0x0
|
||
|
/* 8004BEC4 00047D04 41 82 01 28 */ beq lbl_8004BFEC
|
||
|
/* 8004BEC8 00047D08 7F 7F F2 14 */ add r27, r31, r30
|
||
|
/* 8004BECC 00047D0C 3B 3F 00 06 */ addi r25, r31, 0x6
|
||
|
/* 8004BED0 00047D10 54 00 08 3C */ slwi r0, r0, 1
|
||
|
/* 8004BED4 00047D14 7C BF F2 2E */ lhzx r5, r31, r30
|
||
|
/* 8004BED8 00047D18 7F 19 02 14 */ add r24, r25, r0
|
||
|
/* 8004BEDC 00047D1C A0 7B 00 02 */ lhz r3, 0x2(r27)
|
||
|
/* 8004BEE0 00047D20 7F 64 DB 78 */ mr r4, r27
|
||
|
/* 8004BEE4 00047D24 38 1E 00 02 */ addi r0, r30, 0x2
|
||
|
/* 8004BEE8 00047D28 7C C5 18 50 */ subf r6, r5, r3
|
||
|
/* 8004BEEC 00047D2C A3 58 00 00 */ lhz r26, 0x0(r24)
|
||
|
/* 8004BEF0 00047D30 7F 63 DB 78 */ mr r3, r27
|
||
|
/* 8004BEF4 00047D34 7C A0 28 50 */ subf r5, r0, r5
|
||
|
/* 8004BEF8 00047D38 3B A6 00 02 */ addi r29, r6, 0x2
|
||
|
/* 8004BEFC 00047D3C 38 84 00 02 */ addi r4, r4, 0x2
|
||
|
/* 8004BF00 00047D40 4B FB EE 4D */ bl lbl_8000AD4C
|
||
|
/* 8004BF04 00047D44 38 98 FF FE */ addi r4, r24, -0x2
|
||
|
/* 8004BF08 00047D48 38 04 00 02 */ addi r0, r4, 0x2
|
||
|
/* 8004BF0C 00047D4C 7C 19 00 50 */ subf r0, r25, r0
|
||
|
/* 8004BF10 00047D50 54 00 F8 7E */ srwi r0, r0, 1
|
||
|
/* 8004BF14 00047D54 7C 09 03 A6 */ mtctr r0
|
||
|
/* 8004BF18 00047D58 7C 04 C8 40 */ cmplw r4, r25
|
||
|
/* 8004BF1C 00047D5C 41 80 00 30 */ blt lbl_8004BF4C
|
||
|
.global lbl_8004BF20
|
||
|
lbl_8004BF20:
|
||
|
/* 8004BF20 00047D60 7C 04 D8 40 */ cmplw r4, r27
|
||
|
/* 8004BF24 00047D64 40 80 00 14 */ bge lbl_8004BF38
|
||
|
/* 8004BF28 00047D68 A0 64 00 00 */ lhz r3, 0x0(r4)
|
||
|
/* 8004BF2C 00047D6C 38 03 FF FE */ addi r0, r3, -0x2
|
||
|
/* 8004BF30 00047D70 B0 04 00 00 */ sth r0, 0x0(r4)
|
||
|
/* 8004BF34 00047D74 48 00 00 10 */ b lbl_8004BF44
|
||
|
.global lbl_8004BF38
|
||
|
lbl_8004BF38:
|
||
|
/* 8004BF38 00047D78 A0 04 00 00 */ lhz r0, 0x0(r4)
|
||
|
/* 8004BF3C 00047D7C 7C 1D 00 50 */ subf r0, r29, r0
|
||
|
/* 8004BF40 00047D80 B0 04 00 00 */ sth r0, 0x0(r4)
|
||
|
.global lbl_8004BF44
|
||
|
lbl_8004BF44:
|
||
|
/* 8004BF44 00047D84 38 84 FF FE */ addi r4, r4, -0x2
|
||
|
/* 8004BF48 00047D88 42 00 FF D8 */ bdnz lbl_8004BF20
|
||
|
.global lbl_8004BF4C
|
||
|
lbl_8004BF4C:
|
||
|
/* 8004BF4C 00047D8C A0 BB 00 00 */ lhz r5, 0x0(r27)
|
||
|
/* 8004BF50 00047D90 7C 9F EA 14 */ add r4, r31, r29
|
||
|
/* 8004BF54 00047D94 7C 05 EA 14 */ add r0, r5, r29
|
||
|
/* 8004BF58 00047D98 7C 7F 2A 14 */ add r3, r31, r5
|
||
|
/* 8004BF5C 00047D9C 7C 85 22 14 */ add r4, r5, r4
|
||
|
/* 8004BF60 00047DA0 7C A0 D0 50 */ subf r5, r0, r26
|
||
|
/* 8004BF64 00047DA4 4B FB ED E9 */ bl lbl_8000AD4C
|
||
|
/* 8004BF68 00047DA8 7C 1D D0 50 */ subf r0, r29, r26
|
||
|
/* 8004BF6C 00047DAC 7F A5 EB 78 */ mr r5, r29
|
||
|
/* 8004BF70 00047DB0 7C 7F 02 14 */ add r3, r31, r0
|
||
|
/* 8004BF74 00047DB4 38 80 00 00 */ li r4, 0x0
|
||
|
/* 8004BF78 00047DB8 4B FB 83 D9 */ bl func_80004350
|
||
|
/* 8004BF7C 00047DBC 80 0D E8 E4 */ lwz r0, lbl_8055CD04@sda21(r13)
|
||
|
/* 8004BF80 00047DC0 38 C0 00 00 */ li r6, 0x0
|
||
|
/* 8004BF84 00047DC4 38 60 00 00 */ li r3, 0x0
|
||
|
/* 8004BF88 00047DC8 7C 09 03 A6 */ mtctr r0
|
||
|
/* 8004BF8C 00047DCC 28 00 00 00 */ cmplwi r0, 0x0
|
||
|
/* 8004BF90 00047DD0 40 81 00 38 */ ble lbl_8004BFC8
|
||
|
/* 8004BF94 00047DD4 60 00 00 00 */ nop
|
||
|
.global lbl_8004BF98
|
||
|
lbl_8004BF98:
|
||
|
/* 8004BF98 00047DD8 7C 06 00 D0 */ neg r0, r6
|
||
|
/* 8004BF9C 00047DDC 54 05 08 3C */ slwi r5, r0, 1
|
||
|
/* 8004BFA0 00047DE0 7C 9C 2A 2E */ lhzx r4, r28, r5
|
||
|
/* 8004BFA4 00047DE4 7C 04 F0 40 */ cmplw r4, r30
|
||
|
/* 8004BFA8 00047DE8 41 80 00 18 */ blt lbl_8004BFC0
|
||
|
/* 8004BFAC 00047DEC 40 81 00 10 */ ble lbl_8004BFBC
|
||
|
/* 8004BFB0 00047DF0 38 04 FF FE */ addi r0, r4, -0x2
|
||
|
/* 8004BFB4 00047DF4 7C 1C 2B 2E */ sthx r0, r28, r5
|
||
|
/* 8004BFB8 00047DF8 48 00 00 08 */ b lbl_8004BFC0
|
||
|
.global lbl_8004BFBC
|
||
|
lbl_8004BFBC:
|
||
|
/* 8004BFBC 00047DFC 7C 7C 2B 2E */ sthx r3, r28, r5
|
||
|
.global lbl_8004BFC0
|
||
|
lbl_8004BFC0:
|
||
|
/* 8004BFC0 00047E00 38 C6 00 01 */ addi r6, r6, 0x1
|
||
|
/* 8004BFC4 00047E04 42 00 FF D4 */ bdnz lbl_8004BF98
|
||
|
.global lbl_8004BFC8
|
||
|
lbl_8004BFC8:
|
||
|
/* 8004BFC8 00047E08 80 8D E8 DC */ lwz r4, lbl_8055CCFC@sda21(r13)
|
||
|
/* 8004BFCC 00047E0C 38 00 00 01 */ li r0, 0x1
|
||
|
/* 8004BFD0 00047E10 80 6D E8 E0 */ lwz r3, lbl_8055CD00@sda21(r13)
|
||
|
/* 8004BFD4 00047E14 7C 84 EA 14 */ add r4, r4, r29
|
||
|
/* 8004BFD8 00047E18 90 8D E8 DC */ stw r4, lbl_8055CCFC@sda21(r13)
|
||
|
/* 8004BFDC 00047E1C 38 63 FF FF */ addi r3, r3, -0x1
|
||
|
/* 8004BFE0 00047E20 90 6D E8 E0 */ stw r3, lbl_8055CD00@sda21(r13)
|
||
|
/* 8004BFE4 00047E24 B0 7F 00 04 */ sth r3, 0x4(r31)
|
||
|
/* 8004BFE8 00047E28 98 0D E8 ED */ stb r0, lbl_8055CD0D@sda21(r13)
|
||
|
.global lbl_8004BFEC
|
||
|
lbl_8004BFEC:
|
||
|
/* 8004BFEC 00047E2C 39 61 00 30 */ addi r11, r1, 0x30
|
||
|
/* 8004BFF0 00047E30 4B FB B3 8D */ bl lbl_8000737C
|
||
|
/* 8004BFF4 00047E34 80 01 00 34 */ lwz r0, 0x34(r1)
|
||
|
/* 8004BFF8 00047E38 7C 08 03 A6 */ mtlr r0
|
||
|
/* 8004BFFC 00047E3C 38 21 00 30 */ addi r1, r1, 0x30
|
||
|
/* 8004C000 00047E40 4E 80 00 20 */ blr
|
||
|
/* 8004C004 00047E44 00 00 00 00 */ .4byte 0x00000000
|
||
|
/* 8004C008 00047E48 00 00 00 00 */ .4byte 0x00000000
|
||
|
/* 8004C00C 00047E4C 00 00 00 00 */ .4byte 0x00000000
|
||
|
.global lbl_8004C010
|
||
|
lbl_8004C010:
|
||
|
/* 8004C010 00047E50 94 21 FF D0 */ stwu r1, -0x30(r1)
|
||
|
/* 8004C014 00047E54 7C 08 02 A6 */ mflr r0
|
||
|
/* 8004C018 00047E58 90 01 00 34 */ stw r0, 0x34(r1)
|
||
|
/* 8004C01C 00047E5C 39 61 00 30 */ addi r11, r1, 0x30
|
||
|
/* 8004C020 00047E60 4B FB B3 09 */ bl lbl_80007328
|
||
|
/* 8004C024 00047E64 80 0D E8 E4 */ lwz r0, lbl_8055CD04@sda21(r13)
|
||
|
/* 8004C028 00047E68 3F E0 80 4B */ lis r31, lbl_804B5D20@ha
|
||
|
/* 8004C02C 00047E6C 3C E0 80 44 */ lis r7, lbl_80438298@ha
|
||
|
/* 8004C030 00047E70 7C 77 1B 78 */ mr r23, r3
|
||
|
/* 8004C034 00047E74 7C 03 00 40 */ cmplw r3, r0
|
||
|
/* 8004C038 00047E78 7C 98 23 78 */ mr r24, r4
|
||
|
/* 8004C03C 00047E7C 7C B9 2B 78 */ mr r25, r5
|
||
|
/* 8004C040 00047E80 7C DA 33 78 */ mr r26, r6
|
||
|
/* 8004C044 00047E84 3B FF 5D 20 */ addi r31, r31, lbl_804B5D20@l
|
||
|
/* 8004C048 00047E88 38 E7 82 98 */ addi r7, r7, lbl_80438298@l
|
||
|
/* 8004C04C 00047E8C 3B A0 00 01 */ li r29, 0x1
|
||
|
/* 8004C050 00047E90 40 80 02 1C */ bge lbl_8004C26C
|
||
|
/* 8004C054 00047E94 38 00 00 00 */ li r0, 0x0
|
||
|
/* 8004C058 00047E98 7C 05 00 40 */ cmplw r5, r0
|
||
|
/* 8004C05C 00047E9C 41 82 02 10 */ beq lbl_8004C26C
|
||
|
/* 8004C060 00047EA0 80 0D E8 E0 */ lwz r0, lbl_8055CD00@sda21(r13)
|
||
|
/* 8004C064 00047EA4 28 00 FF FF */ cmplwi r0, 0xffff
|
||
|
/* 8004C068 00047EA8 40 80 02 04 */ bge lbl_8004C26C
|
||
|
/* 8004C06C 00047EAC 80 0D E8 E8 */ lwz r0, lbl_8055CD08@sda21(r13)
|
||
|
/* 8004C070 00047EB0 2C 00 00 00 */ cmpwi r0, 0x0
|
||
|
/* 8004C074 00047EB4 41 82 01 F8 */ beq lbl_8004C26C
|
||
|
/* 8004C078 00047EB8 2C 04 00 A0 */ cmpwi r4, 0xa0
|
||
|
/* 8004C07C 00047EBC 41 82 00 54 */ beq lbl_8004C0D0
|
||
|
/* 8004C080 00047EC0 40 80 00 28 */ bge lbl_8004C0A8
|
||
|
/* 8004C084 00047EC4 2C 04 00 60 */ cmpwi r4, 0x60
|
||
|
/* 8004C088 00047EC8 41 82 00 38 */ beq lbl_8004C0C0
|
||
|
/* 8004C08C 00047ECC 40 80 00 10 */ bge lbl_8004C09C
|
||
|
/* 8004C090 00047ED0 2C 04 00 40 */ cmpwi r4, 0x40
|
||
|
/* 8004C094 00047ED4 41 82 00 4C */ beq lbl_8004C0E0
|
||
|
/* 8004C098 00047ED8 48 00 01 D4 */ b lbl_8004C26C
|
||
|
.global lbl_8004C09C
|
||
|
lbl_8004C09C:
|
||
|
/* 8004C09C 00047EDC 2C 04 00 80 */ cmpwi r4, 0x80
|
||
|
/* 8004C0A0 00047EE0 41 82 00 28 */ beq lbl_8004C0C8
|
||
|
/* 8004C0A4 00047EE4 48 00 01 C8 */ b lbl_8004C26C
|
||
|
.global lbl_8004C0A8
|
||
|
lbl_8004C0A8:
|
||
|
/* 8004C0A8 00047EE8 2C 04 00 E0 */ cmpwi r4, 0xe0
|
||
|
/* 8004C0AC 00047EEC 41 82 00 14 */ beq lbl_8004C0C0
|
||
|
/* 8004C0B0 00047EF0 40 80 01 BC */ bge lbl_8004C26C
|
||
|
/* 8004C0B4 00047EF4 2C 04 00 C0 */ cmpwi r4, 0xc0
|
||
|
/* 8004C0B8 00047EF8 41 82 00 20 */ beq lbl_8004C0D8
|
||
|
/* 8004C0BC 00047EFC 48 00 01 B0 */ b lbl_8004C26C
|
||
|
.global lbl_8004C0C0
|
||
|
lbl_8004C0C0:
|
||
|
/* 8004C0C0 00047F00 3B 40 00 01 */ li r26, 0x1
|
||
|
/* 8004C0C4 00047F04 48 00 00 48 */ b lbl_8004C10C
|
||
|
.global lbl_8004C0C8
|
||
|
lbl_8004C0C8:
|
||
|
/* 8004C0C8 00047F08 3B 40 00 02 */ li r26, 0x2
|
||
|
/* 8004C0CC 00047F0C 48 00 00 40 */ b lbl_8004C10C
|
||
|
.global lbl_8004C0D0
|
||
|
lbl_8004C0D0:
|
||
|
/* 8004C0D0 00047F10 3B 40 00 04 */ li r26, 0x4
|
||
|
/* 8004C0D4 00047F14 48 00 00 38 */ b lbl_8004C10C
|
||
|
.global lbl_8004C0D8
|
||
|
lbl_8004C0D8:
|
||
|
/* 8004C0D8 00047F18 3B 40 00 08 */ li r26, 0x8
|
||
|
/* 8004C0DC 00047F1C 48 00 00 30 */ b lbl_8004C10C
|
||
|
.global lbl_8004C0E0
|
||
|
lbl_8004C0E0:
|
||
|
/* 8004C0E0 00047F20 2C 06 00 00 */ cmpwi r6, 0x0
|
||
|
/* 8004C0E4 00047F24 41 82 01 88 */ beq lbl_8004C26C
|
||
|
/* 8004C0E8 00047F28 3C 00 00 01 */ lis r0, 0x1
|
||
|
/* 8004C0EC 00047F2C 7C 06 00 40 */ cmplw r6, r0
|
||
|
/* 8004C0F0 00047F30 41 81 01 7C */ bgt lbl_8004C26C
|
||
|
/* 8004C0F4 00047F34 28 06 01 00 */ cmplwi r6, 0x100
|
||
|
/* 8004C0F8 00047F38 40 81 00 10 */ ble lbl_8004C108
|
||
|
/* 8004C0FC 00047F3C 3B 00 00 20 */ li r24, 0x20
|
||
|
/* 8004C100 00047F40 3B A0 00 03 */ li r29, 0x3
|
||
|
/* 8004C104 00047F44 48 00 00 08 */ b lbl_8004C10C
|
||
|
.global lbl_8004C108
|
||
|
lbl_8004C108:
|
||
|
/* 8004C108 00047F48 3B A0 00 02 */ li r29, 0x2
|
||
|
.global lbl_8004C10C
|
||
|
lbl_8004C10C:
|
||
|
/* 8004C10C 00047F4C 7F BD D2 14 */ add r29, r29, r26
|
||
|
/* 8004C110 00047F50 38 00 00 00 */ li r0, 0x0
|
||
|
/* 8004C114 00047F54 48 00 00 14 */ b lbl_8004C128
|
||
|
.global lbl_8004C118
|
||
|
lbl_8004C118:
|
||
|
/* 8004C118 00047F58 80 87 00 04 */ lwz r4, 0x4(r7)
|
||
|
/* 8004C11C 00047F5C 7C 04 18 00 */ cmpw r4, r3
|
||
|
/* 8004C120 00047F60 41 82 00 14 */ beq lbl_8004C134
|
||
|
/* 8004C124 00047F64 38 E7 00 08 */ addi r7, r7, 0x8
|
||
|
.global lbl_8004C128
|
||
|
lbl_8004C128:
|
||
|
/* 8004C128 00047F68 83 87 00 00 */ lwz r28, 0x0(r7)
|
||
|
/* 8004C12C 00047F6C 7C 1C 00 40 */ cmplw r28, r0
|
||
|
/* 8004C130 00047F70 40 82 FF E8 */ bne lbl_8004C118
|
||
|
.global lbl_8004C134
|
||
|
lbl_8004C134:
|
||
|
/* 8004C134 00047F74 38 00 00 00 */ li r0, 0x0
|
||
|
/* 8004C138 00047F78 7C 1C 00 40 */ cmplw r28, r0
|
||
|
/* 8004C13C 00047F7C 41 82 01 30 */ beq lbl_8004C26C
|
||
|
/* 8004C140 00047F80 7F 83 E3 78 */ mr r3, r28
|
||
|
/* 8004C144 00047F84 4B FB A9 49 */ bl lbl_80006A8C
|
||
|
/* 8004C148 00047F88 28 03 00 20 */ cmplwi r3, 0x20
|
||
|
/* 8004C14C 00047F8C 7C 7E 1B 78 */ mr r30, r3
|
||
|
/* 8004C150 00047F90 41 81 01 1C */ bgt lbl_8004C26C
|
||
|
/* 8004C154 00047F94 7F BD 1A 14 */ add r29, r29, r3
|
||
|
/* 8004C158 00047F98 80 6D E8 DC */ lwz r3, lbl_8055CCFC@sda21(r13)
|
||
|
/* 8004C15C 00047F9C 38 1D 00 02 */ addi r0, r29, 0x2
|
||
|
/* 8004C160 00047FA0 7C 03 00 40 */ cmplw r3, r0
|
||
|
/* 8004C164 00047FA4 41 80 01 08 */ blt lbl_8004C26C
|
||
|
/* 8004C168 00047FA8 80 6D E8 E0 */ lwz r3, lbl_8055CD00@sda21(r13)
|
||
|
/* 8004C16C 00047FAC 3A DF 00 06 */ addi r22, r31, 0x6
|
||
|
/* 8004C170 00047FB0 A0 1F 00 06 */ lhz r0, 0x6(r31)
|
||
|
/* 8004C174 00047FB4 54 63 08 3C */ slwi r3, r3, 1
|
||
|
/* 8004C178 00047FB8 7C B6 1A 2E */ lhzx r5, r22, r3
|
||
|
/* 8004C17C 00047FBC 7C 80 FA 14 */ add r4, r0, r31
|
||
|
/* 8004C180 00047FC0 7F 76 1A 14 */ add r27, r22, r3
|
||
|
/* 8004C184 00047FC4 38 64 00 02 */ addi r3, r4, 0x2
|
||
|
/* 8004C188 00047FC8 7C A0 28 50 */ subf r5, r0, r5
|
||
|
/* 8004C18C 00047FCC 4B FB EB C1 */ bl lbl_8000AD4C
|
||
|
.global lbl_8004C190
|
||
|
lbl_8004C190:
|
||
|
/* 8004C190 00047FD0 A0 76 00 00 */ lhz r3, 0x0(r22)
|
||
|
/* 8004C194 00047FD4 38 03 00 02 */ addi r0, r3, 0x2
|
||
|
/* 8004C198 00047FD8 B0 16 00 00 */ sth r0, 0x0(r22)
|
||
|
/* 8004C19C 00047FDC 3A D6 00 02 */ addi r22, r22, 0x2
|
||
|
/* 8004C1A0 00047FE0 7C 16 D8 40 */ cmplw r22, r27
|
||
|
/* 8004C1A4 00047FE4 40 81 FF EC */ ble lbl_8004C190
|
||
|
/* 8004C1A8 00047FE8 A0 BB 00 00 */ lhz r5, 0x0(r27)
|
||
|
/* 8004C1AC 00047FEC 38 1E FF FF */ addi r0, r30, -0x1
|
||
|
/* 8004C1B0 00047FF0 7F 84 E3 78 */ mr r4, r28
|
||
|
/* 8004C1B4 00047FF4 7F 9F 2A 14 */ add r28, r31, r5
|
||
|
/* 8004C1B8 00047FF8 7F 00 03 78 */ or r0, r24, r0
|
||
|
/* 8004C1BC 00047FFC 98 1C 00 00 */ stb r0, 0x0(r28)
|
||
|
/* 8004C1C0 00048000 7F C5 F3 78 */ mr r5, r30
|
||
|
/* 8004C1C4 00048004 38 7C 00 01 */ addi r3, r28, 0x1
|
||
|
/* 8004C1C8 00048008 4B FB 7E 39 */ bl func_80004000
|
||
|
/* 8004C1CC 0004800C 28 18 00 40 */ cmplwi r24, 0x40
|
||
|
/* 8004C1D0 00048010 7C 7E E2 14 */ add r3, r30, r28
|
||
|
/* 8004C1D4 00048014 3B 83 00 01 */ addi r28, r3, 0x1
|
||
|
/* 8004C1D8 00048018 40 82 00 14 */ bne lbl_8004C1EC
|
||
|
/* 8004C1DC 0004801C 38 1A FF FF */ addi r0, r26, -0x1
|
||
|
/* 8004C1E0 00048020 98 1C 00 00 */ stb r0, 0x0(r28)
|
||
|
/* 8004C1E4 00048024 3B 9C 00 01 */ addi r28, r28, 0x1
|
||
|
/* 8004C1E8 00048028 48 00 00 20 */ b lbl_8004C208
|
||
|
.global lbl_8004C1EC
|
||
|
lbl_8004C1EC:
|
||
|
/* 8004C1EC 0004802C 28 18 00 20 */ cmplwi r24, 0x20
|
||
|
/* 8004C1F0 00048030 40 82 00 18 */ bne lbl_8004C208
|
||
|
/* 8004C1F4 00048034 38 7A FF FF */ addi r3, r26, -0x1
|
||
|
/* 8004C1F8 00048038 54 60 C6 3E */ extrwi r0, r3, 8, 16
|
||
|
/* 8004C1FC 0004803C 98 1C 00 00 */ stb r0, 0x0(r28)
|
||
|
/* 8004C200 00048040 98 7C 00 01 */ stb r3, 0x1(r28)
|
||
|
/* 8004C204 00048044 3B 9C 00 02 */ addi r28, r28, 0x2
|
||
|
.global lbl_8004C208
|
||
|
lbl_8004C208:
|
||
|
/* 8004C208 00048048 7F 83 E3 78 */ mr r3, r28
|
||
|
/* 8004C20C 0004804C 7F 24 CB 78 */ mr r4, r25
|
||
|
/* 8004C210 00048050 7F 45 D3 78 */ mr r5, r26
|
||
|
/* 8004C214 00048054 4B FB 7D ED */ bl func_80004000
|
||
|
/* 8004C218 00048058 80 AD E8 E8 */ lwz r5, lbl_8055CD08@sda21(r13)
|
||
|
/* 8004C21C 0004805C 7C 97 00 D0 */ neg r4, r23
|
||
|
/* 8004C220 00048060 38 00 00 01 */ li r0, 0x1
|
||
|
/* 8004C224 00048064 80 6D E8 E0 */ lwz r3, lbl_8055CD00@sda21(r13)
|
||
|
/* 8004C228 00048068 7C DF 2A 14 */ add r6, r31, r5
|
||
|
/* 8004C22C 0004806C 54 84 08 3C */ slwi r4, r4, 1
|
||
|
/* 8004C230 00048070 7C BF D8 50 */ subf r5, r31, r27
|
||
|
/* 8004C234 00048074 7C A6 23 2E */ sthx r5, r6, r4
|
||
|
/* 8004C238 00048078 38 83 00 01 */ addi r4, r3, 0x1
|
||
|
/* 8004C23C 0004807C 80 6D E8 DC */ lwz r3, lbl_8055CCFC@sda21(r13)
|
||
|
/* 8004C240 00048080 A0 DB 00 00 */ lhz r6, 0x0(r27)
|
||
|
/* 8004C244 00048084 38 BD 00 02 */ addi r5, r29, 0x2
|
||
|
/* 8004C248 00048088 7C 65 18 50 */ subf r3, r5, r3
|
||
|
/* 8004C24C 0004808C 90 6D E8 DC */ stw r3, lbl_8055CCFC@sda21(r13)
|
||
|
/* 8004C250 00048090 7C A6 EA 14 */ add r5, r6, r29
|
||
|
/* 8004C254 00048094 B0 BB 00 02 */ sth r5, 0x2(r27)
|
||
|
/* 8004C258 00048098 38 60 00 01 */ li r3, 0x1
|
||
|
/* 8004C25C 0004809C 90 8D E8 E0 */ stw r4, lbl_8055CD00@sda21(r13)
|
||
|
/* 8004C260 000480A0 B0 9F 00 04 */ sth r4, 0x4(r31)
|
||
|
/* 8004C264 000480A4 98 0D E8 ED */ stb r0, lbl_8055CD0D@sda21(r13)
|
||
|
/* 8004C268 000480A8 48 00 00 08 */ b lbl_8004C270
|
||
|
.global lbl_8004C26C
|
||
|
lbl_8004C26C:
|
||
|
/* 8004C26C 000480AC 38 60 00 00 */ li r3, 0x0
|
||
|
.global lbl_8004C270
|
||
|
lbl_8004C270:
|
||
|
/* 8004C270 000480B0 39 61 00 30 */ addi r11, r1, 0x30
|
||
|
/* 8004C274 000480B4 4B FB B1 01 */ bl lbl_80007374
|
||
|
/* 8004C278 000480B8 80 01 00 34 */ lwz r0, 0x34(r1)
|
||
|
/* 8004C27C 000480BC 7C 08 03 A6 */ mtlr r0
|
||
|
/* 8004C280 000480C0 38 21 00 30 */ addi r1, r1, 0x30
|
||
|
/* 8004C284 000480C4 4E 80 00 20 */ blr
|
||
|
/* 8004C288 000480C8 00 00 00 00 */ .4byte 0x00000000
|
||
|
/* 8004C28C 000480CC 00 00 00 00 */ .4byte 0x00000000
|
||
|
.global lbl_8004C290
|
||
|
lbl_8004C290:
|
||
|
/* 8004C290 000480D0 94 21 FF C0 */ stwu r1, -0x40(r1)
|
||
|
/* 8004C294 000480D4 7C 08 02 A6 */ mflr r0
|
||
|
/* 8004C298 000480D8 90 01 00 44 */ stw r0, 0x44(r1)
|
||
|
/* 8004C29C 000480DC 39 61 00 40 */ addi r11, r1, 0x40
|
||
|
/* 8004C2A0 000480E0 4B FB B0 9D */ bl lbl_8000733C
|
||
|
/* 8004C2A4 000480E4 7C 7B 1B 78 */ mr r27, r3
|
||
|
/* 8004C2A8 000480E8 7C 9C 23 78 */ mr r28, r4
|
||
|
/* 8004C2AC 000480EC 7C BD 2B 78 */ mr r29, r5
|
||
|
/* 8004C2B0 000480F0 3B E0 00 00 */ li r31, 0x0
|
||
|
/* 8004C2B4 000480F4 4B FD 55 6D */ bl lbl_80021820
|
||
|
/* 8004C2B8 000480F8 38 00 00 00 */ li r0, 0x0
|
||
|
/* 8004C2BC 000480FC 7C 7E 1B 78 */ mr r30, r3
|
||
|
/* 8004C2C0 00048100 7C 1B 00 40 */ cmplw r27, r0
|
||
|
/* 8004C2C4 00048104 41 82 00 88 */ beq lbl_8004C34C
|
||
|
/* 8004C2C8 00048108 80 0D E8 E4 */ lwz r0, lbl_8055CD04@sda21(r13)
|
||
|
/* 8004C2CC 0004810C 3C A0 80 4B */ lis r5, lbl_804B5D20@ha
|
||
|
/* 8004C2D0 00048110 38 A5 5D 20 */ addi r5, r5, lbl_804B5D20@l
|
||
|
/* 8004C2D4 00048114 7C 1D 00 40 */ cmplw r29, r0
|
||
|
/* 8004C2D8 00048118 40 80 00 3C */ bge lbl_8004C314
|
||
|
/* 8004C2DC 0004811C 80 6D E8 E8 */ lwz r3, lbl_8055CD08@sda21(r13)
|
||
|
/* 8004C2E0 00048120 2C 03 00 00 */ cmpwi r3, 0x0
|
||
|
/* 8004C2E4 00048124 41 82 00 30 */ beq lbl_8004C314
|
||
|
/* 8004C2E8 00048128 7C 1D 00 D0 */ neg r0, r29
|
||
|
/* 8004C2EC 0004812C 7C 65 1A 14 */ add r3, r5, r3
|
||
|
/* 8004C2F0 00048130 54 00 08 3C */ slwi r0, r0, 1
|
||
|
/* 8004C2F4 00048134 7C 03 02 2E */ lhzx r0, r3, r0
|
||
|
/* 8004C2F8 00048138 2C 00 00 00 */ cmpwi r0, 0x0
|
||
|
/* 8004C2FC 0004813C 41 82 00 18 */ beq lbl_8004C314
|
||
|
/* 8004C300 00048140 7C 05 02 2E */ lhzx r0, r5, r0
|
||
|
/* 8004C304 00048144 38 81 00 08 */ addi r4, r1, 0x8
|
||
|
/* 8004C308 00048148 7C 65 02 14 */ add r3, r5, r0
|
||
|
/* 8004C30C 0004814C 4B FF F9 E5 */ bl lbl_8004BCF0
|
||
|
/* 8004C310 00048150 48 00 00 08 */ b lbl_8004C318
|
||
|
.global lbl_8004C314
|
||
|
lbl_8004C314:
|
||
|
/* 8004C314 00048154 38 60 00 00 */ li r3, 0x0
|
||
|
.global lbl_8004C318
|
||
|
lbl_8004C318:
|
||
|
/* 8004C318 00048158 2C 03 00 00 */ cmpwi r3, 0x0
|
||
|
/* 8004C31C 0004815C 41 82 00 30 */ beq lbl_8004C34C
|
||
|
/* 8004C320 00048160 88 01 00 11 */ lbz r0, 0x11(r1)
|
||
|
/* 8004C324 00048164 2C 00 00 00 */ cmpwi r0, 0x0
|
||
|
/* 8004C328 00048168 41 82 00 24 */ beq lbl_8004C34C
|
||
|
/* 8004C32C 0004816C 80 01 00 18 */ lwz r0, 0x18(r1)
|
||
|
/* 8004C330 00048170 7C 00 E0 40 */ cmplw r0, r28
|
||
|
/* 8004C334 00048174 40 82 00 18 */ bne lbl_8004C34C
|
||
|
/* 8004C338 00048178 80 81 00 20 */ lwz r4, 0x20(r1)
|
||
|
/* 8004C33C 0004817C 7F 63 DB 78 */ mr r3, r27
|
||
|
/* 8004C340 00048180 7F 85 E3 78 */ mr r5, r28
|
||
|
/* 8004C344 00048184 4B FB 7C BD */ bl func_80004000
|
||
|
/* 8004C348 00048188 3B E0 00 01 */ li r31, 0x1
|
||
|
.global lbl_8004C34C
|
||
|
lbl_8004C34C:
|
||
|
/* 8004C34C 0004818C 7F C3 F3 78 */ mr r3, r30
|
||
|
/* 8004C350 00048190 4B FD 55 11 */ bl lbl_80021860
|
||
|
/* 8004C354 00048194 39 61 00 40 */ addi r11, r1, 0x40
|
||
|
/* 8004C358 00048198 7F E3 FB 78 */ mr r3, r31
|
||
|
/* 8004C35C 0004819C 4B FB B0 2D */ bl lbl_80007388
|
||
|
/* 8004C360 000481A0 80 01 00 44 */ lwz r0, 0x44(r1)
|
||
|
/* 8004C364 000481A4 7C 08 03 A6 */ mtlr r0
|
||
|
/* 8004C368 000481A8 38 21 00 40 */ addi r1, r1, 0x40
|
||
|
/* 8004C36C 000481AC 4E 80 00 20 */ blr
|
||
|
.global lbl_8004C370
|
||
|
lbl_8004C370:
|
||
|
/* 8004C370 000481B0 94 21 FF C0 */ stwu r1, -0x40(r1)
|
||
|
/* 8004C374 000481B4 7C 08 02 A6 */ mflr r0
|
||
|
/* 8004C378 000481B8 90 01 00 44 */ stw r0, 0x44(r1)
|
||
|
/* 8004C37C 000481BC 39 61 00 40 */ addi r11, r1, 0x40
|
||
|
/* 8004C380 000481C0 4B FB AF BD */ bl lbl_8000733C
|
||
|
/* 8004C384 000481C4 7C 7B 1B 78 */ mr r27, r3
|
||
|
/* 8004C388 000481C8 7C 9C 23 78 */ mr r28, r4
|
||
|
/* 8004C38C 000481CC 7C BD 2B 78 */ mr r29, r5
|
||
|
/* 8004C390 000481D0 3B E0 00 00 */ li r31, 0x0
|
||
|
/* 8004C394 000481D4 4B FD 54 8D */ bl lbl_80021820
|
||
|
/* 8004C398 000481D8 38 00 00 00 */ li r0, 0x0
|
||
|
/* 8004C39C 000481DC 7C 7E 1B 78 */ mr r30, r3
|
||
|
/* 8004C3A0 000481E0 7C 1B 00 40 */ cmplw r27, r0
|
||
|
/* 8004C3A4 000481E4 41 82 00 CC */ beq lbl_8004C470
|
||
|
/* 8004C3A8 000481E8 80 0D E8 E4 */ lwz r0, lbl_8055CD04@sda21(r13)
|
||
|
/* 8004C3AC 000481EC 3C A0 80 4B */ lis r5, lbl_804B5D20@ha
|
||
|
/* 8004C3B0 000481F0 38 A5 5D 20 */ addi r5, r5, lbl_804B5D20@l
|
||
|
/* 8004C3B4 000481F4 7C 1D 00 40 */ cmplw r29, r0
|
||
|
/* 8004C3B8 000481F8 40 80 00 3C */ bge lbl_8004C3F4
|
||
|
/* 8004C3BC 000481FC 80 6D E8 E8 */ lwz r3, lbl_8055CD08@sda21(r13)
|
||
|
/* 8004C3C0 00048200 2C 03 00 00 */ cmpwi r3, 0x0
|
||
|
/* 8004C3C4 00048204 41 82 00 30 */ beq lbl_8004C3F4
|
||
|
/* 8004C3C8 00048208 7C 1D 00 D0 */ neg r0, r29
|
||
|
/* 8004C3CC 0004820C 7C 65 1A 14 */ add r3, r5, r3
|
||
|
/* 8004C3D0 00048210 54 00 08 3C */ slwi r0, r0, 1
|
||
|
/* 8004C3D4 00048214 7C 03 02 2E */ lhzx r0, r3, r0
|
||
|
/* 8004C3D8 00048218 2C 00 00 00 */ cmpwi r0, 0x0
|
||
|
/* 8004C3DC 0004821C 41 82 00 18 */ beq lbl_8004C3F4
|
||
|
/* 8004C3E0 00048220 7C 05 02 2E */ lhzx r0, r5, r0
|
||
|
/* 8004C3E4 00048224 38 81 00 08 */ addi r4, r1, 0x8
|
||
|
/* 8004C3E8 00048228 7C 65 02 14 */ add r3, r5, r0
|
||
|
/* 8004C3EC 0004822C 4B FF F9 05 */ bl lbl_8004BCF0
|
||
|
/* 8004C3F0 00048230 48 00 00 08 */ b lbl_8004C3F8
|
||
|
.global lbl_8004C3F4
|
||
|
lbl_8004C3F4:
|
||
|
/* 8004C3F4 00048234 38 60 00 00 */ li r3, 0x0
|
||
|
.global lbl_8004C3F8
|
||
|
lbl_8004C3F8:
|
||
|
/* 8004C3F8 00048238 2C 03 00 00 */ cmpwi r3, 0x0
|
||
|
/* 8004C3FC 0004823C 41 82 00 5C */ beq lbl_8004C458
|
||
|
/* 8004C400 00048240 88 01 00 11 */ lbz r0, 0x11(r1)
|
||
|
/* 8004C404 00048244 2C 00 00 00 */ cmpwi r0, 0x0
|
||
|
/* 8004C408 00048248 41 82 00 48 */ beq lbl_8004C450
|
||
|
/* 8004C40C 0004824C 80 01 00 18 */ lwz r0, 0x18(r1)
|
||
|
/* 8004C410 00048250 7C 00 E0 40 */ cmplw r0, r28
|
||
|
/* 8004C414 00048254 40 82 00 3C */ bne lbl_8004C450
|
||
|
/* 8004C418 00048258 80 61 00 20 */ lwz r3, 0x20(r1)
|
||
|
/* 8004C41C 0004825C 7F 64 DB 78 */ mr r4, r27
|
||
|
/* 8004C420 00048260 7F 85 E3 78 */ mr r5, r28
|
||
|
/* 8004C424 00048264 4B FB EA 4D */ bl lbl_8000AE70
|
||
|
/* 8004C428 00048268 2C 03 00 00 */ cmpwi r3, 0x0
|
||
|
/* 8004C42C 0004826C 41 82 00 1C */ beq lbl_8004C448
|
||
|
/* 8004C430 00048270 80 61 00 20 */ lwz r3, 0x20(r1)
|
||
|
/* 8004C434 00048274 7F 64 DB 78 */ mr r4, r27
|
||
|
/* 8004C438 00048278 7F 85 E3 78 */ mr r5, r28
|
||
|
/* 8004C43C 0004827C 4B FB 7B C5 */ bl func_80004000
|
||
|
/* 8004C440 00048280 38 00 00 01 */ li r0, 0x1
|
||
|
/* 8004C444 00048284 98 0D E8 ED */ stb r0, lbl_8055CD0D@sda21(r13)
|
||
|
.global lbl_8004C448
|
||
|
lbl_8004C448:
|
||
|
/* 8004C448 00048288 3B E0 00 01 */ li r31, 0x1
|
||
|
/* 8004C44C 0004828C 48 00 00 24 */ b lbl_8004C470
|
||
|
.global lbl_8004C450
|
||
|
lbl_8004C450:
|
||
|
/* 8004C450 00048290 7F A3 EB 78 */ mr r3, r29
|
||
|
/* 8004C454 00048294 4B FF FA 1D */ bl lbl_8004BE70
|
||
|
.global lbl_8004C458
|
||
|
lbl_8004C458:
|
||
|
/* 8004C458 00048298 7F A3 EB 78 */ mr r3, r29
|
||
|
/* 8004C45C 0004829C 7F 65 DB 78 */ mr r5, r27
|
||
|
/* 8004C460 000482A0 7F 86 E3 78 */ mr r6, r28
|
||
|
/* 8004C464 000482A4 38 80 00 40 */ li r4, 0x40
|
||
|
/* 8004C468 000482A8 4B FF FB A9 */ bl lbl_8004C010
|
||
|
/* 8004C46C 000482AC 7C 7F 1B 78 */ mr r31, r3
|
||
|
.global lbl_8004C470
|
||
|
lbl_8004C470:
|
||
|
/* 8004C470 000482B0 7F C3 F3 78 */ mr r3, r30
|
||
|
/* 8004C474 000482B4 4B FD 53 ED */ bl lbl_80021860
|
||
|
/* 8004C478 000482B8 39 61 00 40 */ addi r11, r1, 0x40
|
||
|
/* 8004C47C 000482BC 7F E3 FB 78 */ mr r3, r31
|
||
|
/* 8004C480 000482C0 4B FB AF 09 */ bl lbl_80007388
|
||
|
/* 8004C484 000482C4 80 01 00 44 */ lwz r0, 0x44(r1)
|
||
|
/* 8004C488 000482C8 7C 08 03 A6 */ mtlr r0
|
||
|
/* 8004C48C 000482CC 38 21 00 40 */ addi r1, r1, 0x40
|
||
|
/* 8004C490 000482D0 4E 80 00 20 */ blr
|
||
|
/* 8004C494 000482D4 00 00 00 00 */ .4byte 0x00000000
|
||
|
/* 8004C498 000482D8 00 00 00 00 */ .4byte 0x00000000
|
||
|
/* 8004C49C 000482DC 00 00 00 00 */ .4byte 0x00000000
|
||
|
.global lbl_8004C4A0
|
||
|
lbl_8004C4A0:
|
||
|
/* 8004C4A0 000482E0 94 21 FF C0 */ stwu r1, -0x40(r1)
|
||
|
/* 8004C4A4 000482E4 7C 08 02 A6 */ mflr r0
|
||
|
/* 8004C4A8 000482E8 90 01 00 44 */ stw r0, 0x44(r1)
|
||
|
/* 8004C4AC 000482EC 93 E1 00 3C */ stw r31, 0x3c(r1)
|
||
|
/* 8004C4B0 000482F0 93 C1 00 38 */ stw r30, 0x38(r1)
|
||
|
/* 8004C4B4 000482F4 3B C0 00 00 */ li r30, 0x0
|
||
|
/* 8004C4B8 000482F8 93 A1 00 34 */ stw r29, 0x34(r1)
|
||
|
/* 8004C4BC 000482FC 7C 9D 23 78 */ mr r29, r4
|
||
|
/* 8004C4C0 00048300 93 81 00 30 */ stw r28, 0x30(r1)
|
||
|
/* 8004C4C4 00048304 7C 7C 1B 78 */ mr r28, r3
|
||
|
/* 8004C4C8 00048308 4B FD 53 59 */ bl lbl_80021820
|
||
|
/* 8004C4CC 0004830C 80 0D E8 E4 */ lwz r0, lbl_8055CD04@sda21(r13)
|
||
|
/* 8004C4D0 00048310 3C A0 80 4B */ lis r5, lbl_804B5D20@ha
|
||
|
/* 8004C4D4 00048314 7C 7F 1B 78 */ mr r31, r3
|
||
|
/* 8004C4D8 00048318 7C 1D 00 40 */ cmplw r29, r0
|
||
|
/* 8004C4DC 0004831C 38 A5 5D 20 */ addi r5, r5, lbl_804B5D20@l
|
||
|
/* 8004C4E0 00048320 40 80 00 3C */ bge lbl_8004C51C
|
||
|
/* 8004C4E4 00048324 80 6D E8 E8 */ lwz r3, lbl_8055CD08@sda21(r13)
|
||
|
/* 8004C4E8 00048328 2C 03 00 00 */ cmpwi r3, 0x0
|
||
|
/* 8004C4EC 0004832C 41 82 00 30 */ beq lbl_8004C51C
|
||
|
/* 8004C4F0 00048330 7C 1D 00 D0 */ neg r0, r29
|
||
|
/* 8004C4F4 00048334 7C 65 1A 14 */ add r3, r5, r3
|
||
|
/* 8004C4F8 00048338 54 00 08 3C */ slwi r0, r0, 1
|
||
|
/* 8004C4FC 0004833C 7C 03 02 2E */ lhzx r0, r3, r0
|
||
|
/* 8004C500 00048340 2C 00 00 00 */ cmpwi r0, 0x0
|
||
|
/* 8004C504 00048344 41 82 00 18 */ beq lbl_8004C51C
|
||
|
/* 8004C508 00048348 7C 05 02 2E */ lhzx r0, r5, r0
|
||
|
/* 8004C50C 0004834C 38 81 00 08 */ addi r4, r1, 0x8
|
||
|
/* 8004C510 00048350 7C 65 02 14 */ add r3, r5, r0
|
||
|
/* 8004C514 00048354 4B FF F7 DD */ bl lbl_8004BCF0
|
||
|
/* 8004C518 00048358 48 00 00 08 */ b lbl_8004C520
|
||
|
.global lbl_8004C51C
|
||
|
lbl_8004C51C:
|
||
|
/* 8004C51C 0004835C 38 60 00 00 */ li r3, 0x0
|
||
|
.global lbl_8004C520
|
||
|
lbl_8004C520:
|
||
|
/* 8004C520 00048360 2C 03 00 00 */ cmpwi r3, 0x0
|
||
|
/* 8004C524 00048364 41 82 00 24 */ beq lbl_8004C548
|
||
|
/* 8004C528 00048368 88 01 00 10 */ lbz r0, 0x10(r1)
|
||
|
/* 8004C52C 0004836C 28 00 00 60 */ cmplwi r0, 0x60
|
||
|
/* 8004C530 00048370 40 82 00 18 */ bne lbl_8004C548
|
||
|
/* 8004C534 00048374 80 81 00 20 */ lwz r4, 0x20(r1)
|
||
|
/* 8004C538 00048378 7F 83 E3 78 */ mr r3, r28
|
||
|
/* 8004C53C 0004837C 80 A1 00 18 */ lwz r5, 0x18(r1)
|
||
|
/* 8004C540 00048380 4B FB 7A C1 */ bl func_80004000
|
||
|
/* 8004C544 00048384 3B C0 00 01 */ li r30, 0x1
|
||
|
.global lbl_8004C548
|
||
|
lbl_8004C548:
|
||
|
/* 8004C548 00048388 7F E3 FB 78 */ mr r3, r31
|
||
|
/* 8004C54C 0004838C 4B FD 53 15 */ bl lbl_80021860
|
||
|
/* 8004C550 00048390 7F C3 F3 78 */ mr r3, r30
|
||
|
/* 8004C554 00048394 83 E1 00 3C */ lwz r31, 0x3c(r1)
|
||
|
/* 8004C558 00048398 83 C1 00 38 */ lwz r30, 0x38(r1)
|
||
|
/* 8004C55C 0004839C 83 A1 00 34 */ lwz r29, 0x34(r1)
|
||
|
/* 8004C560 000483A0 83 81 00 30 */ lwz r28, 0x30(r1)
|
||
|
/* 8004C564 000483A4 80 01 00 44 */ lwz r0, 0x44(r1)
|
||
|
/* 8004C568 000483A8 7C 08 03 A6 */ mtlr r0
|
||
|
/* 8004C56C 000483AC 38 21 00 40 */ addi r1, r1, 0x40
|
||
|
/* 8004C570 000483B0 4E 80 00 20 */ blr
|
||
|
/* 8004C574 000483B4 00 00 00 00 */ .4byte 0x00000000
|
||
|
/* 8004C578 000483B8 00 00 00 00 */ .4byte 0x00000000
|
||
|
/* 8004C57C 000483BC 00 00 00 00 */ .4byte 0x00000000
|
||
|
.global lbl_8004C580
|
||
|
lbl_8004C580:
|
||
|
/* 8004C580 000483C0 94 21 FF C0 */ stwu r1, -0x40(r1)
|
||
|
/* 8004C584 000483C4 7C 08 02 A6 */ mflr r0
|
||
|
/* 8004C588 000483C8 90 01 00 44 */ stw r0, 0x44(r1)
|
||
|
/* 8004C58C 000483CC 93 E1 00 3C */ stw r31, 0x3c(r1)
|
||
|
/* 8004C590 000483D0 93 C1 00 38 */ stw r30, 0x38(r1)
|
||
|
/* 8004C594 000483D4 3B C0 00 00 */ li r30, 0x0
|
||
|
/* 8004C598 000483D8 93 A1 00 34 */ stw r29, 0x34(r1)
|
||
|
/* 8004C59C 000483DC 7C 9D 23 78 */ mr r29, r4
|
||
|
/* 8004C5A0 000483E0 93 81 00 30 */ stw r28, 0x30(r1)
|
||
|
/* 8004C5A4 000483E4 7C 7C 1B 78 */ mr r28, r3
|
||
|
/* 8004C5A8 000483E8 4B FD 52 79 */ bl lbl_80021820
|
||
|
/* 8004C5AC 000483EC 80 0D E8 E4 */ lwz r0, lbl_8055CD04@sda21(r13)
|
||
|
/* 8004C5B0 000483F0 3C A0 80 4B */ lis r5, lbl_804B5D20@ha
|
||
|
/* 8004C5B4 000483F4 7C 7F 1B 78 */ mr r31, r3
|
||
|
/* 8004C5B8 000483F8 7C 1D 00 40 */ cmplw r29, r0
|
||
|
/* 8004C5BC 000483FC 38 A5 5D 20 */ addi r5, r5, lbl_804B5D20@l
|
||
|
/* 8004C5C0 00048400 40 80 00 3C */ bge lbl_8004C5FC
|
||
|
/* 8004C5C4 00048404 80 6D E8 E8 */ lwz r3, lbl_8055CD08@sda21(r13)
|
||
|
/* 8004C5C8 00048408 2C 03 00 00 */ cmpwi r3, 0x0
|
||
|
/* 8004C5CC 0004840C 41 82 00 30 */ beq lbl_8004C5FC
|
||
|
/* 8004C5D0 00048410 7C 1D 00 D0 */ neg r0, r29
|
||
|
/* 8004C5D4 00048414 7C 65 1A 14 */ add r3, r5, r3
|
||
|
/* 8004C5D8 00048418 54 00 08 3C */ slwi r0, r0, 1
|
||
|
/* 8004C5DC 0004841C 7C 03 02 2E */ lhzx r0, r3, r0
|
||
|
/* 8004C5E0 00048420 2C 00 00 00 */ cmpwi r0, 0x0
|
||
|
/* 8004C5E4 00048424 41 82 00 18 */ beq lbl_8004C5FC
|
||
|
/* 8004C5E8 00048428 7C 05 02 2E */ lhzx r0, r5, r0
|
||
|
/* 8004C5EC 0004842C 38 81 00 08 */ addi r4, r1, 0x8
|
||
|
/* 8004C5F0 00048430 7C 65 02 14 */ add r3, r5, r0
|
||
|
/* 8004C5F4 00048434 4B FF F6 FD */ bl lbl_8004BCF0
|
||
|
/* 8004C5F8 00048438 48 00 00 08 */ b lbl_8004C600
|
||
|
.global lbl_8004C5FC
|
||
|
lbl_8004C5FC:
|
||
|
/* 8004C5FC 0004843C 38 60 00 00 */ li r3, 0x0
|
||
|
.global lbl_8004C600
|
||
|
lbl_8004C600:
|
||
|
/* 8004C600 00048440 2C 03 00 00 */ cmpwi r3, 0x0
|
||
|
/* 8004C604 00048444 41 82 00 24 */ beq lbl_8004C628
|
||
|
/* 8004C608 00048448 88 01 00 10 */ lbz r0, 0x10(r1)
|
||
|
/* 8004C60C 0004844C 28 00 00 A0 */ cmplwi r0, 0xa0
|
||
|
/* 8004C610 00048450 40 82 00 18 */ bne lbl_8004C628
|
||
|
/* 8004C614 00048454 80 81 00 20 */ lwz r4, 0x20(r1)
|
||
|
/* 8004C618 00048458 7F 83 E3 78 */ mr r3, r28
|
||
|
/* 8004C61C 0004845C 80 A1 00 18 */ lwz r5, 0x18(r1)
|
||
|
/* 8004C620 00048460 4B FB 79 E1 */ bl func_80004000
|
||
|
/* 8004C624 00048464 3B C0 00 01 */ li r30, 0x1
|
||
|
.global lbl_8004C628
|
||
|
lbl_8004C628:
|
||
|
/* 8004C628 00048468 7F E3 FB 78 */ mr r3, r31
|
||
|
/* 8004C62C 0004846C 4B FD 52 35 */ bl lbl_80021860
|
||
|
/* 8004C630 00048470 7F C3 F3 78 */ mr r3, r30
|
||
|
/* 8004C634 00048474 83 E1 00 3C */ lwz r31, 0x3c(r1)
|
||
|
/* 8004C638 00048478 83 C1 00 38 */ lwz r30, 0x38(r1)
|
||
|
/* 8004C63C 0004847C 83 A1 00 34 */ lwz r29, 0x34(r1)
|
||
|
/* 8004C640 00048480 83 81 00 30 */ lwz r28, 0x30(r1)
|
||
|
/* 8004C644 00048484 80 01 00 44 */ lwz r0, 0x44(r1)
|
||
|
/* 8004C648 00048488 7C 08 03 A6 */ mtlr r0
|
||
|
/* 8004C64C 0004848C 38 21 00 40 */ addi r1, r1, 0x40
|
||
|
/* 8004C650 00048490 4E 80 00 20 */ blr
|
||
|
/* 8004C654 00048494 00 00 00 00 */ .4byte 0x00000000
|
||
|
/* 8004C658 00048498 00 00 00 00 */ .4byte 0x00000000
|
||
|
/* 8004C65C 0004849C 00 00 00 00 */ .4byte 0x00000000
|
||
|
.global lbl_8004C660
|
||
|
lbl_8004C660:
|
||
|
/* 8004C660 000484A0 94 21 FF C0 */ stwu r1, -0x40(r1)
|
||
|
/* 8004C664 000484A4 7C 08 02 A6 */ mflr r0
|
||
|
/* 8004C668 000484A8 90 01 00 44 */ stw r0, 0x44(r1)
|
||
|
/* 8004C66C 000484AC 93 E1 00 3C */ stw r31, 0x3c(r1)
|
||
|
/* 8004C670 000484B0 93 C1 00 38 */ stw r30, 0x38(r1)
|
||
|
/* 8004C674 000484B4 7C 9E 23 78 */ mr r30, r4
|
||
|
/* 8004C678 000484B8 98 61 00 08 */ stb r3, 0x8(r1)
|
||
|
/* 8004C67C 000484BC 4B FD 51 A5 */ bl lbl_80021820
|
||
|
/* 8004C680 000484C0 80 0D E8 E4 */ lwz r0, lbl_8055CD04@sda21(r13)
|
||
|
/* 8004C684 000484C4 3C A0 80 4B */ lis r5, lbl_804B5D20@ha
|
||
|
/* 8004C688 000484C8 7C 7F 1B 78 */ mr r31, r3
|
||
|
/* 8004C68C 000484CC 7C 1E 00 40 */ cmplw r30, r0
|
||
|
/* 8004C690 000484D0 38 A5 5D 20 */ addi r5, r5, lbl_804B5D20@l
|
||
|
/* 8004C694 000484D4 40 80 00 3C */ bge lbl_8004C6D0
|
||
|
/* 8004C698 000484D8 80 6D E8 E8 */ lwz r3, lbl_8055CD08@sda21(r13)
|
||
|
/* 8004C69C 000484DC 2C 03 00 00 */ cmpwi r3, 0x0
|
||
|
/* 8004C6A0 000484E0 41 82 00 30 */ beq lbl_8004C6D0
|
||
|
/* 8004C6A4 000484E4 7C 1E 00 D0 */ neg r0, r30
|
||
|
/* 8004C6A8 000484E8 7C 65 1A 14 */ add r3, r5, r3
|
||
|
/* 8004C6AC 000484EC 54 00 08 3C */ slwi r0, r0, 1
|
||
|
/* 8004C6B0 000484F0 7C 03 02 2E */ lhzx r0, r3, r0
|
||
|
/* 8004C6B4 000484F4 2C 00 00 00 */ cmpwi r0, 0x0
|
||
|
/* 8004C6B8 000484F8 41 82 00 18 */ beq lbl_8004C6D0
|
||
|
/* 8004C6BC 000484FC 7C 05 02 2E */ lhzx r0, r5, r0
|
||
|
/* 8004C6C0 00048500 38 81 00 10 */ addi r4, r1, 0x10
|
||
|
/* 8004C6C4 00048504 7C 65 02 14 */ add r3, r5, r0
|
||
|
/* 8004C6C8 00048508 4B FF F6 29 */ bl lbl_8004BCF0
|
||
|
/* 8004C6CC 0004850C 48 00 00 08 */ b lbl_8004C6D4
|
||
|
.global lbl_8004C6D0
|
||
|
lbl_8004C6D0:
|
||
|
/* 8004C6D0 00048510 38 60 00 00 */ li r3, 0x0
|
||
|
.global lbl_8004C6D4
|
||
|
lbl_8004C6D4:
|
||
|
/* 8004C6D4 00048514 2C 03 00 00 */ cmpwi r3, 0x0
|
||
|
/* 8004C6D8 00048518 41 82 00 50 */ beq lbl_8004C728
|
||
|
/* 8004C6DC 0004851C 88 01 00 18 */ lbz r0, 0x18(r1)
|
||
|
/* 8004C6E0 00048520 28 00 00 60 */ cmplwi r0, 0x60
|
||
|
/* 8004C6E4 00048524 40 82 00 3C */ bne lbl_8004C720
|
||
|
/* 8004C6E8 00048528 80 61 00 28 */ lwz r3, 0x28(r1)
|
||
|
/* 8004C6EC 0004852C 38 81 00 08 */ addi r4, r1, 0x8
|
||
|
/* 8004C6F0 00048530 80 A1 00 20 */ lwz r5, 0x20(r1)
|
||
|
/* 8004C6F4 00048534 4B FB E7 7D */ bl lbl_8000AE70
|
||
|
/* 8004C6F8 00048538 2C 03 00 00 */ cmpwi r3, 0x0
|
||
|
/* 8004C6FC 0004853C 41 82 00 1C */ beq lbl_8004C718
|
||
|
/* 8004C700 00048540 80 61 00 28 */ lwz r3, 0x28(r1)
|
||
|
/* 8004C704 00048544 38 81 00 08 */ addi r4, r1, 0x8
|
||
|
/* 8004C708 00048548 80 A1 00 20 */ lwz r5, 0x20(r1)
|
||
|
/* 8004C70C 0004854C 4B FB 78 F5 */ bl func_80004000
|
||
|
/* 8004C710 00048550 38 00 00 01 */ li r0, 0x1
|
||
|
/* 8004C714 00048554 98 0D E8 ED */ stb r0, lbl_8055CD0D@sda21(r13)
|
||
|
.global lbl_8004C718
|
||
|
lbl_8004C718:
|
||
|
/* 8004C718 00048558 3B C0 00 01 */ li r30, 0x1
|
||
|
/* 8004C71C 0004855C 48 00 00 24 */ b lbl_8004C740
|
||
|
.global lbl_8004C720
|
||
|
lbl_8004C720:
|
||
|
/* 8004C720 00048560 7F C3 F3 78 */ mr r3, r30
|
||
|
/* 8004C724 00048564 4B FF F7 4D */ bl lbl_8004BE70
|
||
|
.global lbl_8004C728
|
||
|
lbl_8004C728:
|
||
|
/* 8004C728 00048568 7F C3 F3 78 */ mr r3, r30
|
||
|
/* 8004C72C 0004856C 38 A1 00 08 */ addi r5, r1, 0x8
|
||
|
/* 8004C730 00048570 38 80 00 60 */ li r4, 0x60
|
||
|
/* 8004C734 00048574 38 C0 00 00 */ li r6, 0x0
|
||
|
/* 8004C738 00048578 4B FF F8 D9 */ bl lbl_8004C010
|
||
|
/* 8004C73C 0004857C 7C 7E 1B 78 */ mr r30, r3
|
||
|
.global lbl_8004C740
|
||
|
lbl_8004C740:
|
||
|
/* 8004C740 00048580 7F E3 FB 78 */ mr r3, r31
|
||
|
/* 8004C744 00048584 4B FD 51 1D */ bl lbl_80021860
|
||
|
/* 8004C748 00048588 7F C3 F3 78 */ mr r3, r30
|
||
|
/* 8004C74C 0004858C 83 E1 00 3C */ lwz r31, 0x3c(r1)
|
||
|
/* 8004C750 00048590 83 C1 00 38 */ lwz r30, 0x38(r1)
|
||
|
/* 8004C754 00048594 80 01 00 44 */ lwz r0, 0x44(r1)
|
||
|
/* 8004C758 00048598 7C 08 03 A6 */ mtlr r0
|
||
|
/* 8004C75C 0004859C 38 21 00 40 */ addi r1, r1, 0x40
|
||
|
/* 8004C760 000485A0 4E 80 00 20 */ blr
|
||
|
/* 8004C764 000485A4 00 00 00 00 */ .4byte 0x00000000
|
||
|
/* 8004C768 000485A8 00 00 00 00 */ .4byte 0x00000000
|
||
|
/* 8004C76C 000485AC 00 00 00 00 */ .4byte 0x00000000
|
||
|
.global lbl_8004C770
|
||
|
lbl_8004C770:
|
||
|
/* 8004C770 000485B0 3C 60 80 4B */ lis r3, lbl_804B5B80@ha
|
||
|
/* 8004C774 000485B4 38 63 5B 80 */ addi r3, r3, lbl_804B5B80@l
|
||
|
/* 8004C778 000485B8 4B FD 91 88 */ b lbl_80025900
|
||
|
/* 8004C77C 000485BC 00 00 00 00 */ .4byte 0x00000000
|
||
|
.global lbl_8004C780
|
||
|
lbl_8004C780:
|
||
|
/* 8004C780 000485C0 94 21 FF E0 */ stwu r1, -0x20(r1)
|
||
|
/* 8004C784 000485C4 7C 08 02 A6 */ mflr r0
|
||
|
/* 8004C788 000485C8 90 01 00 24 */ stw r0, 0x24(r1)
|
||
|
/* 8004C78C 000485CC 93 E1 00 1C */ stw r31, 0x1c(r1)
|
||
|
/* 8004C790 000485D0 93 C1 00 18 */ stw r30, 0x18(r1)
|
||
|
/* 8004C794 000485D4 7C 7E 1B 78 */ mr r30, r3
|
||
|
/* 8004C798 000485D8 93 A1 00 14 */ stw r29, 0x14(r1)
|
||
|
/* 8004C79C 000485DC 3F A0 80 4B */ lis r29, lbl_804B5B80@ha
|
||
|
/* 8004C7A0 000485E0 3B BD 5B 80 */ addi r29, r29, lbl_804B5B80@l
|
||
|
/* 8004C7A4 000485E4 93 81 00 10 */ stw r28, 0x10(r1)
|
||
|
/* 8004C7A8 000485E8 3B 9D 00 00 */ addi r28, r29, 0x0
|
||
|
/* 8004C7AC 000485EC 4B FD 50 75 */ bl lbl_80021820
|
||
|
/* 8004C7B0 000485F0 88 0D E8 D8 */ lbz r0, lbl_8055CCF8@sda21(r13)
|
||
|
/* 8004C7B4 000485F4 7C 7F 1B 78 */ mr r31, r3
|
||
|
/* 8004C7B8 000485F8 2C 00 00 00 */ cmpwi r0, 0x0
|
||
|
/* 8004C7BC 000485FC 40 82 01 90 */ bne lbl_8004C94C
|
||
|
/* 8004C7C0 00048600 38 00 00 00 */ li r0, 0x0
|
||
|
/* 8004C7C4 00048604 38 60 00 01 */ li r3, 0x1
|
||
|
/* 8004C7C8 00048608 7C 1E 00 40 */ cmplw r30, r0
|
||
|
/* 8004C7CC 0004860C 98 6D E8 D8 */ stb r3, lbl_8055CCF8@sda21(r13)
|
||
|
/* 8004C7D0 00048610 40 82 00 0C */ bne lbl_8004C7DC
|
||
|
/* 8004C7D4 00048614 3F C0 80 05 */ lis r30, lbl_8004C770@ha
|
||
|
/* 8004C7D8 00048618 3B DE C7 70 */ addi r30, r30, lbl_8004C770@l
|
||
|
.global lbl_8004C7DC
|
||
|
lbl_8004C7DC:
|
||
|
/* 8004C7DC 0004861C 88 0D E8 ED */ lbz r0, lbl_8055CD0D@sda21(r13)
|
||
|
/* 8004C7E0 00048620 38 80 00 00 */ li r4, 0x0
|
||
|
/* 8004C7E4 00048624 38 60 40 00 */ li r3, 0x4000
|
||
|
/* 8004C7E8 00048628 93 DC 01 84 */ stw r30, 0x184(r28)
|
||
|
/* 8004C7EC 0004862C 2C 00 00 00 */ cmpwi r0, 0x0
|
||
|
/* 8004C7F0 00048630 90 9C 01 88 */ stw r4, 0x188(r28)
|
||
|
/* 8004C7F4 00048634 98 9C 01 59 */ stb r4, 0x159(r28)
|
||
|
/* 8004C7F8 00048638 90 7C 01 8C */ stw r3, 0x18c(r28)
|
||
|
/* 8004C7FC 0004863C 41 82 00 0C */ beq lbl_8004C808
|
||
|
/* 8004C800 00048640 38 00 00 01 */ li r0, 0x1
|
||
|
/* 8004C804 00048644 48 00 00 08 */ b lbl_8004C80C
|
||
|
.global lbl_8004C808
|
||
|
lbl_8004C808:
|
||
|
/* 8004C808 00048648 38 00 00 00 */ li r0, 0x0
|
||
|
.global lbl_8004C80C
|
||
|
lbl_8004C80C:
|
||
|
/* 8004C80C 0004864C 2C 00 00 00 */ cmpwi r0, 0x0
|
||
|
/* 8004C810 00048650 40 82 00 64 */ bne lbl_8004C874
|
||
|
/* 8004C814 00048654 7F E3 FB 78 */ mr r3, r31
|
||
|
/* 8004C818 00048658 4B FD 50 49 */ bl lbl_80021860
|
||
|
/* 8004C81C 0004865C 3B BD 00 00 */ addi r29, r29, 0x0
|
||
|
/* 8004C820 00048660 80 1D 01 88 */ lwz r0, 0x188(r29)
|
||
|
/* 8004C824 00048664 2C 00 00 00 */ cmpwi r0, 0x0
|
||
|
/* 8004C828 00048668 41 82 00 0C */ beq lbl_8004C834
|
||
|
/* 8004C82C 0004866C 38 00 00 01 */ li r0, 0x1
|
||
|
/* 8004C830 00048670 98 0D E8 ED */ stb r0, lbl_8055CD0D@sda21(r13)
|
||
|
.global lbl_8004C834
|
||
|
lbl_8004C834:
|
||
|
/* 8004C834 00048674 81 9D 01 84 */ lwz r12, 0x184(r29)
|
||
|
/* 8004C838 00048678 2C 0C 00 00 */ cmpwi r12, 0x0
|
||
|
/* 8004C83C 0004867C 41 82 00 2C */ beq lbl_8004C868
|
||
|
/* 8004C840 00048680 3B C0 00 00 */ li r30, 0x0
|
||
|
/* 8004C844 00048684 93 DD 01 84 */ stw r30, 0x184(r29)
|
||
|
/* 8004C848 00048688 80 7D 01 88 */ lwz r3, 0x188(r29)
|
||
|
/* 8004C84C 0004868C 7D 89 03 A6 */ mtctr r12
|
||
|
/* 8004C850 00048690 4E 80 04 21 */ bctrl
|
||
|
/* 8004C854 00048694 80 1D 00 00 */ lwz r0, 0x0(r29)
|
||
|
/* 8004C858 00048698 7C 00 F0 40 */ cmplw r0, r30
|
||
|
/* 8004C85C 0004869C 41 82 00 0C */ beq lbl_8004C868
|
||
|
/* 8004C860 000486A0 7F A3 EB 78 */ mr r3, r29
|
||
|
/* 8004C864 000486A4 4B FD 90 9D */ bl lbl_80025900
|
||
|
.global lbl_8004C868
|
||
|
lbl_8004C868:
|
||
|
/* 8004C868 000486A8 80 1D 01 88 */ lwz r0, 0x188(r29)
|
||
|
/* 8004C86C 000486AC 98 0D E8 D8 */ stb r0, lbl_8055CCF8@sda21(r13)
|
||
|
/* 8004C870 000486B0 48 00 01 0C */ b lbl_8004C97C
|
||
|
.global lbl_8004C874
|
||
|
lbl_8004C874:
|
||
|
/* 8004C874 000486B4 3B C0 00 00 */ li r30, 0x0
|
||
|
/* 8004C878 000486B8 9B CD E8 ED */ stb r30, lbl_8055CD0D@sda21(r13)
|
||
|
/* 8004C87C 000486BC 38 7D 41 A0 */ addi r3, r29, 0x41a0
|
||
|
/* 8004C880 000486C0 38 9D 01 A0 */ addi r4, r29, 0x1a0
|
||
|
/* 8004C884 000486C4 38 A0 40 00 */ li r5, 0x4000
|
||
|
/* 8004C888 000486C8 4B FB 77 79 */ bl func_80004000
|
||
|
/* 8004C88C 000486CC 7F E3 FB 78 */ mr r3, r31
|
||
|
/* 8004C890 000486D0 4B FD 4F D1 */ bl lbl_80021860
|
||
|
/* 8004C894 000486D4 3C 60 80 40 */ lis r3, lbl_80407C60@ha
|
||
|
/* 8004C898 000486D8 3F E0 80 05 */ lis r31, lbl_8004C9A0@ha
|
||
|
/* 8004C89C 000486DC 9B DC 01 58 */ stb r30, 0x158(r28)
|
||
|
/* 8004C8A0 000486E0 38 63 7C 60 */ addi r3, r3, lbl_80407C60@l
|
||
|
/* 8004C8A4 000486E4 38 9C 01 50 */ addi r4, r28, 0x150
|
||
|
/* 8004C8A8 000486E8 38 BF C9 A0 */ addi r5, r31, lbl_8004C9A0@l
|
||
|
/* 8004C8AC 000486EC 38 DC 00 94 */ addi r6, r28, 0x94
|
||
|
/* 8004C8B0 000486F0 4B FF DF 81 */ bl lbl_8004A830
|
||
|
/* 8004C8B4 000486F4 2C 03 00 00 */ cmpwi r3, 0x0
|
||
|
/* 8004C8B8 000486F8 41 82 00 C4 */ beq lbl_8004C97C
|
||
|
/* 8004C8BC 000486FC 38 BD 00 00 */ addi r5, r29, 0x0
|
||
|
/* 8004C8C0 00048700 38 60 00 02 */ li r3, 0x2
|
||
|
/* 8004C8C4 00048704 88 05 01 59 */ lbz r0, 0x159(r5)
|
||
|
/* 8004C8C8 00048708 90 65 01 88 */ stw r3, 0x188(r5)
|
||
|
/* 8004C8CC 0004870C 2C 00 00 00 */ cmpwi r0, 0x0
|
||
|
/* 8004C8D0 00048710 41 82 00 24 */ beq lbl_8004C8F4
|
||
|
/* 8004C8D4 00048714 38 00 00 09 */ li r0, 0x9
|
||
|
/* 8004C8D8 00048718 98 05 01 58 */ stb r0, 0x158(r5)
|
||
|
/* 8004C8DC 0004871C 38 65 00 08 */ addi r3, r5, 0x8
|
||
|
/* 8004C8E0 00048720 38 9F C9 A0 */ addi r4, r31, -0x3660
|
||
|
/* 8004C8E4 00048724 38 A5 00 94 */ addi r5, r5, 0x94
|
||
|
/* 8004C8E8 00048728 4B FF CD D9 */ bl lbl_800496C0
|
||
|
/* 8004C8EC 0004872C 2C 03 00 00 */ cmpwi r3, 0x0
|
||
|
/* 8004C8F0 00048730 41 82 00 8C */ beq lbl_8004C97C
|
||
|
.global lbl_8004C8F4
|
||
|
lbl_8004C8F4:
|
||
|
/* 8004C8F4 00048734 3B BD 00 00 */ addi r29, r29, 0x0
|
||
|
/* 8004C8F8 00048738 80 1D 01 88 */ lwz r0, 0x188(r29)
|
||
|
/* 8004C8FC 0004873C 2C 00 00 00 */ cmpwi r0, 0x0
|
||
|
/* 8004C900 00048740 41 82 00 0C */ beq lbl_8004C90C
|
||
|
/* 8004C904 00048744 38 00 00 01 */ li r0, 0x1
|
||
|
/* 8004C908 00048748 98 0D E8 ED */ stb r0, lbl_8055CD0D@sda21(r13)
|
||
|
.global lbl_8004C90C
|
||
|
lbl_8004C90C:
|
||
|
/* 8004C90C 0004874C 81 9D 01 84 */ lwz r12, 0x184(r29)
|
||
|
/* 8004C910 00048750 2C 0C 00 00 */ cmpwi r12, 0x0
|
||
|
/* 8004C914 00048754 41 82 00 2C */ beq lbl_8004C940
|
||
|
/* 8004C918 00048758 3B E0 00 00 */ li r31, 0x0
|
||
|
/* 8004C91C 0004875C 93 FD 01 84 */ stw r31, 0x184(r29)
|
||
|
/* 8004C920 00048760 80 7D 01 88 */ lwz r3, 0x188(r29)
|
||
|
/* 8004C924 00048764 7D 89 03 A6 */ mtctr r12
|
||
|
/* 8004C928 00048768 4E 80 04 21 */ bctrl
|
||
|
/* 8004C92C 0004876C 80 1D 00 00 */ lwz r0, 0x0(r29)
|
||
|
/* 8004C930 00048770 7C 00 F8 40 */ cmplw r0, r31
|
||
|
/* 8004C934 00048774 41 82 00 0C */ beq lbl_8004C940
|
||
|
/* 8004C938 00048778 7F A3 EB 78 */ mr r3, r29
|
||
|
/* 8004C93C 0004877C 4B FD 8F C5 */ bl lbl_80025900
|
||
|
.global lbl_8004C940
|
||
|
lbl_8004C940:
|
||
|
/* 8004C940 00048780 80 1D 01 88 */ lwz r0, 0x188(r29)
|
||
|
/* 8004C944 00048784 98 0D E8 D8 */ stb r0, lbl_8055CCF8@sda21(r13)
|
||
|
/* 8004C948 00048788 48 00 00 34 */ b lbl_8004C97C
|
||
|
.global lbl_8004C94C
|
||
|
lbl_8004C94C:
|
||
|
/* 8004C94C 0004878C 2C 1E 00 00 */ cmpwi r30, 0x0
|
||
|
/* 8004C950 00048790 41 82 00 24 */ beq lbl_8004C974
|
||
|
/* 8004C954 00048794 28 00 00 01 */ cmplwi r0, 0x1
|
||
|
/* 8004C958 00048798 40 82 00 08 */ bne lbl_8004C960
|
||
|
/* 8004C95C 0004879C 48 00 00 08 */ b lbl_8004C964
|
||
|
.global lbl_8004C960
|
||
|
lbl_8004C960:
|
||
|
/* 8004C960 000487A0 38 00 00 02 */ li r0, 0x2
|
||
|
.global lbl_8004C964
|
||
|
lbl_8004C964:
|
||
|
/* 8004C964 000487A4 7F CC F3 78 */ mr r12, r30
|
||
|
/* 8004C968 000487A8 7C 03 03 78 */ mr r3, r0
|
||
|
/* 8004C96C 000487AC 7D 89 03 A6 */ mtctr r12
|
||
|
/* 8004C970 000487B0 4E 80 04 21 */ bctrl
|
||
|
.global lbl_8004C974
|
||
|
lbl_8004C974:
|
||
|
/* 8004C974 000487B4 7F E3 FB 78 */ mr r3, r31
|
||
|
/* 8004C978 000487B8 4B FD 4E E9 */ bl lbl_80021860
|
||
|
.global lbl_8004C97C
|
||
|
lbl_8004C97C:
|
||
|
/* 8004C97C 000487BC 80 01 00 24 */ lwz r0, 0x24(r1)
|
||
|
/* 8004C980 000487C0 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
||
|
/* 8004C984 000487C4 83 C1 00 18 */ lwz r30, 0x18(r1)
|
||
|
/* 8004C988 000487C8 83 A1 00 14 */ lwz r29, 0x14(r1)
|
||
|
/* 8004C98C 000487CC 83 81 00 10 */ lwz r28, 0x10(r1)
|
||
|
/* 8004C990 000487D0 7C 08 03 A6 */ mtlr r0
|
||
|
/* 8004C994 000487D4 38 21 00 20 */ addi r1, r1, 0x20
|
||
|
/* 8004C998 000487D8 4E 80 00 20 */ blr
|
||
|
/* 8004C99C 000487DC 00 00 00 00 */ .4byte 0x00000000
|
||
|
.global lbl_8004C9A0
|
||
|
lbl_8004C9A0:
|
||
|
/* 8004C9A0 000487E0 94 21 FF F0 */ stwu r1, -0x10(r1)
|
||
|
/* 8004C9A4 000487E4 7C 08 02 A6 */ mflr r0
|
||
|
/* 8004C9A8 000487E8 3C E0 80 4B */ lis r7, lbl_804B5B80@ha
|
||
|
/* 8004C9AC 000487EC 90 01 00 14 */ stw r0, 0x14(r1)
|
||
|
/* 8004C9B0 000487F0 38 E7 5B 80 */ addi r7, r7, lbl_804B5B80@l
|
||
|
/* 8004C9B4 000487F4 93 E1 00 0C */ stw r31, 0xc(r1)
|
||
|
/* 8004C9B8 000487F8 93 C1 00 08 */ stw r30, 0x8(r1)
|
||
|
/* 8004C9BC 000487FC 88 07 01 58 */ lbz r0, 0x158(r7)
|
||
|
/* 8004C9C0 00048800 28 00 00 09 */ cmplwi r0, 0x9
|
||
|
/* 8004C9C4 00048804 41 81 02 FC */ bgt lbl_8004CCC0
|
||
|
/* 8004C9C8 00048808 3C 80 80 44 */ lis r4, lbl_804383C8@ha
|
||
|
/* 8004C9CC 0004880C 54 00 10 3A */ slwi r0, r0, 2
|
||
|
/* 8004C9D0 00048810 38 84 83 C8 */ addi r4, r4, lbl_804383C8@l
|
||
|
/* 8004C9D4 00048814 7C 84 00 2E */ lwzx r4, r4, r0
|
||
|
/* 8004C9D8 00048818 7C 89 03 A6 */ mtctr r4
|
||
|
/* 8004C9DC 0004881C 4E 80 04 20 */ bctr
|
||
|
|
||
|
.global lbl_8004C9E0
|
||
|
lbl_8004C9E0:
|
||
|
/* 8004C9E0 00048820 2C 03 00 00 */ cmpwi r3, 0x0
|
||
|
/* 8004C9E4 00048824 40 82 00 54 */ bne lbl_8004CA38
|
||
|
/* 8004C9E8 00048828 88 07 01 50 */ lbz r0, 0x150(r7)
|
||
|
/* 8004C9EC 0004882C 28 00 00 01 */ cmplwi r0, 0x1
|
||
|
/* 8004C9F0 00048830 40 82 00 48 */ bne lbl_8004CA38
|
||
|
/* 8004C9F4 00048834 38 00 00 01 */ li r0, 0x1
|
||
|
/* 8004C9F8 00048838 3C 60 80 40 */ lis r3, lbl_80407C60@ha
|
||
|
/* 8004C9FC 0004883C 3C A0 80 05 */ lis r5, lbl_8004C9A0@ha
|
||
|
/* 8004CA00 00048840 98 07 01 58 */ stb r0, 0x158(r7)
|
||
|
/* 8004CA04 00048844 38 63 7C 60 */ addi r3, r3, lbl_80407C60@l
|
||
|
/* 8004CA08 00048848 38 87 01 50 */ addi r4, r7, 0x150
|
||
|
/* 8004CA0C 0004884C 38 A5 C9 A0 */ addi r5, r5, lbl_8004C9A0@l
|
||
|
/* 8004CA10 00048850 38 C7 00 94 */ addi r6, r7, 0x94
|
||
|
/* 8004CA14 00048854 4B FF C4 BD */ bl lbl_80048ED0
|
||
|
/* 8004CA18 00048858 2C 03 00 00 */ cmpwi r3, 0x0
|
||
|
/* 8004CA1C 0004885C 40 82 02 0C */ bne lbl_8004CC28
|
||
|
/* 8004CA20 00048860 48 00 02 A0 */ b lbl_8004CCC0
|
||
|
|
||
|
.global lbl_8004CA24
|
||
|
lbl_8004CA24:
|
||
|
/* 8004CA24 00048864 2C 03 00 00 */ cmpwi r3, 0x0
|
||
|
/* 8004CA28 00048868 40 82 00 10 */ bne lbl_8004CA38
|
||
|
/* 8004CA2C 0004886C 88 07 01 57 */ lbz r0, 0x157(r7)
|
||
|
/* 8004CA30 00048870 28 00 00 3F */ cmplwi r0, 0x3f
|
||
|
/* 8004CA34 00048874 41 82 00 DC */ beq lbl_8004CB10
|
||
|
.global lbl_8004CA38
|
||
|
lbl_8004CA38:
|
||
|
/* 8004CA38 00048878 38 00 00 02 */ li r0, 0x2
|
||
|
/* 8004CA3C 0004887C 3C 60 80 40 */ lis r3, lbl_80407C60@ha
|
||
|
/* 8004CA40 00048880 3C 80 80 05 */ lis r4, lbl_8004C9A0@ha
|
||
|
/* 8004CA44 00048884 98 07 01 58 */ stb r0, 0x158(r7)
|
||
|
/* 8004CA48 00048888 38 63 7C 60 */ addi r3, r3, lbl_80407C60@l
|
||
|
/* 8004CA4C 0004888C 38 A7 00 94 */ addi r5, r7, 0x94
|
||
|
/* 8004CA50 00048890 38 84 C9 A0 */ addi r4, r4, lbl_8004C9A0@l
|
||
|
/* 8004CA54 00048894 4B FF B7 FD */ bl lbl_80048250
|
||
|
/* 8004CA58 00048898 2C 03 00 00 */ cmpwi r3, 0x0
|
||
|
/* 8004CA5C 0004889C 40 82 01 CC */ bne lbl_8004CC28
|
||
|
/* 8004CA60 000488A0 48 00 02 60 */ b lbl_8004CCC0
|
||
|
|
||
|
.global lbl_8004CA64
|
||
|
lbl_8004CA64:
|
||
|
/* 8004CA64 000488A4 38 00 00 03 */ li r0, 0x3
|
||
|
/* 8004CA68 000488A8 3C 60 80 40 */ lis r3, lbl_80407C50@ha
|
||
|
/* 8004CA6C 000488AC 3C A0 80 05 */ lis r5, lbl_8004C9A0@ha
|
||
|
/* 8004CA70 000488B0 98 07 01 58 */ stb r0, 0x158(r7)
|
||
|
/* 8004CA74 000488B4 38 63 7C 50 */ addi r3, r3, lbl_80407C50@l
|
||
|
/* 8004CA78 000488B8 38 87 01 50 */ addi r4, r7, 0x150
|
||
|
/* 8004CA7C 000488BC 38 A5 C9 A0 */ addi r5, r5, lbl_8004C9A0@l
|
||
|
/* 8004CA80 000488C0 38 C7 00 94 */ addi r6, r7, 0x94
|
||
|
/* 8004CA84 000488C4 4B FF DD AD */ bl lbl_8004A830
|
||
|
/* 8004CA88 000488C8 2C 03 00 00 */ cmpwi r3, 0x0
|
||
|
/* 8004CA8C 000488CC 40 82 01 9C */ bne lbl_8004CC28
|
||
|
/* 8004CA90 000488D0 48 00 02 30 */ b lbl_8004CCC0
|
||
|
|
||
|
.global lbl_8004CA94
|
||
|
lbl_8004CA94:
|
||
|
/* 8004CA94 000488D4 2C 03 00 00 */ cmpwi r3, 0x0
|
||
|
/* 8004CA98 000488D8 40 82 00 10 */ bne lbl_8004CAA8
|
||
|
/* 8004CA9C 000488DC 88 07 01 50 */ lbz r0, 0x150(r7)
|
||
|
/* 8004CAA0 000488E0 28 00 00 02 */ cmplwi r0, 0x2
|
||
|
/* 8004CAA4 000488E4 41 82 00 38 */ beq lbl_8004CADC
|
||
|
.global lbl_8004CAA8
|
||
|
lbl_8004CAA8:
|
||
|
/* 8004CAA8 000488E8 38 00 00 04 */ li r0, 0x4
|
||
|
/* 8004CAAC 000488EC 3C 60 80 40 */ lis r3, lbl_80407C50@ha
|
||
|
/* 8004CAB0 000488F0 3C C0 80 05 */ lis r6, lbl_8004C9A0@ha
|
||
|
/* 8004CAB4 000488F4 98 07 01 58 */ stb r0, 0x158(r7)
|
||
|
/* 8004CAB8 000488F8 38 63 7C 50 */ addi r3, r3, lbl_80407C50@l
|
||
|
/* 8004CABC 000488FC 38 E7 00 94 */ addi r7, r7, 0x94
|
||
|
/* 8004CAC0 00048900 38 C6 C9 A0 */ addi r6, r6, lbl_8004C9A0@l
|
||
|
/* 8004CAC4 00048904 38 80 00 3F */ li r4, 0x3f
|
||
|
/* 8004CAC8 00048908 38 A0 00 00 */ li r5, 0x0
|
||
|
/* 8004CACC 0004890C 4B FF BD 95 */ bl lbl_80048860
|
||
|
/* 8004CAD0 00048910 2C 03 00 00 */ cmpwi r3, 0x0
|
||
|
/* 8004CAD4 00048914 40 82 01 54 */ bne lbl_8004CC28
|
||
|
/* 8004CAD8 00048918 48 00 01 E8 */ b lbl_8004CCC0
|
||
|
|
||
|
.global lbl_8004CADC
|
||
|
lbl_8004CADC:
|
||
|
/* 8004CADC 0004891C 38 00 00 05 */ li r0, 0x5
|
||
|
/* 8004CAE0 00048920 3C 60 80 40 */ lis r3, lbl_80407C60@ha
|
||
|
/* 8004CAE4 00048924 3C C0 80 05 */ lis r6, lbl_8004C9A0@ha
|
||
|
/* 8004CAE8 00048928 98 07 01 58 */ stb r0, 0x158(r7)
|
||
|
/* 8004CAEC 0004892C 38 63 7C 60 */ addi r3, r3, lbl_80407C60@l
|
||
|
/* 8004CAF0 00048930 38 E7 00 94 */ addi r7, r7, 0x94
|
||
|
/* 8004CAF4 00048934 38 C6 C9 A0 */ addi r6, r6, lbl_8004C9A0@l
|
||
|
/* 8004CAF8 00048938 38 80 00 3F */ li r4, 0x3f
|
||
|
/* 8004CAFC 0004893C 38 A0 00 00 */ li r5, 0x0
|
||
|
/* 8004CB00 00048940 4B FF B5 81 */ bl lbl_80048080
|
||
|
/* 8004CB04 00048944 2C 03 00 00 */ cmpwi r3, 0x0
|
||
|
/* 8004CB08 00048948 40 82 01 20 */ bne lbl_8004CC28
|
||
|
/* 8004CB0C 0004894C 48 00 01 B4 */ b lbl_8004CCC0
|
||
|
|
||
|
.global lbl_8004CB10
|
||
|
lbl_8004CB10:
|
||
|
/* 8004CB10 00048950 38 00 00 06 */ li r0, 0x6
|
||
|
/* 8004CB14 00048954 3C 60 80 40 */ lis r3, lbl_80407C60@ha
|
||
|
/* 8004CB18 00048958 3C C0 80 05 */ lis r6, lbl_8004C9A0@ha
|
||
|
/* 8004CB1C 0004895C 98 07 01 58 */ stb r0, 0x158(r7)
|
||
|
/* 8004CB20 00048960 38 87 00 08 */ addi r4, r7, 0x8
|
||
|
/* 8004CB24 00048964 38 63 7C 60 */ addi r3, r3, lbl_80407C60@l
|
||
|
/* 8004CB28 00048968 38 C6 C9 A0 */ addi r6, r6, lbl_8004C9A0@l
|
||
|
/* 8004CB2C 0004896C 38 E7 00 94 */ addi r7, r7, 0x94
|
||
|
/* 8004CB30 00048970 38 A0 00 02 */ li r5, 0x2
|
||
|
/* 8004CB34 00048974 4B FF CA 1D */ bl lbl_80049550
|
||
|
/* 8004CB38 00048978 2C 03 00 00 */ cmpwi r3, 0x0
|
||
|
/* 8004CB3C 0004897C 40 82 00 EC */ bne lbl_8004CC28
|
||
|
/* 8004CB40 00048980 48 00 01 80 */ b lbl_8004CCC0
|
||
|
|
||
|
.global lbl_8004CB44
|
||
|
lbl_8004CB44:
|
||
|
/* 8004CB44 00048984 2C 03 00 00 */ cmpwi r3, 0x0
|
||
|
/* 8004CB48 00048988 40 82 00 E0 */ bne lbl_8004CC28
|
||
|
/* 8004CB4C 0004898C 38 60 00 01 */ li r3, 0x1
|
||
|
/* 8004CB50 00048990 38 00 00 07 */ li r0, 0x7
|
||
|
/* 8004CB54 00048994 3C 80 80 4C */ lis r4, lbl_804B9D20@ha
|
||
|
/* 8004CB58 00048998 3C C0 80 05 */ lis r6, lbl_8004C9A0@ha
|
||
|
/* 8004CB5C 0004899C 98 67 01 59 */ stb r3, 0x159(r7)
|
||
|
/* 8004CB60 000489A0 38 67 00 08 */ addi r3, r7, 0x8
|
||
|
/* 8004CB64 000489A4 80 A7 01 8C */ lwz r5, 0x18c(r7)
|
||
|
/* 8004CB68 000489A8 38 84 9D 20 */ addi r4, r4, lbl_804B9D20@l
|
||
|
/* 8004CB6C 000489AC 98 07 01 58 */ stb r0, 0x158(r7)
|
||
|
/* 8004CB70 000489B0 38 C6 C9 A0 */ addi r6, r6, lbl_8004C9A0@l
|
||
|
/* 8004CB74 000489B4 38 E7 00 94 */ addi r7, r7, 0x94
|
||
|
/* 8004CB78 000489B8 4B FF B8 F9 */ bl lbl_80048470
|
||
|
/* 8004CB7C 000489BC 2C 03 00 00 */ cmpwi r3, 0x0
|
||
|
/* 8004CB80 000489C0 40 82 00 A8 */ bne lbl_8004CC28
|
||
|
/* 8004CB84 000489C4 48 00 01 3C */ b lbl_8004CCC0
|
||
|
|
||
|
.global lbl_8004CB88
|
||
|
lbl_8004CB88:
|
||
|
/* 8004CB88 000489C8 80 07 01 8C */ lwz r0, 0x18c(r7)
|
||
|
/* 8004CB8C 000489CC 7C 03 00 40 */ cmplw r3, r0
|
||
|
/* 8004CB90 000489D0 40 82 00 98 */ bne lbl_8004CC28
|
||
|
/* 8004CB94 000489D4 38 60 00 00 */ li r3, 0x0
|
||
|
/* 8004CB98 000489D8 38 00 00 08 */ li r0, 0x8
|
||
|
/* 8004CB9C 000489DC 3C 80 80 05 */ lis r4, lbl_8004C9A0@ha
|
||
|
/* 8004CBA0 000489E0 98 67 01 59 */ stb r3, 0x159(r7)
|
||
|
/* 8004CBA4 000489E4 38 67 00 08 */ addi r3, r7, 0x8
|
||
|
/* 8004CBA8 000489E8 38 A7 00 94 */ addi r5, r7, 0x94
|
||
|
/* 8004CBAC 000489EC 98 07 01 58 */ stb r0, 0x158(r7)
|
||
|
/* 8004CBB0 000489F0 38 84 C9 A0 */ addi r4, r4, lbl_8004C9A0@l
|
||
|
/* 8004CBB4 000489F4 4B FF CB 0D */ bl lbl_800496C0
|
||
|
/* 8004CBB8 000489F8 2C 03 00 00 */ cmpwi r3, 0x0
|
||
|
/* 8004CBBC 000489FC 40 82 00 6C */ bne lbl_8004CC28
|
||
|
/* 8004CBC0 00048A00 48 00 01 00 */ b lbl_8004CCC0
|
||
|
|
||
|
.global lbl_8004CBC4
|
||
|
lbl_8004CBC4:
|
||
|
/* 8004CBC4 00048A04 2C 03 00 00 */ cmpwi r3, 0x0
|
||
|
/* 8004CBC8 00048A08 40 82 00 60 */ bne lbl_8004CC28
|
||
|
|
||
|
.global lbl_8004CBCC
|
||
|
lbl_8004CBCC:
|
||
|
/* 8004CBCC 00048A0C 3F C0 80 4B */ lis r30, lbl_804B5B80@ha
|
||
|
/* 8004CBD0 00048A10 3B DE 5B 80 */ addi r30, r30, lbl_804B5B80@l
|
||
|
/* 8004CBD4 00048A14 80 1E 01 88 */ lwz r0, 0x188(r30)
|
||
|
/* 8004CBD8 00048A18 2C 00 00 00 */ cmpwi r0, 0x0
|
||
|
/* 8004CBDC 00048A1C 41 82 00 0C */ beq lbl_8004CBE8
|
||
|
/* 8004CBE0 00048A20 38 00 00 01 */ li r0, 0x1
|
||
|
/* 8004CBE4 00048A24 98 0D E8 ED */ stb r0, lbl_8055CD0D@sda21(r13)
|
||
|
.global lbl_8004CBE8
|
||
|
lbl_8004CBE8:
|
||
|
/* 8004CBE8 00048A28 81 9E 01 84 */ lwz r12, 0x184(r30)
|
||
|
/* 8004CBEC 00048A2C 2C 0C 00 00 */ cmpwi r12, 0x0
|
||
|
/* 8004CBF0 00048A30 41 82 00 2C */ beq lbl_8004CC1C
|
||
|
/* 8004CBF4 00048A34 3B E0 00 00 */ li r31, 0x0
|
||
|
/* 8004CBF8 00048A38 93 FE 01 84 */ stw r31, 0x184(r30)
|
||
|
/* 8004CBFC 00048A3C 80 7E 01 88 */ lwz r3, 0x188(r30)
|
||
|
/* 8004CC00 00048A40 7D 89 03 A6 */ mtctr r12
|
||
|
/* 8004CC04 00048A44 4E 80 04 21 */ bctrl
|
||
|
/* 8004CC08 00048A48 80 1E 00 00 */ lwz r0, 0x0(r30)
|
||
|
/* 8004CC0C 00048A4C 7C 00 F8 40 */ cmplw r0, r31
|
||
|
/* 8004CC10 00048A50 41 82 00 0C */ beq lbl_8004CC1C
|
||
|
/* 8004CC14 00048A54 7F C3 F3 78 */ mr r3, r30
|
||
|
/* 8004CC18 00048A58 4B FD 8C E9 */ bl lbl_80025900
|
||
|
.global lbl_8004CC1C
|
||
|
lbl_8004CC1C:
|
||
|
/* 8004CC1C 00048A5C 80 1E 01 88 */ lwz r0, 0x188(r30)
|
||
|
/* 8004CC20 00048A60 98 0D E8 D8 */ stb r0, lbl_8055CCF8@sda21(r13)
|
||
|
/* 8004CC24 00048A64 48 00 00 9C */ b lbl_8004CCC0
|
||
|
.global lbl_8004CC28
|
||
|
lbl_8004CC28:
|
||
|
/* 8004CC28 00048A68 3C A0 80 4B */ lis r5, lbl_804B5B80@ha
|
||
|
/* 8004CC2C 00048A6C 38 60 00 02 */ li r3, 0x2
|
||
|
/* 8004CC30 00048A70 38 A5 5B 80 */ addi r5, r5, lbl_804B5B80@l
|
||
|
/* 8004CC34 00048A74 88 05 01 59 */ lbz r0, 0x159(r5)
|
||
|
/* 8004CC38 00048A78 90 65 01 88 */ stw r3, 0x188(r5)
|
||
|
/* 8004CC3C 00048A7C 2C 00 00 00 */ cmpwi r0, 0x0
|
||
|
/* 8004CC40 00048A80 41 82 00 28 */ beq lbl_8004CC68
|
||
|
/* 8004CC44 00048A84 38 00 00 09 */ li r0, 0x9
|
||
|
/* 8004CC48 00048A88 3C 80 80 05 */ lis r4, lbl_8004C9A0@ha
|
||
|
/* 8004CC4C 00048A8C 98 05 01 58 */ stb r0, 0x158(r5)
|
||
|
/* 8004CC50 00048A90 38 65 00 08 */ addi r3, r5, 0x8
|
||
|
/* 8004CC54 00048A94 38 84 C9 A0 */ addi r4, r4, lbl_8004C9A0@l
|
||
|
/* 8004CC58 00048A98 38 A5 00 94 */ addi r5, r5, 0x94
|
||
|
/* 8004CC5C 00048A9C 4B FF CA 65 */ bl lbl_800496C0
|
||
|
/* 8004CC60 00048AA0 2C 03 00 00 */ cmpwi r3, 0x0
|
||
|
/* 8004CC64 00048AA4 41 82 00 5C */ beq lbl_8004CCC0
|
||
|
.global lbl_8004CC68
|
||
|
lbl_8004CC68:
|
||
|
/* 8004CC68 00048AA8 3F C0 80 4B */ lis r30, lbl_804B5B80@ha
|
||
|
/* 8004CC6C 00048AAC 3B DE 5B 80 */ addi r30, r30, lbl_804B5B80@l
|
||
|
/* 8004CC70 00048AB0 80 1E 01 88 */ lwz r0, 0x188(r30)
|
||
|
/* 8004CC74 00048AB4 2C 00 00 00 */ cmpwi r0, 0x0
|
||
|
/* 8004CC78 00048AB8 41 82 00 0C */ beq lbl_8004CC84
|
||
|
/* 8004CC7C 00048ABC 38 00 00 01 */ li r0, 0x1
|
||
|
/* 8004CC80 00048AC0 98 0D E8 ED */ stb r0, lbl_8055CD0D@sda21(r13)
|
||
|
.global lbl_8004CC84
|
||
|
lbl_8004CC84:
|
||
|
/* 8004CC84 00048AC4 81 9E 01 84 */ lwz r12, 0x184(r30)
|
||
|
/* 8004CC88 00048AC8 2C 0C 00 00 */ cmpwi r12, 0x0
|
||
|
/* 8004CC8C 00048ACC 41 82 00 2C */ beq lbl_8004CCB8
|
||
|
/* 8004CC90 00048AD0 3B E0 00 00 */ li r31, 0x0
|
||
|
/* 8004CC94 00048AD4 93 FE 01 84 */ stw r31, 0x184(r30)
|
||
|
/* 8004CC98 00048AD8 80 7E 01 88 */ lwz r3, 0x188(r30)
|
||
|
/* 8004CC9C 00048ADC 7D 89 03 A6 */ mtctr r12
|
||
|
/* 8004CCA0 00048AE0 4E 80 04 21 */ bctrl
|
||
|
/* 8004CCA4 00048AE4 80 1E 00 00 */ lwz r0, 0x0(r30)
|
||
|
/* 8004CCA8 00048AE8 7C 00 F8 40 */ cmplw r0, r31
|
||
|
/* 8004CCAC 00048AEC 41 82 00 0C */ beq lbl_8004CCB8
|
||
|
/* 8004CCB0 00048AF0 7F C3 F3 78 */ mr r3, r30
|
||
|
/* 8004CCB4 00048AF4 4B FD 8C 4D */ bl lbl_80025900
|
||
|
.global lbl_8004CCB8
|
||
|
lbl_8004CCB8:
|
||
|
/* 8004CCB8 00048AF8 80 1E 01 88 */ lwz r0, 0x188(r30)
|
||
|
/* 8004CCBC 00048AFC 98 0D E8 D8 */ stb r0, lbl_8055CCF8@sda21(r13)
|
||
|
.global lbl_8004CCC0
|
||
|
lbl_8004CCC0:
|
||
|
/* 8004CCC0 00048B00 80 01 00 14 */ lwz r0, 0x14(r1)
|
||
|
/* 8004CCC4 00048B04 83 E1 00 0C */ lwz r31, 0xc(r1)
|
||
|
/* 8004CCC8 00048B08 83 C1 00 08 */ lwz r30, 0x8(r1)
|
||
|
/* 8004CCCC 00048B0C 7C 08 03 A6 */ mtlr r0
|
||
|
/* 8004CCD0 00048B10 38 21 00 10 */ addi r1, r1, 0x10
|
||
|
/* 8004CCD4 00048B14 4E 80 00 20 */ blr
|
||
|
/* 8004CCD8 00048B18 00 00 00 00 */ .4byte 0x00000000
|
||
|
/* 8004CCDC 00048B1C 00 00 00 00 */ .4byte 0x00000000
|