prime/asm/Kyoto_CWD/text_80008894_80009144.s

677 lines
30 KiB
ArmAsm
Raw Normal View History

.include "macros.inc"
.section .sdata2
.global lbl_805A9D7C
lbl_805A9D7C:
# ROM: 0x3F661C
.4byte 0x3F800000
.global lbl_805A9D80
lbl_805A9D80:
# ROM: 0x3F6620
.4byte 0x43300000
.4byte 0x80000000
.section .text, "ax" # 0x80003640 - 0x803CB1C0
# CPlayer?
.global "GetAverageValue<f>__FPCfi"
"GetAverageValue<f>__FPCfi":
/* 80008894 000057F4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80008898 000057F8 54 80 10 3A */ slwi r0, r4, 2
/* 8000889C 000057FC 38 C3 00 04 */ addi r6, r3, 4
/* 800088A0 00005800 7C A3 02 14 */ add r5, r3, r0
/* 800088A4 00005804 C0 63 00 00 */ lfs f3, 0(r3)
/* 800088A8 00005808 38 65 00 03 */ addi r3, r5, 3
/* 800088AC 0000580C 7C 66 18 50 */ subf r3, r6, r3
/* 800088B0 00005810 7C 06 28 40 */ cmplw r6, r5
/* 800088B4 00005814 54 63 F0 BE */ srwi r3, r3, 2
/* 800088B8 00005818 40 80 00 74 */ bge lbl_8000892C
/* 800088BC 0000581C 54 60 E8 FF */ rlwinm. r0, r3, 0x1d, 3, 0x1f
/* 800088C0 00005820 7C 09 03 A6 */ mtctr r0
/* 800088C4 00005824 41 82 00 54 */ beq lbl_80008918
lbl_800088C8:
/* 800088C8 00005828 C0 06 00 00 */ lfs f0, 0(r6)
/* 800088CC 0000582C EC 63 00 2A */ fadds f3, f3, f0
/* 800088D0 00005830 C0 06 00 04 */ lfs f0, 4(r6)
/* 800088D4 00005834 EC 63 00 2A */ fadds f3, f3, f0
/* 800088D8 00005838 C0 06 00 08 */ lfs f0, 8(r6)
/* 800088DC 0000583C EC 63 00 2A */ fadds f3, f3, f0
/* 800088E0 00005840 C0 06 00 0C */ lfs f0, 0xc(r6)
/* 800088E4 00005844 EC 63 00 2A */ fadds f3, f3, f0
/* 800088E8 00005848 C0 06 00 10 */ lfs f0, 0x10(r6)
/* 800088EC 0000584C EC 63 00 2A */ fadds f3, f3, f0
/* 800088F0 00005850 C0 06 00 14 */ lfs f0, 0x14(r6)
/* 800088F4 00005854 EC 63 00 2A */ fadds f3, f3, f0
/* 800088F8 00005858 C0 06 00 18 */ lfs f0, 0x18(r6)
/* 800088FC 0000585C EC 63 00 2A */ fadds f3, f3, f0
/* 80008900 00005860 C0 06 00 1C */ lfs f0, 0x1c(r6)
/* 80008904 00005864 38 C6 00 20 */ addi r6, r6, 0x20
/* 80008908 00005868 EC 63 00 2A */ fadds f3, f3, f0
/* 8000890C 0000586C 42 00 FF BC */ bdnz lbl_800088C8
/* 80008910 00005870 70 63 00 07 */ andi. r3, r3, 7
/* 80008914 00005874 41 82 00 18 */ beq lbl_8000892C
lbl_80008918:
/* 80008918 00005878 7C 69 03 A6 */ mtctr r3
lbl_8000891C:
/* 8000891C 0000587C C0 06 00 00 */ lfs f0, 0(r6)
/* 80008920 00005880 38 C6 00 04 */ addi r6, r6, 4
/* 80008924 00005884 EC 63 00 2A */ fadds f3, f3, f0
/* 80008928 00005888 42 00 FF F4 */ bdnz lbl_8000891C
lbl_8000892C:
/* 8000892C 0000588C 6C 83 80 00 */ xoris r3, r4, 0x8000
/* 80008930 00005890 3C 00 43 30 */ lis r0, 0x4330
/* 80008934 00005894 90 61 00 0C */ stw r3, 0xc(r1)
/* 80008938 00005898 C8 22 80 60 */ lfd f1, lbl_805A9D80@sda21(r2)
/* 8000893C 0000589C 90 01 00 08 */ stw r0, 8(r1)
/* 80008940 000058A0 C0 42 80 5C */ lfs f2, lbl_805A9D7C@sda21(r2)
/* 80008944 000058A4 C8 01 00 08 */ lfd f0, 8(r1)
/* 80008948 000058A8 EC 00 08 28 */ fsubs f0, f0, f1
/* 8000894C 000058AC EC 02 00 24 */ fdivs f0, f2, f0
/* 80008950 000058B0 EC 23 00 32 */ fmuls f1, f3, f0
/* 80008954 000058B4 38 21 00 10 */ addi r1, r1, 0x10
/* 80008958 000058B8 4E 80 00 20 */ blr
.global "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi"
"reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi":
/* 8000895C 000058BC 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80008960 000058C0 7C 08 02 A6 */ mflr r0
/* 80008964 000058C4 90 01 00 34 */ stw r0, 0x34(r1)
/* 80008968 000058C8 BF 41 00 18 */ stmw r26, 0x18(r1)
/* 8000896C 000058CC 7C 9F 23 78 */ mr r31, r4
/* 80008970 000058D0 7C 7E 1B 78 */ mr r30, r3
/* 80008974 000058D4 80 03 00 08 */ lwz r0, 8(r3)
/* 80008978 000058D8 7C 1F 00 00 */ cmpw r31, r0
/* 8000897C 000058DC 40 81 00 BC */ ble lbl_80008A38
/* 80008980 000058E0 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c
/* 80008984 000058E4 40 82 00 0C */ bne lbl_80008990
/* 80008988 000058E8 3B 80 00 00 */ li r28, 0
/* 8000898C 000058EC 48 00 00 1C */ b lbl_800089A8
lbl_80008990:
/* 80008990 000058F0 3C 80 80 3D */ lis r4, lbl_803CBE74@ha
/* 80008994 000058F4 38 A0 00 00 */ li r5, 0
/* 80008998 000058F8 38 84 BE 74 */ addi r4, r4, lbl_803CBE74@l
/* 8000899C 000058FC 38 84 00 37 */ addi r4, r4, 0x37
/* 800089A0 00005900 48 30 CE 79 */ bl __nwa__FUlPCcPCc
/* 800089A4 00005904 7C 7C 1B 78 */ mr r28, r3
lbl_800089A8:
/* 800089A8 00005908 80 1E 00 04 */ lwz r0, 4(r30)
/* 800089AC 0000590C 7F 9B E3 78 */ mr r27, r28
/* 800089B0 00005910 83 5E 00 0C */ lwz r26, 0xc(r30)
/* 800089B4 00005914 54 00 18 38 */ slwi r0, r0, 3
/* 800089B8 00005918 7F BA 02 14 */ add r29, r26, r0
/* 800089BC 0000591C 93 41 00 10 */ stw r26, 0x10(r1)
/* 800089C0 00005920 93 A1 00 08 */ stw r29, 8(r1)
/* 800089C4 00005924 93 A1 00 0C */ stw r29, 0xc(r1)
/* 800089C8 00005928 93 41 00 14 */ stw r26, 0x14(r1)
/* 800089CC 0000592C 48 00 00 20 */ b lbl_800089EC
lbl_800089D0:
/* 800089D0 00005930 28 1B 00 00 */ cmplwi r27, 0
/* 800089D4 00005934 41 82 00 10 */ beq lbl_800089E4
/* 800089D8 00005938 7F 63 DB 78 */ mr r3, r27
/* 800089DC 0000593C 7F 44 D3 78 */ mr r4, r26
/* 800089E0 00005940 48 33 84 C9 */ bl __ct__6CTokenFRC6CToken
lbl_800089E4:
/* 800089E4 00005944 3B 7B 00 08 */ addi r27, r27, 8
/* 800089E8 00005948 3B 5A 00 08 */ addi r26, r26, 8
lbl_800089EC:
/* 800089EC 0000594C 7C 1A E8 40 */ cmplw r26, r29
/* 800089F0 00005950 40 82 FF E0 */ bne lbl_800089D0
/* 800089F4 00005954 80 1E 00 04 */ lwz r0, 4(r30)
/* 800089F8 00005958 83 5E 00 0C */ lwz r26, 0xc(r30)
/* 800089FC 0000595C 54 00 18 38 */ slwi r0, r0, 3
/* 80008A00 00005960 7F 7A 02 14 */ add r27, r26, r0
/* 80008A04 00005964 48 00 00 14 */ b lbl_80008A18
lbl_80008A08:
/* 80008A08 00005968 7F 43 D3 78 */ mr r3, r26
/* 80008A0C 0000596C 38 80 FF FF */ li r4, -1
/* 80008A10 00005970 48 33 84 31 */ bl __dt__6CTokenFv
/* 80008A14 00005974 3B 5A 00 08 */ addi r26, r26, 8
lbl_80008A18:
/* 80008A18 00005978 7C 1A D8 40 */ cmplw r26, r27
/* 80008A1C 0000597C 40 82 FF EC */ bne lbl_80008A08
/* 80008A20 00005980 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 80008A24 00005984 28 03 00 00 */ cmplwi r3, 0
/* 80008A28 00005988 41 82 00 08 */ beq lbl_80008A30
/* 80008A2C 0000598C 48 30 CF 05 */ bl Free__7CMemoryFPCv
lbl_80008A30:
/* 80008A30 00005990 93 9E 00 0C */ stw r28, 0xc(r30)
/* 80008A34 00005994 93 FE 00 08 */ stw r31, 8(r30)
lbl_80008A38:
/* 80008A38 00005998 BB 41 00 18 */ lmw r26, 0x18(r1)
/* 80008A3C 0000599C 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80008A40 000059A0 7C 08 03 A6 */ mtlr r0
/* 80008A44 000059A4 38 21 00 30 */ addi r1, r1, 0x30
/* 80008A48 000059A8 4E 80 00 20 */ blr
.global "reserve__Q24rstl47vector<10SScanState,Q24rstl17rmemory_allocator>Fi"
"reserve__Q24rstl47vector<10SScanState,Q24rstl17rmemory_allocator>Fi":
/* 80008A4C 000059AC 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80008A50 000059B0 7C 08 02 A6 */ mflr r0
/* 80008A54 000059B4 90 01 00 34 */ stw r0, 0x34(r1)
/* 80008A58 000059B8 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80008A5C 000059BC 7C 9F 23 78 */ mr r31, r4
/* 80008A60 000059C0 93 C1 00 28 */ stw r30, 0x28(r1)
/* 80008A64 000059C4 7C 7E 1B 78 */ mr r30, r3
/* 80008A68 000059C8 93 A1 00 24 */ stw r29, 0x24(r1)
/* 80008A6C 000059CC 80 03 00 08 */ lwz r0, 8(r3)
/* 80008A70 000059D0 7C 1F 00 00 */ cmpw r31, r0
/* 80008A74 000059D4 40 81 00 B4 */ ble lbl_80008B28
/* 80008A78 000059D8 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c
/* 80008A7C 000059DC 40 82 00 0C */ bne lbl_80008A88
/* 80008A80 000059E0 3B A0 00 00 */ li r29, 0
/* 80008A84 000059E4 48 00 00 1C */ b lbl_80008AA0
lbl_80008A88:
/* 80008A88 000059E8 3C 80 80 3D */ lis r4, lbl_803CBE74@ha
/* 80008A8C 000059EC 38 A0 00 00 */ li r5, 0
/* 80008A90 000059F0 38 84 BE 74 */ addi r4, r4, lbl_803CBE74@l
/* 80008A94 000059F4 38 84 00 37 */ addi r4, r4, 0x37
/* 80008A98 000059F8 48 30 CD 81 */ bl __nwa__FUlPCcPCc
/* 80008A9C 000059FC 7C 7D 1B 78 */ mr r29, r3
lbl_80008AA0:
/* 80008AA0 00005A00 80 1E 00 04 */ lwz r0, 4(r30)
/* 80008AA4 00005A04 7F A4 EB 78 */ mr r4, r29
/* 80008AA8 00005A08 80 BE 00 0C */ lwz r5, 0xc(r30)
/* 80008AAC 00005A0C 54 00 18 38 */ slwi r0, r0, 3
/* 80008AB0 00005A10 7C 65 02 14 */ add r3, r5, r0
/* 80008AB4 00005A14 90 A1 00 10 */ stw r5, 0x10(r1)
/* 80008AB8 00005A18 90 61 00 08 */ stw r3, 8(r1)
/* 80008ABC 00005A1C 90 61 00 0C */ stw r3, 0xc(r1)
/* 80008AC0 00005A20 90 A1 00 14 */ stw r5, 0x14(r1)
/* 80008AC4 00005A24 48 00 00 24 */ b lbl_80008AE8
lbl_80008AC8:
/* 80008AC8 00005A28 28 04 00 00 */ cmplwi r4, 0
/* 80008ACC 00005A2C 41 82 00 14 */ beq lbl_80008AE0
/* 80008AD0 00005A30 80 05 00 00 */ lwz r0, 0(r5)
/* 80008AD4 00005A34 90 04 00 00 */ stw r0, 0(r4)
/* 80008AD8 00005A38 80 05 00 04 */ lwz r0, 4(r5)
/* 80008ADC 00005A3C 90 04 00 04 */ stw r0, 4(r4)
lbl_80008AE0:
/* 80008AE0 00005A40 38 84 00 08 */ addi r4, r4, 8
/* 80008AE4 00005A44 38 A5 00 08 */ addi r5, r5, 8
lbl_80008AE8:
/* 80008AE8 00005A48 7C 05 18 40 */ cmplw r5, r3
/* 80008AEC 00005A4C 40 82 FF DC */ bne lbl_80008AC8
/* 80008AF0 00005A50 80 1E 00 04 */ lwz r0, 4(r30)
/* 80008AF4 00005A54 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 80008AF8 00005A58 54 00 18 38 */ slwi r0, r0, 3
/* 80008AFC 00005A5C 7C 64 1B 78 */ mr r4, r3
/* 80008B00 00005A60 7C 03 02 14 */ add r0, r3, r0
/* 80008B04 00005A64 48 00 00 08 */ b lbl_80008B0C
lbl_80008B08:
/* 80008B08 00005A68 38 84 00 08 */ addi r4, r4, 8
lbl_80008B0C:
/* 80008B0C 00005A6C 7C 04 00 40 */ cmplw r4, r0
/* 80008B10 00005A70 40 82 FF F8 */ bne lbl_80008B08
/* 80008B14 00005A74 28 03 00 00 */ cmplwi r3, 0
/* 80008B18 00005A78 41 82 00 08 */ beq lbl_80008B20
/* 80008B1C 00005A7C 48 30 CE 15 */ bl Free__7CMemoryFPCv
lbl_80008B20:
/* 80008B20 00005A80 93 BE 00 0C */ stw r29, 0xc(r30)
/* 80008B24 00005A84 93 FE 00 08 */ stw r31, 8(r30)
lbl_80008B28:
/* 80008B28 00005A88 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80008B2C 00005A8C 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 80008B30 00005A90 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 80008B34 00005A94 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 80008B38 00005A98 7C 08 03 A6 */ mtlr r0
/* 80008B3C 00005A9C 38 21 00 30 */ addi r1, r1, 0x30
/* 80008B40 00005AA0 4E 80 00 20 */ blr
.global sub_80008b44
sub_80008b44:
/* 80008B44 00005AA4 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80008B48 00005AA8 7C 08 02 A6 */ mflr r0
/* 80008B4C 00005AAC 90 01 00 34 */ stw r0, 0x34(r1)
/* 80008B50 00005AB0 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80008B54 00005AB4 7C 9F 23 78 */ mr r31, r4
/* 80008B58 00005AB8 93 C1 00 28 */ stw r30, 0x28(r1)
/* 80008B5C 00005ABC 7C 7E 1B 78 */ mr r30, r3
/* 80008B60 00005AC0 93 A1 00 24 */ stw r29, 0x24(r1)
/* 80008B64 00005AC4 80 03 00 08 */ lwz r0, 8(r3)
/* 80008B68 00005AC8 7C 1F 00 00 */ cmpw r31, r0
/* 80008B6C 00005ACC 40 81 00 B4 */ ble lbl_80008C20
/* 80008B70 00005AD0 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c
/* 80008B74 00005AD4 40 82 00 0C */ bne lbl_80008B80
/* 80008B78 00005AD8 3B A0 00 00 */ li r29, 0
/* 80008B7C 00005ADC 48 00 00 1C */ b lbl_80008B98
lbl_80008B80:
/* 80008B80 00005AE0 3C 80 80 3D */ lis r4, lbl_803CBE74@ha
/* 80008B84 00005AE4 38 A0 00 00 */ li r5, 0
/* 80008B88 00005AE8 38 84 BE 74 */ addi r4, r4, lbl_803CBE74@l
/* 80008B8C 00005AEC 38 84 00 37 */ addi r4, r4, 0x37
/* 80008B90 00005AF0 48 30 CC 89 */ bl __nwa__FUlPCcPCc
/* 80008B94 00005AF4 7C 7D 1B 78 */ mr r29, r3
lbl_80008B98:
/* 80008B98 00005AF8 80 1E 00 04 */ lwz r0, 4(r30)
/* 80008B9C 00005AFC 7F A4 EB 78 */ mr r4, r29
/* 80008BA0 00005B00 80 BE 00 0C */ lwz r5, 0xc(r30)
/* 80008BA4 00005B04 54 00 18 38 */ slwi r0, r0, 3
/* 80008BA8 00005B08 7C 65 02 14 */ add r3, r5, r0
/* 80008BAC 00005B0C 90 A1 00 10 */ stw r5, 0x10(r1)
/* 80008BB0 00005B10 90 61 00 08 */ stw r3, 8(r1)
/* 80008BB4 00005B14 90 61 00 0C */ stw r3, 0xc(r1)
/* 80008BB8 00005B18 90 A1 00 14 */ stw r5, 0x14(r1)
/* 80008BBC 00005B1C 48 00 00 24 */ b lbl_80008BE0
lbl_80008BC0:
/* 80008BC0 00005B20 28 04 00 00 */ cmplwi r4, 0
/* 80008BC4 00005B24 41 82 00 14 */ beq lbl_80008BD8
/* 80008BC8 00005B28 80 05 00 00 */ lwz r0, 0(r5)
/* 80008BCC 00005B2C 90 04 00 00 */ stw r0, 0(r4)
/* 80008BD0 00005B30 80 05 00 04 */ lwz r0, 4(r5)
/* 80008BD4 00005B34 90 04 00 04 */ stw r0, 4(r4)
lbl_80008BD8:
/* 80008BD8 00005B38 38 84 00 08 */ addi r4, r4, 8
/* 80008BDC 00005B3C 38 A5 00 08 */ addi r5, r5, 8
lbl_80008BE0:
/* 80008BE0 00005B40 7C 05 18 40 */ cmplw r5, r3
/* 80008BE4 00005B44 40 82 FF DC */ bne lbl_80008BC0
/* 80008BE8 00005B48 80 1E 00 04 */ lwz r0, 4(r30)
/* 80008BEC 00005B4C 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 80008BF0 00005B50 54 00 18 38 */ slwi r0, r0, 3
/* 80008BF4 00005B54 7C 64 1B 78 */ mr r4, r3
/* 80008BF8 00005B58 7C 03 02 14 */ add r0, r3, r0
/* 80008BFC 00005B5C 48 00 00 08 */ b lbl_80008C04
lbl_80008C00:
/* 80008C00 00005B60 38 84 00 08 */ addi r4, r4, 8
lbl_80008C04:
/* 80008C04 00005B64 7C 04 00 40 */ cmplw r4, r0
/* 80008C08 00005B68 40 82 FF F8 */ bne lbl_80008C00
/* 80008C0C 00005B6C 28 03 00 00 */ cmplwi r3, 0
/* 80008C10 00005B70 41 82 00 08 */ beq lbl_80008C18
/* 80008C14 00005B74 48 30 CD 1D */ bl Free__7CMemoryFPCv
lbl_80008C18:
/* 80008C18 00005B78 93 BE 00 0C */ stw r29, 0xc(r30)
/* 80008C1C 00005B7C 93 FE 00 08 */ stw r31, 8(r30)
lbl_80008C20:
/* 80008C20 00005B80 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80008C24 00005B84 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 80008C28 00005B88 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 80008C2C 00005B8C 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 80008C30 00005B90 7C 08 03 A6 */ mtlr r0
/* 80008C34 00005B94 38 21 00 30 */ addi r1, r1, 0x30
/* 80008C38 00005B98 4E 80 00 20 */ blr
.global sub_80008c3c
sub_80008c3c:
/* 80008C3C 00005B9C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80008C40 00005BA0 7C 08 02 A6 */ mflr r0
/* 80008C44 00005BA4 90 01 00 14 */ stw r0, 0x14(r1)
/* 80008C48 00005BA8 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80008C4C 00005BAC 7C 7F 1B 78 */ mr r31, r3
/* 80008C50 00005BB0 80 83 00 00 */ lwz r4, 0(r3)
/* 80008C54 00005BB4 80 64 00 04 */ lwz r3, 4(r4)
/* 80008C58 00005BB8 34 03 FF FF */ addic. r0, r3, -1
/* 80008C5C 00005BBC 90 04 00 04 */ stw r0, 4(r4)
/* 80008C60 00005BC0 41 81 00 24 */ bgt lbl_80008C84
/* 80008C64 00005BC4 80 7F 00 00 */ lwz r3, 0(r31)
/* 80008C68 00005BC8 38 80 00 01 */ li r4, 1
/* 80008C6C 00005BCC 80 63 00 00 */ lwz r3, 0(r3)
/* 80008C70 00005BD0 48 00 00 29 */ bl sub_80008c98
/* 80008C74 00005BD4 80 7F 00 00 */ lwz r3, 0(r31)
/* 80008C78 00005BD8 28 03 00 00 */ cmplwi r3, 0
/* 80008C7C 00005BDC 41 82 00 08 */ beq lbl_80008C84
/* 80008C80 00005BE0 48 30 CC B1 */ bl Free__7CMemoryFPCv
lbl_80008C84:
/* 80008C84 00005BE4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80008C88 00005BE8 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80008C8C 00005BEC 7C 08 03 A6 */ mtlr r0
/* 80008C90 00005BF0 38 21 00 10 */ addi r1, r1, 0x10
/* 80008C94 00005BF4 4E 80 00 20 */ blr
.global sub_80008c98
sub_80008c98:
/* 80008C98 00005BF8 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 80008C9C 00005BFC 7C 08 02 A6 */ mflr r0
/* 80008CA0 00005C00 90 01 00 44 */ stw r0, 0x44(r1)
/* 80008CA4 00005C04 93 E1 00 3C */ stw r31, 0x3c(r1)
/* 80008CA8 00005C08 7C 9F 23 78 */ mr r31, r4
/* 80008CAC 00005C0C 93 C1 00 38 */ stw r30, 0x38(r1)
/* 80008CB0 00005C10 7C 7E 1B 79 */ or. r30, r3, r3
/* 80008CB4 00005C14 41 82 00 FC */ beq lbl_80008DB0
/* 80008CB8 00005C18 34 1E 00 28 */ addic. r0, r30, 0x28
/* 80008CBC 00005C1C 41 82 00 44 */ beq lbl_80008D00
/* 80008CC0 00005C20 80 1E 00 2C */ lwz r0, 0x2c(r30)
/* 80008CC4 00005C24 80 7E 00 34 */ lwz r3, 0x34(r30)
/* 80008CC8 00005C28 54 00 18 38 */ slwi r0, r0, 3
/* 80008CCC 00005C2C 7C 03 02 14 */ add r0, r3, r0
/* 80008CD0 00005C30 90 61 00 2C */ stw r3, 0x2c(r1)
/* 80008CD4 00005C34 7C 64 1B 78 */ mr r4, r3
/* 80008CD8 00005C38 90 01 00 34 */ stw r0, 0x34(r1)
/* 80008CDC 00005C3C 90 01 00 30 */ stw r0, 0x30(r1)
/* 80008CE0 00005C40 90 61 00 28 */ stw r3, 0x28(r1)
/* 80008CE4 00005C44 48 00 00 08 */ b lbl_80008CEC
lbl_80008CE8:
/* 80008CE8 00005C48 38 84 00 08 */ addi r4, r4, 8
lbl_80008CEC:
/* 80008CEC 00005C4C 7C 04 00 40 */ cmplw r4, r0
/* 80008CF0 00005C50 40 82 FF F8 */ bne lbl_80008CE8
/* 80008CF4 00005C54 28 03 00 00 */ cmplwi r3, 0
/* 80008CF8 00005C58 41 82 00 08 */ beq lbl_80008D00
/* 80008CFC 00005C5C 48 30 CC 35 */ bl Free__7CMemoryFPCv
lbl_80008D00:
/* 80008D00 00005C60 34 1E 00 14 */ addic. r0, r30, 0x14
/* 80008D04 00005C64 41 82 00 4C */ beq lbl_80008D50
/* 80008D08 00005C68 34 1E 00 18 */ addic. r0, r30, 0x18
/* 80008D0C 00005C6C 41 82 00 44 */ beq lbl_80008D50
/* 80008D10 00005C70 80 1E 00 1C */ lwz r0, 0x1c(r30)
/* 80008D14 00005C74 80 7E 00 24 */ lwz r3, 0x24(r30)
/* 80008D18 00005C78 54 00 10 3A */ slwi r0, r0, 2
/* 80008D1C 00005C7C 7C 03 02 14 */ add r0, r3, r0
/* 80008D20 00005C80 90 61 00 1C */ stw r3, 0x1c(r1)
/* 80008D24 00005C84 7C 64 1B 78 */ mr r4, r3
/* 80008D28 00005C88 90 01 00 24 */ stw r0, 0x24(r1)
/* 80008D2C 00005C8C 90 01 00 20 */ stw r0, 0x20(r1)
/* 80008D30 00005C90 90 61 00 18 */ stw r3, 0x18(r1)
/* 80008D34 00005C94 48 00 00 08 */ b lbl_80008D3C
lbl_80008D38:
/* 80008D38 00005C98 38 84 00 04 */ addi r4, r4, 4
lbl_80008D3C:
/* 80008D3C 00005C9C 7C 04 00 40 */ cmplw r4, r0
/* 80008D40 00005CA0 40 82 FF F8 */ bne lbl_80008D38
/* 80008D44 00005CA4 28 03 00 00 */ cmplwi r3, 0
/* 80008D48 00005CA8 41 82 00 08 */ beq lbl_80008D50
/* 80008D4C 00005CAC 48 30 CB E5 */ bl Free__7CMemoryFPCv
lbl_80008D50:
/* 80008D50 00005CB0 28 1E 00 00 */ cmplwi r30, 0
/* 80008D54 00005CB4 41 82 00 4C */ beq lbl_80008DA0
/* 80008D58 00005CB8 34 1E 00 04 */ addic. r0, r30, 4
/* 80008D5C 00005CBC 41 82 00 44 */ beq lbl_80008DA0
/* 80008D60 00005CC0 80 1E 00 08 */ lwz r0, 8(r30)
/* 80008D64 00005CC4 80 7E 00 10 */ lwz r3, 0x10(r30)
/* 80008D68 00005CC8 54 00 10 3A */ slwi r0, r0, 2
/* 80008D6C 00005CCC 7C 03 02 14 */ add r0, r3, r0
/* 80008D70 00005CD0 90 61 00 0C */ stw r3, 0xc(r1)
/* 80008D74 00005CD4 7C 64 1B 78 */ mr r4, r3
/* 80008D78 00005CD8 90 01 00 14 */ stw r0, 0x14(r1)
/* 80008D7C 00005CDC 90 01 00 10 */ stw r0, 0x10(r1)
/* 80008D80 00005CE0 90 61 00 08 */ stw r3, 8(r1)
/* 80008D84 00005CE4 48 00 00 08 */ b lbl_80008D8C
lbl_80008D88:
/* 80008D88 00005CE8 38 84 00 04 */ addi r4, r4, 4
lbl_80008D8C:
/* 80008D8C 00005CEC 7C 04 00 40 */ cmplw r4, r0
/* 80008D90 00005CF0 40 82 FF F8 */ bne lbl_80008D88
/* 80008D94 00005CF4 28 03 00 00 */ cmplwi r3, 0
/* 80008D98 00005CF8 41 82 00 08 */ beq lbl_80008DA0
/* 80008D9C 00005CFC 48 30 CB 95 */ bl Free__7CMemoryFPCv
lbl_80008DA0:
/* 80008DA0 00005D00 7F E0 07 35 */ extsh. r0, r31
/* 80008DA4 00005D04 40 81 00 0C */ ble lbl_80008DB0
/* 80008DA8 00005D08 7F C3 F3 78 */ mr r3, r30
/* 80008DAC 00005D0C 48 30 CB 85 */ bl Free__7CMemoryFPCv
lbl_80008DB0:
/* 80008DB0 00005D10 80 01 00 44 */ lwz r0, 0x44(r1)
/* 80008DB4 00005D14 7F C3 F3 78 */ mr r3, r30
/* 80008DB8 00005D18 83 E1 00 3C */ lwz r31, 0x3c(r1)
/* 80008DBC 00005D1C 83 C1 00 38 */ lwz r30, 0x38(r1)
/* 80008DC0 00005D20 7C 08 03 A6 */ mtlr r0
/* 80008DC4 00005D24 38 21 00 40 */ addi r1, r1, 0x40
/* 80008DC8 00005D28 4E 80 00 20 */ blr
.global sub_80008dcc
sub_80008dcc:
/* 80008DCC 00005D2C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80008DD0 00005D30 7C 08 02 A6 */ mflr r0
/* 80008DD4 00005D34 90 01 00 14 */ stw r0, 0x14(r1)
/* 80008DD8 00005D38 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80008DDC 00005D3C 7C 7F 1B 78 */ mr r31, r3
/* 80008DE0 00005D40 80 83 00 00 */ lwz r4, 0(r3)
/* 80008DE4 00005D44 80 64 00 04 */ lwz r3, 4(r4)
/* 80008DE8 00005D48 34 03 FF FF */ addic. r0, r3, -1
/* 80008DEC 00005D4C 90 04 00 04 */ stw r0, 4(r4)
/* 80008DF0 00005D50 41 81 00 24 */ bgt lbl_80008E14
/* 80008DF4 00005D54 80 7F 00 00 */ lwz r3, 0(r31)
/* 80008DF8 00005D58 38 80 00 01 */ li r4, 1
/* 80008DFC 00005D5C 80 63 00 00 */ lwz r3, 0(r3)
/* 80008E00 00005D60 48 00 00 29 */ bl sub_80008e28
/* 80008E04 00005D64 80 7F 00 00 */ lwz r3, 0(r31)
/* 80008E08 00005D68 28 03 00 00 */ cmplwi r3, 0
/* 80008E0C 00005D6C 41 82 00 08 */ beq lbl_80008E14
/* 80008E10 00005D70 48 30 CB 21 */ bl Free__7CMemoryFPCv
lbl_80008E14:
/* 80008E14 00005D74 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80008E18 00005D78 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80008E1C 00005D7C 7C 08 03 A6 */ mtlr r0
/* 80008E20 00005D80 38 21 00 10 */ addi r1, r1, 0x10
/* 80008E24 00005D84 4E 80 00 20 */ blr
.global sub_80008e28
sub_80008e28:
/* 80008E28 00005D88 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80008E2C 00005D8C 7C 08 02 A6 */ mflr r0
/* 80008E30 00005D90 90 01 00 34 */ stw r0, 0x34(r1)
/* 80008E34 00005D94 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80008E38 00005D98 7C 9F 23 78 */ mr r31, r4
/* 80008E3C 00005D9C 93 C1 00 28 */ stw r30, 0x28(r1)
/* 80008E40 00005DA0 7C 7E 1B 79 */ or. r30, r3, r3
/* 80008E44 00005DA4 41 82 00 AC */ beq lbl_80008EF0
/* 80008E48 00005DA8 34 1E 00 10 */ addic. r0, r30, 0x10
/* 80008E4C 00005DAC 41 82 00 4C */ beq lbl_80008E98
/* 80008E50 00005DB0 34 1E 00 14 */ addic. r0, r30, 0x14
/* 80008E54 00005DB4 41 82 00 44 */ beq lbl_80008E98
/* 80008E58 00005DB8 80 1E 00 18 */ lwz r0, 0x18(r30)
/* 80008E5C 00005DBC 80 7E 00 20 */ lwz r3, 0x20(r30)
/* 80008E60 00005DC0 54 00 10 3A */ slwi r0, r0, 2
/* 80008E64 00005DC4 7C 03 02 14 */ add r0, r3, r0
/* 80008E68 00005DC8 90 61 00 0C */ stw r3, 0xc(r1)
/* 80008E6C 00005DCC 7C 64 1B 78 */ mr r4, r3
/* 80008E70 00005DD0 90 01 00 14 */ stw r0, 0x14(r1)
/* 80008E74 00005DD4 90 01 00 10 */ stw r0, 0x10(r1)
/* 80008E78 00005DD8 90 61 00 08 */ stw r3, 8(r1)
/* 80008E7C 00005DDC 48 00 00 08 */ b lbl_80008E84
lbl_80008E80:
/* 80008E80 00005DE0 38 84 00 04 */ addi r4, r4, 4
lbl_80008E84:
/* 80008E84 00005DE4 7C 04 00 40 */ cmplw r4, r0
/* 80008E88 00005DE8 40 82 FF F8 */ bne lbl_80008E80
/* 80008E8C 00005DEC 28 03 00 00 */ cmplwi r3, 0
/* 80008E90 00005DF0 41 82 00 08 */ beq lbl_80008E98
/* 80008E94 00005DF4 48 30 CA 9D */ bl Free__7CMemoryFPCv
lbl_80008E98:
/* 80008E98 00005DF8 28 1E 00 00 */ cmplwi r30, 0
/* 80008E9C 00005DFC 41 82 00 44 */ beq lbl_80008EE0
/* 80008EA0 00005E00 80 1E 00 04 */ lwz r0, 4(r30)
/* 80008EA4 00005E04 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 80008EA8 00005E08 54 00 20 36 */ slwi r0, r0, 4
/* 80008EAC 00005E0C 7C 03 02 14 */ add r0, r3, r0
/* 80008EB0 00005E10 90 61 00 1C */ stw r3, 0x1c(r1)
/* 80008EB4 00005E14 7C 64 1B 78 */ mr r4, r3
/* 80008EB8 00005E18 90 01 00 24 */ stw r0, 0x24(r1)
/* 80008EBC 00005E1C 90 01 00 20 */ stw r0, 0x20(r1)
/* 80008EC0 00005E20 90 61 00 18 */ stw r3, 0x18(r1)
/* 80008EC4 00005E24 48 00 00 08 */ b lbl_80008ECC
lbl_80008EC8:
/* 80008EC8 00005E28 38 84 00 10 */ addi r4, r4, 0x10
lbl_80008ECC:
/* 80008ECC 00005E2C 7C 04 00 40 */ cmplw r4, r0
/* 80008ED0 00005E30 40 82 FF F8 */ bne lbl_80008EC8
/* 80008ED4 00005E34 28 03 00 00 */ cmplwi r3, 0
/* 80008ED8 00005E38 41 82 00 08 */ beq lbl_80008EE0
/* 80008EDC 00005E3C 48 30 CA 55 */ bl Free__7CMemoryFPCv
lbl_80008EE0:
/* 80008EE0 00005E40 7F E0 07 35 */ extsh. r0, r31
/* 80008EE4 00005E44 40 81 00 0C */ ble lbl_80008EF0
/* 80008EE8 00005E48 7F C3 F3 78 */ mr r3, r30
/* 80008EEC 00005E4C 48 30 CA 45 */ bl Free__7CMemoryFPCv
lbl_80008EF0:
/* 80008EF0 00005E50 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80008EF4 00005E54 7F C3 F3 78 */ mr r3, r30
/* 80008EF8 00005E58 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 80008EFC 00005E5C 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 80008F00 00005E60 7C 08 03 A6 */ mtlr r0
/* 80008F04 00005E64 38 21 00 30 */ addi r1, r1, 0x30
/* 80008F08 00005E68 4E 80 00 20 */ blr
.global sub_80008f0c
sub_80008f0c:
/* 80008F0C 00005E6C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80008F10 00005E70 7C 08 02 A6 */ mflr r0
/* 80008F14 00005E74 90 01 00 14 */ stw r0, 0x14(r1)
/* 80008F18 00005E78 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80008F1C 00005E7C 7C 7F 1B 78 */ mr r31, r3
/* 80008F20 00005E80 80 83 00 00 */ lwz r4, 0(r3)
/* 80008F24 00005E84 80 64 00 04 */ lwz r3, 4(r4)
/* 80008F28 00005E88 34 03 FF FF */ addic. r0, r3, -1
/* 80008F2C 00005E8C 90 04 00 04 */ stw r0, 4(r4)
/* 80008F30 00005E90 41 81 00 24 */ bgt lbl_80008F54
/* 80008F34 00005E94 80 7F 00 00 */ lwz r3, 0(r31)
/* 80008F38 00005E98 38 80 00 01 */ li r4, 1
/* 80008F3C 00005E9C 80 63 00 00 */ lwz r3, 0(r3)
/* 80008F40 00005EA0 48 00 00 29 */ bl __dt__12CPlayerStateFv
/* 80008F44 00005EA4 80 7F 00 00 */ lwz r3, 0(r31)
/* 80008F48 00005EA8 28 03 00 00 */ cmplwi r3, 0
/* 80008F4C 00005EAC 41 82 00 08 */ beq lbl_80008F54
/* 80008F50 00005EB0 48 30 C9 E1 */ bl Free__7CMemoryFPCv
lbl_80008F54:
/* 80008F54 00005EB4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80008F58 00005EB8 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80008F5C 00005EBC 7C 08 03 A6 */ mtlr r0
/* 80008F60 00005EC0 38 21 00 10 */ addi r1, r1, 0x10
/* 80008F64 00005EC4 4E 80 00 20 */ blr
.global __dt__12CPlayerStateFv
__dt__12CPlayerStateFv:
/* 80008F68 00005EC8 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80008F6C 00005ECC 7C 08 02 A6 */ mflr r0
/* 80008F70 00005ED0 90 01 00 34 */ stw r0, 0x34(r1)
/* 80008F74 00005ED4 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80008F78 00005ED8 7C 9F 23 78 */ mr r31, r4
/* 80008F7C 00005EDC 93 C1 00 28 */ stw r30, 0x28(r1)
/* 80008F80 00005EE0 7C 7E 1B 79 */ or. r30, r3, r3
/* 80008F84 00005EE4 41 82 01 08 */ beq lbl_8000908C
/* 80008F88 00005EE8 34 1E 01 88 */ addic. r0, r30, 0x188
/* 80008F8C 00005EEC 41 82 00 4C */ beq lbl_80008FD8
/* 80008F90 00005EF0 34 1E 01 88 */ addic. r0, r30, 0x188
/* 80008F94 00005EF4 41 82 00 44 */ beq lbl_80008FD8
/* 80008F98 00005EF8 80 1E 01 8C */ lwz r0, 0x18c(r30)
/* 80008F9C 00005EFC 80 7E 01 94 */ lwz r3, 0x194(r30)
/* 80008FA0 00005F00 1C 00 00 0C */ mulli r0, r0, 0xc
/* 80008FA4 00005F04 90 61 00 0C */ stw r3, 0xc(r1)
/* 80008FA8 00005F08 7C 64 1B 78 */ mr r4, r3
/* 80008FAC 00005F0C 7C 03 02 14 */ add r0, r3, r0
/* 80008FB0 00005F10 90 61 00 08 */ stw r3, 8(r1)
/* 80008FB4 00005F14 90 01 00 14 */ stw r0, 0x14(r1)
/* 80008FB8 00005F18 90 01 00 10 */ stw r0, 0x10(r1)
/* 80008FBC 00005F1C 48 00 00 08 */ b lbl_80008FC4
lbl_80008FC0:
/* 80008FC0 00005F20 38 84 00 0C */ addi r4, r4, 0xc
lbl_80008FC4:
/* 80008FC4 00005F24 7C 04 00 40 */ cmplw r4, r0
/* 80008FC8 00005F28 40 82 FF F8 */ bne lbl_80008FC0
/* 80008FCC 00005F2C 28 03 00 00 */ cmplwi r3, 0
/* 80008FD0 00005F30 41 82 00 08 */ beq lbl_80008FD8
/* 80008FD4 00005F34 48 30 C9 5D */ bl Free__7CMemoryFPCv
lbl_80008FD8:
/* 80008FD8 00005F38 34 1E 01 70 */ addic. r0, r30, 0x170
/* 80008FDC 00005F3C 41 82 00 44 */ beq lbl_80009020
/* 80008FE0 00005F40 80 1E 01 74 */ lwz r0, 0x174(r30)
/* 80008FE4 00005F44 80 7E 01 7C */ lwz r3, 0x17c(r30)
/* 80008FE8 00005F48 54 00 18 38 */ slwi r0, r0, 3
/* 80008FEC 00005F4C 7C 03 02 14 */ add r0, r3, r0
/* 80008FF0 00005F50 90 61 00 1C */ stw r3, 0x1c(r1)
/* 80008FF4 00005F54 7C 64 1B 78 */ mr r4, r3
/* 80008FF8 00005F58 90 01 00 24 */ stw r0, 0x24(r1)
/* 80008FFC 00005F5C 90 01 00 20 */ stw r0, 0x20(r1)
/* 80009000 00005F60 90 61 00 18 */ stw r3, 0x18(r1)
/* 80009004 00005F64 48 00 00 08 */ b lbl_8000900C
lbl_80009008:
/* 80009008 00005F68 38 84 00 08 */ addi r4, r4, 8
lbl_8000900C:
/* 8000900C 00005F6C 7C 04 00 40 */ cmplw r4, r0
/* 80009010 00005F70 40 82 FF F8 */ bne lbl_80009008
/* 80009014 00005F74 28 03 00 00 */ cmplwi r3, 0
/* 80009018 00005F78 41 82 00 08 */ beq lbl_80009020
/* 8000901C 00005F7C 48 30 C9 15 */ bl Free__7CMemoryFPCv
lbl_80009020:
/* 80009020 00005F80 34 1E 00 24 */ addic. r0, r30, 0x24
/* 80009024 00005F84 41 82 00 58 */ beq lbl_8000907C
/* 80009028 00005F88 80 BE 00 24 */ lwz r5, 0x24(r30)
/* 8000902C 00005F8C 38 60 00 00 */ li r3, 0
/* 80009030 00005F90 2C 05 00 00 */ cmpwi r5, 0
/* 80009034 00005F94 40 81 00 40 */ ble lbl_80009074
/* 80009038 00005F98 2C 05 00 08 */ cmpwi r5, 8
/* 8000903C 00005F9C 38 85 FF F8 */ addi r4, r5, -8
/* 80009040 00005FA0 40 81 00 20 */ ble lbl_80009060
/* 80009044 00005FA4 38 04 00 07 */ addi r0, r4, 7
/* 80009048 00005FA8 54 00 E8 FE */ srwi r0, r0, 3
/* 8000904C 00005FAC 7C 09 03 A6 */ mtctr r0
/* 80009050 00005FB0 2C 04 00 00 */ cmpwi r4, 0
/* 80009054 00005FB4 40 81 00 0C */ ble lbl_80009060
lbl_80009058:
/* 80009058 00005FB8 38 63 00 08 */ addi r3, r3, 8
/* 8000905C 00005FBC 42 00 FF FC */ bdnz lbl_80009058
lbl_80009060:
/* 80009060 00005FC0 7C 03 28 50 */ subf r0, r3, r5
/* 80009064 00005FC4 7C 09 03 A6 */ mtctr r0
/* 80009068 00005FC8 7C 03 28 00 */ cmpw r3, r5
/* 8000906C 00005FCC 40 80 00 08 */ bge lbl_80009074
lbl_80009070:
/* 80009070 00005FD0 42 00 00 00 */ bdnz lbl_80009070
lbl_80009074:
/* 80009074 00005FD4 38 00 00 00 */ li r0, 0
/* 80009078 00005FD8 90 1E 00 24 */ stw r0, 0x24(r30)
lbl_8000907C:
/* 8000907C 00005FDC 7F E0 07 35 */ extsh. r0, r31
/* 80009080 00005FE0 40 81 00 0C */ ble lbl_8000908C
/* 80009084 00005FE4 7F C3 F3 78 */ mr r3, r30
/* 80009088 00005FE8 48 30 C8 A9 */ bl Free__7CMemoryFPCv
lbl_8000908C:
/* 8000908C 00005FEC 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80009090 00005FF0 7F C3 F3 78 */ mr r3, r30
/* 80009094 00005FF4 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 80009098 00005FF8 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 8000909C 00005FFC 7C 08 03 A6 */ mtlr r0
/* 800090A0 00006000 38 21 00 30 */ addi r1, r1, 0x30
/* 800090A4 00006004 4E 80 00 20 */ blr
.global sub_800090a8
sub_800090a8:
/* 800090A8 00006008 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800090AC 0000600C 7C 08 02 A6 */ mflr r0
/* 800090B0 00006010 90 01 00 24 */ stw r0, 0x24(r1)
/* 800090B4 00006014 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 800090B8 00006018 93 C1 00 18 */ stw r30, 0x18(r1)
/* 800090BC 0000601C 93 A1 00 14 */ stw r29, 0x14(r1)
/* 800090C0 00006020 7C 9D 23 78 */ mr r29, r4
/* 800090C4 00006024 93 81 00 10 */ stw r28, 0x10(r1)
/* 800090C8 00006028 7C 7C 1B 79 */ or. r28, r3, r3
/* 800090CC 0000602C 41 82 00 58 */ beq lbl_80009124
/* 800090D0 00006030 83 FC 00 04 */ lwz r31, 4(r28)
/* 800090D4 00006034 48 00 00 34 */ b lbl_80009108
lbl_800090D8:
/* 800090D8 00006038 7F FE FB 78 */ mr r30, r31
/* 800090DC 0000603C 83 FF 00 04 */ lwz r31, 4(r31)
/* 800090E0 00006040 34 7E 00 08 */ addic. r3, r30, 8
/* 800090E4 00006044 41 82 00 14 */ beq lbl_800090F8
/* 800090E8 00006048 34 03 00 08 */ addic. r0, r3, 8
/* 800090EC 0000604C 41 82 00 0C */ beq lbl_800090F8
/* 800090F0 00006050 38 63 00 08 */ addi r3, r3, 8
/* 800090F4 00006054 4B FF F6 19 */ bl sub_8000870c
lbl_800090F8:
/* 800090F8 00006058 28 1E 00 00 */ cmplwi r30, 0
/* 800090FC 0000605C 41 82 00 0C */ beq lbl_80009108
/* 80009100 00006060 7F C3 F3 78 */ mr r3, r30
/* 80009104 00006064 48 30 C8 2D */ bl Free__7CMemoryFPCv
lbl_80009108:
/* 80009108 00006068 80 1C 00 08 */ lwz r0, 8(r28)
/* 8000910C 0000606C 7C 1F 00 40 */ cmplw r31, r0
/* 80009110 00006070 40 82 FF C8 */ bne lbl_800090D8
/* 80009114 00006074 7F A0 07 35 */ extsh. r0, r29
/* 80009118 00006078 40 81 00 0C */ ble lbl_80009124
/* 8000911C 0000607C 7F 83 E3 78 */ mr r3, r28
/* 80009120 00006080 48 30 C8 11 */ bl Free__7CMemoryFPCv
lbl_80009124:
/* 80009124 00006084 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80009128 00006088 7F 83 E3 78 */ mr r3, r28
/* 8000912C 0000608C 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80009130 00006090 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80009134 00006094 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80009138 00006098 83 81 00 10 */ lwz r28, 0x10(r1)
/* 8000913C 0000609C 7C 08 03 A6 */ mtlr r0
/* 80009140 000060A0 38 21 00 20 */ addi r1, r1, 0x20
/* 80009144 000060A4 4E 80 00 20 */ blr