prime/asm/MetroidPrime/CGameArea.s

7882 lines
381 KiB
ArmAsm

.include "macros.inc"
.section .text, "ax"
.global "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi"
"reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi":
/* 8005DCF8 0005AC58 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8005DCFC 0005AC5C 7C 08 02 A6 */ mflr r0
/* 8005DD00 0005AC60 90 01 00 34 */ stw r0, 0x34(r1)
/* 8005DD04 0005AC64 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 8005DD08 0005AC68 7C 9F 23 78 */ mr r31, r4
/* 8005DD0C 0005AC6C 93 C1 00 28 */ stw r30, 0x28(r1)
/* 8005DD10 0005AC70 7C 7E 1B 78 */ mr r30, r3
/* 8005DD14 0005AC74 93 A1 00 24 */ stw r29, 0x24(r1)
/* 8005DD18 0005AC78 80 03 00 08 */ lwz r0, 8(r3)
/* 8005DD1C 0005AC7C 7C 1F 00 00 */ cmpw r31, r0
/* 8005DD20 0005AC80 40 81 00 BC */ ble lbl_8005DDDC
/* 8005DD24 0005AC84 1C 7F 00 0C */ mulli r3, r31, 0xc
/* 8005DD28 0005AC88 2C 03 00 00 */ cmpwi r3, 0
/* 8005DD2C 0005AC8C 40 82 00 0C */ bne lbl_8005DD38
/* 8005DD30 0005AC90 3B A0 00 00 */ li r29, 0
/* 8005DD34 0005AC94 48 00 00 18 */ b lbl_8005DD4C
lbl_8005DD38:
/* 8005DD38 0005AC98 3C 80 80 3D */ lis r4, lbl_803CCF90@ha
/* 8005DD3C 0005AC9C 38 A0 00 00 */ li r5, 0
/* 8005DD40 0005ACA0 38 84 CF 90 */ addi r4, r4, lbl_803CCF90@l
/* 8005DD44 0005ACA4 48 2B 7A D5 */ bl __nwa__FUlPCcPCc
/* 8005DD48 0005ACA8 7C 7D 1B 78 */ mr r29, r3
lbl_8005DD4C:
/* 8005DD4C 0005ACAC 80 1E 00 04 */ lwz r0, 4(r30)
/* 8005DD50 0005ACB0 7F A3 EB 78 */ mr r3, r29
/* 8005DD54 0005ACB4 80 9E 00 0C */ lwz r4, 0xc(r30)
/* 8005DD58 0005ACB8 1C 00 00 0C */ mulli r0, r0, 0xc
/* 8005DD5C 0005ACBC 90 81 00 10 */ stw r4, 0x10(r1)
/* 8005DD60 0005ACC0 7C 04 02 14 */ add r0, r4, r0
/* 8005DD64 0005ACC4 90 81 00 14 */ stw r4, 0x14(r1)
/* 8005DD68 0005ACC8 90 01 00 08 */ stw r0, 8(r1)
/* 8005DD6C 0005ACCC 90 01 00 0C */ stw r0, 0xc(r1)
/* 8005DD70 0005ACD0 48 00 00 2C */ b lbl_8005DD9C
lbl_8005DD74:
/* 8005DD74 0005ACD4 28 03 00 00 */ cmplwi r3, 0
/* 8005DD78 0005ACD8 41 82 00 1C */ beq lbl_8005DD94
/* 8005DD7C 0005ACDC C0 04 00 00 */ lfs f0, 0(r4)
/* 8005DD80 0005ACE0 D0 03 00 00 */ stfs f0, 0(r3)
/* 8005DD84 0005ACE4 C0 04 00 04 */ lfs f0, 4(r4)
/* 8005DD88 0005ACE8 D0 03 00 04 */ stfs f0, 4(r3)
/* 8005DD8C 0005ACEC C0 04 00 08 */ lfs f0, 8(r4)
/* 8005DD90 0005ACF0 D0 03 00 08 */ stfs f0, 8(r3)
lbl_8005DD94:
/* 8005DD94 0005ACF4 38 63 00 0C */ addi r3, r3, 0xc
/* 8005DD98 0005ACF8 38 84 00 0C */ addi r4, r4, 0xc
lbl_8005DD9C:
/* 8005DD9C 0005ACFC 7C 04 00 40 */ cmplw r4, r0
/* 8005DDA0 0005AD00 40 82 FF D4 */ bne lbl_8005DD74
/* 8005DDA4 0005AD04 80 1E 00 04 */ lwz r0, 4(r30)
/* 8005DDA8 0005AD08 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 8005DDAC 0005AD0C 1C 00 00 0C */ mulli r0, r0, 0xc
/* 8005DDB0 0005AD10 7C 64 1B 78 */ mr r4, r3
/* 8005DDB4 0005AD14 7C 03 02 14 */ add r0, r3, r0
/* 8005DDB8 0005AD18 48 00 00 08 */ b lbl_8005DDC0
lbl_8005DDBC:
/* 8005DDBC 0005AD1C 38 84 00 0C */ addi r4, r4, 0xc
lbl_8005DDC0:
/* 8005DDC0 0005AD20 7C 04 00 40 */ cmplw r4, r0
/* 8005DDC4 0005AD24 40 82 FF F8 */ bne lbl_8005DDBC
/* 8005DDC8 0005AD28 28 03 00 00 */ cmplwi r3, 0
/* 8005DDCC 0005AD2C 41 82 00 08 */ beq lbl_8005DDD4
/* 8005DDD0 0005AD30 48 2B 7B 61 */ bl Free__7CMemoryFPCv
lbl_8005DDD4:
/* 8005DDD4 0005AD34 93 BE 00 0C */ stw r29, 0xc(r30)
/* 8005DDD8 0005AD38 93 FE 00 08 */ stw r31, 8(r30)
lbl_8005DDDC:
/* 8005DDDC 0005AD3C 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8005DDE0 0005AD40 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 8005DDE4 0005AD44 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 8005DDE8 0005AD48 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 8005DDEC 0005AD4C 7C 08 03 A6 */ mtlr r0
/* 8005DDF0 0005AD50 38 21 00 30 */ addi r1, r1, 0x30
/* 8005DDF4 0005AD54 4E 80 00 20 */ blr
.global "reserve__Q24rstl36vector<f,Q24rstl17rmemory_allocator>Fi"
"reserve__Q24rstl36vector<f,Q24rstl17rmemory_allocator>Fi":
/* 8005DDF8 0005AD58 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8005DDFC 0005AD5C 7C 08 02 A6 */ mflr r0
/* 8005DE00 0005AD60 90 01 00 34 */ stw r0, 0x34(r1)
/* 8005DE04 0005AD64 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 8005DE08 0005AD68 7C 9F 23 78 */ mr r31, r4
/* 8005DE0C 0005AD6C 93 C1 00 28 */ stw r30, 0x28(r1)
/* 8005DE10 0005AD70 7C 7E 1B 78 */ mr r30, r3
/* 8005DE14 0005AD74 93 A1 00 24 */ stw r29, 0x24(r1)
/* 8005DE18 0005AD78 80 03 00 08 */ lwz r0, 8(r3)
/* 8005DE1C 0005AD7C 7C 1F 00 00 */ cmpw r31, r0
/* 8005DE20 0005AD80 40 81 00 A8 */ ble lbl_8005DEC8
/* 8005DE24 0005AD84 57 E3 10 3B */ rlwinm. r3, r31, 2, 0, 0x1d
/* 8005DE28 0005AD88 40 82 00 0C */ bne lbl_8005DE34
/* 8005DE2C 0005AD8C 3B A0 00 00 */ li r29, 0
/* 8005DE30 0005AD90 48 00 00 18 */ b lbl_8005DE48
lbl_8005DE34:
/* 8005DE34 0005AD94 3C 80 80 3D */ lis r4, lbl_803CCF90@ha
/* 8005DE38 0005AD98 38 A0 00 00 */ li r5, 0
/* 8005DE3C 0005AD9C 38 84 CF 90 */ addi r4, r4, lbl_803CCF90@l
/* 8005DE40 0005ADA0 48 2B 79 D9 */ bl __nwa__FUlPCcPCc
/* 8005DE44 0005ADA4 7C 7D 1B 78 */ mr r29, r3
lbl_8005DE48:
/* 8005DE48 0005ADA8 80 1E 00 04 */ lwz r0, 4(r30)
/* 8005DE4C 0005ADAC 7F A3 EB 78 */ mr r3, r29
/* 8005DE50 0005ADB0 80 9E 00 0C */ lwz r4, 0xc(r30)
/* 8005DE54 0005ADB4 54 00 10 3A */ slwi r0, r0, 2
/* 8005DE58 0005ADB8 7C 04 02 14 */ add r0, r4, r0
/* 8005DE5C 0005ADBC 90 81 00 10 */ stw r4, 0x10(r1)
/* 8005DE60 0005ADC0 90 01 00 08 */ stw r0, 8(r1)
/* 8005DE64 0005ADC4 90 01 00 0C */ stw r0, 0xc(r1)
/* 8005DE68 0005ADC8 90 81 00 14 */ stw r4, 0x14(r1)
/* 8005DE6C 0005ADCC 48 00 00 1C */ b lbl_8005DE88
lbl_8005DE70:
/* 8005DE70 0005ADD0 28 03 00 00 */ cmplwi r3, 0
/* 8005DE74 0005ADD4 41 82 00 0C */ beq lbl_8005DE80
/* 8005DE78 0005ADD8 C0 04 00 00 */ lfs f0, 0(r4)
/* 8005DE7C 0005ADDC D0 03 00 00 */ stfs f0, 0(r3)
lbl_8005DE80:
/* 8005DE80 0005ADE0 38 63 00 04 */ addi r3, r3, 4
/* 8005DE84 0005ADE4 38 84 00 04 */ addi r4, r4, 4
lbl_8005DE88:
/* 8005DE88 0005ADE8 7C 04 00 40 */ cmplw r4, r0
/* 8005DE8C 0005ADEC 40 82 FF E4 */ bne lbl_8005DE70
/* 8005DE90 0005ADF0 80 1E 00 04 */ lwz r0, 4(r30)
/* 8005DE94 0005ADF4 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 8005DE98 0005ADF8 54 00 10 3A */ slwi r0, r0, 2
/* 8005DE9C 0005ADFC 7C 64 1B 78 */ mr r4, r3
/* 8005DEA0 0005AE00 7C 03 02 14 */ add r0, r3, r0
/* 8005DEA4 0005AE04 48 00 00 08 */ b lbl_8005DEAC
lbl_8005DEA8:
/* 8005DEA8 0005AE08 38 84 00 04 */ addi r4, r4, 4
lbl_8005DEAC:
/* 8005DEAC 0005AE0C 7C 04 00 40 */ cmplw r4, r0
/* 8005DEB0 0005AE10 40 82 FF F8 */ bne lbl_8005DEA8
/* 8005DEB4 0005AE14 28 03 00 00 */ cmplwi r3, 0
/* 8005DEB8 0005AE18 41 82 00 08 */ beq lbl_8005DEC0
/* 8005DEBC 0005AE1C 48 2B 7A 75 */ bl Free__7CMemoryFPCv
lbl_8005DEC0:
/* 8005DEC0 0005AE20 93 BE 00 0C */ stw r29, 0xc(r30)
/* 8005DEC4 0005AE24 93 FE 00 08 */ stw r31, 8(r30)
lbl_8005DEC8:
/* 8005DEC8 0005AE28 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8005DECC 0005AE2C 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 8005DED0 0005AE30 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 8005DED4 0005AE34 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 8005DED8 0005AE38 7C 08 03 A6 */ mtlr r0
/* 8005DEDC 0005AE3C 38 21 00 30 */ addi r1, r1, 0x30
/* 8005DEE0 0005AE40 4E 80 00 20 */ blr
.global sub_8005dee4
sub_8005dee4:
/* 8005DEE4 0005AE44 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8005DEE8 0005AE48 7C 08 02 A6 */ mflr r0
/* 8005DEEC 0005AE4C 38 80 FF FF */ li r4, -1
/* 8005DEF0 0005AE50 90 01 00 14 */ stw r0, 0x14(r1)
/* 8005DEF4 0005AE54 4B FF 91 F5 */ bl sub_800570e8
/* 8005DEF8 0005AE58 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8005DEFC 0005AE5C 7C 08 03 A6 */ mtlr r0
/* 8005DF00 0005AE60 38 21 00 10 */ addi r1, r1, 0x10
/* 8005DF04 0005AE64 4E 80 00 20 */ blr
.global Get2ndPVSLightFeature__9CGameAreaFUi
Get2ndPVSLightFeature__9CGameAreaFUi:
/* 8005DF08 0005AE68 80 63 01 2C */ lwz r3, 0x12c(r3)
/* 8005DF0C 0005AE6C 88 03 11 08 */ lbz r0, 0x1108(r3)
/* 8005DF10 0005AE70 80 63 00 A0 */ lwz r3, 0xa0(r3)
/* 8005DF14 0005AE74 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f
/* 8005DF18 0005AE78 41 82 00 0C */ beq lbl_8005DF24
/* 8005DF1C 0005AE7C 28 03 00 00 */ cmplwi r3, 0
/* 8005DF20 0005AE80 40 82 00 0C */ bne lbl_8005DF2C
lbl_8005DF24:
/* 8005DF24 0005AE84 38 60 FF FF */ li r3, -1
/* 8005DF28 0005AE88 4E 80 00 20 */ blr
lbl_8005DF2C:
/* 8005DF2C 0005AE8C 80 03 00 00 */ lwz r0, 0(r3)
/* 8005DF30 0005AE90 7C 60 22 14 */ add r3, r0, r4
/* 8005DF34 0005AE94 4E 80 00 20 */ blr
.global Get1stPVSLightFeature__9CGameAreaFUi
Get1stPVSLightFeature__9CGameAreaFUi:
/* 8005DF38 0005AE98 80 63 01 2C */ lwz r3, 0x12c(r3)
/* 8005DF3C 0005AE9C 80 63 00 A0 */ lwz r3, 0xa0(r3)
/* 8005DF40 0005AEA0 28 03 00 00 */ cmplwi r3, 0
/* 8005DF44 0005AEA4 40 82 00 0C */ bne lbl_8005DF50
/* 8005DF48 0005AEA8 38 60 FF FF */ li r3, -1
/* 8005DF4C 0005AEAC 4E 80 00 20 */ blr
lbl_8005DF50:
/* 8005DF50 0005AEB0 80 03 00 08 */ lwz r0, 8(r3)
/* 8005DF54 0005AEB4 80 A3 00 00 */ lwz r5, 0(r3)
/* 8005DF58 0005AEB8 7C 60 22 14 */ add r3, r0, r4
/* 8005DF5C 0005AEBC 7C 65 1A 14 */ add r3, r5, r3
/* 8005DF60 0005AEC0 4E 80 00 20 */ blr
.global LookupPVSUniqueID__9CGameAreaF9TUniqueId
LookupPVSUniqueID__9CGameAreaF9TUniqueId:
/* 8005DF64 0005AEC4 A0 05 00 00 */ lhz r0, 0(r5)
/* 8005DF68 0005AEC8 80 84 01 2C */ lwz r4, 0x12c(r4)
/* 8005DF6C 0005AECC 54 00 15 3A */ rlwinm r0, r0, 2, 0x14, 0x1d
/* 8005DF70 0005AED0 7C 84 02 14 */ add r4, r4, r0
/* 8005DF74 0005AED4 A0 04 00 AA */ lhz r0, 0xaa(r4)
/* 8005DF78 0005AED8 B0 03 00 00 */ sth r0, 0(r3)
/* 8005DF7C 0005AEDC 4E 80 00 20 */ blr
.global LookupPVSID__9CGameAreaF9TUniqueId
LookupPVSID__9CGameAreaF9TUniqueId:
/* 8005DF80 0005AEE0 A0 04 00 00 */ lhz r0, 0(r4)
/* 8005DF84 0005AEE4 80 63 01 2C */ lwz r3, 0x12c(r3)
/* 8005DF88 0005AEE8 54 00 15 3A */ rlwinm r0, r0, 2, 0x14, 0x1d
/* 8005DF8C 0005AEEC 7C 63 02 14 */ add r3, r3, r0
/* 8005DF90 0005AEF0 A0 63 00 A8 */ lhz r3, 0xa8(r3)
/* 8005DF94 0005AEF4 4E 80 00 20 */ blr
.global UpdateWeaponWorldLighting__9CGameAreaFf
UpdateWeaponWorldLighting__9CGameAreaFf:
/* 8005DF98 0005AEF8 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8005DF9C 0005AEFC 7C 08 02 A6 */ mflr r0
/* 8005DFA0 0005AF00 C0 62 87 00 */ lfs f3, lbl_805AA420@sda21(r2)
/* 8005DFA4 0005AF04 90 01 00 34 */ stw r0, 0x34(r1)
/* 8005DFA8 0005AF08 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 8005DFAC 0005AF0C 93 C1 00 28 */ stw r30, 0x28(r1)
/* 8005DFB0 0005AF10 93 A1 00 24 */ stw r29, 0x24(r1)
/* 8005DFB4 0005AF14 80 83 01 2C */ lwz r4, 0x12c(r3)
/* 8005DFB8 0005AF18 C0 84 11 28 */ lfs f4, 0x1128(r4)
/* 8005DFBC 0005AF1C D0 81 00 0C */ stfs f4, 0xc(r1)
/* 8005DFC0 0005AF20 80 83 01 2C */ lwz r4, 0x12c(r3)
/* 8005DFC4 0005AF24 C0 04 11 2C */ lfs f0, 0x112c(r4)
/* 8005DFC8 0005AF28 FC 03 00 00 */ fcmpu cr0, f3, f0
/* 8005DFCC 0005AF2C 41 82 00 4C */ beq lbl_8005E018
/* 8005DFD0 0005AF30 C0 44 11 30 */ lfs f2, 0x1130(r4)
/* 8005DFD4 0005AF34 EC A1 00 32 */ fmuls f5, f1, f0
/* 8005DFD8 0005AF38 EC 02 20 28 */ fsubs f0, f2, f4
/* 8005DFDC 0005AF3C FC 00 02 10 */ fabs f0, f0
/* 8005DFE0 0005AF40 FC 00 00 18 */ frsp f0, f0
/* 8005DFE4 0005AF44 FC 00 28 40 */ fcmpo cr0, f0, f5
/* 8005DFE8 0005AF48 40 80 00 14 */ bge lbl_8005DFFC
/* 8005DFEC 0005AF4C D0 41 00 0C */ stfs f2, 0xc(r1)
/* 8005DFF0 0005AF50 80 83 01 2C */ lwz r4, 0x12c(r3)
/* 8005DFF4 0005AF54 D0 64 11 34 */ stfs f3, 0x1134(r4)
/* 8005DFF8 0005AF58 48 00 00 20 */ b lbl_8005E018
lbl_8005DFFC:
/* 8005DFFC 0005AF5C FC 02 20 40 */ fcmpo cr0, f2, f4
/* 8005E000 0005AF60 40 80 00 10 */ bge lbl_8005E010
/* 8005E004 0005AF64 EC 04 28 28 */ fsubs f0, f4, f5
/* 8005E008 0005AF68 D0 01 00 0C */ stfs f0, 0xc(r1)
/* 8005E00C 0005AF6C 48 00 00 0C */ b lbl_8005E018
lbl_8005E010:
/* 8005E010 0005AF70 EC 04 28 2A */ fadds f0, f4, f5
/* 8005E014 0005AF74 D0 01 00 0C */ stfs f0, 0xc(r1)
lbl_8005E018:
/* 8005E018 0005AF78 80 83 01 2C */ lwz r4, 0x12c(r3)
/* 8005E01C 0005AF7C C0 A2 87 00 */ lfs f5, lbl_805AA420@sda21(r2)
/* 8005E020 0005AF80 C0 04 11 34 */ lfs f0, 0x1134(r4)
/* 8005E024 0005AF84 FC 05 00 00 */ fcmpu cr0, f5, f0
/* 8005E028 0005AF88 41 82 00 A4 */ beq lbl_8005E0CC
/* 8005E02C 0005AF8C C0 84 11 28 */ lfs f4, 0x1128(r4)
/* 8005E030 0005AF90 C0 01 00 0C */ lfs f0, 0xc(r1)
/* 8005E034 0005AF94 D0 81 00 08 */ stfs f4, 8(r1)
/* 8005E038 0005AF98 80 83 01 2C */ lwz r4, 0x12c(r3)
/* 8005E03C 0005AF9C C0 44 11 38 */ lfs f2, 0x1138(r4)
/* 8005E040 0005AFA0 C0 64 11 34 */ lfs f3, 0x1134(r4)
/* 8005E044 0005AFA4 EC 02 00 28 */ fsubs f0, f2, f0
/* 8005E048 0005AFA8 EC 21 00 F2 */ fmuls f1, f1, f3
/* 8005E04C 0005AFAC FC 00 02 10 */ fabs f0, f0
/* 8005E050 0005AFB0 FC 00 00 18 */ frsp f0, f0
/* 8005E054 0005AFB4 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 8005E058 0005AFB8 40 80 00 14 */ bge lbl_8005E06C
/* 8005E05C 0005AFBC D0 41 00 08 */ stfs f2, 8(r1)
/* 8005E060 0005AFC0 80 83 01 2C */ lwz r4, 0x12c(r3)
/* 8005E064 0005AFC4 D0 A4 11 34 */ stfs f5, 0x1134(r4)
/* 8005E068 0005AFC8 48 00 00 20 */ b lbl_8005E088
lbl_8005E06C:
/* 8005E06C 0005AFCC FC 02 20 40 */ fcmpo cr0, f2, f4
/* 8005E070 0005AFD0 40 80 00 10 */ bge lbl_8005E080
/* 8005E074 0005AFD4 EC 04 08 28 */ fsubs f0, f4, f1
/* 8005E078 0005AFD8 D0 01 00 08 */ stfs f0, 8(r1)
/* 8005E07C 0005AFDC 48 00 00 0C */ b lbl_8005E088
lbl_8005E080:
/* 8005E080 0005AFE0 EC 04 08 2A */ fadds f0, f4, f1
/* 8005E084 0005AFE4 D0 01 00 08 */ stfs f0, 8(r1)
lbl_8005E088:
/* 8005E088 0005AFE8 80 83 01 2C */ lwz r4, 0x12c(r3)
/* 8005E08C 0005AFEC C0 22 87 00 */ lfs f1, lbl_805AA420@sda21(r2)
/* 8005E090 0005AFF0 C0 04 11 2C */ lfs f0, 0x112c(r4)
/* 8005E094 0005AFF4 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 8005E098 0005AFF8 41 82 00 2C */ beq lbl_8005E0C4
/* 8005E09C 0005AFFC C0 21 00 0C */ lfs f1, 0xc(r1)
/* 8005E0A0 0005B000 C0 01 00 08 */ lfs f0, 8(r1)
/* 8005E0A4 0005B004 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8005E0A8 0005B008 40 80 00 0C */ bge lbl_8005E0B4
/* 8005E0AC 0005B00C 38 81 00 0C */ addi r4, r1, 0xc
/* 8005E0B0 0005B010 48 00 00 08 */ b lbl_8005E0B8
lbl_8005E0B4:
/* 8005E0B4 0005B014 38 81 00 08 */ addi r4, r1, 8
lbl_8005E0B8:
/* 8005E0B8 0005B018 C0 04 00 00 */ lfs f0, 0(r4)
/* 8005E0BC 0005B01C D0 01 00 0C */ stfs f0, 0xc(r1)
/* 8005E0C0 0005B020 48 00 00 0C */ b lbl_8005E0CC
lbl_8005E0C4:
/* 8005E0C4 0005B024 C0 01 00 08 */ lfs f0, 8(r1)
/* 8005E0C8 0005B028 D0 01 00 0C */ stfs f0, 0xc(r1)
lbl_8005E0CC:
/* 8005E0CC 0005B02C 80 83 01 2C */ lwz r4, 0x12c(r3)
/* 8005E0D0 0005B030 C0 41 00 0C */ lfs f2, 0xc(r1)
/* 8005E0D4 0005B034 C0 24 11 28 */ lfs f1, 0x1128(r4)
/* 8005E0D8 0005B038 C0 02 87 04 */ lfs f0, lbl_805AA424@sda21(r2)
/* 8005E0DC 0005B03C EC 21 10 28 */ fsubs f1, f1, f2
/* 8005E0E0 0005B040 FC 20 0A 10 */ fabs f1, f1
/* 8005E0E4 0005B044 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8005E0E8 0005B048 41 80 00 70 */ blt lbl_8005E158
/* 8005E0EC 0005B04C D0 44 11 28 */ stfs f2, 0x1128(r4)
/* 8005E0F0 0005B050 3B E0 00 01 */ li r31, 1
/* 8005E0F4 0005B054 80 63 01 2C */ lwz r3, 0x12c(r3)
/* 8005E0F8 0005B058 83 C3 10 C0 */ lwz r30, 0x10c0(r3)
/* 8005E0FC 0005B05C AB BE 20 08 */ lha r29, 0x2008(r30)
/* 8005E100 0005B060 48 00 00 50 */ b lbl_8005E150
lbl_8005E104:
/* 8005E104 0005B064 7F C3 F3 78 */ mr r3, r30
/* 8005E108 0005B068 7F A4 EB 78 */ mr r4, r29
/* 8005E10C 0005B06C 4B FB 1C 09 */ bl __vc__11CObjectListFi
/* 8005E110 0005B070 7C 64 1B 78 */ mr r4, r3
/* 8005E114 0005B074 38 61 00 10 */ addi r3, r1, 0x10
/* 8005E118 0005B078 48 05 1B 79 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity"
/* 8005E11C 0005B07C 80 63 00 04 */ lwz r3, 4(r3)
/* 8005E120 0005B080 28 03 00 00 */ cmplwi r3, 0
/* 8005E124 0005B084 41 82 00 10 */ beq lbl_8005E134
/* 8005E128 0005B088 88 03 00 E7 */ lbz r0, 0xe7(r3)
/* 8005E12C 0005B08C 53 E0 1F 38 */ rlwimi r0, r31, 3, 0x1c, 0x1c
/* 8005E130 0005B090 98 03 00 E7 */ stb r0, 0xe7(r3)
lbl_8005E134:
/* 8005E134 0005B094 2C 1D FF FF */ cmpwi r29, -1
/* 8005E138 0005B098 41 82 00 14 */ beq lbl_8005E14C
/* 8005E13C 0005B09C 57 A3 18 38 */ slwi r3, r29, 3
/* 8005E140 0005B0A0 38 03 00 08 */ addi r0, r3, 8
/* 8005E144 0005B0A4 7F BE 02 AE */ lhax r29, r30, r0
/* 8005E148 0005B0A8 48 00 00 08 */ b lbl_8005E150
lbl_8005E14C:
/* 8005E14C 0005B0AC 3B A0 FF FF */ li r29, -1
lbl_8005E150:
/* 8005E150 0005B0B0 2C 1D FF FF */ cmpwi r29, -1
/* 8005E154 0005B0B4 40 82 FF B0 */ bne lbl_8005E104
lbl_8005E158:
/* 8005E158 0005B0B8 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8005E15C 0005B0BC 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 8005E160 0005B0C0 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 8005E164 0005B0C4 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 8005E168 0005B0C8 7C 08 03 A6 */ mtlr r0
/* 8005E16C 0005B0CC 38 21 00 30 */ addi r1, r1, 0x30
/* 8005E170 0005B0D0 4E 80 00 20 */ blr
.global UpdateThermalVisor__9CGameAreaFf
UpdateThermalVisor__9CGameAreaFf:
/* 8005E174 0005B0D4 80 83 01 2C */ lwz r4, 0x12c(r3)
/* 8005E178 0005B0D8 C0 42 87 00 */ lfs f2, lbl_805AA420@sda21(r2)
/* 8005E17C 0005B0DC C0 04 11 20 */ lfs f0, 0x1120(r4)
/* 8005E180 0005B0E0 FC 02 00 00 */ fcmpu cr0, f2, f0
/* 8005E184 0005B0E4 4D 82 00 20 */ beqlr
/* 8005E188 0005B0E8 C0 64 11 1C */ lfs f3, 0x111c(r4)
/* 8005E18C 0005B0EC EC 81 00 32 */ fmuls f4, f1, f0
/* 8005E190 0005B0F0 C0 24 11 24 */ lfs f1, 0x1124(r4)
/* 8005E194 0005B0F4 EC 01 18 28 */ fsubs f0, f1, f3
/* 8005E198 0005B0F8 FC 00 02 10 */ fabs f0, f0
/* 8005E19C 0005B0FC FC 00 00 18 */ frsp f0, f0
/* 8005E1A0 0005B100 FC 00 20 40 */ fcmpo cr0, f0, f4
/* 8005E1A4 0005B104 40 80 00 10 */ bge lbl_8005E1B4
/* 8005E1A8 0005B108 FC 60 08 90 */ fmr f3, f1
/* 8005E1AC 0005B10C D0 44 11 20 */ stfs f2, 0x1120(r4)
/* 8005E1B0 0005B110 48 00 00 18 */ b lbl_8005E1C8
lbl_8005E1B4:
/* 8005E1B4 0005B114 FC 01 18 40 */ fcmpo cr0, f1, f3
/* 8005E1B8 0005B118 40 80 00 0C */ bge lbl_8005E1C4
/* 8005E1BC 0005B11C EC 63 20 28 */ fsubs f3, f3, f4
/* 8005E1C0 0005B120 48 00 00 08 */ b lbl_8005E1C8
lbl_8005E1C4:
/* 8005E1C4 0005B124 EC 63 20 2A */ fadds f3, f3, f4
lbl_8005E1C8:
/* 8005E1C8 0005B128 80 63 01 2C */ lwz r3, 0x12c(r3)
/* 8005E1CC 0005B12C D0 63 11 1C */ stfs f3, 0x111c(r3)
/* 8005E1D0 0005B130 4E 80 00 20 */ blr
.global SetWeaponWorldLighting__9CGameAreaFff
SetWeaponWorldLighting__9CGameAreaFff:
/* 8005E1D4 0005B134 80 83 01 2C */ lwz r4, 0x12c(r3)
/* 8005E1D8 0005B138 D0 24 11 34 */ stfs f1, 0x1134(r4)
/* 8005E1DC 0005B13C 80 63 01 2C */ lwz r3, 0x12c(r3)
/* 8005E1E0 0005B140 D0 43 11 38 */ stfs f2, 0x1138(r3)
/* 8005E1E4 0005B144 4E 80 00 20 */ blr
.global sub_8005e1e8
sub_8005e1e8:
/* 8005E1E8 0005B148 80 83 01 2C */ lwz r4, 0x12c(r3)
/* 8005E1EC 0005B14C D0 24 11 2C */ stfs f1, 0x112c(r4)
/* 8005E1F0 0005B150 80 63 01 2C */ lwz r3, 0x12c(r3)
/* 8005E1F4 0005B154 D0 43 11 30 */ stfs f2, 0x1130(r3)
/* 8005E1F8 0005B158 4E 80 00 20 */ blr
.global sub_8005e1fc
sub_8005e1fc:
/* 8005E1FC 0005B15C 80 83 01 2C */ lwz r4, 0x12c(r3)
/* 8005E200 0005B160 D0 24 11 20 */ stfs f1, 0x1120(r4)
/* 8005E204 0005B164 80 63 01 2C */ lwz r3, 0x12c(r3)
/* 8005E208 0005B168 D0 43 11 24 */ stfs f2, 0x1124(r3)
/* 8005E20C 0005B16C 4E 80 00 20 */ blr
.global sub_8005e210
sub_8005e210:
/* 8005E210 0005B170 80 A3 01 2C */ lwz r5, 0x12c(r3)
/* 8005E214 0005B174 28 04 00 00 */ cmplwi r4, 0
/* 8005E218 0005B178 90 85 10 D8 */ stw r4, 0x10d8(r5)
/* 8005E21C 0005B17C 4D 82 00 20 */ beqlr
/* 8005E220 0005B180 C0 04 00 40 */ lfs f0, 0x40(r4)
/* 8005E224 0005B184 80 A3 01 2C */ lwz r5, 0x12c(r3)
/* 8005E228 0005B188 D0 05 11 1C */ stfs f0, 0x111c(r5)
/* 8005E22C 0005B18C C0 04 00 48 */ lfs f0, 0x48(r4)
/* 8005E230 0005B190 80 63 01 2C */ lwz r3, 0x12c(r3)
/* 8005E234 0005B194 D0 03 11 28 */ stfs f0, 0x1128(r3)
/* 8005E238 0005B198 4E 80 00 20 */ blr
.global GetXRayFogDistance__9CGameAreaFv
GetXRayFogDistance__9CGameAreaFv:
/* 8005E23C 0005B19C 80 63 01 2C */ lwz r3, 0x12c(r3)
/* 8005E240 0005B1A0 80 63 10 D8 */ lwz r3, 0x10d8(r3)
/* 8005E244 0005B1A4 28 03 00 00 */ cmplwi r3, 0
/* 8005E248 0005B1A8 41 82 00 0C */ beq lbl_8005E254
/* 8005E24C 0005B1AC C0 23 00 44 */ lfs f1, 0x44(r3)
/* 8005E250 0005B1B0 4E 80 00 20 */ blr
lbl_8005E254:
/* 8005E254 0005B1B4 C0 22 87 08 */ lfs f1, lbl_805AA428@sda21(r2)
/* 8005E258 0005B1B8 4E 80 00 20 */ blr
.global SetLoadPauseState__9CGameAreaFb
SetLoadPauseState__9CGameAreaFb:
/* 8005E25C 0005B1BC 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8005E260 0005B1C0 7C 08 02 A6 */ mflr r0
/* 8005E264 0005B1C4 90 01 00 24 */ stw r0, 0x24(r1)
/* 8005E268 0005B1C8 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8005E26C 0005B1CC 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8005E270 0005B1D0 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8005E274 0005B1D4 7C 7D 1B 78 */ mr r29, r3
/* 8005E278 0005B1D8 88 63 00 F0 */ lbz r3, 0xf0(r3)
/* 8005E27C 0005B1DC 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f
/* 8005E280 0005B1E0 40 82 00 50 */ bne lbl_8005E2D0
/* 8005E284 0005B1E4 50 83 26 F6 */ rlwimi r3, r4, 4, 0x1b, 0x1b
/* 8005E288 0005B1E8 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 8005E28C 0005B1EC 98 7D 00 F0 */ stb r3, 0xf0(r29)
/* 8005E290 0005B1F0 41 82 00 40 */ beq lbl_8005E2D0
/* 8005E294 0005B1F4 3B C0 00 00 */ li r30, 0
/* 8005E298 0005B1F8 3B E0 00 00 */ li r31, 0
/* 8005E29C 0005B1FC 48 00 00 28 */ b lbl_8005E2C4
lbl_8005E2A0:
/* 8005E2A0 0005B200 80 1D 00 E8 */ lwz r0, 0xe8(r29)
/* 8005E2A4 0005B204 7C 60 FA 14 */ add r3, r0, r31
/* 8005E2A8 0005B208 80 83 00 00 */ lwz r4, 0(r3)
/* 8005E2AC 0005B20C 80 04 00 10 */ lwz r0, 0x10(r4)
/* 8005E2B0 0005B210 28 00 00 00 */ cmplwi r0, 0
/* 8005E2B4 0005B214 40 82 00 08 */ bne lbl_8005E2BC
/* 8005E2B8 0005B218 48 2E 2A 89 */ bl Unlock__6CTokenFv
lbl_8005E2BC:
/* 8005E2BC 0005B21C 3B FF 00 08 */ addi r31, r31, 8
/* 8005E2C0 0005B220 3B DE 00 01 */ addi r30, r30, 1
lbl_8005E2C4:
/* 8005E2C4 0005B224 80 1D 00 E0 */ lwz r0, 0xe0(r29)
/* 8005E2C8 0005B228 7C 1E 00 00 */ cmpw r30, r0
/* 8005E2CC 0005B22C 41 80 FF D4 */ blt lbl_8005E2A0
lbl_8005E2D0:
/* 8005E2D0 0005B230 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8005E2D4 0005B234 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8005E2D8 0005B238 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8005E2DC 0005B23C 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8005E2E0 0005B240 7C 08 03 A6 */ mtlr r0
/* 8005E2E4 0005B244 38 21 00 20 */ addi r1, r1, 0x20
/* 8005E2E8 0005B248 4E 80 00 20 */ blr
.global GetLayerScriptBuffer__9CGameAreaFi
GetLayerScriptBuffer__9CGameAreaFi:
/* 8005E2EC 0005B24C 88 04 00 F0 */ lbz r0, 0xf0(r4)
/* 8005E2F0 0005B250 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8005E2F4 0005B254 41 82 00 34 */ beq lbl_8005E328
/* 8005E2F8 0005B258 80 84 01 2C */ lwz r4, 0x12c(r4)
/* 8005E2FC 0005B25C 80 05 00 00 */ lwz r0, 0(r5)
/* 8005E300 0005B260 80 A4 11 18 */ lwz r5, 0x1118(r4)
/* 8005E304 0005B264 54 00 18 38 */ slwi r0, r0, 3
/* 8005E308 0005B268 80 84 10 CC */ lwz r4, 0x10cc(r4)
/* 8005E30C 0005B26C 7C A5 02 14 */ add r5, r5, r0
/* 8005E310 0005B270 80 05 00 00 */ lwz r0, 0(r5)
/* 8005E314 0005B274 7C 04 02 14 */ add r0, r4, r0
/* 8005E318 0005B278 90 03 00 00 */ stw r0, 0(r3)
/* 8005E31C 0005B27C 80 05 00 04 */ lwz r0, 4(r5)
/* 8005E320 0005B280 90 03 00 04 */ stw r0, 4(r3)
/* 8005E324 0005B284 4E 80 00 20 */ blr
lbl_8005E328:
/* 8005E328 0005B288 38 00 00 00 */ li r0, 0
/* 8005E32C 0005B28C 90 03 00 00 */ stw r0, 0(r3)
/* 8005E330 0005B290 80 0D 82 E8 */ lwz r0, lbl_805A6EA8@sda21(r13)
/* 8005E334 0005B294 90 03 00 04 */ stw r0, 4(r3)
/* 8005E338 0005B298 4E 80 00 20 */ blr
.global IsFinishedOccluding__9CGameAreaCFv
IsFinishedOccluding__9CGameAreaCFv:
/* 8005E33C 0005B29C 80 63 01 2C */ lwz r3, 0x12c(r3)
/* 8005E340 0005B2A0 80 03 10 DC */ lwz r0, 0x10dc(r3)
/* 8005E344 0005B2A4 2C 00 00 00 */ cmpwi r0, 0
/* 8005E348 0005B2A8 40 82 00 10 */ bne lbl_8005E358
/* 8005E34C 0005B2AC 88 03 11 08 */ lbz r0, 0x1108(r3)
/* 8005E350 0005B2B0 54 03 E7 FE */ rlwinm r3, r0, 0x1c, 0x1f, 0x1f
/* 8005E354 0005B2B4 4E 80 00 20 */ blr
lbl_8005E358:
/* 8005E358 0005B2B8 38 60 00 01 */ li r3, 1
/* 8005E35C 0005B2BC 4E 80 00 20 */ blr
.global IGetScriptingMemoryAlways__14CDummyGameAreaCFv
IGetScriptingMemoryAlways__14CDummyGameAreaCFv:
/* 8005E360 0005B2C0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8005E364 0005B2C4 7C 08 02 A6 */ mflr r0
/* 8005E368 0005B2C8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8005E36C 0005B2CC 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8005E370 0005B2D0 7C 7F 1B 78 */ mr r31, r3
/* 8005E374 0005B2D4 48 00 46 51 */ bl GetScriptingMemoryAlways__FRC9IGameArea
/* 8005E378 0005B2D8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8005E37C 0005B2DC 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8005E380 0005B2E0 7C 08 03 A6 */ mtlr r0
/* 8005E384 0005B2E4 38 21 00 10 */ addi r1, r1, 0x10
/* 8005E388 0005B2E8 4E 80 00 20 */ blr
.global IGetAreaId__14CDummyGameAreaCFv
IGetAreaId__14CDummyGameAreaCFv:
/* 8005E38C 0005B2EC 80 63 00 10 */ lwz r3, 0x10(r3)
/* 8005E390 0005B2F0 4E 80 00 20 */ blr
.global IGetAreaAssetID__14CDummyGameAreaCFv
IGetAreaAssetID__14CDummyGameAreaCFv:
/* 8005E394 0005B2F4 80 63 00 0C */ lwz r3, 0xc(r3)
/* 8005E398 0005B2F8 4E 80 00 20 */ blr
.global IIsActive__14CDummyGameAreaCFv
IIsActive__14CDummyGameAreaCFv:
/* 8005E39C 0005B2FC 38 60 00 01 */ li r3, 1
/* 8005E3A0 0005B300 4E 80 00 20 */ blr
.global IGetAttachedAreaId__14CDummyGameAreaCFi
IGetAttachedAreaId__14CDummyGameAreaCFi:
/* 8005E3A4 0005B304 80 84 00 50 */ lwz r4, 0x50(r4)
/* 8005E3A8 0005B308 54 A0 08 3C */ slwi r0, r5, 1
/* 8005E3AC 0005B30C 7C 04 02 2E */ lhzx r0, r4, r0
/* 8005E3B0 0005B310 90 03 00 00 */ stw r0, 0(r3)
/* 8005E3B4 0005B314 4E 80 00 20 */ blr
.global IGetNumAttachedAreas__14CDummyGameAreaCFv
IGetNumAttachedAreas__14CDummyGameAreaCFv:
/* 8005E3B8 0005B318 80 63 00 48 */ lwz r3, 0x48(r3)
/* 8005E3BC 0005B31C 4E 80 00 20 */ blr
.global IGetStringTableAssetId__14CDummyGameAreaCFv
IGetStringTableAssetId__14CDummyGameAreaCFv:
/* 8005E3C0 0005B320 80 63 00 08 */ lwz r3, 8(r3)
/* 8005E3C4 0005B324 4E 80 00 20 */ blr
.global IGetTM__14CDummyGameAreaCFv
IGetTM__14CDummyGameAreaCFv:
/* 8005E3C8 0005B328 38 63 00 14 */ addi r3, r3, 0x14
/* 8005E3CC 0005B32C 4E 80 00 20 */ blr
.global __ct__14CDummyGameAreaFR12CInputStreamii
__ct__14CDummyGameAreaFR12CInputStreamii:
/* 8005E3D0 0005B330 94 21 FE C0 */ stwu r1, -0x140(r1)
/* 8005E3D4 0005B334 7C 08 02 A6 */ mflr r0
/* 8005E3D8 0005B338 3C E0 80 3E */ lis r7, lbl_803DA26C@ha
/* 8005E3DC 0005B33C 90 01 01 44 */ stw r0, 0x144(r1)
/* 8005E3E0 0005B340 38 07 A2 6C */ addi r0, r7, lbl_803DA26C@l
/* 8005E3E4 0005B344 38 E0 FF FF */ li r7, -1
/* 8005E3E8 0005B348 BF 41 01 28 */ stmw r26, 0x128(r1)
/* 8005E3EC 0005B34C 7C 7D 1B 78 */ mr r29, r3
/* 8005E3F0 0005B350 3C 60 80 3E */ lis r3, lbl_803DA208@ha
/* 8005E3F4 0005B354 7C 9E 23 78 */ mr r30, r4
/* 8005E3F8 0005B358 7C DF 33 78 */ mr r31, r6
/* 8005E3FC 0005B35C 90 1D 00 00 */ stw r0, 0(r29)
/* 8005E400 0005B360 38 03 A2 08 */ addi r0, r3, lbl_803DA208@l
/* 8005E404 0005B364 3C 60 80 5A */ lis r3, skIdentity4f@ha
/* 8005E408 0005B368 90 1D 00 00 */ stw r0, 0(r29)
/* 8005E40C 0005B36C 38 03 66 70 */ addi r0, r3, skIdentity4f@l
/* 8005E410 0005B370 7C 04 03 78 */ mr r4, r0
/* 8005E414 0005B374 38 7D 00 14 */ addi r3, r29, 0x14
/* 8005E418 0005B378 90 BD 00 04 */ stw r5, 4(r29)
/* 8005E41C 0005B37C 90 FD 00 08 */ stw r7, 8(r29)
/* 8005E420 0005B380 48 2B 47 55 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 8005E424 0005B384 38 00 00 00 */ li r0, 0
/* 8005E428 0005B388 7F C3 F3 78 */ mr r3, r30
/* 8005E42C 0005B38C 90 1D 00 48 */ stw r0, 0x48(r29)
/* 8005E430 0005B390 90 1D 00 4C */ stw r0, 0x4c(r29)
/* 8005E434 0005B394 90 1D 00 50 */ stw r0, 0x50(r29)
/* 8005E438 0005B398 90 1D 00 58 */ stw r0, 0x58(r29)
/* 8005E43C 0005B39C 90 1D 00 5C */ stw r0, 0x5c(r29)
/* 8005E440 0005B3A0 90 1D 00 60 */ stw r0, 0x60(r29)
/* 8005E444 0005B3A4 48 2E 08 41 */ bl ReadLong__12CInputStreamFv
/* 8005E448 0005B3A8 90 7D 00 08 */ stw r3, 8(r29)
/* 8005E44C 0005B3AC 7F C4 F3 78 */ mr r4, r30
/* 8005E450 0005B3B0 38 61 00 A8 */ addi r3, r1, 0xa8
/* 8005E454 0005B3B4 48 2B 4E 89 */ bl __ct__12CTransform4fFR12CInputStream
/* 8005E458 0005B3B8 7C 64 1B 78 */ mr r4, r3
/* 8005E45C 0005B3BC 38 7D 00 14 */ addi r3, r29, 0x14
/* 8005E460 0005B3C0 48 2B 46 E1 */ bl __as__12CTransform4fFRC12CTransform4f
/* 8005E464 0005B3C4 7F C4 F3 78 */ mr r4, r30
/* 8005E468 0005B3C8 38 61 00 90 */ addi r3, r1, 0x90
/* 8005E46C 0005B3CC 48 2D A0 D1 */ bl __ct__6CAABoxFR12CInputStream
/* 8005E470 0005B3D0 7F C3 F3 78 */ mr r3, r30
/* 8005E474 0005B3D4 48 2E 08 11 */ bl ReadLong__12CInputStreamFv
/* 8005E478 0005B3D8 2C 1F 00 0F */ cmpwi r31, 0xf
/* 8005E47C 0005B3DC 90 7D 00 0C */ stw r3, 0xc(r29)
/* 8005E480 0005B3E0 40 81 00 10 */ ble lbl_8005E490
/* 8005E484 0005B3E4 7F C3 F3 78 */ mr r3, r30
/* 8005E488 0005B3E8 48 2E 07 FD */ bl ReadLong__12CInputStreamFv
/* 8005E48C 0005B3EC 90 7D 00 10 */ stw r3, 0x10(r29)
lbl_8005E490:
/* 8005E490 0005B3F0 38 00 00 00 */ li r0, 0
/* 8005E494 0005B3F4 7F C3 F3 78 */ mr r3, r30
/* 8005E498 0005B3F8 90 01 00 54 */ stw r0, 0x54(r1)
/* 8005E49C 0005B3FC 90 01 00 58 */ stw r0, 0x58(r1)
/* 8005E4A0 0005B400 90 01 00 5C */ stw r0, 0x5c(r1)
/* 8005E4A4 0005B404 48 2E 07 E1 */ bl ReadLong__12CInputStreamFv
/* 8005E4A8 0005B408 7C 7A 1B 78 */ mr r26, r3
/* 8005E4AC 0005B40C 38 61 00 50 */ addi r3, r1, 0x50
/* 8005E4B0 0005B410 7F 44 D3 78 */ mr r4, r26
/* 8005E4B4 0005B414 48 00 5E 4D */ bl "reserve__Q24rstl37vector<Us,Q24rstl17rmemory_allocator>Fi"
/* 8005E4B8 0005B418 3B 60 00 00 */ li r27, 0
/* 8005E4BC 0005B41C 48 00 00 60 */ b lbl_8005E51C
lbl_8005E4C0:
/* 8005E4C0 0005B420 7F C3 F3 78 */ mr r3, r30
/* 8005E4C4 0005B424 48 2E 07 ED */ bl ReadShort__12CInputStreamFv
/* 8005E4C8 0005B428 80 01 00 54 */ lwz r0, 0x54(r1)
/* 8005E4CC 0005B42C 7C 7C 1B 78 */ mr r28, r3
/* 8005E4D0 0005B430 80 A1 00 58 */ lwz r5, 0x58(r1)
/* 8005E4D4 0005B434 7C 00 28 00 */ cmpw r0, r5
/* 8005E4D8 0005B438 41 80 00 1C */ blt lbl_8005E4F4
/* 8005E4DC 0005B43C 2C 05 00 00 */ cmpwi r5, 0
/* 8005E4E0 0005B440 38 61 00 50 */ addi r3, r1, 0x50
/* 8005E4E4 0005B444 38 80 00 04 */ li r4, 4
/* 8005E4E8 0005B448 41 82 00 08 */ beq lbl_8005E4F0
/* 8005E4EC 0005B44C 54 A4 08 3C */ slwi r4, r5, 1
lbl_8005E4F0:
/* 8005E4F0 0005B450 48 00 5E 11 */ bl "reserve__Q24rstl37vector<Us,Q24rstl17rmemory_allocator>Fi"
lbl_8005E4F4:
/* 8005E4F4 0005B454 80 01 00 54 */ lwz r0, 0x54(r1)
/* 8005E4F8 0005B458 80 61 00 5C */ lwz r3, 0x5c(r1)
/* 8005E4FC 0005B45C 54 00 08 3C */ slwi r0, r0, 1
/* 8005E500 0005B460 7C 63 02 15 */ add. r3, r3, r0
/* 8005E504 0005B464 41 82 00 08 */ beq lbl_8005E50C
/* 8005E508 0005B468 B3 83 00 00 */ sth r28, 0(r3)
lbl_8005E50C:
/* 8005E50C 0005B46C 80 61 00 54 */ lwz r3, 0x54(r1)
/* 8005E510 0005B470 3B 7B 00 01 */ addi r27, r27, 1
/* 8005E514 0005B474 38 03 00 01 */ addi r0, r3, 1
/* 8005E518 0005B478 90 01 00 54 */ stw r0, 0x54(r1)
lbl_8005E51C:
/* 8005E51C 0005B47C 7C 1B D0 00 */ cmpw r27, r26
/* 8005E520 0005B480 41 80 FF A0 */ blt lbl_8005E4C0
/* 8005E524 0005B484 38 7D 00 44 */ addi r3, r29, 0x44
/* 8005E528 0005B488 38 81 00 50 */ addi r4, r1, 0x50
/* 8005E52C 0005B48C 48 00 04 DD */ bl sub_8005ea08
/* 8005E530 0005B490 80 01 00 54 */ lwz r0, 0x54(r1)
/* 8005E534 0005B494 80 61 00 5C */ lwz r3, 0x5c(r1)
/* 8005E538 0005B498 54 00 08 3C */ slwi r0, r0, 1
/* 8005E53C 0005B49C 7C 03 02 14 */ add r0, r3, r0
/* 8005E540 0005B4A0 90 61 00 44 */ stw r3, 0x44(r1)
/* 8005E544 0005B4A4 7C 64 1B 78 */ mr r4, r3
/* 8005E548 0005B4A8 90 01 00 4C */ stw r0, 0x4c(r1)
/* 8005E54C 0005B4AC 90 01 00 48 */ stw r0, 0x48(r1)
/* 8005E550 0005B4B0 90 61 00 40 */ stw r3, 0x40(r1)
/* 8005E554 0005B4B4 48 00 00 08 */ b lbl_8005E55C
lbl_8005E558:
/* 8005E558 0005B4B8 38 84 00 02 */ addi r4, r4, 2
lbl_8005E55C:
/* 8005E55C 0005B4BC 7C 04 00 40 */ cmplw r4, r0
/* 8005E560 0005B4C0 40 82 FF F8 */ bne lbl_8005E558
/* 8005E564 0005B4C4 28 03 00 00 */ cmplwi r3, 0
/* 8005E568 0005B4C8 41 82 00 08 */ beq lbl_8005E570
/* 8005E56C 0005B4CC 48 2B 73 C5 */ bl Free__7CMemoryFPCv
lbl_8005E570:
/* 8005E570 0005B4D0 7F C4 F3 78 */ mr r4, r30
/* 8005E574 0005B4D4 38 61 00 80 */ addi r3, r1, 0x80
/* 8005E578 0005B4D8 38 A1 00 0C */ addi r5, r1, 0xc
/* 8005E57C 0005B4DC 48 00 03 B9 */ bl ReadDependencyList__9CGameArea
/* 8005E580 0005B4E0 7F C4 F3 78 */ mr r4, r30
/* 8005E584 0005B4E4 38 61 00 70 */ addi r3, r1, 0x70
/* 8005E588 0005B4E8 38 A1 00 08 */ addi r5, r1, 8
/* 8005E58C 0005B4EC 48 00 03 A9 */ bl ReadDependencyList__9CGameArea
/* 8005E590 0005B4F0 80 01 00 74 */ lwz r0, 0x74(r1)
/* 8005E594 0005B4F4 80 61 00 7C */ lwz r3, 0x7c(r1)
/* 8005E598 0005B4F8 54 00 18 38 */ slwi r0, r0, 3
/* 8005E59C 0005B4FC 7C 03 02 14 */ add r0, r3, r0
/* 8005E5A0 0005B500 90 61 00 34 */ stw r3, 0x34(r1)
/* 8005E5A4 0005B504 7C 64 1B 78 */ mr r4, r3
/* 8005E5A8 0005B508 90 01 00 3C */ stw r0, 0x3c(r1)
/* 8005E5AC 0005B50C 90 01 00 38 */ stw r0, 0x38(r1)
/* 8005E5B0 0005B510 90 61 00 30 */ stw r3, 0x30(r1)
/* 8005E5B4 0005B514 48 00 00 08 */ b lbl_8005E5BC
lbl_8005E5B8:
/* 8005E5B8 0005B518 38 84 00 08 */ addi r4, r4, 8
lbl_8005E5BC:
/* 8005E5BC 0005B51C 7C 04 00 40 */ cmplw r4, r0
/* 8005E5C0 0005B520 40 82 FF F8 */ bne lbl_8005E5B8
/* 8005E5C4 0005B524 28 03 00 00 */ cmplwi r3, 0
/* 8005E5C8 0005B528 41 82 00 08 */ beq lbl_8005E5D0
/* 8005E5CC 0005B52C 48 2B 73 65 */ bl Free__7CMemoryFPCv
lbl_8005E5D0:
/* 8005E5D0 0005B530 80 01 00 84 */ lwz r0, 0x84(r1)
/* 8005E5D4 0005B534 80 61 00 8C */ lwz r3, 0x8c(r1)
/* 8005E5D8 0005B538 54 00 18 38 */ slwi r0, r0, 3
/* 8005E5DC 0005B53C 7C 03 02 14 */ add r0, r3, r0
/* 8005E5E0 0005B540 90 61 00 24 */ stw r3, 0x24(r1)
/* 8005E5E4 0005B544 7C 64 1B 78 */ mr r4, r3
/* 8005E5E8 0005B548 90 01 00 2C */ stw r0, 0x2c(r1)
/* 8005E5EC 0005B54C 90 01 00 28 */ stw r0, 0x28(r1)
/* 8005E5F0 0005B550 90 61 00 20 */ stw r3, 0x20(r1)
/* 8005E5F4 0005B554 48 00 00 08 */ b lbl_8005E5FC
lbl_8005E5F8:
/* 8005E5F8 0005B558 38 84 00 08 */ addi r4, r4, 8
lbl_8005E5FC:
/* 8005E5FC 0005B55C 7C 04 00 40 */ cmplw r4, r0
/* 8005E600 0005B560 40 82 FF F8 */ bne lbl_8005E5F8
/* 8005E604 0005B564 28 03 00 00 */ cmplwi r3, 0
/* 8005E608 0005B568 41 82 00 08 */ beq lbl_8005E610
/* 8005E60C 0005B56C 48 2B 73 25 */ bl Free__7CMemoryFPCv
lbl_8005E610:
/* 8005E610 0005B570 2C 1F 00 0D */ cmpwi r31, 0xd
/* 8005E614 0005B574 40 81 00 D8 */ ble lbl_8005E6EC
/* 8005E618 0005B578 38 00 00 00 */ li r0, 0
/* 8005E61C 0005B57C 7F C3 F3 78 */ mr r3, r30
/* 8005E620 0005B580 90 01 00 64 */ stw r0, 0x64(r1)
/* 8005E624 0005B584 90 01 00 68 */ stw r0, 0x68(r1)
/* 8005E628 0005B588 90 01 00 6C */ stw r0, 0x6c(r1)
/* 8005E62C 0005B58C 48 2E 06 59 */ bl ReadLong__12CInputStreamFv
/* 8005E630 0005B590 7C 7A 1B 78 */ mr r26, r3
/* 8005E634 0005B594 38 61 00 60 */ addi r3, r1, 0x60
/* 8005E638 0005B598 7F 44 D3 78 */ mr r4, r26
/* 8005E63C 0005B59C 48 00 54 E9 */ bl "reserve__Q24rstl37vector<Ui,Q24rstl17rmemory_allocator>Fi"
/* 8005E640 0005B5A0 3B 60 00 00 */ li r27, 0
/* 8005E644 0005B5A4 48 00 00 60 */ b lbl_8005E6A4
lbl_8005E648:
/* 8005E648 0005B5A8 7F C3 F3 78 */ mr r3, r30
/* 8005E64C 0005B5AC 48 2E 06 39 */ bl ReadLong__12CInputStreamFv
/* 8005E650 0005B5B0 80 01 00 64 */ lwz r0, 0x64(r1)
/* 8005E654 0005B5B4 7C 7F 1B 78 */ mr r31, r3
/* 8005E658 0005B5B8 80 A1 00 68 */ lwz r5, 0x68(r1)
/* 8005E65C 0005B5BC 7C 00 28 00 */ cmpw r0, r5
/* 8005E660 0005B5C0 41 80 00 1C */ blt lbl_8005E67C
/* 8005E664 0005B5C4 2C 05 00 00 */ cmpwi r5, 0
/* 8005E668 0005B5C8 38 61 00 60 */ addi r3, r1, 0x60
/* 8005E66C 0005B5CC 38 80 00 04 */ li r4, 4
/* 8005E670 0005B5D0 41 82 00 08 */ beq lbl_8005E678
/* 8005E674 0005B5D4 54 A4 08 3C */ slwi r4, r5, 1
lbl_8005E678:
/* 8005E678 0005B5D8 48 00 54 AD */ bl "reserve__Q24rstl37vector<Ui,Q24rstl17rmemory_allocator>Fi"
lbl_8005E67C:
/* 8005E67C 0005B5DC 80 01 00 64 */ lwz r0, 0x64(r1)
/* 8005E680 0005B5E0 80 61 00 6C */ lwz r3, 0x6c(r1)
/* 8005E684 0005B5E4 54 00 10 3A */ slwi r0, r0, 2
/* 8005E688 0005B5E8 7C 63 02 15 */ add. r3, r3, r0
/* 8005E68C 0005B5EC 41 82 00 08 */ beq lbl_8005E694
/* 8005E690 0005B5F0 93 E3 00 00 */ stw r31, 0(r3)
lbl_8005E694:
/* 8005E694 0005B5F4 80 61 00 64 */ lwz r3, 0x64(r1)
/* 8005E698 0005B5F8 3B 7B 00 01 */ addi r27, r27, 1
/* 8005E69C 0005B5FC 38 03 00 01 */ addi r0, r3, 1
/* 8005E6A0 0005B600 90 01 00 64 */ stw r0, 0x64(r1)
lbl_8005E6A4:
/* 8005E6A4 0005B604 7C 1B D0 00 */ cmpw r27, r26
/* 8005E6A8 0005B608 41 80 FF A0 */ blt lbl_8005E648
/* 8005E6AC 0005B60C 80 01 00 64 */ lwz r0, 0x64(r1)
/* 8005E6B0 0005B610 80 61 00 6C */ lwz r3, 0x6c(r1)
/* 8005E6B4 0005B614 54 00 10 3A */ slwi r0, r0, 2
/* 8005E6B8 0005B618 7C 03 02 14 */ add r0, r3, r0
/* 8005E6BC 0005B61C 90 61 00 14 */ stw r3, 0x14(r1)
/* 8005E6C0 0005B620 7C 64 1B 78 */ mr r4, r3
/* 8005E6C4 0005B624 90 01 00 1C */ stw r0, 0x1c(r1)
/* 8005E6C8 0005B628 90 01 00 18 */ stw r0, 0x18(r1)
/* 8005E6CC 0005B62C 90 61 00 10 */ stw r3, 0x10(r1)
/* 8005E6D0 0005B630 48 00 00 08 */ b lbl_8005E6D8
lbl_8005E6D4:
/* 8005E6D4 0005B634 38 84 00 04 */ addi r4, r4, 4
lbl_8005E6D8:
/* 8005E6D8 0005B638 7C 04 00 40 */ cmplw r4, r0
/* 8005E6DC 0005B63C 40 82 FF F8 */ bne lbl_8005E6D4
/* 8005E6E0 0005B640 28 03 00 00 */ cmplwi r3, 0
/* 8005E6E4 0005B644 41 82 00 08 */ beq lbl_8005E6EC
/* 8005E6E8 0005B648 48 2B 72 49 */ bl Free__7CMemoryFPCv
lbl_8005E6EC:
/* 8005E6EC 0005B64C 7F C3 F3 78 */ mr r3, r30
/* 8005E6F0 0005B650 48 2E 05 95 */ bl ReadLong__12CInputStreamFv
/* 8005E6F4 0005B654 7C 7A 1B 78 */ mr r26, r3
/* 8005E6F8 0005B658 38 7D 00 54 */ addi r3, r29, 0x54
/* 8005E6FC 0005B65C 7F 44 D3 78 */ mr r4, r26
/* 8005E700 0005B660 48 00 5C ED */ bl sub_800643ec
/* 8005E704 0005B664 3B 60 00 00 */ li r27, 0
/* 8005E708 0005B668 48 00 00 30 */ b lbl_8005E738
lbl_8005E70C:
/* 8005E70C 0005B66C 7F C4 F3 78 */ mr r4, r30
/* 8005E710 0005B670 38 61 00 D8 */ addi r3, r1, 0xd8
/* 8005E714 0005B674 38 BD 00 14 */ addi r5, r29, 0x14
/* 8005E718 0005B678 48 00 0C 69 */ bl __ct__Q29IGameArea4DockFR12CInputStreamRC12CTransform4f
/* 8005E71C 0005B67C 38 7D 00 54 */ addi r3, r29, 0x54
/* 8005E720 0005B680 38 81 00 D8 */ addi r4, r1, 0xd8
/* 8005E724 0005B684 48 00 00 35 */ bl sub_8005e758
/* 8005E728 0005B688 38 61 00 D8 */ addi r3, r1, 0xd8
/* 8005E72C 0005B68C 38 80 FF FF */ li r4, -1
/* 8005E730 0005B690 4B FF 89 B9 */ bl sub_800570e8
/* 8005E734 0005B694 3B 7B 00 01 */ addi r27, r27, 1
lbl_8005E738:
/* 8005E738 0005B698 7C 1B D0 00 */ cmpw r27, r26
/* 8005E73C 0005B69C 41 80 FF D0 */ blt lbl_8005E70C
/* 8005E740 0005B6A0 7F A3 EB 78 */ mr r3, r29
/* 8005E744 0005B6A4 BB 41 01 28 */ lmw r26, 0x128(r1)
/* 8005E748 0005B6A8 80 01 01 44 */ lwz r0, 0x144(r1)
/* 8005E74C 0005B6AC 7C 08 03 A6 */ mtlr r0
/* 8005E750 0005B6B0 38 21 01 40 */ addi r1, r1, 0x140
/* 8005E754 0005B6B4 4E 80 00 20 */ blr
.global sub_8005e758
sub_8005e758:
/* 8005E758 0005B6B8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8005E75C 0005B6BC 7C 08 02 A6 */ mflr r0
/* 8005E760 0005B6C0 90 01 00 14 */ stw r0, 0x14(r1)
/* 8005E764 0005B6C4 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8005E768 0005B6C8 7C 9F 23 78 */ mr r31, r4
/* 8005E76C 0005B6CC 93 C1 00 08 */ stw r30, 8(r1)
/* 8005E770 0005B6D0 7C 7E 1B 78 */ mr r30, r3
/* 8005E774 0005B6D4 80 03 00 04 */ lwz r0, 4(r3)
/* 8005E778 0005B6D8 80 A3 00 08 */ lwz r5, 8(r3)
/* 8005E77C 0005B6DC 7C 00 28 00 */ cmpw r0, r5
/* 8005E780 0005B6E0 41 80 00 18 */ blt lbl_8005E798
/* 8005E784 0005B6E4 2C 05 00 00 */ cmpwi r5, 0
/* 8005E788 0005B6E8 38 80 00 04 */ li r4, 4
/* 8005E78C 0005B6EC 41 82 00 08 */ beq lbl_8005E794
/* 8005E790 0005B6F0 54 A4 08 3C */ slwi r4, r5, 1
lbl_8005E794:
/* 8005E794 0005B6F4 48 00 5C 59 */ bl sub_800643ec
lbl_8005E798:
/* 8005E798 0005B6F8 80 1E 00 04 */ lwz r0, 4(r30)
/* 8005E79C 0005B6FC 7F E4 FB 78 */ mr r4, r31
/* 8005E7A0 0005B700 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 8005E7A4 0005B704 1C 00 00 4C */ mulli r0, r0, 0x4c
/* 8005E7A8 0005B708 7C 63 02 14 */ add r3, r3, r0
/* 8005E7AC 0005B70C 48 00 00 29 */ bl sub_8005e7d4
/* 8005E7B0 0005B710 80 7E 00 04 */ lwz r3, 4(r30)
/* 8005E7B4 0005B714 38 03 00 01 */ addi r0, r3, 1
/* 8005E7B8 0005B718 90 1E 00 04 */ stw r0, 4(r30)
/* 8005E7BC 0005B71C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8005E7C0 0005B720 83 C1 00 08 */ lwz r30, 8(r1)
/* 8005E7C4 0005B724 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8005E7C8 0005B728 7C 08 03 A6 */ mtlr r0
/* 8005E7CC 0005B72C 38 21 00 10 */ addi r1, r1, 0x10
/* 8005E7D0 0005B730 4E 80 00 20 */ blr
.global sub_8005e7d4
sub_8005e7d4:
/* 8005E7D4 0005B734 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8005E7D8 0005B738 7C 08 02 A6 */ mflr r0
/* 8005E7DC 0005B73C 28 03 00 00 */ cmplwi r3, 0
/* 8005E7E0 0005B740 90 01 00 14 */ stw r0, 0x14(r1)
/* 8005E7E4 0005B744 41 82 00 08 */ beq lbl_8005E7EC
/* 8005E7E8 0005B748 48 00 00 15 */ bl sub_8005e7fc
lbl_8005E7EC:
/* 8005E7EC 0005B74C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8005E7F0 0005B750 7C 08 03 A6 */ mtlr r0
/* 8005E7F4 0005B754 38 21 00 10 */ addi r1, r1, 0x10
/* 8005E7F8 0005B758 4E 80 00 20 */ blr
.global sub_8005e7fc
sub_8005e7fc:
/* 8005E7FC 0005B75C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8005E800 0005B760 7C 08 02 A6 */ mflr r0
/* 8005E804 0005B764 90 01 00 14 */ stw r0, 0x14(r1)
/* 8005E808 0005B768 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8005E80C 0005B76C 7C 9F 23 78 */ mr r31, r4
/* 8005E810 0005B770 93 C1 00 08 */ stw r30, 8(r1)
/* 8005E814 0005B774 7C 7E 1B 78 */ mr r30, r3
/* 8005E818 0005B778 80 04 00 00 */ lwz r0, 0(r4)
/* 8005E81C 0005B77C 90 03 00 00 */ stw r0, 0(r3)
/* 8005E820 0005B780 80 04 00 08 */ lwz r0, 8(r4)
/* 8005E824 0005B784 90 03 00 08 */ stw r0, 8(r3)
/* 8005E828 0005B788 80 04 00 0C */ lwz r0, 0xc(r4)
/* 8005E82C 0005B78C 90 03 00 0C */ stw r0, 0xc(r3)
/* 8005E830 0005B790 80 04 00 08 */ lwz r0, 8(r4)
/* 8005E834 0005B794 2C 00 00 00 */ cmpwi r0, 0
/* 8005E838 0005B798 40 82 00 1C */ bne lbl_8005E854
/* 8005E83C 0005B79C 80 1F 00 0C */ lwz r0, 0xc(r31)
/* 8005E840 0005B7A0 2C 00 00 00 */ cmpwi r0, 0
/* 8005E844 0005B7A4 40 82 00 10 */ bne lbl_8005E854
/* 8005E848 0005B7A8 38 00 00 00 */ li r0, 0
/* 8005E84C 0005B7AC 90 1E 00 10 */ stw r0, 0x10(r30)
/* 8005E850 0005B7B0 48 00 00 74 */ b lbl_8005E8C4
lbl_8005E854:
/* 8005E854 0005B7B4 80 1E 00 0C */ lwz r0, 0xc(r30)
/* 8005E858 0005B7B8 54 03 18 39 */ rlwinm. r3, r0, 3, 0, 0x1c
/* 8005E85C 0005B7BC 40 82 00 10 */ bne lbl_8005E86C
/* 8005E860 0005B7C0 38 00 00 00 */ li r0, 0
/* 8005E864 0005B7C4 90 1E 00 10 */ stw r0, 0x10(r30)
/* 8005E868 0005B7C8 48 00 00 18 */ b lbl_8005E880
lbl_8005E86C:
/* 8005E86C 0005B7CC 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha
/* 8005E870 0005B7D0 38 A0 00 00 */ li r5, 0
/* 8005E874 0005B7D4 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l
/* 8005E878 0005B7D8 48 2B 6F A1 */ bl __nwa__FUlPCcPCc
/* 8005E87C 0005B7DC 90 7E 00 10 */ stw r3, 0x10(r30)
lbl_8005E880:
/* 8005E880 0005B7E0 80 1E 00 08 */ lwz r0, 8(r30)
/* 8005E884 0005B7E4 80 9F 00 10 */ lwz r4, 0x10(r31)
/* 8005E888 0005B7E8 80 7E 00 10 */ lwz r3, 0x10(r30)
/* 8005E88C 0005B7EC 7C 09 03 A6 */ mtctr r0
/* 8005E890 0005B7F0 2C 00 00 00 */ cmpwi r0, 0
/* 8005E894 0005B7F4 40 81 00 30 */ ble lbl_8005E8C4
lbl_8005E898:
/* 8005E898 0005B7F8 28 03 00 00 */ cmplwi r3, 0
/* 8005E89C 0005B7FC 41 82 00 1C */ beq lbl_8005E8B8
/* 8005E8A0 0005B800 80 04 00 00 */ lwz r0, 0(r4)
/* 8005E8A4 0005B804 90 03 00 00 */ stw r0, 0(r3)
/* 8005E8A8 0005B808 A8 04 00 04 */ lha r0, 4(r4)
/* 8005E8AC 0005B80C B0 03 00 04 */ sth r0, 4(r3)
/* 8005E8B0 0005B810 A8 04 00 06 */ lha r0, 6(r4)
/* 8005E8B4 0005B814 B0 03 00 06 */ sth r0, 6(r3)
lbl_8005E8B8:
/* 8005E8B8 0005B818 38 63 00 08 */ addi r3, r3, 8
/* 8005E8BC 0005B81C 38 84 00 08 */ addi r4, r4, 8
/* 8005E8C0 0005B820 42 00 FF D8 */ bdnz lbl_8005E898
lbl_8005E8C4:
/* 8005E8C4 0005B824 80 1F 00 14 */ lwz r0, 0x14(r31)
/* 8005E8C8 0005B828 38 9F 00 18 */ addi r4, r31, 0x18
/* 8005E8CC 0005B82C 38 7E 00 18 */ addi r3, r30, 0x18
/* 8005E8D0 0005B830 90 1E 00 14 */ stw r0, 0x14(r30)
/* 8005E8D4 0005B834 80 1E 00 14 */ lwz r0, 0x14(r30)
/* 8005E8D8 0005B838 7C 09 03 A6 */ mtctr r0
/* 8005E8DC 0005B83C 2C 00 00 00 */ cmpwi r0, 0
/* 8005E8E0 0005B840 40 81 00 30 */ ble lbl_8005E910
lbl_8005E8E4:
/* 8005E8E4 0005B844 28 03 00 00 */ cmplwi r3, 0
/* 8005E8E8 0005B848 41 82 00 1C */ beq lbl_8005E904
/* 8005E8EC 0005B84C C0 04 00 00 */ lfs f0, 0(r4)
/* 8005E8F0 0005B850 D0 03 00 00 */ stfs f0, 0(r3)
/* 8005E8F4 0005B854 C0 04 00 04 */ lfs f0, 4(r4)
/* 8005E8F8 0005B858 D0 03 00 04 */ stfs f0, 4(r3)
/* 8005E8FC 0005B85C C0 04 00 08 */ lfs f0, 8(r4)
/* 8005E900 0005B860 D0 03 00 08 */ stfs f0, 8(r3)
lbl_8005E904:
/* 8005E904 0005B864 38 63 00 0C */ addi r3, r3, 0xc
/* 8005E908 0005B868 38 84 00 0C */ addi r4, r4, 0xc
/* 8005E90C 0005B86C 42 00 FF D8 */ bdnz lbl_8005E8E4
lbl_8005E910:
/* 8005E910 0005B870 88 1F 00 48 */ lbz r0, 0x48(r31)
/* 8005E914 0005B874 7F C3 F3 78 */ mr r3, r30
/* 8005E918 0005B878 98 1E 00 48 */ stb r0, 0x48(r30)
/* 8005E91C 0005B87C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8005E920 0005B880 83 C1 00 08 */ lwz r30, 8(r1)
/* 8005E924 0005B884 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8005E928 0005B888 7C 08 03 A6 */ mtlr r0
/* 8005E92C 0005B88C 38 21 00 10 */ addi r1, r1, 0x10
/* 8005E930 0005B890 4E 80 00 20 */ blr
.global ReadDependencyList__9CGameArea
ReadDependencyList__9CGameArea:
/* 8005E934 0005B894 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8005E938 0005B898 7C 08 02 A6 */ mflr r0
/* 8005E93C 0005B89C 90 01 00 24 */ stw r0, 0x24(r1)
/* 8005E940 0005B8A0 38 00 00 00 */ li r0, 0
/* 8005E944 0005B8A4 BF 41 00 08 */ stmw r26, 8(r1)
/* 8005E948 0005B8A8 7C 7A 1B 78 */ mr r26, r3
/* 8005E94C 0005B8AC 7C 9B 23 78 */ mr r27, r4
/* 8005E950 0005B8B0 90 03 00 04 */ stw r0, 4(r3)
/* 8005E954 0005B8B4 7F 63 DB 78 */ mr r3, r27
/* 8005E958 0005B8B8 90 1A 00 08 */ stw r0, 8(r26)
/* 8005E95C 0005B8BC 90 1A 00 0C */ stw r0, 0xc(r26)
/* 8005E960 0005B8C0 48 2E 03 25 */ bl ReadLong__12CInputStreamFv
/* 8005E964 0005B8C4 7C 7D 1B 78 */ mr r29, r3
/* 8005E968 0005B8C8 7F 43 D3 78 */ mr r3, r26
/* 8005E96C 0005B8CC 7F A4 EB 78 */ mr r4, r29
/* 8005E970 0005B8D0 4B FA A0 DD */ bl "reserve__Q24rstl55vector<Q24rstl11pair<Ui,Ui>,Q24rstl17rmemory_allocator>Fi"
/* 8005E974 0005B8D4 3B 80 00 00 */ li r28, 0
/* 8005E978 0005B8D8 48 00 00 70 */ b lbl_8005E9E8
lbl_8005E97C:
/* 8005E97C 0005B8DC 7F 63 DB 78 */ mr r3, r27
/* 8005E980 0005B8E0 48 2E 03 05 */ bl ReadLong__12CInputStreamFv
/* 8005E984 0005B8E4 7C 7E 1B 78 */ mr r30, r3
/* 8005E988 0005B8E8 7F 63 DB 78 */ mr r3, r27
/* 8005E98C 0005B8EC 48 2E 02 F9 */ bl ReadLong__12CInputStreamFv
/* 8005E990 0005B8F0 80 1A 00 04 */ lwz r0, 4(r26)
/* 8005E994 0005B8F4 7C 7F 1B 78 */ mr r31, r3
/* 8005E998 0005B8F8 80 BA 00 08 */ lwz r5, 8(r26)
/* 8005E99C 0005B8FC 7C 00 28 00 */ cmpw r0, r5
/* 8005E9A0 0005B900 41 80 00 1C */ blt lbl_8005E9BC
/* 8005E9A4 0005B904 2C 05 00 00 */ cmpwi r5, 0
/* 8005E9A8 0005B908 7F 43 D3 78 */ mr r3, r26
/* 8005E9AC 0005B90C 38 80 00 04 */ li r4, 4
/* 8005E9B0 0005B910 41 82 00 08 */ beq lbl_8005E9B8
/* 8005E9B4 0005B914 54 A4 08 3C */ slwi r4, r5, 1
lbl_8005E9B8:
/* 8005E9B8 0005B918 4B FA A0 95 */ bl "reserve__Q24rstl55vector<Q24rstl11pair<Ui,Ui>,Q24rstl17rmemory_allocator>Fi"
lbl_8005E9BC:
/* 8005E9BC 0005B91C 80 1A 00 04 */ lwz r0, 4(r26)
/* 8005E9C0 0005B920 80 7A 00 0C */ lwz r3, 0xc(r26)
/* 8005E9C4 0005B924 54 00 18 38 */ slwi r0, r0, 3
/* 8005E9C8 0005B928 7C 63 02 15 */ add. r3, r3, r0
/* 8005E9CC 0005B92C 41 82 00 0C */ beq lbl_8005E9D8
/* 8005E9D0 0005B930 93 C3 00 00 */ stw r30, 0(r3)
/* 8005E9D4 0005B934 93 E3 00 04 */ stw r31, 4(r3)
lbl_8005E9D8:
/* 8005E9D8 0005B938 80 7A 00 04 */ lwz r3, 4(r26)
/* 8005E9DC 0005B93C 3B 9C 00 01 */ addi r28, r28, 1
/* 8005E9E0 0005B940 38 03 00 01 */ addi r0, r3, 1
/* 8005E9E4 0005B944 90 1A 00 04 */ stw r0, 4(r26)
lbl_8005E9E8:
/* 8005E9E8 0005B948 7C 1C E8 00 */ cmpw r28, r29
/* 8005E9EC 0005B94C 41 80 FF 90 */ blt lbl_8005E97C
/* 8005E9F0 0005B950 7F 43 D3 78 */ mr r3, r26
/* 8005E9F4 0005B954 BB 41 00 08 */ lmw r26, 8(r1)
/* 8005E9F8 0005B958 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8005E9FC 0005B95C 7C 08 03 A6 */ mtlr r0
/* 8005EA00 0005B960 38 21 00 20 */ addi r1, r1, 0x20
/* 8005EA04 0005B964 4E 80 00 20 */ blr
.global sub_8005ea08
sub_8005ea08:
/* 8005EA08 0005B968 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8005EA0C 0005B96C 7C 08 02 A6 */ mflr r0
/* 8005EA10 0005B970 90 01 00 24 */ stw r0, 0x24(r1)
/* 8005EA14 0005B974 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8005EA18 0005B978 7C 7F 1B 78 */ mr r31, r3
/* 8005EA1C 0005B97C 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8005EA20 0005B980 7C 9E 23 78 */ mr r30, r4
/* 8005EA24 0005B984 7C 1F F0 40 */ cmplw r31, r30
/* 8005EA28 0005B988 40 82 00 08 */ bne lbl_8005EA30
/* 8005EA2C 0005B98C 48 00 00 B8 */ b lbl_8005EAE4
lbl_8005EA30:
/* 8005EA30 0005B990 80 1F 00 04 */ lwz r0, 4(r31)
/* 8005EA34 0005B994 80 7F 00 0C */ lwz r3, 0xc(r31)
/* 8005EA38 0005B998 54 00 08 3C */ slwi r0, r0, 1
/* 8005EA3C 0005B99C 7C 03 02 14 */ add r0, r3, r0
/* 8005EA40 0005B9A0 90 61 00 0C */ stw r3, 0xc(r1)
/* 8005EA44 0005B9A4 90 01 00 14 */ stw r0, 0x14(r1)
/* 8005EA48 0005B9A8 90 01 00 10 */ stw r0, 0x10(r1)
/* 8005EA4C 0005B9AC 90 61 00 08 */ stw r3, 8(r1)
/* 8005EA50 0005B9B0 48 00 00 08 */ b lbl_8005EA58
lbl_8005EA54:
/* 8005EA54 0005B9B4 38 63 00 02 */ addi r3, r3, 2
lbl_8005EA58:
/* 8005EA58 0005B9B8 7C 03 00 40 */ cmplw r3, r0
/* 8005EA5C 0005B9BC 40 82 FF F8 */ bne lbl_8005EA54
/* 8005EA60 0005B9C0 38 00 00 00 */ li r0, 0
/* 8005EA64 0005B9C4 90 1F 00 04 */ stw r0, 4(r31)
/* 8005EA68 0005B9C8 80 9E 00 04 */ lwz r4, 4(r30)
/* 8005EA6C 0005B9CC 2C 04 00 00 */ cmpwi r4, 0
/* 8005EA70 0005B9D0 40 82 00 28 */ bne lbl_8005EA98
/* 8005EA74 0005B9D4 80 7F 00 0C */ lwz r3, 0xc(r31)
/* 8005EA78 0005B9D8 28 03 00 00 */ cmplwi r3, 0
/* 8005EA7C 0005B9DC 41 82 00 08 */ beq lbl_8005EA84
/* 8005EA80 0005B9E0 48 2B 6E B1 */ bl Free__7CMemoryFPCv
lbl_8005EA84:
/* 8005EA84 0005B9E4 38 00 00 00 */ li r0, 0
/* 8005EA88 0005B9E8 90 1F 00 04 */ stw r0, 4(r31)
/* 8005EA8C 0005B9EC 90 1F 00 08 */ stw r0, 8(r31)
/* 8005EA90 0005B9F0 90 1F 00 0C */ stw r0, 0xc(r31)
/* 8005EA94 0005B9F4 48 00 00 4C */ b lbl_8005EAE0
lbl_8005EA98:
/* 8005EA98 0005B9F8 7F E3 FB 78 */ mr r3, r31
/* 8005EA9C 0005B9FC 48 00 58 65 */ bl "reserve__Q24rstl37vector<Us,Q24rstl17rmemory_allocator>Fi"
/* 8005EAA0 0005BA00 80 1E 00 04 */ lwz r0, 4(r30)
/* 8005EAA4 0005BA04 80 BE 00 0C */ lwz r5, 0xc(r30)
/* 8005EAA8 0005BA08 54 00 08 3C */ slwi r0, r0, 1
/* 8005EAAC 0005BA0C 80 7F 00 0C */ lwz r3, 0xc(r31)
/* 8005EAB0 0005BA10 7C 85 02 14 */ add r4, r5, r0
/* 8005EAB4 0005BA14 48 00 00 1C */ b lbl_8005EAD0
lbl_8005EAB8:
/* 8005EAB8 0005BA18 28 03 00 00 */ cmplwi r3, 0
/* 8005EABC 0005BA1C 41 82 00 0C */ beq lbl_8005EAC8
/* 8005EAC0 0005BA20 A0 05 00 00 */ lhz r0, 0(r5)
/* 8005EAC4 0005BA24 B0 03 00 00 */ sth r0, 0(r3)
lbl_8005EAC8:
/* 8005EAC8 0005BA28 38 63 00 02 */ addi r3, r3, 2
/* 8005EACC 0005BA2C 38 A5 00 02 */ addi r5, r5, 2
lbl_8005EAD0:
/* 8005EAD0 0005BA30 7C 05 20 40 */ cmplw r5, r4
/* 8005EAD4 0005BA34 40 82 FF E4 */ bne lbl_8005EAB8
/* 8005EAD8 0005BA38 80 1E 00 04 */ lwz r0, 4(r30)
/* 8005EADC 0005BA3C 90 1F 00 04 */ stw r0, 4(r31)
lbl_8005EAE0:
/* 8005EAE0 0005BA40 7F E3 FB 78 */ mr r3, r31
lbl_8005EAE4:
/* 8005EAE4 0005BA44 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8005EAE8 0005BA48 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8005EAEC 0005BA4C 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8005EAF0 0005BA50 7C 08 03 A6 */ mtlr r0
/* 8005EAF4 0005BA54 38 21 00 20 */ addi r1, r1, 0x20
/* 8005EAF8 0005BA58 4E 80 00 20 */ blr
.global IGetScriptingMemoryAlways__9CGameAreaCFv
IGetScriptingMemoryAlways__9CGameAreaCFv:
/* 8005EAFC 0005BA5C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8005EB00 0005BA60 7C 08 02 A6 */ mflr r0
/* 8005EB04 0005BA64 90 01 00 14 */ stw r0, 0x14(r1)
/* 8005EB08 0005BA68 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8005EB0C 0005BA6C 7C 7F 1B 78 */ mr r31, r3
/* 8005EB10 0005BA70 48 00 3E B5 */ bl GetScriptingMemoryAlways__FRC9IGameArea
/* 8005EB14 0005BA74 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8005EB18 0005BA78 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8005EB1C 0005BA7C 7C 08 03 A6 */ mtlr r0
/* 8005EB20 0005BA80 38 21 00 10 */ addi r1, r1, 0x10
/* 8005EB24 0005BA84 4E 80 00 20 */ blr
.global IGetAreaId__9CGameAreaCFv
IGetAreaId__9CGameAreaCFv:
/* 8005EB28 0005BA88 80 63 00 88 */ lwz r3, 0x88(r3)
/* 8005EB2C 0005BA8C 4E 80 00 20 */ blr
.global IGetAreaAssetID__9CGameAreaCFv
IGetAreaAssetID__9CGameAreaCFv:
/* 8005EB30 0005BA90 80 63 00 84 */ lwz r3, 0x84(r3)
/* 8005EB34 0005BA94 4E 80 00 20 */ blr
.global IIsActive__9CGameAreaCFv
IIsActive__9CGameAreaCFv:
/* 8005EB38 0005BA98 88 03 00 F0 */ lbz r0, 0xf0(r3)
/* 8005EB3C 0005BA9C 54 03 D7 FE */ rlwinm r3, r0, 0x1a, 0x1f, 0x1f
/* 8005EB40 0005BAA0 4E 80 00 20 */ blr
.global IGetAttachedAreaId__9CGameAreaCFi
IGetAttachedAreaId__9CGameAreaCFi:
/* 8005EB44 0005BAA4 80 84 00 98 */ lwz r4, 0x98(r4)
/* 8005EB48 0005BAA8 54 A0 08 3C */ slwi r0, r5, 1
/* 8005EB4C 0005BAAC 7C 04 02 2E */ lhzx r0, r4, r0
/* 8005EB50 0005BAB0 90 03 00 00 */ stw r0, 0(r3)
/* 8005EB54 0005BAB4 4E 80 00 20 */ blr
.global IGetNumAttachedAreas__9CGameAreaCFv
IGetNumAttachedAreas__9CGameAreaCFv:
/* 8005EB58 0005BAB8 80 63 00 90 */ lwz r3, 0x90(r3)
/* 8005EB5C 0005BABC 4E 80 00 20 */ blr
.global IGetStringTableAssetId__9CGameAreaCFv
IGetStringTableAssetId__9CGameAreaCFv:
/* 8005EB60 0005BAC0 80 63 00 08 */ lwz r3, 8(r3)
/* 8005EB64 0005BAC4 4E 80 00 20 */ blr
.global IGetTM__9CGameAreaCFv
IGetTM__9CGameAreaCFv:
/* 8005EB68 0005BAC8 38 63 00 0C */ addi r3, r3, 0xc
/* 8005EB6C 0005BACC 4E 80 00 20 */ blr
.global TryTakingOutOfARAM__9CGameAreaFv
TryTakingOutOfARAM__9CGameAreaFv:
/* 8005EB70 0005BAD0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8005EB74 0005BAD4 7C 08 02 A6 */ mflr r0
/* 8005EB78 0005BAD8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8005EB7C 0005BADC 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8005EB80 0005BAE0 93 C1 00 08 */ stw r30, 8(r1)
/* 8005EB84 0005BAE4 7C 7E 1B 78 */ mr r30, r3
/* 8005EB88 0005BAE8 80 83 01 2C */ lwz r4, 0x12c(r3)
/* 8005EB8C 0005BAEC 80 04 10 DC */ lwz r0, 0x10dc(r4)
/* 8005EB90 0005BAF0 2C 00 00 00 */ cmpwi r0, 0
/* 8005EB94 0005BAF4 40 82 00 14 */ bne lbl_8005EBA8
/* 8005EB98 0005BAF8 88 04 11 08 */ lbz r0, 0x1108(r4)
/* 8005EB9C 0005BAFC 38 60 00 01 */ li r3, 1
/* 8005EBA0 0005BB00 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c
/* 8005EBA4 0005BB04 98 04 11 08 */ stb r0, 0x1108(r4)
lbl_8005EBA8:
/* 8005EBA8 0005BB08 7F C3 F3 78 */ mr r3, r30
/* 8005EBAC 0005BB0C 3B E0 00 00 */ li r31, 0
/* 8005EBB0 0005BB10 38 80 00 01 */ li r4, 1
/* 8005EBB4 0005BB14 48 00 0E 61 */ bl TransferARAMTokensOver__9CGameAreaFQ29CGameArea13EARAMTransfer
/* 8005EBB8 0005BB18 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8005EBBC 0005BB1C 41 82 00 18 */ beq lbl_8005EBD4
/* 8005EBC0 0005BB20 7F C3 F3 78 */ mr r3, r30
/* 8005EBC4 0005BB24 48 00 1B 09 */ bl ReloadAllUnloadedTextures__9CGameAreaFv
/* 8005EBC8 0005BB28 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8005EBCC 0005BB2C 41 82 00 08 */ beq lbl_8005EBD4
/* 8005EBD0 0005BB30 3B E0 00 01 */ li r31, 1
lbl_8005EBD4:
/* 8005EBD4 0005BB34 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8005EBD8 0005BB38 7F E3 FB 78 */ mr r3, r31
/* 8005EBDC 0005BB3C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8005EBE0 0005BB40 83 C1 00 08 */ lwz r30, 8(r1)
/* 8005EBE4 0005BB44 7C 08 03 A6 */ mtlr r0
/* 8005EBE8 0005BB48 38 21 00 10 */ addi r1, r1, 0x10
/* 8005EBEC 0005BB4C 4E 80 00 20 */ blr
.global DoesAreaNeedEnvFx__9CGameAreaCFv
DoesAreaNeedEnvFx__9CGameAreaCFv:
/* 8005EBF0 0005BB50 80 63 01 2C */ lwz r3, 0x12c(r3)
/* 8005EBF4 0005BB54 28 03 00 00 */ cmplwi r3, 0
/* 8005EBF8 0005BB58 40 82 00 0C */ bne lbl_8005EC04
/* 8005EBFC 0005BB5C 38 60 00 00 */ li r3, 0
/* 8005EC00 0005BB60 4E 80 00 20 */ blr
lbl_8005EC04:
/* 8005EC04 0005BB64 80 83 10 D8 */ lwz r4, 0x10d8(r3)
/* 8005EC08 0005BB68 28 04 00 00 */ cmplwi r4, 0
/* 8005EC0C 0005BB6C 40 82 00 0C */ bne lbl_8005EC18
/* 8005EC10 0005BB70 38 60 00 00 */ li r3, 0
/* 8005EC14 0005BB74 4E 80 00 20 */ blr
lbl_8005EC18:
/* 8005EC18 0005BB78 80 03 10 DC */ lwz r0, 0x10dc(r3)
/* 8005EC1C 0005BB7C 2C 00 00 01 */ cmpwi r0, 1
/* 8005EC20 0005BB80 41 82 00 0C */ beq lbl_8005EC2C
/* 8005EC24 0005BB84 38 60 00 00 */ li r3, 0
/* 8005EC28 0005BB88 4E 80 00 20 */ blr
lbl_8005EC2C:
/* 8005EC2C 0005BB8C 80 64 00 38 */ lwz r3, 0x38(r4)
/* 8005EC30 0005BB90 4E 80 00 20 */ blr
.global DoesAreaNeedSkyNow__9CGameAreaCFv
DoesAreaNeedSkyNow__9CGameAreaCFv:
/* 8005EC34 0005BB94 80 63 01 2C */ lwz r3, 0x12c(r3)
/* 8005EC38 0005BB98 28 03 00 00 */ cmplwi r3, 0
/* 8005EC3C 0005BB9C 40 82 00 0C */ bne lbl_8005EC48
/* 8005EC40 0005BBA0 38 60 00 00 */ li r3, 0
/* 8005EC44 0005BBA4 4E 80 00 20 */ blr
lbl_8005EC48:
/* 8005EC48 0005BBA8 80 63 10 D8 */ lwz r3, 0x10d8(r3)
/* 8005EC4C 0005BBAC 28 03 00 00 */ cmplwi r3, 0
/* 8005EC50 0005BBB0 41 82 00 10 */ beq lbl_8005EC60
/* 8005EC54 0005BBB4 88 03 00 34 */ lbz r0, 0x34(r3)
/* 8005EC58 0005BBB8 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f
/* 8005EC5C 0005BBBC 4E 80 00 20 */ blr
lbl_8005EC60:
/* 8005EC60 0005BBC0 38 60 00 00 */ li r3, 0
/* 8005EC64 0005BBC4 4E 80 00 20 */ blr
.global SetCurrent__Q29CGameArea8CAreaFogCFv
SetCurrent__Q29CGameArea8CAreaFogCFv:
/* 8005EC68 0005BBC8 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 8005EC6C 0005BBCC 7C 08 02 A6 */ mflr r0
/* 8005EC70 0005BBD0 90 01 00 44 */ stw r0, 0x44(r1)
/* 8005EC74 0005BBD4 DB E1 00 30 */ stfd f31, 0x30(r1)
/* 8005EC78 0005BBD8 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0
/* 8005EC7C 0005BBDC DB C1 00 20 */ stfd f30, 0x20(r1)
/* 8005EC80 0005BBE0 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0
/* 8005EC84 0005BBE4 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8005EC88 0005BBE8 7C 7F 1B 78 */ mr r31, r3
/* 8005EC8C 0005BBEC C0 82 87 08 */ lfs f4, lbl_805AA428@sda21(r2)
/* 8005EC90 0005BBF0 C3 E3 00 08 */ lfs f31, 8(r3)
/* 8005EC94 0005BBF4 38 61 00 08 */ addi r3, r1, 8
/* 8005EC98 0005BBF8 C3 DF 00 04 */ lfs f30, 4(r31)
/* 8005EC9C 0005BBFC C0 3F 00 1C */ lfs f1, 0x1c(r31)
/* 8005ECA0 0005BC00 C0 5F 00 20 */ lfs f2, 0x20(r31)
/* 8005ECA4 0005BC04 C0 7F 00 24 */ lfs f3, 0x24(r31)
/* 8005ECA8 0005BC08 48 30 47 45 */ bl __ct__6CColorFffff
/* 8005ECAC 0005BC0C 7C 65 1B 78 */ mr r5, r3
/* 8005ECB0 0005BC10 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 8005ECB4 0005BC14 FC 20 F0 90 */ fmr f1, f30
/* 8005ECB8 0005BC18 80 9F 00 00 */ lwz r4, 0(r31)
/* 8005ECBC 0005BC1C 81 83 00 00 */ lwz r12, 0(r3)
/* 8005ECC0 0005BC20 FC 40 F8 90 */ fmr f2, f31
/* 8005ECC4 0005BC24 81 8C 00 E0 */ lwz r12, 0xe0(r12)
/* 8005ECC8 0005BC28 7D 89 03 A6 */ mtctr r12
/* 8005ECCC 0005BC2C 4E 80 04 21 */ bctrl
/* 8005ECD0 0005BC30 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0
/* 8005ECD4 0005BC34 CB E1 00 30 */ lfd f31, 0x30(r1)
/* 8005ECD8 0005BC38 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0
/* 8005ECDC 0005BC3C CB C1 00 20 */ lfd f30, 0x20(r1)
/* 8005ECE0 0005BC40 80 01 00 44 */ lwz r0, 0x44(r1)
/* 8005ECE4 0005BC44 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8005ECE8 0005BC48 7C 08 03 A6 */ mtlr r0
/* 8005ECEC 0005BC4C 38 21 00 40 */ addi r1, r1, 0x40
/* 8005ECF0 0005BC50 4E 80 00 20 */ blr
.global Update__Q29CGameArea8CAreaFogFf
Update__Q29CGameArea8CAreaFogFf:
/* 8005ECF4 0005BC54 94 21 FF 70 */ stwu r1, -0x90(r1)
/* 8005ECF8 0005BC58 7C 08 02 A6 */ mflr r0
/* 8005ECFC 0005BC5C 90 01 00 94 */ stw r0, 0x94(r1)
/* 8005ED00 0005BC60 DB E1 00 80 */ stfd f31, 0x80(r1)
/* 8005ED04 0005BC64 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0
/* 8005ED08 0005BC68 93 E1 00 7C */ stw r31, 0x7c(r1)
/* 8005ED0C 0005BC6C 7C 7F 1B 78 */ mr r31, r3
/* 8005ED10 0005BC70 FF E0 08 90 */ fmr f31, f1
/* 8005ED14 0005BC74 80 03 00 00 */ lwz r0, 0(r3)
/* 8005ED18 0005BC78 2C 00 00 00 */ cmpwi r0, 0
/* 8005ED1C 0005BC7C 41 82 01 DC */ beq lbl_8005EEF8
/* 8005ED20 0005BC80 C0 1F 00 34 */ lfs f0, 0x34(r31)
/* 8005ED24 0005BC84 C0 22 87 00 */ lfs f1, lbl_805AA420@sda21(r2)
/* 8005ED28 0005BC88 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 8005ED2C 0005BC8C 41 81 00 24 */ bgt lbl_8005ED50
/* 8005ED30 0005BC90 FC 40 08 90 */ fmr f2, f1
/* 8005ED34 0005BC94 38 61 00 18 */ addi r3, r1, 0x18
/* 8005ED38 0005BC98 48 2B 54 C9 */ bl __ct__9CVector2fFff
/* 8005ED3C 0005BC9C 7C 64 1B 78 */ mr r4, r3
/* 8005ED40 0005BCA0 38 7F 00 14 */ addi r3, r31, 0x14
/* 8005ED44 0005BCA4 48 2B 51 C5 */ bl __eq__FRC9CVector2fRC9CVector2f
/* 8005ED48 0005BCA8 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8005ED4C 0005BCAC 40 82 01 AC */ bne lbl_8005EEF8
lbl_8005ED50:
/* 8005ED50 0005BCB0 3C 60 80 3D */ lis r3, lbl_803D0004@ha
/* 8005ED54 0005BCB4 84 03 CF 98 */ lwzu r0, -0x3068(r3)
/* 8005ED58 0005BCB8 C0 5F 00 34 */ lfs f2, 0x34(r31)
/* 8005ED5C 0005BCBC 38 E1 00 5C */ addi r7, r1, 0x5c
/* 8005ED60 0005BCC0 C0 3F 00 14 */ lfs f1, 0x14(r31)
/* 8005ED64 0005BCC4 39 01 00 48 */ addi r8, r1, 0x48
/* 8005ED68 0005BCC8 C0 1F 00 18 */ lfs f0, 0x18(r31)
/* 8005ED6C 0005BCCC ED 82 07 F2 */ fmuls f12, f2, f31
/* 8005ED70 0005BCD0 90 01 00 20 */ stw r0, 0x20(r1)
/* 8005ED74 0005BCD4 ED 7F 00 72 */ fmuls f11, f31, f1
/* 8005ED78 0005BCD8 80 C3 00 04 */ lwz r6, lbl_803D0004@l(r3)
/* 8005ED7C 0005BCDC ED 5F 00 32 */ fmuls f10, f31, f0
/* 8005ED80 0005BCE0 80 A3 00 08 */ lwz r5, 8(r3)
/* 8005ED84 0005BCE4 80 83 00 0C */ lwz r4, 0xc(r3)
/* 8005ED88 0005BCE8 38 00 00 05 */ li r0, 5
/* 8005ED8C 0005BCEC 90 C1 00 24 */ stw r6, 0x24(r1)
/* 8005ED90 0005BCF0 38 C1 00 34 */ addi r6, r1, 0x34
/* 8005ED94 0005BCF4 80 63 00 10 */ lwz r3, 0x10(r3)
/* 8005ED98 0005BCF8 90 A1 00 28 */ stw r5, 0x28(r1)
/* 8005ED9C 0005BCFC 38 A1 00 20 */ addi r5, r1, 0x20
/* 8005EDA0 0005BD00 C1 3F 00 1C */ lfs f9, 0x1c(r31)
/* 8005EDA4 0005BD04 90 81 00 2C */ stw r4, 0x2c(r1)
/* 8005EDA8 0005BD08 38 80 00 00 */ li r4, 0
/* 8005EDAC 0005BD0C C1 1F 00 28 */ lfs f8, 0x28(r31)
/* 8005EDB0 0005BD10 C0 FF 00 20 */ lfs f7, 0x20(r31)
/* 8005EDB4 0005BD14 C0 DF 00 2C */ lfs f6, 0x2c(r31)
/* 8005EDB8 0005BD18 90 61 00 30 */ stw r3, 0x30(r1)
/* 8005EDBC 0005BD1C C0 BF 00 24 */ lfs f5, 0x24(r31)
/* 8005EDC0 0005BD20 C0 9F 00 30 */ lfs f4, 0x30(r31)
/* 8005EDC4 0005BD24 C0 7F 00 04 */ lfs f3, 4(r31)
/* 8005EDC8 0005BD28 C0 5F 00 08 */ lfs f2, 8(r31)
/* 8005EDCC 0005BD2C C0 3F 00 0C */ lfs f1, 0xc(r31)
/* 8005EDD0 0005BD30 C0 1F 00 10 */ lfs f0, 0x10(r31)
/* 8005EDD4 0005BD34 D1 81 00 20 */ stfs f12, 0x20(r1)
/* 8005EDD8 0005BD38 D1 81 00 24 */ stfs f12, 0x24(r1)
/* 8005EDDC 0005BD3C D1 81 00 28 */ stfs f12, 0x28(r1)
/* 8005EDE0 0005BD40 D1 61 00 2C */ stfs f11, 0x2c(r1)
/* 8005EDE4 0005BD44 D1 41 00 30 */ stfs f10, 0x30(r1)
/* 8005EDE8 0005BD48 D1 21 00 5C */ stfs f9, 0x5c(r1)
/* 8005EDEC 0005BD4C D1 01 00 48 */ stfs f8, 0x48(r1)
/* 8005EDF0 0005BD50 D0 E1 00 60 */ stfs f7, 0x60(r1)
/* 8005EDF4 0005BD54 D0 C1 00 4C */ stfs f6, 0x4c(r1)
/* 8005EDF8 0005BD58 D0 A1 00 64 */ stfs f5, 0x64(r1)
/* 8005EDFC 0005BD5C D0 81 00 50 */ stfs f4, 0x50(r1)
/* 8005EE00 0005BD60 D0 61 00 68 */ stfs f3, 0x68(r1)
/* 8005EE04 0005BD64 D0 41 00 6C */ stfs f2, 0x6c(r1)
/* 8005EE08 0005BD68 D0 21 00 54 */ stfs f1, 0x54(r1)
/* 8005EE0C 0005BD6C D0 01 00 58 */ stfs f0, 0x58(r1)
/* 8005EE10 0005BD70 7C 09 03 A6 */ mtctr r0
lbl_8005EE14:
/* 8005EE14 0005BD74 C0 48 00 00 */ lfs f2, 0(r8)
/* 8005EE18 0005BD78 C0 27 00 00 */ lfs f1, 0(r7)
/* 8005EE1C 0005BD7C C0 85 00 00 */ lfs f4, 0(r5)
/* 8005EE20 0005BD80 EC 62 08 28 */ fsubs f3, f2, f1
/* 8005EE24 0005BD84 FC 00 1A 10 */ fabs f0, f3
/* 8005EE28 0005BD88 FC 00 00 18 */ frsp f0, f0
/* 8005EE2C 0005BD8C FC 00 20 40 */ fcmpo cr0, f0, f4
/* 8005EE30 0005BD90 4C 40 13 82 */ cror 2, 0, 2
/* 8005EE34 0005BD94 40 82 00 10 */ bne lbl_8005EE44
/* 8005EE38 0005BD98 D0 46 00 00 */ stfs f2, 0(r6)
/* 8005EE3C 0005BD9C 38 84 00 01 */ addi r4, r4, 1
/* 8005EE40 0005BDA0 48 00 00 14 */ b lbl_8005EE54
lbl_8005EE44:
/* 8005EE44 0005BDA4 FC 00 20 50 */ fneg f0, f4
/* 8005EE48 0005BDA8 FC 03 01 2E */ fsel f0, f3, f4, f0
/* 8005EE4C 0005BDAC EC 01 00 2A */ fadds f0, f1, f0
/* 8005EE50 0005BDB0 D0 06 00 00 */ stfs f0, 0(r6)
lbl_8005EE54:
/* 8005EE54 0005BDB4 38 E7 00 04 */ addi r7, r7, 4
/* 8005EE58 0005BDB8 39 08 00 04 */ addi r8, r8, 4
/* 8005EE5C 0005BDBC 38 A5 00 04 */ addi r5, r5, 4
/* 8005EE60 0005BDC0 38 C6 00 04 */ addi r6, r6, 4
/* 8005EE64 0005BDC4 42 00 FF B0 */ bdnz lbl_8005EE14
/* 8005EE68 0005BDC8 2C 04 00 05 */ cmpwi r4, 5
/* 8005EE6C 0005BDCC 40 82 00 40 */ bne lbl_8005EEAC
/* 8005EE70 0005BDD0 C0 22 87 00 */ lfs f1, lbl_805AA420@sda21(r2)
/* 8005EE74 0005BDD4 38 61 00 10 */ addi r3, r1, 0x10
/* 8005EE78 0005BDD8 FC 40 08 90 */ fmr f2, f1
/* 8005EE7C 0005BDDC D0 3F 00 34 */ stfs f1, 0x34(r31)
/* 8005EE80 0005BDE0 48 2B 53 81 */ bl __ct__9CVector2fFff
/* 8005EE84 0005BDE4 C0 01 00 10 */ lfs f0, 0x10(r1)
/* 8005EE88 0005BDE8 C0 21 00 40 */ lfs f1, 0x40(r1)
/* 8005EE8C 0005BDEC D0 1F 00 14 */ stfs f0, 0x14(r31)
/* 8005EE90 0005BDF0 C0 01 00 44 */ lfs f0, 0x44(r1)
/* 8005EE94 0005BDF4 C0 41 00 14 */ lfs f2, 0x14(r1)
/* 8005EE98 0005BDF8 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 8005EE9C 0005BDFC D0 5F 00 18 */ stfs f2, 0x18(r31)
/* 8005EEA0 0005BE00 40 82 00 0C */ bne lbl_8005EEAC
/* 8005EEA4 0005BE04 38 00 00 00 */ li r0, 0
/* 8005EEA8 0005BE08 90 1F 00 00 */ stw r0, 0(r31)
lbl_8005EEAC:
/* 8005EEAC 0005BE0C C0 01 00 40 */ lfs f0, 0x40(r1)
/* 8005EEB0 0005BE10 C0 21 00 44 */ lfs f1, 0x44(r1)
/* 8005EEB4 0005BE14 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 8005EEB8 0005BE18 40 81 00 08 */ ble lbl_8005EEC0
/* 8005EEBC 0005BE1C D0 21 00 40 */ stfs f1, 0x40(r1)
lbl_8005EEC0:
/* 8005EEC0 0005BE20 C0 01 00 34 */ lfs f0, 0x34(r1)
/* 8005EEC4 0005BE24 38 61 00 08 */ addi r3, r1, 8
/* 8005EEC8 0005BE28 C0 21 00 38 */ lfs f1, 0x38(r1)
/* 8005EECC 0005BE2C D0 1F 00 1C */ stfs f0, 0x1c(r31)
/* 8005EED0 0005BE30 C0 01 00 3C */ lfs f0, 0x3c(r1)
/* 8005EED4 0005BE34 D0 3F 00 20 */ stfs f1, 0x20(r31)
/* 8005EED8 0005BE38 C0 21 00 40 */ lfs f1, 0x40(r1)
/* 8005EEDC 0005BE3C D0 1F 00 24 */ stfs f0, 0x24(r31)
/* 8005EEE0 0005BE40 C0 41 00 44 */ lfs f2, 0x44(r1)
/* 8005EEE4 0005BE44 48 2B 53 1D */ bl __ct__9CVector2fFff
/* 8005EEE8 0005BE48 C0 01 00 08 */ lfs f0, 8(r1)
/* 8005EEEC 0005BE4C D0 1F 00 04 */ stfs f0, 4(r31)
/* 8005EEF0 0005BE50 C0 01 00 0C */ lfs f0, 0xc(r1)
/* 8005EEF4 0005BE54 D0 1F 00 08 */ stfs f0, 8(r31)
lbl_8005EEF8:
/* 8005EEF8 0005BE58 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0
/* 8005EEFC 0005BE5C 80 01 00 94 */ lwz r0, 0x94(r1)
/* 8005EF00 0005BE60 CB E1 00 80 */ lfd f31, 0x80(r1)
/* 8005EF04 0005BE64 83 E1 00 7C */ lwz r31, 0x7c(r1)
/* 8005EF08 0005BE68 7C 08 03 A6 */ mtlr r0
/* 8005EF0C 0005BE6C 38 21 00 90 */ addi r1, r1, 0x90
/* 8005EF10 0005BE70 4E 80 00 20 */ blr
.global UpdateFog__9CGameAreaFf
UpdateFog__9CGameAreaFf:
/* 8005EF14 0005BE74 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8005EF18 0005BE78 7C 08 02 A6 */ mflr r0
/* 8005EF1C 0005BE7C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8005EF20 0005BE80 80 63 01 2C */ lwz r3, 0x12c(r3)
/* 8005EF24 0005BE84 80 63 10 C4 */ lwz r3, 0x10c4(r3)
/* 8005EF28 0005BE88 28 03 00 00 */ cmplwi r3, 0
/* 8005EF2C 0005BE8C 41 82 00 08 */ beq lbl_8005EF34
/* 8005EF30 0005BE90 4B FF FD C5 */ bl Update__Q29CGameArea8CAreaFogFf
lbl_8005EF34:
/* 8005EF34 0005BE94 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8005EF38 0005BE98 7C 08 03 A6 */ mtlr r0
/* 8005EF3C 0005BE9C 38 21 00 10 */ addi r1, r1, 0x10
.global sub_8005ef40
sub_8005ef40:
/* 8005EF40 0005BEA0 4E 80 00 20 */ blr
.global RollFogOut__Q29CGameArea8CAreaFogFffRC6CColor
RollFogOut__Q29CGameArea8CAreaFogFffRC6CColor:
/* 8005EF44 0005BEA4 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8005EF48 0005BEA8 7C 08 02 A6 */ mflr r0
/* 8005EF4C 0005BEAC 90 01 00 34 */ stw r0, 0x34(r1)
/* 8005EF50 0005BEB0 DB E1 00 20 */ stfd f31, 0x20(r1)
/* 8005EF54 0005BEB4 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0
/* 8005EF58 0005BEB8 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8005EF5C 0005BEBC 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8005EF60 0005BEC0 C0 02 87 10 */ lfs f0, lbl_805AA430@sda21(r2)
/* 8005EF64 0005BEC4 FF E0 10 90 */ fmr f31, f2
/* 8005EF68 0005BEC8 7C 7E 1B 78 */ mr r30, r3
/* 8005EF6C 0005BECC 7C 9F 23 78 */ mr r31, r4
/* 8005EF70 0005BED0 EC 40 00 72 */ fmuls f2, f0, f1
/* 8005EF74 0005BED4 38 61 00 10 */ addi r3, r1, 0x10
/* 8005EF78 0005BED8 48 2B 52 89 */ bl __ct__9CVector2fFff
/* 8005EF7C 0005BEDC C0 01 00 10 */ lfs f0, 0x10(r1)
/* 8005EF80 0005BEE0 38 61 00 08 */ addi r3, r1, 8
/* 8005EF84 0005BEE4 C0 22 87 14 */ lfs f1, lbl_805AA434@sda21(r2)
/* 8005EF88 0005BEE8 D0 1E 00 14 */ stfs f0, 0x14(r30)
/* 8005EF8C 0005BEEC FC 40 08 90 */ fmr f2, f1
/* 8005EF90 0005BEF0 C0 01 00 14 */ lfs f0, 0x14(r1)
/* 8005EF94 0005BEF4 D0 1E 00 18 */ stfs f0, 0x18(r30)
/* 8005EF98 0005BEF8 48 2B 52 69 */ bl __ct__9CVector2fFff
/* 8005EF9C 0005BEFC C0 01 00 08 */ lfs f0, 8(r1)
/* 8005EFA0 0005BF00 D0 1E 00 0C */ stfs f0, 0xc(r30)
/* 8005EFA4 0005BF04 C0 01 00 0C */ lfs f0, 0xc(r1)
/* 8005EFA8 0005BF08 D0 1E 00 10 */ stfs f0, 0x10(r30)
/* 8005EFAC 0005BF0C D3 FE 00 34 */ stfs f31, 0x34(r30)
/* 8005EFB0 0005BF10 E0 7F A0 02 */ psq_l f3, 2(r31), 1, qr2
/* 8005EFB4 0005BF14 E0 3F A0 01 */ psq_l f1, 1(r31), 1, qr2
/* 8005EFB8 0005BF18 E0 5F A0 00 */ psq_l f2, 0(r31), 1, qr2
/* 8005EFBC 0005BF1C C0 02 87 0C */ lfs f0, lbl_805AA42C@sda21(r2)
/* 8005EFC0 0005BF20 EC 40 00 B2 */ fmuls f2, f0, f2
/* 8005EFC4 0005BF24 EC 20 00 72 */ fmuls f1, f0, f1
/* 8005EFC8 0005BF28 EC 00 00 F2 */ fmuls f0, f0, f3
/* 8005EFCC 0005BF2C D0 5E 00 28 */ stfs f2, 0x28(r30)
/* 8005EFD0 0005BF30 D0 3E 00 2C */ stfs f1, 0x2c(r30)
/* 8005EFD4 0005BF34 D0 1E 00 30 */ stfs f0, 0x30(r30)
/* 8005EFD8 0005BF38 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0
/* 8005EFDC 0005BF3C 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8005EFE0 0005BF40 CB E1 00 20 */ lfd f31, 0x20(r1)
/* 8005EFE4 0005BF44 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8005EFE8 0005BF48 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8005EFEC 0005BF4C 7C 08 03 A6 */ mtlr r0
/* 8005EFF0 0005BF50 38 21 00 30 */ addi r1, r1, 0x30
/* 8005EFF4 0005BF54 4E 80 00 20 */ blr
.global FadeFog__Q29CGameArea8CAreaFogF11ERglFogModeRC6CColorRC9CVector2ffRC9CVector2f
FadeFog__Q29CGameArea8CAreaFogF11ERglFogModeRC6CColorRC9CVector2ffRC9CVector2f:
/* 8005EFF8 0005BF58 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8005EFFC 0005BF5C 7C 08 02 A6 */ mflr r0
/* 8005F000 0005BF60 90 01 00 34 */ stw r0, 0x34(r1)
/* 8005F004 0005BF64 DB E1 00 20 */ stfd f31, 0x20(r1)
/* 8005F008 0005BF68 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0
/* 8005F00C 0005BF6C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8005F010 0005BF70 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8005F014 0005BF74 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8005F018 0005BF78 7C 7D 1B 78 */ mr r29, r3
/* 8005F01C 0005BF7C FF E0 08 90 */ fmr f31, f1
/* 8005F020 0005BF80 80 03 00 00 */ lwz r0, 0(r3)
/* 8005F024 0005BF84 7C DE 33 78 */ mr r30, r6
/* 8005F028 0005BF88 7C FF 3B 78 */ mr r31, r7
/* 8005F02C 0005BF8C 2C 00 00 00 */ cmpwi r0, 0
/* 8005F030 0005BF90 40 82 00 7C */ bne lbl_8005F0AC
/* 8005F034 0005BF94 90 9D 00 00 */ stw r4, 0(r29)
/* 8005F038 0005BF98 E0 65 A0 02 */ psq_l f3, 2(r5), 1, qr2
/* 8005F03C 0005BF9C E0 25 A0 01 */ psq_l f1, 1(r5), 1, qr2
/* 8005F040 0005BFA0 E0 45 A0 00 */ psq_l f2, 0(r5), 1, qr2
/* 8005F044 0005BFA4 38 61 00 08 */ addi r3, r1, 8
/* 8005F048 0005BFA8 C0 02 87 0C */ lfs f0, lbl_805AA42C@sda21(r2)
/* 8005F04C 0005BFAC EC 40 00 B2 */ fmuls f2, f0, f2
/* 8005F050 0005BFB0 EC 20 00 72 */ fmuls f1, f0, f1
/* 8005F054 0005BFB4 EC 00 00 F2 */ fmuls f0, f0, f3
/* 8005F058 0005BFB8 D0 5D 00 28 */ stfs f2, 0x28(r29)
/* 8005F05C 0005BFBC D0 3D 00 2C */ stfs f1, 0x2c(r29)
/* 8005F060 0005BFC0 D0 1D 00 30 */ stfs f0, 0x30(r29)
/* 8005F064 0005BFC4 C0 1D 00 28 */ lfs f0, 0x28(r29)
/* 8005F068 0005BFC8 D0 1D 00 1C */ stfs f0, 0x1c(r29)
/* 8005F06C 0005BFCC C0 1D 00 2C */ lfs f0, 0x2c(r29)
/* 8005F070 0005BFD0 D0 1D 00 20 */ stfs f0, 0x20(r29)
/* 8005F074 0005BFD4 C0 1D 00 30 */ lfs f0, 0x30(r29)
/* 8005F078 0005BFD8 D0 1D 00 24 */ stfs f0, 0x24(r29)
/* 8005F07C 0005BFDC C0 3E 00 04 */ lfs f1, 4(r30)
/* 8005F080 0005BFE0 FC 40 08 90 */ fmr f2, f1
/* 8005F084 0005BFE4 48 2B 51 7D */ bl __ct__9CVector2fFff
/* 8005F088 0005BFE8 C0 01 00 08 */ lfs f0, 8(r1)
/* 8005F08C 0005BFEC D0 1D 00 04 */ stfs f0, 4(r29)
/* 8005F090 0005BFF0 C0 01 00 0C */ lfs f0, 0xc(r1)
/* 8005F094 0005BFF4 D0 1D 00 08 */ stfs f0, 8(r29)
/* 8005F098 0005BFF8 C0 1E 00 00 */ lfs f0, 0(r30)
/* 8005F09C 0005BFFC D0 1D 00 0C */ stfs f0, 0xc(r29)
/* 8005F0A0 0005C000 C0 1E 00 04 */ lfs f0, 4(r30)
/* 8005F0A4 0005C004 D0 1D 00 10 */ stfs f0, 0x10(r29)
/* 8005F0A8 0005C008 48 00 00 40 */ b lbl_8005F0E8
lbl_8005F0AC:
/* 8005F0AC 0005C00C 90 9D 00 00 */ stw r4, 0(r29)
/* 8005F0B0 0005C010 E0 65 A0 02 */ psq_l f3, 2(r5), 1, qr2
/* 8005F0B4 0005C014 E0 25 A0 01 */ psq_l f1, 1(r5), 1, qr2
/* 8005F0B8 0005C018 E0 45 A0 00 */ psq_l f2, 0(r5), 1, qr2
/* 8005F0BC 0005C01C C0 02 87 0C */ lfs f0, lbl_805AA42C@sda21(r2)
/* 8005F0C0 0005C020 EC 40 00 B2 */ fmuls f2, f0, f2
/* 8005F0C4 0005C024 EC 20 00 72 */ fmuls f1, f0, f1
/* 8005F0C8 0005C028 EC 00 00 F2 */ fmuls f0, f0, f3
/* 8005F0CC 0005C02C D0 5D 00 28 */ stfs f2, 0x28(r29)
/* 8005F0D0 0005C030 D0 3D 00 2C */ stfs f1, 0x2c(r29)
/* 8005F0D4 0005C034 D0 1D 00 30 */ stfs f0, 0x30(r29)
/* 8005F0D8 0005C038 C0 1E 00 00 */ lfs f0, 0(r30)
/* 8005F0DC 0005C03C D0 1D 00 0C */ stfs f0, 0xc(r29)
/* 8005F0E0 0005C040 C0 1E 00 04 */ lfs f0, 4(r30)
/* 8005F0E4 0005C044 D0 1D 00 10 */ stfs f0, 0x10(r29)
lbl_8005F0E8:
/* 8005F0E8 0005C048 D3 FD 00 34 */ stfs f31, 0x34(r29)
/* 8005F0EC 0005C04C C0 1F 00 00 */ lfs f0, 0(r31)
/* 8005F0F0 0005C050 D0 1D 00 14 */ stfs f0, 0x14(r29)
/* 8005F0F4 0005C054 C0 1F 00 04 */ lfs f0, 4(r31)
/* 8005F0F8 0005C058 D0 1D 00 18 */ stfs f0, 0x18(r29)
/* 8005F0FC 0005C05C E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0
/* 8005F100 0005C060 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8005F104 0005C064 CB E1 00 20 */ lfd f31, 0x20(r1)
/* 8005F108 0005C068 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8005F10C 0005C06C 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8005F110 0005C070 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8005F114 0005C074 7C 08 03 A6 */ mtlr r0
/* 8005F118 0005C078 38 21 00 30 */ addi r1, r1, 0x30
/* 8005F11C 0005C07C 4E 80 00 20 */ blr
.global SetFogExplicit__Q29CGameArea8CAreaFogF11ERglFogModeRC6CColorRC9CVector2f
SetFogExplicit__Q29CGameArea8CAreaFogF11ERglFogModeRC6CColorRC9CVector2f:
/* 8005F120 0005C080 90 83 00 00 */ stw r4, 0(r3)
/* 8005F124 0005C084 E0 65 A0 02 */ psq_l f3, 2(r5), 1, qr2
/* 8005F128 0005C088 E0 25 A0 01 */ psq_l f1, 1(r5), 1, qr2
/* 8005F12C 0005C08C E0 45 A0 00 */ psq_l f2, 0(r5), 1, qr2
/* 8005F130 0005C090 C0 02 87 0C */ lfs f0, lbl_805AA42C@sda21(r2)
/* 8005F134 0005C094 EC 40 00 B2 */ fmuls f2, f0, f2
/* 8005F138 0005C098 EC 20 00 72 */ fmuls f1, f0, f1
/* 8005F13C 0005C09C EC 00 00 F2 */ fmuls f0, f0, f3
/* 8005F140 0005C0A0 D0 43 00 28 */ stfs f2, 0x28(r3)
/* 8005F144 0005C0A4 D0 23 00 2C */ stfs f1, 0x2c(r3)
/* 8005F148 0005C0A8 D0 03 00 30 */ stfs f0, 0x30(r3)
/* 8005F14C 0005C0AC C0 03 00 28 */ lfs f0, 0x28(r3)
/* 8005F150 0005C0B0 D0 03 00 1C */ stfs f0, 0x1c(r3)
/* 8005F154 0005C0B4 C0 03 00 2C */ lfs f0, 0x2c(r3)
/* 8005F158 0005C0B8 D0 03 00 20 */ stfs f0, 0x20(r3)
/* 8005F15C 0005C0BC C0 03 00 30 */ lfs f0, 0x30(r3)
/* 8005F160 0005C0C0 D0 03 00 24 */ stfs f0, 0x24(r3)
/* 8005F164 0005C0C4 C0 06 00 00 */ lfs f0, 0(r6)
/* 8005F168 0005C0C8 D0 03 00 0C */ stfs f0, 0xc(r3)
/* 8005F16C 0005C0CC C0 06 00 04 */ lfs f0, 4(r6)
/* 8005F170 0005C0D0 D0 03 00 10 */ stfs f0, 0x10(r3)
/* 8005F174 0005C0D4 C0 03 00 0C */ lfs f0, 0xc(r3)
/* 8005F178 0005C0D8 D0 03 00 04 */ stfs f0, 4(r3)
/* 8005F17C 0005C0DC C0 03 00 10 */ lfs f0, 0x10(r3)
/* 8005F180 0005C0E0 D0 03 00 08 */ stfs f0, 8(r3)
/* 8005F184 0005C0E4 4E 80 00 20 */ blr
.global IsFogDisabled__Q29CGameArea8CAreaFogCFv
IsFogDisabled__Q29CGameArea8CAreaFogCFv:
/* 8005F188 0005C0E8 80 03 00 00 */ lwz r0, 0(r3)
/* 8005F18C 0005C0EC 7C 00 00 34 */ cntlzw r0, r0
/* 8005F190 0005C0F0 54 03 D9 7E */ srwi r3, r0, 5
/* 8005F194 0005C0F4 4E 80 00 20 */ blr
.global DisableFog__Q29CGameArea8CAreaFogFv
DisableFog__Q29CGameArea8CAreaFogFv:
/* 8005F198 0005C0F8 38 00 00 00 */ li r0, 0
/* 8005F19C 0005C0FC 90 03 00 00 */ stw r0, 0(r3)
/* 8005F1A0 0005C100 4E 80 00 20 */ blr
.global __ct__Q29CGameArea8CAreaFogFv
__ct__Q29CGameArea8CAreaFogFv:
/* 8005F1A4 0005C104 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8005F1A8 0005C108 7C 08 02 A6 */ mflr r0
/* 8005F1AC 0005C10C C0 22 87 00 */ lfs f1, lbl_805AA420@sda21(r2)
/* 8005F1B0 0005C110 90 01 00 14 */ stw r0, 0x14(r1)
/* 8005F1B4 0005C114 38 00 00 00 */ li r0, 0
/* 8005F1B8 0005C118 C0 42 87 18 */ lfs f2, lbl_805AA438@sda21(r2)
/* 8005F1BC 0005C11C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8005F1C0 0005C120 7C 7F 1B 78 */ mr r31, r3
/* 8005F1C4 0005C124 90 03 00 00 */ stw r0, 0(r3)
/* 8005F1C8 0005C128 38 7F 00 04 */ addi r3, r31, 4
/* 8005F1CC 0005C12C 48 2B 50 35 */ bl __ct__9CVector2fFff
/* 8005F1D0 0005C130 C0 1F 00 04 */ lfs f0, 4(r31)
/* 8005F1D4 0005C134 38 7F 00 14 */ addi r3, r31, 0x14
/* 8005F1D8 0005C138 C0 22 87 00 */ lfs f1, lbl_805AA420@sda21(r2)
/* 8005F1DC 0005C13C D0 1F 00 0C */ stfs f0, 0xc(r31)
/* 8005F1E0 0005C140 FC 40 08 90 */ fmr f2, f1
/* 8005F1E4 0005C144 C0 1F 00 08 */ lfs f0, 8(r31)
/* 8005F1E8 0005C148 D0 1F 00 10 */ stfs f0, 0x10(r31)
/* 8005F1EC 0005C14C 48 2B 50 15 */ bl __ct__9CVector2fFff
/* 8005F1F0 0005C150 C0 22 87 1C */ lfs f1, lbl_805AA43C@sda21(r2)
/* 8005F1F4 0005C154 7F E3 FB 78 */ mr r3, r31
/* 8005F1F8 0005C158 C0 02 87 00 */ lfs f0, lbl_805AA420@sda21(r2)
/* 8005F1FC 0005C15C D0 3F 00 1C */ stfs f1, 0x1c(r31)
/* 8005F200 0005C160 D0 3F 00 20 */ stfs f1, 0x20(r31)
/* 8005F204 0005C164 D0 3F 00 24 */ stfs f1, 0x24(r31)
/* 8005F208 0005C168 C0 3F 00 1C */ lfs f1, 0x1c(r31)
/* 8005F20C 0005C16C D0 3F 00 28 */ stfs f1, 0x28(r31)
/* 8005F210 0005C170 C0 3F 00 20 */ lfs f1, 0x20(r31)
/* 8005F214 0005C174 D0 3F 00 2C */ stfs f1, 0x2c(r31)
/* 8005F218 0005C178 C0 3F 00 24 */ lfs f1, 0x24(r31)
/* 8005F21C 0005C17C D0 3F 00 30 */ stfs f1, 0x30(r31)
/* 8005F220 0005C180 D0 1F 00 34 */ stfs f0, 0x34(r31)
/* 8005F224 0005C184 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8005F228 0005C188 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8005F22C 0005C18C 7C 08 03 A6 */ mtlr r0
/* 8005F230 0005C190 38 21 00 10 */ addi r1, r1, 0x10
/* 8005F234 0005C194 4E 80 00 20 */ blr
.global IsQualified__Q29CGameArea15CAreaObjectListFRC7CEntity
IsQualified__Q29CGameArea15CAreaObjectListFRC7CEntity:
/* 8005F238 0005C198 80 63 20 0C */ lwz r3, 0x200c(r3)
/* 8005F23C 0005C19C 80 04 00 04 */ lwz r0, 4(r4)
/* 8005F240 0005C1A0 7C 03 00 50 */ subf r0, r3, r0
/* 8005F244 0005C1A4 7C 00 00 34 */ cntlzw r0, r0
/* 8005F248 0005C1A8 54 03 DE 3E */ rlwinm r3, r0, 0x1b, 0x18, 0x1f
/* 8005F24C 0005C1AC 4E 80 00 20 */ blr
.global GetShouldLoadOther__Q29IGameArea4DockCFi
GetShouldLoadOther__Q29IGameArea4DockCFi:
/* 8005F250 0005C1B0 80 03 00 08 */ lwz r0, 8(r3)
/* 8005F254 0005C1B4 7C 04 00 00 */ cmpw r4, r0
/* 8005F258 0005C1B8 40 80 00 30 */ bge lbl_8005F288
/* 8005F25C 0005C1BC 54 84 18 38 */ slwi r4, r4, 3
/* 8005F260 0005C1C0 80 63 00 10 */ lwz r3, 0x10(r3)
/* 8005F264 0005C1C4 38 04 00 06 */ addi r0, r4, 6
/* 8005F268 0005C1C8 7C 03 00 AE */ lbzx r0, r3, r0
/* 8005F26C 0005C1CC 54 00 C0 02 */ rlwinm r0, r0, 0x18, 0, 1
/* 8005F270 0005C1D0 7C 00 FE 70 */ srawi r0, r0, 0x1f
/* 8005F274 0005C1D4 7C 03 07 74 */ extsb r3, r0
/* 8005F278 0005C1D8 7C 03 00 D0 */ neg r0, r3
/* 8005F27C 0005C1DC 7C 00 1B 78 */ or r0, r0, r3
/* 8005F280 0005C1E0 54 03 0F FE */ srwi r3, r0, 0x1f
/* 8005F284 0005C1E4 4E 80 00 20 */ blr
lbl_8005F288:
/* 8005F288 0005C1E8 38 60 00 00 */ li r3, 0
/* 8005F28C 0005C1EC 4E 80 00 20 */ blr
.global SetShouldLoadOther__Q29IGameArea4DockFib
SetShouldLoadOther__Q29IGameArea4DockFib:
/* 8005F290 0005C1F0 80 03 00 08 */ lwz r0, 8(r3)
/* 8005F294 0005C1F4 7C 04 00 00 */ cmpw r4, r0
/* 8005F298 0005C1F8 4C 80 00 20 */ bgelr
/* 8005F29C 0005C1FC 54 84 18 38 */ slwi r4, r4, 3
/* 8005F2A0 0005C200 80 C3 00 10 */ lwz r6, 0x10(r3)
/* 8005F2A4 0005C204 38 64 00 06 */ addi r3, r4, 6
/* 8005F2A8 0005C208 7C A4 07 74 */ extsb r4, r5
/* 8005F2AC 0005C20C 7C 06 18 AE */ lbzx r0, r6, r3
/* 8005F2B0 0005C210 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18
/* 8005F2B4 0005C214 7C 06 19 AE */ stbx r0, r6, r3
/* 8005F2B8 0005C218 4E 80 00 20 */ blr
.global ShouldLoadOtherArea__Q29IGameArea4DockCFi
ShouldLoadOtherArea__Q29IGameArea4DockCFi:
/* 8005F2BC 0005C21C 80 03 00 08 */ lwz r0, 8(r3)
/* 8005F2C0 0005C220 2C 00 00 00 */ cmpwi r0, 0
/* 8005F2C4 0005C224 40 82 00 0C */ bne lbl_8005F2D0
/* 8005F2C8 0005C228 38 60 00 00 */ li r3, 0
/* 8005F2CC 0005C22C 4E 80 00 20 */ blr
lbl_8005F2D0:
/* 8005F2D0 0005C230 54 84 18 38 */ slwi r4, r4, 3
/* 8005F2D4 0005C234 80 63 00 10 */ lwz r3, 0x10(r3)
/* 8005F2D8 0005C238 38 04 00 06 */ addi r0, r4, 6
/* 8005F2DC 0005C23C 7C 03 00 AE */ lbzx r0, r3, r0
/* 8005F2E0 0005C240 54 00 C0 02 */ rlwinm r0, r0, 0x18, 0, 1
/* 8005F2E4 0005C244 7C 00 FE 70 */ srawi r0, r0, 0x1f
/* 8005F2E8 0005C248 7C 03 07 74 */ extsb r3, r0
/* 8005F2EC 0005C24C 7C 03 00 D0 */ neg r0, r3
/* 8005F2F0 0005C250 7C 00 1B 78 */ or r0, r0, r3
/* 8005F2F4 0005C254 54 03 0F FE */ srwi r3, r0, 0x1f
/* 8005F2F8 0005C258 4E 80 00 20 */ blr
.global GetOtherDockNumber__Q29IGameArea4DockCFi
GetOtherDockNumber__Q29IGameArea4DockCFi:
/* 8005F2FC 0005C25C 80 03 00 08 */ lwz r0, 8(r3)
/* 8005F300 0005C260 2C 00 00 00 */ cmpwi r0, 0
/* 8005F304 0005C264 40 82 00 0C */ bne lbl_8005F310
/* 8005F308 0005C268 38 60 FF FF */ li r3, -1
/* 8005F30C 0005C26C 4E 80 00 20 */ blr
lbl_8005F310:
/* 8005F310 0005C270 54 84 18 38 */ slwi r4, r4, 3
/* 8005F314 0005C274 80 63 00 10 */ lwz r3, 0x10(r3)
/* 8005F318 0005C278 38 04 00 04 */ addi r0, r4, 4
/* 8005F31C 0005C27C 7C 63 02 AE */ lhax r3, r3, r0
/* 8005F320 0005C280 4E 80 00 20 */ blr
.global GetConnectedAreaId__Q29IGameArea4DockCFi
GetConnectedAreaId__Q29IGameArea4DockCFi:
/* 8005F324 0005C284 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8005F328 0005C288 80 04 00 08 */ lwz r0, 8(r4)
/* 8005F32C 0005C28C 2C 00 00 00 */ cmpwi r0, 0
/* 8005F330 0005C290 40 82 00 14 */ bne lbl_8005F344
/* 8005F334 0005C294 38 00 FF FF */ li r0, -1
/* 8005F338 0005C298 38 81 00 08 */ addi r4, r1, 8
/* 8005F33C 0005C29C 90 01 00 08 */ stw r0, 8(r1)
/* 8005F340 0005C2A0 48 00 00 10 */ b lbl_8005F350
lbl_8005F344:
/* 8005F344 0005C2A4 80 84 00 10 */ lwz r4, 0x10(r4)
/* 8005F348 0005C2A8 54 A0 18 38 */ slwi r0, r5, 3
/* 8005F34C 0005C2AC 7C 84 02 14 */ add r4, r4, r0
lbl_8005F350:
/* 8005F350 0005C2B0 80 04 00 00 */ lwz r0, 0(r4)
/* 8005F354 0005C2B4 90 03 00 00 */ stw r0, 0(r3)
/* 8005F358 0005C2B8 38 21 00 10 */ addi r1, r1, 0x10
/* 8005F35C 0005C2BC 4E 80 00 20 */ blr
.global SetReferenceCount__Q29IGameArea4DockFi
SetReferenceCount__Q29IGameArea4DockFi:
/* 8005F360 0005C2C0 90 83 00 00 */ stw r4, 0(r3)
/* 8005F364 0005C2C4 38 00 00 01 */ li r0, 1
/* 8005F368 0005C2C8 98 03 00 48 */ stb r0, 0x48(r3)
/* 8005F36C 0005C2CC 4E 80 00 20 */ blr
.global GetReferenceCount__Q29IGameArea4DockCFv
GetReferenceCount__Q29IGameArea4DockCFv:
/* 8005F370 0005C2D0 80 63 00 00 */ lwz r3, 0(r3)
/* 8005F374 0005C2D4 4E 80 00 20 */ blr
.global IsReferenced__Q29IGameArea4DockCFv
IsReferenced__Q29IGameArea4DockCFv:
/* 8005F378 0005C2D8 88 63 00 48 */ lbz r3, 0x48(r3)
/* 8005F37C 0005C2DC 4E 80 00 20 */ blr
.global __ct__Q29IGameArea4DockFR12CInputStreamRC12CTransform4f
__ct__Q29IGameArea4DockFR12CInputStreamRC12CTransform4f:
/* 8005F380 0005C2E0 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 8005F384 0005C2E4 7C 08 02 A6 */ mflr r0
/* 8005F388 0005C2E8 90 01 00 44 */ stw r0, 0x44(r1)
/* 8005F38C 0005C2EC 38 00 00 00 */ li r0, 0
/* 8005F390 0005C2F0 BF 41 00 28 */ stmw r26, 0x28(r1)
/* 8005F394 0005C2F4 7C 7B 1B 78 */ mr r27, r3
/* 8005F398 0005C2F8 7C 9C 23 78 */ mr r28, r4
/* 8005F39C 0005C2FC 7C BD 2B 78 */ mr r29, r5
/* 8005F3A0 0005C300 90 03 00 00 */ stw r0, 0(r3)
/* 8005F3A4 0005C304 90 03 00 08 */ stw r0, 8(r3)
/* 8005F3A8 0005C308 7F 83 E3 78 */ mr r3, r28
/* 8005F3AC 0005C30C 90 1B 00 0C */ stw r0, 0xc(r27)
/* 8005F3B0 0005C310 90 1B 00 10 */ stw r0, 0x10(r27)
/* 8005F3B4 0005C314 90 1B 00 14 */ stw r0, 0x14(r27)
/* 8005F3B8 0005C318 98 1B 00 48 */ stb r0, 0x48(r27)
/* 8005F3BC 0005C31C 48 2D F8 C9 */ bl ReadLong__12CInputStreamFv
/* 8005F3C0 0005C320 7C 7F 1B 78 */ mr r31, r3
/* 8005F3C4 0005C324 38 7B 00 04 */ addi r3, r27, 4
/* 8005F3C8 0005C328 7F E4 FB 78 */ mr r4, r31
/* 8005F3CC 0005C32C 48 00 4A B5 */ bl "reserve__Q24rstl68vector<Q39IGameArea4Dock14SDockReference,Q24rstl17rmemory_allocator>Fi"
/* 8005F3D0 0005C330 3B C0 00 00 */ li r30, 0
/* 8005F3D4 0005C334 48 00 00 94 */ b lbl_8005F468
lbl_8005F3D8:
/* 8005F3D8 0005C338 7F 83 E3 78 */ mr r3, r28
/* 8005F3DC 0005C33C 48 2D F8 A9 */ bl ReadLong__12CInputStreamFv
/* 8005F3E0 0005C340 7C 7A 1B 78 */ mr r26, r3
/* 8005F3E4 0005C344 7F 83 E3 78 */ mr r3, r28
/* 8005F3E8 0005C348 48 2D F8 9D */ bl ReadLong__12CInputStreamFv
/* 8005F3EC 0005C34C 80 1B 00 08 */ lwz r0, 8(r27)
/* 8005F3F0 0005C350 38 A0 00 00 */ li r5, 0
/* 8005F3F4 0005C354 80 DB 00 0C */ lwz r6, 0xc(r27)
/* 8005F3F8 0005C358 A8 81 00 0E */ lha r4, 0xe(r1)
/* 8005F3FC 0005C35C 50 A4 7C 20 */ rlwimi r4, r5, 0xf, 0x10, 0x10
/* 8005F400 0005C360 7C 00 30 00 */ cmpw r0, r6
/* 8005F404 0005C364 93 41 00 08 */ stw r26, 8(r1)
/* 8005F408 0005C368 B0 61 00 0C */ sth r3, 0xc(r1)
/* 8005F40C 0005C36C B0 81 00 0E */ sth r4, 0xe(r1)
/* 8005F410 0005C370 41 80 00 1C */ blt lbl_8005F42C
/* 8005F414 0005C374 2C 06 00 00 */ cmpwi r6, 0
/* 8005F418 0005C378 38 7B 00 04 */ addi r3, r27, 4
/* 8005F41C 0005C37C 38 80 00 04 */ li r4, 4
/* 8005F420 0005C380 41 82 00 08 */ beq lbl_8005F428
/* 8005F424 0005C384 54 C4 08 3C */ slwi r4, r6, 1
lbl_8005F428:
/* 8005F428 0005C388 48 00 4A 59 */ bl "reserve__Q24rstl68vector<Q39IGameArea4Dock14SDockReference,Q24rstl17rmemory_allocator>Fi"
lbl_8005F42C:
/* 8005F42C 0005C38C 80 1B 00 08 */ lwz r0, 8(r27)
/* 8005F430 0005C390 80 7B 00 10 */ lwz r3, 0x10(r27)
/* 8005F434 0005C394 54 00 18 38 */ slwi r0, r0, 3
/* 8005F438 0005C398 7C 83 02 15 */ add. r4, r3, r0
/* 8005F43C 0005C39C 41 82 00 1C */ beq lbl_8005F458
/* 8005F440 0005C3A0 80 01 00 08 */ lwz r0, 8(r1)
/* 8005F444 0005C3A4 A8 61 00 0C */ lha r3, 0xc(r1)
/* 8005F448 0005C3A8 90 04 00 00 */ stw r0, 0(r4)
/* 8005F44C 0005C3AC A8 01 00 0E */ lha r0, 0xe(r1)
/* 8005F450 0005C3B0 B0 64 00 04 */ sth r3, 4(r4)
/* 8005F454 0005C3B4 B0 04 00 06 */ sth r0, 6(r4)
lbl_8005F458:
/* 8005F458 0005C3B8 80 7B 00 08 */ lwz r3, 8(r27)
/* 8005F45C 0005C3BC 3B DE 00 01 */ addi r30, r30, 1
/* 8005F460 0005C3C0 38 03 00 01 */ addi r0, r3, 1
/* 8005F464 0005C3C4 90 1B 00 08 */ stw r0, 8(r27)
lbl_8005F468:
/* 8005F468 0005C3C8 7C 1E F8 00 */ cmpw r30, r31
/* 8005F46C 0005C3CC 41 80 FF 6C */ blt lbl_8005F3D8
/* 8005F470 0005C3D0 7F 83 E3 78 */ mr r3, r28
/* 8005F474 0005C3D4 48 2D F8 11 */ bl ReadLong__12CInputStreamFv
/* 8005F478 0005C3D8 7C 7E 1B 78 */ mr r30, r3
/* 8005F47C 0005C3DC 3B 5B 00 14 */ addi r26, r27, 0x14
/* 8005F480 0005C3E0 3B E0 00 00 */ li r31, 0
/* 8005F484 0005C3E4 48 00 00 5C */ b lbl_8005F4E0
lbl_8005F488:
/* 8005F488 0005C3E8 7F 84 E3 78 */ mr r4, r28
/* 8005F48C 0005C3EC 38 61 00 10 */ addi r3, r1, 0x10
/* 8005F490 0005C3F0 48 2B 56 FD */ bl __ct__9CVector3fFR12CInputStream
/* 8005F494 0005C3F4 7C 65 1B 78 */ mr r5, r3
/* 8005F498 0005C3F8 7F A4 EB 78 */ mr r4, r29
/* 8005F49C 0005C3FC 38 61 00 1C */ addi r3, r1, 0x1c
/* 8005F4A0 0005C400 48 2B 36 49 */ bl __ml__12CTransform4fCFRC9CVector3f
/* 8005F4A4 0005C404 80 1A 00 00 */ lwz r0, 0(r26)
/* 8005F4A8 0005C408 1C 00 00 0C */ mulli r0, r0, 0xc
/* 8005F4AC 0005C40C 7C 7A 02 14 */ add r3, r26, r0
/* 8005F4B0 0005C410 34 63 00 04 */ addic. r3, r3, 4
/* 8005F4B4 0005C414 41 82 00 1C */ beq lbl_8005F4D0
/* 8005F4B8 0005C418 C0 01 00 1C */ lfs f0, 0x1c(r1)
/* 8005F4BC 0005C41C D0 03 00 00 */ stfs f0, 0(r3)
/* 8005F4C0 0005C420 C0 01 00 20 */ lfs f0, 0x20(r1)
/* 8005F4C4 0005C424 D0 03 00 04 */ stfs f0, 4(r3)
/* 8005F4C8 0005C428 C0 01 00 24 */ lfs f0, 0x24(r1)
/* 8005F4CC 0005C42C D0 03 00 08 */ stfs f0, 8(r3)
lbl_8005F4D0:
/* 8005F4D0 0005C430 80 7B 00 14 */ lwz r3, 0x14(r27)
/* 8005F4D4 0005C434 3B FF 00 01 */ addi r31, r31, 1
/* 8005F4D8 0005C438 38 03 00 01 */ addi r0, r3, 1
/* 8005F4DC 0005C43C 90 1B 00 14 */ stw r0, 0x14(r27)
lbl_8005F4E0:
/* 8005F4E0 0005C440 7C 1F F0 00 */ cmpw r31, r30
/* 8005F4E4 0005C444 41 80 FF A4 */ blt lbl_8005F488
/* 8005F4E8 0005C448 7F 63 DB 78 */ mr r3, r27
/* 8005F4EC 0005C44C BB 41 00 28 */ lmw r26, 0x28(r1)
/* 8005F4F0 0005C450 80 01 00 44 */ lwz r0, 0x44(r1)
/* 8005F4F4 0005C454 7C 08 03 A6 */ mtlr r0
/* 8005F4F8 0005C458 38 21 00 40 */ addi r1, r1, 0x40
/* 8005F4FC 0005C45C 4E 80 00 20 */ blr
.global OtherAreaOcclusionChanged__9CGameAreaFv
OtherAreaOcclusionChanged__9CGameAreaFv:
/* 8005F500 0005C460 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8005F504 0005C464 7C 08 02 A6 */ mflr r0
/* 8005F508 0005C468 90 01 00 14 */ stw r0, 0x14(r1)
/* 8005F50C 0005C46C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8005F510 0005C470 93 C1 00 08 */ stw r30, 8(r1)
/* 8005F514 0005C474 7C 7E 1B 78 */ mr r30, r3
/* 8005F518 0005C478 80 83 01 2C */ lwz r4, 0x12c(r3)
/* 8005F51C 0005C47C 80 04 10 E0 */ lwz r0, 0x10e0(r4)
/* 8005F520 0005C480 2C 00 00 03 */ cmpwi r0, 3
/* 8005F524 0005C484 40 82 00 4C */ bne lbl_8005F570
/* 8005F528 0005C488 80 04 10 DC */ lwz r0, 0x10dc(r4)
/* 8005F52C 0005C48C 2C 00 00 00 */ cmpwi r0, 0
/* 8005F530 0005C490 40 82 00 40 */ bne lbl_8005F570
/* 8005F534 0005C494 48 00 10 D1 */ bl UnloadAllloadedTextures__9CGameAreaFv
/* 8005F538 0005C498 7C 7F 1B 78 */ mr r31, r3
/* 8005F53C 0005C49C 7F C3 F3 78 */ mr r3, r30
/* 8005F540 0005C4A0 48 00 03 81 */ bl TransferTokensToARAM__9CGameAreaFv
/* 8005F544 0005C4A4 57 E0 06 3F */ clrlwi. r0, r31, 0x18
/* 8005F548 0005C4A8 38 80 00 00 */ li r4, 0
/* 8005F54C 0005C4AC 41 82 00 10 */ beq lbl_8005F55C
/* 8005F550 0005C4B0 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8005F554 0005C4B4 41 82 00 08 */ beq lbl_8005F55C
/* 8005F558 0005C4B8 38 80 00 01 */ li r4, 1
lbl_8005F55C:
/* 8005F55C 0005C4BC 80 7E 01 2C */ lwz r3, 0x12c(r30)
/* 8005F560 0005C4C0 88 03 11 08 */ lbz r0, 0x1108(r3)
/* 8005F564 0005C4C4 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b
/* 8005F568 0005C4C8 98 03 11 08 */ stb r0, 0x1108(r3)
/* 8005F56C 0005C4CC 48 00 00 18 */ b lbl_8005F584
lbl_8005F570:
/* 8005F570 0005C4D0 80 04 10 DC */ lwz r0, 0x10dc(r4)
/* 8005F574 0005C4D4 2C 00 00 01 */ cmpwi r0, 1
/* 8005F578 0005C4D8 40 82 00 0C */ bne lbl_8005F584
/* 8005F57C 0005C4DC 7F C3 F3 78 */ mr r3, r30
/* 8005F580 0005C4E0 48 00 11 4D */ bl ReloadAllUnloadedTextures__9CGameAreaFv
lbl_8005F584:
/* 8005F584 0005C4E4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8005F588 0005C4E8 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8005F58C 0005C4EC 83 C1 00 08 */ lwz r30, 8(r1)
/* 8005F590 0005C4F0 7C 08 03 A6 */ mtlr r0
/* 8005F594 0005C4F4 38 21 00 10 */ addi r1, r1, 0x10
/* 8005F598 0005C4F8 4E 80 00 20 */ blr
.global PingOcclusionState__9CGameAreaFv
PingOcclusionState__9CGameAreaFv:
/* 8005F59C 0005C4FC 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8005F5A0 0005C500 7C 08 02 A6 */ mflr r0
/* 8005F5A4 0005C504 90 01 00 14 */ stw r0, 0x14(r1)
/* 8005F5A8 0005C508 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8005F5AC 0005C50C 93 C1 00 08 */ stw r30, 8(r1)
/* 8005F5B0 0005C510 7C 7E 1B 78 */ mr r30, r3
/* 8005F5B4 0005C514 80 A3 01 2C */ lwz r5, 0x12c(r3)
/* 8005F5B8 0005C518 80 05 10 DC */ lwz r0, 0x10dc(r5)
/* 8005F5BC 0005C51C 2C 00 00 00 */ cmpwi r0, 0
/* 8005F5C0 0005C520 40 82 00 68 */ bne lbl_8005F628
/* 8005F5C4 0005C524 80 85 10 E0 */ lwz r4, 0x10e0(r5)
/* 8005F5C8 0005C528 2C 04 00 02 */ cmpwi r4, 2
/* 8005F5CC 0005C52C 40 80 00 10 */ bge lbl_8005F5DC
/* 8005F5D0 0005C530 38 04 00 01 */ addi r0, r4, 1
/* 8005F5D4 0005C534 90 05 10 E0 */ stw r0, 0x10e0(r5)
/* 8005F5D8 0005C538 48 00 00 64 */ b lbl_8005F63C
lbl_8005F5DC:
/* 8005F5DC 0005C53C 38 00 00 03 */ li r0, 3
/* 8005F5E0 0005C540 90 05 10 E0 */ stw r0, 0x10e0(r5)
/* 8005F5E4 0005C544 80 9E 01 2C */ lwz r4, 0x12c(r30)
/* 8005F5E8 0005C548 88 04 11 08 */ lbz r0, 0x1108(r4)
/* 8005F5EC 0005C54C 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f
/* 8005F5F0 0005C550 40 82 00 38 */ bne lbl_8005F628
/* 8005F5F4 0005C554 48 00 10 11 */ bl UnloadAllloadedTextures__9CGameAreaFv
/* 8005F5F8 0005C558 7C 7F 1B 78 */ mr r31, r3
/* 8005F5FC 0005C55C 7F C3 F3 78 */ mr r3, r30
/* 8005F600 0005C560 48 00 02 C1 */ bl TransferTokensToARAM__9CGameAreaFv
/* 8005F604 0005C564 57 E0 06 3F */ clrlwi. r0, r31, 0x18
/* 8005F608 0005C568 41 82 00 20 */ beq lbl_8005F628
/* 8005F60C 0005C56C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8005F610 0005C570 41 82 00 18 */ beq lbl_8005F628
/* 8005F614 0005C574 80 7E 01 2C */ lwz r3, 0x12c(r30)
/* 8005F618 0005C578 38 80 00 01 */ li r4, 1
/* 8005F61C 0005C57C 88 03 11 08 */ lbz r0, 0x1108(r3)
/* 8005F620 0005C580 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b
/* 8005F624 0005C584 98 03 11 08 */ stb r0, 0x1108(r3)
lbl_8005F628:
/* 8005F628 0005C588 80 7E 01 2C */ lwz r3, 0x12c(r30)
/* 8005F62C 0005C58C 38 80 00 01 */ li r4, 1
/* 8005F630 0005C590 88 03 11 08 */ lbz r0, 0x1108(r3)
/* 8005F634 0005C594 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a
/* 8005F638 0005C598 98 03 11 08 */ stb r0, 0x1108(r3)
lbl_8005F63C:
/* 8005F63C 0005C59C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8005F640 0005C5A0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8005F644 0005C5A4 83 C1 00 08 */ lwz r30, 8(r1)
/* 8005F648 0005C5A8 7C 08 03 A6 */ mtlr r0
/* 8005F64C 0005C5AC 38 21 00 10 */ addi r1, r1, 0x10
/* 8005F650 0005C5B0 4E 80 00 20 */ blr
.global PreRender__9CGameAreaFv
PreRender__9CGameAreaFv:
/* 8005F654 0005C5B4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8005F658 0005C5B8 7C 08 02 A6 */ mflr r0
/* 8005F65C 0005C5BC 90 01 00 14 */ stw r0, 0x14(r1)
/* 8005F660 0005C5C0 88 03 00 F0 */ lbz r0, 0xf0(r3)
/* 8005F664 0005C5C4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8005F668 0005C5C8 41 82 00 28 */ beq lbl_8005F690
/* 8005F66C 0005C5CC 80 A3 01 2C */ lwz r5, 0x12c(r3)
/* 8005F670 0005C5D0 88 85 11 08 */ lbz r4, 0x1108(r5)
/* 8005F674 0005C5D4 54 80 EF FF */ rlwinm. r0, r4, 0x1d, 0x1f, 0x1f
/* 8005F678 0005C5D8 41 82 00 14 */ beq lbl_8005F68C
/* 8005F67C 0005C5DC 38 00 00 00 */ li r0, 0
/* 8005F680 0005C5E0 50 04 1F 38 */ rlwimi r4, r0, 3, 0x1c, 0x1c
/* 8005F684 0005C5E4 98 85 11 08 */ stb r4, 0x1108(r5)
/* 8005F688 0005C5E8 48 00 00 08 */ b lbl_8005F690
lbl_8005F68C:
/* 8005F68C 0005C5EC 4B FF FF 11 */ bl PingOcclusionState__9CGameAreaFv
lbl_8005F690:
/* 8005F690 0005C5F0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8005F694 0005C5F4 7C 08 03 A6 */ mtlr r0
/* 8005F698 0005C5F8 38 21 00 10 */ addi r1, r1, 0x10
/* 8005F69C 0005C5FC 4E 80 00 20 */ blr
.global AliveUpdate__9CGameAreaFf
AliveUpdate__9CGameAreaFf:
/* 8005F6A0 0005C600 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8005F6A4 0005C604 7C 08 02 A6 */ mflr r0
/* 8005F6A8 0005C608 90 01 00 24 */ stw r0, 0x24(r1)
/* 8005F6AC 0005C60C DB E1 00 10 */ stfd f31, 0x10(r1)
/* 8005F6B0 0005C610 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0
/* 8005F6B4 0005C614 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8005F6B8 0005C618 7C 7F 1B 78 */ mr r31, r3
/* 8005F6BC 0005C61C FF E0 08 90 */ fmr f31, f1
/* 8005F6C0 0005C620 80 63 01 2C */ lwz r3, 0x12c(r3)
/* 8005F6C4 0005C624 80 03 10 DC */ lwz r0, 0x10dc(r3)
/* 8005F6C8 0005C628 2C 00 00 00 */ cmpwi r0, 0
/* 8005F6CC 0005C62C 40 82 00 14 */ bne lbl_8005F6E0
/* 8005F6D0 0005C630 C0 03 10 E4 */ lfs f0, 0x10e4(r3)
/* 8005F6D4 0005C634 EC 00 F8 2A */ fadds f0, f0, f31
/* 8005F6D8 0005C638 D0 03 10 E4 */ stfs f0, 0x10e4(r3)
/* 8005F6DC 0005C63C 48 00 00 0C */ b lbl_8005F6E8
lbl_8005F6E0:
/* 8005F6E0 0005C640 C0 02 87 00 */ lfs f0, lbl_805AA420@sda21(r2)
/* 8005F6E4 0005C644 D0 03 10 E4 */ stfs f0, 0x10e4(r3)
lbl_8005F6E8:
/* 8005F6E8 0005C648 FC 20 F8 90 */ fmr f1, f31
/* 8005F6EC 0005C64C 7F E3 FB 78 */ mr r3, r31
/* 8005F6F0 0005C650 4B FF F8 25 */ bl UpdateFog__9CGameAreaFf
/* 8005F6F4 0005C654 FC 20 F8 90 */ fmr f1, f31
/* 8005F6F8 0005C658 7F E3 FB 78 */ mr r3, r31
/* 8005F6FC 0005C65C 4B FF EA 79 */ bl UpdateThermalVisor__9CGameAreaFf
/* 8005F700 0005C660 FC 20 F8 90 */ fmr f1, f31
/* 8005F704 0005C664 7F E3 FB 78 */ mr r3, r31
/* 8005F708 0005C668 4B FF E8 91 */ bl UpdateWeaponWorldLighting__9CGameAreaFf
/* 8005F70C 0005C66C E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0
/* 8005F710 0005C670 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8005F714 0005C674 CB E1 00 10 */ lfd f31, 0x10(r1)
/* 8005F718 0005C678 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8005F71C 0005C67C 7C 08 03 A6 */ mtlr r0
/* 8005F720 0005C680 38 21 00 20 */ addi r1, r1, 0x20
/* 8005F724 0005C684 4E 80 00 20 */ blr
.global SetOcclusionState__9CGameAreaFQ29CGameArea15EOcclusionState
SetOcclusionState__9CGameAreaFQ29CGameArea15EOcclusionState:
/* 8005F728 0005C688 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8005F72C 0005C68C 7C 08 02 A6 */ mflr r0
/* 8005F730 0005C690 90 01 00 14 */ stw r0, 0x14(r1)
/* 8005F734 0005C694 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8005F738 0005C698 7C 7F 1B 78 */ mr r31, r3
/* 8005F73C 0005C69C 88 03 00 F0 */ lbz r0, 0xf0(r3)
/* 8005F740 0005C6A0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8005F744 0005C6A4 41 82 00 54 */ beq lbl_8005F798
/* 8005F748 0005C6A8 80 DF 01 2C */ lwz r6, 0x12c(r31)
/* 8005F74C 0005C6AC 80 06 10 DC */ lwz r0, 0x10dc(r6)
/* 8005F750 0005C6B0 7C 04 00 00 */ cmpw r4, r0
/* 8005F754 0005C6B4 41 82 00 44 */ beq lbl_8005F798
/* 8005F758 0005C6B8 2C 04 00 00 */ cmpwi r4, 0
/* 8005F75C 0005C6BC 40 82 00 30 */ bne lbl_8005F78C
/* 8005F760 0005C6C0 88 06 11 08 */ lbz r0, 0x1108(r6)
/* 8005F764 0005C6C4 38 80 00 01 */ li r4, 1
/* 8005F768 0005C6C8 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a
/* 8005F76C 0005C6CC 38 A0 00 00 */ li r5, 0
/* 8005F770 0005C6D0 98 06 11 08 */ stb r0, 0x1108(r6)
/* 8005F774 0005C6D4 80 9F 01 2C */ lwz r4, 0x12c(r31)
/* 8005F778 0005C6D8 88 04 11 08 */ lbz r0, 0x1108(r4)
/* 8005F77C 0005C6DC 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b
/* 8005F780 0005C6E0 98 04 11 08 */ stb r0, 0x1108(r4)
/* 8005F784 0005C6E4 48 00 00 29 */ bl RemoveStaticGeometry__9CGameAreaFv
/* 8005F788 0005C6E8 48 00 00 10 */ b lbl_8005F798
lbl_8005F78C:
/* 8005F78C 0005C6EC 48 00 0F 41 */ bl ReloadAllUnloadedTextures__9CGameAreaFv
/* 8005F790 0005C6F0 7F E3 FB 78 */ mr r3, r31
/* 8005F794 0005C6F4 48 00 00 89 */ bl AddStaticGeometry__9CGameAreaFv
lbl_8005F798:
/* 8005F798 0005C6F8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8005F79C 0005C6FC 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8005F7A0 0005C700 7C 08 03 A6 */ mtlr r0
/* 8005F7A4 0005C704 38 21 00 10 */ addi r1, r1, 0x10
/* 8005F7A8 0005C708 4E 80 00 20 */ blr
.global RemoveStaticGeometry__9CGameAreaFv
RemoveStaticGeometry__9CGameAreaFv:
/* 8005F7AC 0005C70C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8005F7B0 0005C710 7C 08 02 A6 */ mflr r0
/* 8005F7B4 0005C714 7C 64 1B 78 */ mr r4, r3
/* 8005F7B8 0005C718 90 01 00 14 */ stw r0, 0x14(r1)
/* 8005F7BC 0005C71C 88 03 00 F0 */ lbz r0, 0xf0(r3)
/* 8005F7C0 0005C720 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8005F7C4 0005C724 41 82 00 48 */ beq lbl_8005F80C
/* 8005F7C8 0005C728 80 64 01 2C */ lwz r3, 0x12c(r4)
/* 8005F7CC 0005C72C 28 03 00 00 */ cmplwi r3, 0
/* 8005F7D0 0005C730 41 82 00 3C */ beq lbl_8005F80C
/* 8005F7D4 0005C734 80 03 10 DC */ lwz r0, 0x10dc(r3)
/* 8005F7D8 0005C738 2C 00 00 00 */ cmpwi r0, 0
/* 8005F7DC 0005C73C 41 82 00 30 */ beq lbl_8005F80C
/* 8005F7E0 0005C740 38 00 00 00 */ li r0, 0
/* 8005F7E4 0005C744 90 03 10 E0 */ stw r0, 0x10e0(r3)
/* 8005F7E8 0005C748 80 64 01 2C */ lwz r3, 0x12c(r4)
/* 8005F7EC 0005C74C 90 03 10 DC */ stw r0, 0x10dc(r3)
/* 8005F7F0 0005C750 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 8005F7F4 0005C754 80 84 01 2C */ lwz r4, 0x12c(r4)
/* 8005F7F8 0005C758 81 83 00 00 */ lwz r12, 0(r3)
/* 8005F7FC 0005C75C 38 84 00 4C */ addi r4, r4, 0x4c
/* 8005F800 0005C760 81 8C 00 18 */ lwz r12, 0x18(r12)
/* 8005F804 0005C764 7D 89 03 A6 */ mtctr r12
/* 8005F808 0005C768 4E 80 04 21 */ bctrl
lbl_8005F80C:
/* 8005F80C 0005C76C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8005F810 0005C770 7C 08 03 A6 */ mtlr r0
/* 8005F814 0005C774 38 21 00 10 */ addi r1, r1, 0x10
/* 8005F818 0005C778 4E 80 00 20 */ blr
.global AddStaticGeometry__9CGameAreaFv
AddStaticGeometry__9CGameAreaFv:
/* 8005F81C 0005C77C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8005F820 0005C780 7C 08 02 A6 */ mflr r0
/* 8005F824 0005C784 90 01 00 14 */ stw r0, 0x14(r1)
/* 8005F828 0005C788 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8005F82C 0005C78C 7C 7F 1B 78 */ mr r31, r3
/* 8005F830 0005C790 80 A3 01 2C */ lwz r5, 0x12c(r3)
/* 8005F834 0005C794 80 05 10 DC */ lwz r0, 0x10dc(r5)
/* 8005F838 0005C798 2C 00 00 01 */ cmpwi r0, 1
/* 8005F83C 0005C79C 41 82 00 70 */ beq lbl_8005F8AC
/* 8005F840 0005C7A0 38 80 00 00 */ li r4, 0
/* 8005F844 0005C7A4 38 00 00 01 */ li r0, 1
/* 8005F848 0005C7A8 90 85 10 E0 */ stw r4, 0x10e0(r5)
/* 8005F84C 0005C7AC 38 80 00 00 */ li r4, 0
/* 8005F850 0005C7B0 80 BF 01 2C */ lwz r5, 0x12c(r31)
/* 8005F854 0005C7B4 90 05 10 DC */ stw r0, 0x10dc(r5)
/* 8005F858 0005C7B8 48 00 01 BD */ bl TransferARAMTokensOver__9CGameAreaFQ29CGameArea13EARAMTransfer
/* 8005F85C 0005C7BC 80 7F 01 2C */ lwz r3, 0x12c(r31)
/* 8005F860 0005C7C0 88 03 11 08 */ lbz r0, 0x1108(r3)
/* 8005F864 0005C7C4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f
/* 8005F868 0005C7C8 40 82 00 0C */ bne lbl_8005F874
/* 8005F86C 0005C7CC 7F E3 FB 78 */ mr r3, r31
/* 8005F870 0005C7D0 48 00 2C D9 */ bl FillInStaticGeometry__9CGameAreaFv
lbl_8005F874:
/* 8005F874 0005C7D4 80 9F 01 2C */ lwz r4, 0x12c(r31)
/* 8005F878 0005C7D8 80 DF 00 04 */ lwz r6, 4(r31)
/* 8005F87C 0005C7DC 88 04 00 48 */ lbz r0, 0x48(r4)
/* 8005F880 0005C7E0 28 00 00 00 */ cmplwi r0, 0
/* 8005F884 0005C7E4 41 82 00 0C */ beq lbl_8005F890
/* 8005F888 0005C7E8 38 A4 00 0C */ addi r5, r4, 0xc
/* 8005F88C 0005C7EC 48 00 00 08 */ b lbl_8005F894
lbl_8005F890:
/* 8005F890 0005C7F0 38 A0 00 00 */ li r5, 0
lbl_8005F894:
/* 8005F894 0005C7F4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 8005F898 0005C7F8 38 84 00 4C */ addi r4, r4, 0x4c
/* 8005F89C 0005C7FC 81 83 00 00 */ lwz r12, 0(r3)
/* 8005F8A0 0005C800 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8005F8A4 0005C804 7D 89 03 A6 */ mtctr r12
/* 8005F8A8 0005C808 4E 80 04 21 */ bctrl
lbl_8005F8AC:
/* 8005F8AC 0005C80C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8005F8B0 0005C810 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8005F8B4 0005C814 7C 08 03 A6 */ mtlr r0
/* 8005F8B8 0005C818 38 21 00 10 */ addi r1, r1, 0x10
/* 8005F8BC 0005C81C 4E 80 00 20 */ blr
.global TransferTokensToARAM__9CGameAreaFv
TransferTokensToARAM__9CGameAreaFv:
/* 8005F8C0 0005C820 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 8005F8C4 0005C824 7C 08 02 A6 */ mflr r0
/* 8005F8C8 0005C828 90 01 00 44 */ stw r0, 0x44(r1)
/* 8005F8CC 0005C82C 38 00 00 00 */ li r0, 0
/* 8005F8D0 0005C830 BE E1 00 1C */ stmw r23, 0x1c(r1)
/* 8005F8D4 0005C834 7C 7B 1B 78 */ mr r27, r3
/* 8005F8D8 0005C838 3B E1 00 08 */ addi r31, r1, 8
/* 8005F8DC 0005C83C 3B 80 00 01 */ li r28, 1
/* 8005F8E0 0005C840 80 63 01 2C */ lwz r3, 0x12c(r3)
/* 8005F8E4 0005C844 80 83 10 E8 */ lwz r4, 0x10e8(r3)
/* 8005F8E8 0005C848 83 C3 10 FC */ lwz r30, 0x10fc(r3)
/* 8005F8EC 0005C84C 1F A4 00 0C */ mulli r29, r4, 0xc
/* 8005F8F0 0005C850 98 01 00 08 */ stb r0, 8(r1)
/* 8005F8F4 0005C854 90 01 00 0C */ stw r0, 0xc(r1)
/* 8005F8F8 0005C858 48 00 00 B4 */ b lbl_8005F9AC
lbl_8005F8FC:
/* 8005F8FC 0005C85C 7F B8 EB 78 */ mr r24, r29
/* 8005F900 0005C860 3A E0 00 00 */ li r23, 0
/* 8005F904 0005C864 3B 40 00 00 */ li r26, 0
/* 8005F908 0005C868 48 00 00 48 */ b lbl_8005F950
lbl_8005F90C:
/* 8005F90C 0005C86C 80 1B 01 1C */ lwz r0, 0x11c(r27)
/* 8005F910 0005C870 7F 20 C2 14 */ add r25, r0, r24
/* 8005F914 0005C874 7C 1F C8 40 */ cmplw r31, r25
/* 8005F918 0005C878 41 82 00 2C */ beq lbl_8005F944
/* 8005F91C 0005C87C 88 19 00 00 */ lbz r0, 0(r25)
/* 8005F920 0005C880 28 00 00 00 */ cmplwi r0, 0
/* 8005F924 0005C884 41 82 00 0C */ beq lbl_8005F930
/* 8005F928 0005C888 80 79 00 04 */ lwz r3, 4(r25)
/* 8005F92C 0005C88C 48 2B 60 05 */ bl Free__7CMemoryFPCv
lbl_8005F930:
/* 8005F930 0005C890 88 01 00 08 */ lbz r0, 8(r1)
/* 8005F934 0005C894 98 19 00 00 */ stb r0, 0(r25)
/* 8005F938 0005C898 80 01 00 0C */ lwz r0, 0xc(r1)
/* 8005F93C 0005C89C 90 19 00 04 */ stw r0, 4(r25)
/* 8005F940 0005C8A0 9B 41 00 08 */ stb r26, 8(r1)
lbl_8005F944:
/* 8005F944 0005C8A4 3B 18 00 0C */ addi r24, r24, 0xc
/* 8005F948 0005C8A8 3B BD 00 0C */ addi r29, r29, 0xc
/* 8005F94C 0005C8AC 3A F7 00 01 */ addi r23, r23, 1
lbl_8005F950:
/* 8005F950 0005C8B0 80 1E 00 20 */ lwz r0, 0x20(r30)
/* 8005F954 0005C8B4 7C 17 00 00 */ cmpw r23, r0
/* 8005F958 0005C8B8 41 80 FF B4 */ blt lbl_8005F90C
/* 8005F95C 0005C8BC 82 FE 00 00 */ lwz r23, 0(r30)
/* 8005F960 0005C8C0 7F C3 F3 78 */ mr r3, r30
/* 8005F964 0005C8C4 48 2F 8D 15 */ bl LoadToARAM__10CARAMTokenFv
/* 8005F968 0005C8C8 2C 17 00 01 */ cmpwi r23, 1
/* 8005F96C 0005C8CC 40 82 00 24 */ bne lbl_8005F990
/* 8005F970 0005C8D0 80 1E 00 00 */ lwz r0, 0(r30)
/* 8005F974 0005C8D4 2C 00 00 01 */ cmpwi r0, 1
/* 8005F978 0005C8D8 41 82 00 18 */ beq lbl_8005F990
/* 8005F97C 0005C8DC 80 9B 01 2C */ lwz r4, 0x12c(r27)
/* 8005F980 0005C8E0 80 1E 00 0C */ lwz r0, 0xc(r30)
/* 8005F984 0005C8E4 80 64 11 00 */ lwz r3, 0x1100(r4)
/* 8005F988 0005C8E8 7C 03 02 14 */ add r0, r3, r0
/* 8005F98C 0005C8EC 90 04 11 00 */ stw r0, 0x1100(r4)
lbl_8005F990:
/* 8005F990 0005C8F0 80 1E 00 00 */ lwz r0, 0(r30)
/* 8005F994 0005C8F4 2C 00 00 02 */ cmpwi r0, 2
/* 8005F998 0005C8F8 41 80 00 10 */ blt lbl_8005F9A8
/* 8005F99C 0005C8FC 2C 00 00 05 */ cmpwi r0, 5
/* 8005F9A0 0005C900 41 81 00 08 */ bgt lbl_8005F9A8
/* 8005F9A4 0005C904 3B 80 00 00 */ li r28, 0
lbl_8005F9A8:
/* 8005F9A8 0005C908 3B DE 00 24 */ addi r30, r30, 0x24
lbl_8005F9AC:
/* 8005F9AC 0005C90C 80 BB 01 2C */ lwz r5, 0x12c(r27)
/* 8005F9B0 0005C910 80 05 10 F4 */ lwz r0, 0x10f4(r5)
/* 8005F9B4 0005C914 80 65 10 FC */ lwz r3, 0x10fc(r5)
/* 8005F9B8 0005C918 1C 00 00 24 */ mulli r0, r0, 0x24
/* 8005F9BC 0005C91C 7C 03 02 14 */ add r0, r3, r0
/* 8005F9C0 0005C920 7C 1E 00 40 */ cmplw r30, r0
/* 8005F9C4 0005C924 40 82 FF 38 */ bne lbl_8005F8FC
/* 8005F9C8 0005C928 88 05 11 08 */ lbz r0, 0x1108(r5)
/* 8005F9CC 0005C92C 38 80 00 00 */ li r4, 0
/* 8005F9D0 0005C930 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18
/* 8005F9D4 0005C934 98 05 11 08 */ stb r0, 0x1108(r5)
/* 8005F9D8 0005C938 80 7B 01 2C */ lwz r3, 0x12c(r27)
/* 8005F9DC 0005C93C 88 03 11 08 */ lbz r0, 0x1108(r3)
/* 8005F9E0 0005C940 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19
/* 8005F9E4 0005C944 98 03 11 08 */ stb r0, 0x1108(r3)
/* 8005F9E8 0005C948 88 01 00 08 */ lbz r0, 8(r1)
/* 8005F9EC 0005C94C 28 00 00 00 */ cmplwi r0, 0
/* 8005F9F0 0005C950 41 82 00 0C */ beq lbl_8005F9FC
/* 8005F9F4 0005C954 80 61 00 0C */ lwz r3, 0xc(r1)
/* 8005F9F8 0005C958 48 2B 5F 39 */ bl Free__7CMemoryFPCv
lbl_8005F9FC:
/* 8005F9FC 0005C95C 7F 83 E3 78 */ mr r3, r28
/* 8005FA00 0005C960 BA E1 00 1C */ lmw r23, 0x1c(r1)
/* 8005FA04 0005C964 80 01 00 44 */ lwz r0, 0x44(r1)
/* 8005FA08 0005C968 7C 08 03 A6 */ mtlr r0
/* 8005FA0C 0005C96C 38 21 00 40 */ addi r1, r1, 0x40
/* 8005FA10 0005C970 4E 80 00 20 */ blr
.global TransferARAMTokensOver__9CGameAreaFQ29CGameArea13EARAMTransfer
TransferARAMTokensOver__9CGameAreaFQ29CGameArea13EARAMTransfer:
/* 8005FA14 0005C974 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 8005FA18 0005C978 7C 08 02 A6 */ mflr r0
/* 8005FA1C 0005C97C 90 01 00 44 */ stw r0, 0x44(r1)
/* 8005FA20 0005C980 BE A1 00 14 */ stmw r21, 0x14(r1)
/* 8005FA24 0005C984 7C 77 1B 78 */ mr r23, r3
/* 8005FA28 0005C988 7C 98 23 78 */ mr r24, r4
/* 8005FA2C 0005C98C 80 63 01 2C */ lwz r3, 0x12c(r3)
/* 8005FA30 0005C990 88 03 11 08 */ lbz r0, 0x1108(r3)
/* 8005FA34 0005C994 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8005FA38 0005C998 41 82 00 0C */ beq lbl_8005FA44
/* 8005FA3C 0005C99C 38 60 00 01 */ li r3, 1
/* 8005FA40 0005C9A0 48 00 01 3C */ b lbl_8005FB7C
lbl_8005FA44:
/* 8005FA44 0005C9A4 80 03 10 E8 */ lwz r0, 0x10e8(r3)
/* 8005FA48 0005C9A8 3B 60 00 01 */ li r27, 1
/* 8005FA4C 0005C9AC 83 C3 10 FC */ lwz r30, 0x10fc(r3)
/* 8005FA50 0005C9B0 1F 80 00 0C */ mulli r28, r0, 0xc
/* 8005FA54 0005C9B4 48 00 00 FC */ b lbl_8005FB50
lbl_8005FA58:
/* 8005FA58 0005C9B8 80 1E 00 00 */ lwz r0, 0(r30)
/* 8005FA5C 0005C9BC 2C 00 00 01 */ cmpwi r0, 1
/* 8005FA60 0005C9C0 41 82 00 14 */ beq lbl_8005FA74
/* 8005FA64 0005C9C4 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 8005FA68 0005C9C8 80 04 11 00 */ lwz r0, 0x1100(r4)
/* 8005FA6C 0005C9CC 7C 03 00 50 */ subf r0, r3, r0
/* 8005FA70 0005C9D0 90 04 11 00 */ stw r0, 0x1100(r4)
lbl_8005FA74:
/* 8005FA74 0005C9D4 2C 18 00 01 */ cmpwi r24, 1
/* 8005FA78 0005C9D8 40 82 00 1C */ bne lbl_8005FA94
/* 8005FA7C 0005C9DC 7F C3 F3 78 */ mr r3, r30
/* 8005FA80 0005C9E0 48 2F 8C ED */ bl LoadToMRAM__10CARAMTokenFv
/* 8005FA84 0005C9E4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8005FA88 0005C9E8 40 82 00 0C */ bne lbl_8005FA94
/* 8005FA8C 0005C9EC 3B 60 00 00 */ li r27, 0
/* 8005FA90 0005C9F0 48 00 00 BC */ b lbl_8005FB4C
lbl_8005FA94:
/* 8005FA94 0005C9F4 57 60 06 3F */ clrlwi. r0, r27, 0x18
/* 8005FA98 0005C9F8 41 82 00 B4 */ beq lbl_8005FB4C
/* 8005FA9C 0005C9FC 7F C3 F3 78 */ mr r3, r30
/* 8005FAA0 0005CA00 48 2F 88 95 */ bl GetMRAMSafe__10CARAMTokenFv
/* 8005FAA4 0005CA04 7C 7F 1B 78 */ mr r31, r3
/* 8005FAA8 0005CA08 7F 9D E3 78 */ mr r29, r28
/* 8005FAAC 0005CA0C 3A C1 00 08 */ addi r22, r1, 8
/* 8005FAB0 0005CA10 3B 40 00 00 */ li r26, 0
/* 8005FAB4 0005CA14 3B 20 00 00 */ li r25, 0
/* 8005FAB8 0005CA18 48 00 00 88 */ b lbl_8005FB40
lbl_8005FABC:
/* 8005FABC 0005CA1C 7C 9F D2 14 */ add r4, r31, r26
/* 8005FAC0 0005CA20 38 00 00 00 */ li r0, 0
/* 8005FAC4 0005CA24 7C 64 00 D0 */ neg r3, r4
/* 8005FAC8 0005CA28 90 81 00 0C */ stw r4, 0xc(r1)
/* 8005FACC 0005CA2C 7C 63 23 78 */ or r3, r3, r4
/* 8005FAD0 0005CA30 54 63 0F FE */ srwi r3, r3, 0x1f
/* 8005FAD4 0005CA34 98 61 00 08 */ stb r3, 8(r1)
/* 8005FAD8 0005CA38 98 01 00 08 */ stb r0, 8(r1)
/* 8005FADC 0005CA3C 80 17 01 1C */ lwz r0, 0x11c(r23)
/* 8005FAE0 0005CA40 7E A0 EA 14 */ add r21, r0, r29
/* 8005FAE4 0005CA44 80 15 00 08 */ lwz r0, 8(r21)
/* 8005FAE8 0005CA48 7C 16 A8 40 */ cmplw r22, r21
/* 8005FAEC 0005CA4C 7F 5A 02 14 */ add r26, r26, r0
/* 8005FAF0 0005CA50 41 82 00 30 */ beq lbl_8005FB20
/* 8005FAF4 0005CA54 88 15 00 00 */ lbz r0, 0(r21)
/* 8005FAF8 0005CA58 28 00 00 00 */ cmplwi r0, 0
/* 8005FAFC 0005CA5C 41 82 00 0C */ beq lbl_8005FB08
/* 8005FB00 0005CA60 80 75 00 04 */ lwz r3, 4(r21)
/* 8005FB04 0005CA64 48 2B 5E 2D */ bl Free__7CMemoryFPCv
lbl_8005FB08:
/* 8005FB08 0005CA68 88 61 00 08 */ lbz r3, 8(r1)
/* 8005FB0C 0005CA6C 38 00 00 00 */ li r0, 0
/* 8005FB10 0005CA70 98 75 00 00 */ stb r3, 0(r21)
/* 8005FB14 0005CA74 80 61 00 0C */ lwz r3, 0xc(r1)
/* 8005FB18 0005CA78 90 75 00 04 */ stw r3, 4(r21)
/* 8005FB1C 0005CA7C 98 01 00 08 */ stb r0, 8(r1)
lbl_8005FB20:
/* 8005FB20 0005CA80 88 01 00 08 */ lbz r0, 8(r1)
/* 8005FB24 0005CA84 3B BD 00 0C */ addi r29, r29, 0xc
/* 8005FB28 0005CA88 3B 9C 00 0C */ addi r28, r28, 0xc
/* 8005FB2C 0005CA8C 28 00 00 00 */ cmplwi r0, 0
/* 8005FB30 0005CA90 41 82 00 0C */ beq lbl_8005FB3C
/* 8005FB34 0005CA94 80 61 00 0C */ lwz r3, 0xc(r1)
/* 8005FB38 0005CA98 48 2B 5D F9 */ bl Free__7CMemoryFPCv
lbl_8005FB3C:
/* 8005FB3C 0005CA9C 3B 39 00 01 */ addi r25, r25, 1
lbl_8005FB40:
/* 8005FB40 0005CAA0 80 1E 00 20 */ lwz r0, 0x20(r30)
/* 8005FB44 0005CAA4 7C 19 00 00 */ cmpw r25, r0
/* 8005FB48 0005CAA8 41 80 FF 74 */ blt lbl_8005FABC
lbl_8005FB4C:
/* 8005FB4C 0005CAAC 3B DE 00 24 */ addi r30, r30, 0x24
lbl_8005FB50:
/* 8005FB50 0005CAB0 80 97 01 2C */ lwz r4, 0x12c(r23)
/* 8005FB54 0005CAB4 80 04 10 F4 */ lwz r0, 0x10f4(r4)
/* 8005FB58 0005CAB8 80 64 10 FC */ lwz r3, 0x10fc(r4)
/* 8005FB5C 0005CABC 1C 00 00 24 */ mulli r0, r0, 0x24
/* 8005FB60 0005CAC0 7C 03 02 14 */ add r0, r3, r0
/* 8005FB64 0005CAC4 7C 1E 00 40 */ cmplw r30, r0
/* 8005FB68 0005CAC8 40 82 FE F0 */ bne lbl_8005FA58
/* 8005FB6C 0005CACC 88 04 11 08 */ lbz r0, 0x1108(r4)
/* 8005FB70 0005CAD0 53 60 3E 30 */ rlwimi r0, r27, 7, 0x18, 0x18
/* 8005FB74 0005CAD4 7F 63 DB 78 */ mr r3, r27
/* 8005FB78 0005CAD8 98 04 11 08 */ stb r0, 0x1108(r4)
lbl_8005FB7C:
/* 8005FB7C 0005CADC BA A1 00 14 */ lmw r21, 0x14(r1)
/* 8005FB80 0005CAE0 80 01 00 44 */ lwz r0, 0x44(r1)
/* 8005FB84 0005CAE4 7C 08 03 A6 */ mtlr r0
/* 8005FB88 0005CAE8 38 21 00 40 */ addi r1, r1, 0x40
/* 8005FB8C 0005CAEC 4E 80 00 20 */ blr
.global SetChain__9CGameAreaFP9CGameAreai
SetChain__9CGameAreaFP9CGameAreai:
/* 8005FB90 0005CAF0 80 03 01 38 */ lwz r0, 0x138(r3)
/* 8005FB94 0005CAF4 7C 00 28 00 */ cmpw r0, r5
/* 8005FB98 0005CAF8 40 82 00 0C */ bne lbl_8005FBA4
/* 8005FB9C 0005CAFC 7C 03 03 78 */ mr r3, r0
/* 8005FBA0 0005CB00 4E 80 00 20 */ blr
lbl_8005FBA4:
/* 8005FBA4 0005CB04 80 C3 01 34 */ lwz r6, 0x134(r3)
/* 8005FBA8 0005CB08 28 06 00 00 */ cmplwi r6, 0
/* 8005FBAC 0005CB0C 41 82 00 0C */ beq lbl_8005FBB8
/* 8005FBB0 0005CB10 80 03 01 30 */ lwz r0, 0x130(r3)
/* 8005FBB4 0005CB14 90 06 01 30 */ stw r0, 0x130(r6)
lbl_8005FBB8:
/* 8005FBB8 0005CB18 80 C3 01 30 */ lwz r6, 0x130(r3)
/* 8005FBBC 0005CB1C 28 06 00 00 */ cmplwi r6, 0
/* 8005FBC0 0005CB20 41 82 00 0C */ beq lbl_8005FBCC
/* 8005FBC4 0005CB24 80 03 01 34 */ lwz r0, 0x134(r3)
/* 8005FBC8 0005CB28 90 06 01 34 */ stw r0, 0x134(r6)
lbl_8005FBCC:
/* 8005FBCC 0005CB2C 38 00 00 00 */ li r0, 0
/* 8005FBD0 0005CB30 28 04 00 00 */ cmplwi r4, 0
/* 8005FBD4 0005CB34 90 03 01 34 */ stw r0, 0x134(r3)
/* 8005FBD8 0005CB38 90 83 01 30 */ stw r4, 0x130(r3)
/* 8005FBDC 0005CB3C 41 82 00 08 */ beq lbl_8005FBE4
/* 8005FBE0 0005CB40 90 64 01 34 */ stw r3, 0x134(r4)
lbl_8005FBE4:
/* 8005FBE4 0005CB44 80 03 01 38 */ lwz r0, 0x138(r3)
/* 8005FBE8 0005CB48 90 A3 01 38 */ stw r5, 0x138(r3)
/* 8005FBEC 0005CB4C 7C 03 03 78 */ mr r3, r0
/* 8005FBF0 0005CB50 4E 80 00 20 */ blr
.global StartStreamingMainArea__9CGameAreaFv
StartStreamingMainArea__9CGameAreaFv:
/* 8005FBF4 0005CB54 94 21 FF 90 */ stwu r1, -0x70(r1)
/* 8005FBF8 0005CB58 7C 08 02 A6 */ mflr r0
/* 8005FBFC 0005CB5C 90 01 00 74 */ stw r0, 0x74(r1)
/* 8005FC00 0005CB60 BE E1 00 4C */ stmw r23, 0x4c(r1)
/* 8005FC04 0005CB64 7C 7E 1B 78 */ mr r30, r3
/* 8005FC08 0005CB68 88 03 00 F0 */ lbz r0, 0xf0(r3)
/* 8005FC0C 0005CB6C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8005FC10 0005CB70 41 82 00 0C */ beq lbl_8005FC1C
/* 8005FC14 0005CB74 38 60 00 00 */ li r3, 0
/* 8005FC18 0005CB78 48 00 04 A4 */ b lbl_800600BC
lbl_8005FC1C:
/* 8005FC1C 0005CB7C 80 1E 00 F4 */ lwz r0, 0xf4(r30)
/* 8005FC20 0005CB80 2C 00 00 02 */ cmpwi r0, 2
/* 8005FC24 0005CB84 41 82 00 C4 */ beq lbl_8005FCE8
/* 8005FC28 0005CB88 40 80 00 14 */ bge lbl_8005FC3C
/* 8005FC2C 0005CB8C 2C 00 00 00 */ cmpwi r0, 0
/* 8005FC30 0005CB90 41 82 00 1C */ beq lbl_8005FC4C
/* 8005FC34 0005CB94 40 80 00 6C */ bge lbl_8005FCA0
/* 8005FC38 0005CB98 48 00 04 80 */ b lbl_800600B8
lbl_8005FC3C:
/* 8005FC3C 0005CB9C 2C 00 00 04 */ cmpwi r0, 4
/* 8005FC40 0005CBA0 41 82 04 60 */ beq lbl_800600A0
/* 8005FC44 0005CBA4 40 80 04 74 */ bge lbl_800600B8
/* 8005FC48 0005CBA8 48 00 00 F0 */ b lbl_8005FD38
lbl_8005FC4C:
/* 8005FC4C 0005CBAC 38 7E 01 10 */ addi r3, r30, 0x110
/* 8005FC50 0005CBB0 38 80 00 02 */ li r4, 2
/* 8005FC54 0005CBB4 48 00 49 1D */ bl "reserve__Q24rstl72vector<Q24rstl28pair<Q24rstl11auto_ptr<c>,i>,Q24rstl17rmemory_allocator>Fi"
/* 8005FC58 0005CBB8 7F C3 F3 78 */ mr r3, r30
/* 8005FC5C 0005CBBC 38 80 00 00 */ li r4, 0
/* 8005FC60 0005CBC0 38 A0 00 60 */ li r5, 0x60
/* 8005FC64 0005CBC4 48 00 0B 39 */ bl AllocNewAreaData__9CGameAreaFii
/* 8005FC68 0005CBC8 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha
/* 8005FC6C 0005CBCC 38 60 11 40 */ li r3, 0x1140
/* 8005FC70 0005CBD0 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l
/* 8005FC74 0005CBD4 38 A0 00 00 */ li r5, 0
/* 8005FC78 0005CBD8 48 2B 5B F5 */ bl __nw__FUlPCcPCc
/* 8005FC7C 0005CBDC 7C 64 1B 79 */ or. r4, r3, r3
/* 8005FC80 0005CBE0 41 82 00 0C */ beq lbl_8005FC8C
/* 8005FC84 0005CBE4 48 00 3B 6D */ bl __ct__Q29CGameArea16CPostConstructedFv
/* 8005FC88 0005CBE8 7C 64 1B 78 */ mr r4, r3
lbl_8005FC8C:
/* 8005FC8C 0005CBEC 38 7E 01 2C */ addi r3, r30, 0x12c
/* 8005FC90 0005CBF0 48 00 04 41 */ bl sub_800600d0
/* 8005FC94 0005CBF4 38 00 00 01 */ li r0, 1
/* 8005FC98 0005CBF8 90 1E 00 F4 */ stw r0, 0xf4(r30)
/* 8005FC9C 0005CBFC 48 00 04 1C */ b lbl_800600B8
lbl_8005FCA0:
/* 8005FCA0 0005CC00 48 00 10 E1 */ bl CullDeadAreaRequests__9CGameAreaFv
/* 8005FCA4 0005CC04 80 1E 01 0C */ lwz r0, 0x10c(r30)
/* 8005FCA8 0005CC08 2C 00 00 00 */ cmpwi r0, 0
/* 8005FCAC 0005CC0C 40 82 04 0C */ bne lbl_800600B8
/* 8005FCB0 0005CC10 7F C3 F3 78 */ mr r3, r30
/* 8005FCB4 0005CC14 48 00 3D E9 */ bl VerifyHeader__9CGameAreaCFv
/* 8005FCB8 0005CC18 7F C3 F3 78 */ mr r3, r30
/* 8005FCBC 0005CC1C 48 00 0A D1 */ bl GetNumPartSizes__9CGameAreaCFv
/* 8005FCC0 0005CC20 80 BE 01 1C */ lwz r5, 0x11c(r30)
/* 8005FCC4 0005CC24 54 64 10 3A */ slwi r4, r3, 2
/* 8005FCC8 0005CC28 38 04 00 1F */ addi r0, r4, 0x1f
/* 8005FCCC 0005CC2C 7F C3 F3 78 */ mr r3, r30
/* 8005FCD0 0005CC30 80 85 00 08 */ lwz r4, 8(r5)
/* 8005FCD4 0005CC34 54 05 00 34 */ rlwinm r5, r0, 0, 0, 0x1a
/* 8005FCD8 0005CC38 48 00 0A C5 */ bl AllocNewAreaData__9CGameAreaFii
/* 8005FCDC 0005CC3C 38 00 00 02 */ li r0, 2
/* 8005FCE0 0005CC40 90 1E 00 F4 */ stw r0, 0xf4(r30)
/* 8005FCE4 0005CC44 48 00 03 D4 */ b lbl_800600B8
lbl_8005FCE8:
/* 8005FCE8 0005CC48 48 00 10 99 */ bl CullDeadAreaRequests__9CGameAreaFv
/* 8005FCEC 0005CC4C 80 1E 01 0C */ lwz r0, 0x10c(r30)
/* 8005FCF0 0005CC50 2C 00 00 00 */ cmpwi r0, 0
/* 8005FCF4 0005CC54 40 82 03 C4 */ bne lbl_800600B8
/* 8005FCF8 0005CC58 7F C3 F3 78 */ mr r3, r30
/* 8005FCFC 0005CC5C 48 00 0A 91 */ bl GetNumPartSizes__9CGameAreaCFv
/* 8005FD00 0005CC60 7C 64 1B 78 */ mr r4, r3
/* 8005FD04 0005CC64 38 7E 01 10 */ addi r3, r30, 0x110
/* 8005FD08 0005CC68 38 84 00 02 */ addi r4, r4, 2
/* 8005FD0C 0005CC6C 48 00 48 65 */ bl "reserve__Q24rstl72vector<Q24rstl28pair<Q24rstl11auto_ptr<c>,i>,Q24rstl17rmemory_allocator>Fi"
/* 8005FD10 0005CC70 80 9E 01 1C */ lwz r4, 0x11c(r30)
/* 8005FD14 0005CC74 38 60 00 00 */ li r3, 0
/* 8005FD18 0005CC78 38 00 00 03 */ li r0, 3
/* 8005FD1C 0005CC7C 80 A4 00 08 */ lwz r5, 8(r4)
/* 8005FD20 0005CC80 80 84 00 14 */ lwz r4, 0x14(r4)
/* 8005FD24 0005CC84 90 7E 01 24 */ stw r3, 0x124(r30)
/* 8005FD28 0005CC88 7C A5 22 14 */ add r5, r5, r4
/* 8005FD2C 0005CC8C 90 BE 01 28 */ stw r5, 0x128(r30)
/* 8005FD30 0005CC90 90 1E 00 F4 */ stw r0, 0xf4(r30)
/* 8005FD34 0005CC94 48 00 03 84 */ b lbl_800600B8
lbl_8005FD38:
/* 8005FD38 0005CC98 48 00 10 49 */ bl CullDeadAreaRequests__9CGameAreaFv
/* 8005FD3C 0005CC9C 83 BE 01 24 */ lwz r29, 0x124(r30)
/* 8005FD40 0005CCA0 7F C3 F3 78 */ mr r3, r30
/* 8005FD44 0005CCA4 3B 60 00 00 */ li r27, 0
/* 8005FD48 0005CCA8 48 00 0A 45 */ bl GetNumPartSizes__9CGameAreaCFv
/* 8005FD4C 0005CCAC 80 BE 01 1C */ lwz r5, 0x11c(r30)
/* 8005FD50 0005CCB0 7C 7C 1B 78 */ mr r28, r3
/* 8005FD54 0005CCB4 3C 80 4D 52 */ lis r4, 0x4D524541@ha
/* 8005FD58 0005CCB8 57 A3 10 3A */ slwi r3, r29, 2
/* 8005FD5C 0005CCBC 83 25 00 10 */ lwz r25, 0x10(r5)
/* 8005FD60 0005CCC0 38 84 45 41 */ addi r4, r4, 0x4D524541@l
/* 8005FD64 0005CCC4 80 BE 00 84 */ lwz r5, 0x84(r30)
/* 8005FD68 0005CCC8 7C 1D E0 50 */ subf r0, r29, r28
/* 8005FD6C 0005CCCC 7F 59 1A 14 */ add r26, r25, r3
/* 8005FD70 0005CCD0 7F BF EB 78 */ mr r31, r29
/* 8005FD74 0005CCD4 7F 46 D3 78 */ mr r6, r26
/* 8005FD78 0005CCD8 90 81 00 28 */ stw r4, 0x28(r1)
/* 8005FD7C 0005CCDC 3C 60 00 01 */ lis r3, 1
/* 8005FD80 0005CCE0 90 A1 00 2C */ stw r5, 0x2c(r1)
/* 8005FD84 0005CCE4 7C 09 03 A6 */ mtctr r0
/* 8005FD88 0005CCE8 7C 1D E0 00 */ cmpw r29, r28
/* 8005FD8C 0005CCEC 40 80 00 2C */ bge lbl_8005FDB8
lbl_8005FD90:
/* 8005FD90 0005CCF0 7C 1F E8 00 */ cmpw r31, r29
/* 8005FD94 0005CCF4 80 86 00 00 */ lwz r4, 0(r6)
/* 8005FD98 0005CCF8 41 82 00 10 */ beq lbl_8005FDA8
/* 8005FD9C 0005CCFC 7C 04 DA 14 */ add r0, r4, r27
/* 8005FDA0 0005CD00 7C 00 18 00 */ cmpw r0, r3
/* 8005FDA4 0005CD04 41 81 00 14 */ bgt lbl_8005FDB8
lbl_8005FDA8:
/* 8005FDA8 0005CD08 7F 7B 22 14 */ add r27, r27, r4
/* 8005FDAC 0005CD0C 38 C6 00 04 */ addi r6, r6, 4
/* 8005FDB0 0005CD10 3B FF 00 01 */ addi r31, r31, 1
/* 8005FDB4 0005CD14 42 00 FF DC */ bdnz lbl_8005FD90
lbl_8005FDB8:
/* 8005FDB8 0005CD18 3C 60 80 3D */ lis r3, lbl_803CCFAC@ha
/* 8005FDBC 0005CD1C 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha
/* 8005FDC0 0005CD20 38 A3 CF AC */ addi r5, r3, lbl_803CCFAC@l
/* 8005FDC4 0005CD24 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l
/* 8005FDC8 0005CD28 38 61 00 10 */ addi r3, r1, 0x10
/* 8005FDCC 0005CD2C 38 80 FF FF */ li r4, -1
/* 8005FDD0 0005CD30 48 27 66 05 */ bl __ct__10CCallStackFUiPCcPCc
/* 8005FDD4 0005CD34 7C 67 1B 78 */ mr r7, r3
/* 8005FDD8 0005CD38 7F 63 DB 78 */ mr r3, r27
/* 8005FDDC 0005CD3C 38 80 00 02 */ li r4, 2
/* 8005FDE0 0005CD40 38 A0 00 01 */ li r5, 1
/* 8005FDE4 0005CD44 38 C0 00 00 */ li r6, 0
/* 8005FDE8 0005CD48 48 2B 5B AD */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack
/* 8005FDEC 0005CD4C 7C 03 00 D0 */ neg r0, r3
/* 8005FDF0 0005CD50 80 8D A0 60 */ lwz r4, gpResourceFactory@sda21(r13)
/* 8005FDF4 0005CD54 7C 00 1B 78 */ or r0, r0, r3
/* 8005FDF8 0005CD58 80 BE 01 28 */ lwz r5, 0x128(r30)
/* 8005FDFC 0005CD5C 54 00 0F FE */ srwi r0, r0, 0x1f
/* 8005FE00 0005CD60 90 61 00 24 */ stw r3, 0x24(r1)
/* 8005FE04 0005CD64 7C 67 1B 78 */ mr r7, r3
/* 8005FE08 0005CD68 38 64 00 04 */ addi r3, r4, 4
/* 8005FE0C 0005CD6C 98 01 00 20 */ stb r0, 0x20(r1)
/* 8005FE10 0005CD70 7F 66 DB 78 */ mr r6, r27
/* 8005FE14 0005CD74 38 81 00 28 */ addi r4, r1, 0x28
/* 8005FE18 0005CD78 48 2D BC E5 */ bl LoadResourcePartAsync__10CResLoaderFRC10SObjectTagiiPc
/* 8005FE1C 0005CD7C 7C 03 00 D0 */ neg r0, r3
/* 8005FE20 0005CD80 82 FE 01 00 */ lwz r23, 0x100(r30)
/* 8005FE24 0005CD84 7C 00 1B 78 */ or r0, r0, r3
/* 8005FE28 0005CD88 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha
/* 8005FE2C 0005CD8C 54 00 0F FE */ srwi r0, r0, 0x1f
/* 8005FE30 0005CD90 90 61 00 0C */ stw r3, 0xc(r1)
/* 8005FE34 0005CD94 83 17 00 00 */ lwz r24, 0(r23)
/* 8005FE38 0005CD98 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l
/* 8005FE3C 0005CD9C 98 01 00 08 */ stb r0, 8(r1)
/* 8005FE40 0005CDA0 38 60 00 10 */ li r3, 0x10
/* 8005FE44 0005CDA4 38 A0 00 00 */ li r5, 0
/* 8005FE48 0005CDA8 48 2B 59 D1 */ bl __nwa__FUlPCcPCc
/* 8005FE4C 0005CDAC 28 03 00 00 */ cmplwi r3, 0
/* 8005FE50 0005CDB0 41 82 00 0C */ beq lbl_8005FE5C
/* 8005FE54 0005CDB4 93 03 00 00 */ stw r24, 0(r3)
/* 8005FE58 0005CDB8 92 E3 00 04 */ stw r23, 4(r3)
lbl_8005FE5C:
/* 8005FE5C 0005CDBC 34 C3 00 08 */ addic. r6, r3, 8
/* 8005FE60 0005CDC0 41 82 00 1C */ beq lbl_8005FE7C
/* 8005FE64 0005CDC4 88 A1 00 08 */ lbz r5, 8(r1)
/* 8005FE68 0005CDC8 38 00 00 00 */ li r0, 0
/* 8005FE6C 0005CDCC 80 81 00 0C */ lwz r4, 0xc(r1)
/* 8005FE70 0005CDD0 98 A6 00 00 */ stb r5, 0(r6)
/* 8005FE74 0005CDD4 90 86 00 04 */ stw r4, 4(r6)
/* 8005FE78 0005CDD8 98 01 00 08 */ stb r0, 8(r1)
lbl_8005FE7C:
/* 8005FE7C 0005CDDC 80 1E 00 FC */ lwz r0, 0xfc(r30)
/* 8005FE80 0005CDE0 7C 17 00 40 */ cmplw r23, r0
/* 8005FE84 0005CDE4 40 82 00 08 */ bne lbl_8005FE8C
/* 8005FE88 0005CDE8 90 7E 00 FC */ stw r3, 0xfc(r30)
lbl_8005FE8C:
/* 8005FE8C 0005CDEC 80 83 00 00 */ lwz r4, 0(r3)
/* 8005FE90 0005CDF0 88 01 00 08 */ lbz r0, 8(r1)
/* 8005FE94 0005CDF4 90 64 00 04 */ stw r3, 4(r4)
/* 8005FE98 0005CDF8 28 00 00 00 */ cmplwi r0, 0
/* 8005FE9C 0005CDFC 80 83 00 04 */ lwz r4, 4(r3)
/* 8005FEA0 0005CE00 90 64 00 00 */ stw r3, 0(r4)
/* 8005FEA4 0005CE04 80 7E 01 0C */ lwz r3, 0x10c(r30)
/* 8005FEA8 0005CE08 38 03 00 01 */ addi r0, r3, 1
/* 8005FEAC 0005CE0C 90 1E 01 0C */ stw r0, 0x10c(r30)
/* 8005FEB0 0005CE10 41 82 00 24 */ beq lbl_8005FED4
/* 8005FEB4 0005CE14 80 61 00 0C */ lwz r3, 0xc(r1)
/* 8005FEB8 0005CE18 28 03 00 00 */ cmplwi r3, 0
/* 8005FEBC 0005CE1C 41 82 00 18 */ beq lbl_8005FED4
/* 8005FEC0 0005CE20 81 83 00 00 */ lwz r12, 0(r3)
/* 8005FEC4 0005CE24 38 80 00 01 */ li r4, 1
/* 8005FEC8 0005CE28 81 8C 00 08 */ lwz r12, 8(r12)
/* 8005FECC 0005CE2C 7D 89 03 A6 */ mtctr r12
/* 8005FED0 0005CE30 4E 80 04 21 */ bctrl
lbl_8005FED4:
/* 8005FED4 0005CE34 80 1E 01 28 */ lwz r0, 0x128(r30)
/* 8005FED8 0005CE38 38 60 00 00 */ li r3, 0
/* 8005FEDC 0005CE3C 88 A1 00 20 */ lbz r5, 0x20(r1)
/* 8005FEE0 0005CE40 7C 00 DA 14 */ add r0, r0, r27
/* 8005FEE4 0005CE44 80 81 00 24 */ lwz r4, 0x24(r1)
/* 8005FEE8 0005CE48 90 1E 01 28 */ stw r0, 0x128(r30)
/* 8005FEEC 0005CE4C 80 1E 01 14 */ lwz r0, 0x114(r30)
/* 8005FEF0 0005CE50 80 DA 00 00 */ lwz r6, 0(r26)
/* 8005FEF4 0005CE54 80 FE 01 18 */ lwz r7, 0x118(r30)
/* 8005FEF8 0005CE58 98 A1 00 3C */ stb r5, 0x3c(r1)
/* 8005FEFC 0005CE5C 7C D8 33 78 */ mr r24, r6
/* 8005FF00 0005CE60 7C 00 38 00 */ cmpw r0, r7
/* 8005FF04 0005CE64 90 81 00 40 */ stw r4, 0x40(r1)
/* 8005FF08 0005CE68 98 61 00 20 */ stb r3, 0x20(r1)
/* 8005FF0C 0005CE6C 90 C1 00 44 */ stw r6, 0x44(r1)
/* 8005FF10 0005CE70 41 80 00 1C */ blt lbl_8005FF2C
/* 8005FF14 0005CE74 2C 07 00 00 */ cmpwi r7, 0
/* 8005FF18 0005CE78 38 7E 01 10 */ addi r3, r30, 0x110
/* 8005FF1C 0005CE7C 38 80 00 04 */ li r4, 4
/* 8005FF20 0005CE80 41 82 00 08 */ beq lbl_8005FF28
/* 8005FF24 0005CE84 54 E4 08 3C */ slwi r4, r7, 1
lbl_8005FF28:
/* 8005FF28 0005CE88 48 00 46 49 */ bl "reserve__Q24rstl72vector<Q24rstl28pair<Q24rstl11auto_ptr<c>,i>,Q24rstl17rmemory_allocator>Fi"
lbl_8005FF2C:
/* 8005FF2C 0005CE8C 80 1E 01 14 */ lwz r0, 0x114(r30)
/* 8005FF30 0005CE90 80 7E 01 1C */ lwz r3, 0x11c(r30)
/* 8005FF34 0005CE94 1C 00 00 0C */ mulli r0, r0, 0xc
/* 8005FF38 0005CE98 7C A3 02 15 */ add. r5, r3, r0
/* 8005FF3C 0005CE9C 41 82 00 24 */ beq lbl_8005FF60
/* 8005FF40 0005CEA0 88 01 00 3C */ lbz r0, 0x3c(r1)
/* 8005FF44 0005CEA4 38 60 00 00 */ li r3, 0
/* 8005FF48 0005CEA8 80 81 00 40 */ lwz r4, 0x40(r1)
/* 8005FF4C 0005CEAC 98 05 00 00 */ stb r0, 0(r5)
/* 8005FF50 0005CEB0 80 01 00 44 */ lwz r0, 0x44(r1)
/* 8005FF54 0005CEB4 90 85 00 04 */ stw r4, 4(r5)
/* 8005FF58 0005CEB8 98 61 00 3C */ stb r3, 0x3c(r1)
/* 8005FF5C 0005CEBC 90 05 00 08 */ stw r0, 8(r5)
lbl_8005FF60:
/* 8005FF60 0005CEC0 80 7E 01 14 */ lwz r3, 0x114(r30)
/* 8005FF64 0005CEC4 88 01 00 3C */ lbz r0, 0x3c(r1)
/* 8005FF68 0005CEC8 38 63 00 01 */ addi r3, r3, 1
/* 8005FF6C 0005CECC 28 00 00 00 */ cmplwi r0, 0
/* 8005FF70 0005CED0 90 7E 01 14 */ stw r3, 0x114(r30)
/* 8005FF74 0005CED4 41 82 00 0C */ beq lbl_8005FF80
/* 8005FF78 0005CED8 80 61 00 40 */ lwz r3, 0x40(r1)
/* 8005FF7C 0005CEDC 48 2B 59 B5 */ bl Free__7CMemoryFPCv
lbl_8005FF80:
/* 8005FF80 0005CEE0 3A FD 00 01 */ addi r23, r29, 1
/* 8005FF84 0005CEE4 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 8005FF88 0005CEE8 56 E0 10 3A */ slwi r0, r23, 2
/* 8005FF8C 0005CEEC 7F 59 02 14 */ add r26, r25, r0
/* 8005FF90 0005CEF0 48 00 00 D4 */ b lbl_80060064
lbl_8005FF94:
/* 8005FF94 0005CEF4 7C BD C2 14 */ add r5, r29, r24
/* 8005FF98 0005CEF8 38 60 00 00 */ li r3, 0
/* 8005FF9C 0005CEFC 7C 05 00 D0 */ neg r0, r5
/* 8005FFA0 0005CF00 83 7A 00 00 */ lwz r27, 0(r26)
/* 8005FFA4 0005CF04 7C 04 2B 78 */ or r4, r0, r5
/* 8005FFA8 0005CF08 80 1E 01 14 */ lwz r0, 0x114(r30)
/* 8005FFAC 0005CF0C 54 84 0F FE */ srwi r4, r4, 0x1f
/* 8005FFB0 0005CF10 80 DE 01 18 */ lwz r6, 0x118(r30)
/* 8005FFB4 0005CF14 98 81 00 18 */ stb r4, 0x18(r1)
/* 8005FFB8 0005CF18 7C 00 30 00 */ cmpw r0, r6
/* 8005FFBC 0005CF1C 98 61 00 18 */ stb r3, 0x18(r1)
/* 8005FFC0 0005CF20 90 A1 00 1C */ stw r5, 0x1c(r1)
/* 8005FFC4 0005CF24 98 61 00 30 */ stb r3, 0x30(r1)
/* 8005FFC8 0005CF28 90 A1 00 34 */ stw r5, 0x34(r1)
/* 8005FFCC 0005CF2C 98 61 00 18 */ stb r3, 0x18(r1)
/* 8005FFD0 0005CF30 93 61 00 38 */ stw r27, 0x38(r1)
/* 8005FFD4 0005CF34 41 80 00 1C */ blt lbl_8005FFF0
/* 8005FFD8 0005CF38 2C 06 00 00 */ cmpwi r6, 0
/* 8005FFDC 0005CF3C 38 7E 01 10 */ addi r3, r30, 0x110
/* 8005FFE0 0005CF40 38 80 00 04 */ li r4, 4
/* 8005FFE4 0005CF44 41 82 00 08 */ beq lbl_8005FFEC
/* 8005FFE8 0005CF48 54 C4 08 3C */ slwi r4, r6, 1
lbl_8005FFEC:
/* 8005FFEC 0005CF4C 48 00 45 85 */ bl "reserve__Q24rstl72vector<Q24rstl28pair<Q24rstl11auto_ptr<c>,i>,Q24rstl17rmemory_allocator>Fi"
lbl_8005FFF0:
/* 8005FFF0 0005CF50 80 1E 01 14 */ lwz r0, 0x114(r30)
/* 8005FFF4 0005CF54 80 7E 01 1C */ lwz r3, 0x11c(r30)
/* 8005FFF8 0005CF58 1C 00 00 0C */ mulli r0, r0, 0xc
/* 8005FFFC 0005CF5C 7C A3 02 15 */ add. r5, r3, r0
/* 80060000 0005CF60 41 82 00 24 */ beq lbl_80060024
/* 80060004 0005CF64 88 01 00 30 */ lbz r0, 0x30(r1)
/* 80060008 0005CF68 38 60 00 00 */ li r3, 0
/* 8006000C 0005CF6C 80 81 00 34 */ lwz r4, 0x34(r1)
/* 80060010 0005CF70 98 05 00 00 */ stb r0, 0(r5)
/* 80060014 0005CF74 80 01 00 38 */ lwz r0, 0x38(r1)
/* 80060018 0005CF78 90 85 00 04 */ stw r4, 4(r5)
/* 8006001C 0005CF7C 98 61 00 30 */ stb r3, 0x30(r1)
/* 80060020 0005CF80 90 05 00 08 */ stw r0, 8(r5)
lbl_80060024:
/* 80060024 0005CF84 80 7E 01 14 */ lwz r3, 0x114(r30)
/* 80060028 0005CF88 88 01 00 30 */ lbz r0, 0x30(r1)
/* 8006002C 0005CF8C 38 63 00 01 */ addi r3, r3, 1
/* 80060030 0005CF90 28 00 00 00 */ cmplwi r0, 0
/* 80060034 0005CF94 90 7E 01 14 */ stw r3, 0x114(r30)
/* 80060038 0005CF98 41 82 00 0C */ beq lbl_80060044
/* 8006003C 0005CF9C 80 61 00 34 */ lwz r3, 0x34(r1)
/* 80060040 0005CFA0 48 2B 58 F1 */ bl Free__7CMemoryFPCv
lbl_80060044:
/* 80060044 0005CFA4 88 01 00 18 */ lbz r0, 0x18(r1)
/* 80060048 0005CFA8 7F 18 DA 14 */ add r24, r24, r27
/* 8006004C 0005CFAC 28 00 00 00 */ cmplwi r0, 0
/* 80060050 0005CFB0 41 82 00 0C */ beq lbl_8006005C
/* 80060054 0005CFB4 80 61 00 1C */ lwz r3, 0x1c(r1)
/* 80060058 0005CFB8 48 2B 58 D9 */ bl Free__7CMemoryFPCv
lbl_8006005C:
/* 8006005C 0005CFBC 3B 5A 00 04 */ addi r26, r26, 4
/* 80060060 0005CFC0 3A F7 00 01 */ addi r23, r23, 1
lbl_80060064:
/* 80060064 0005CFC4 7C 17 F8 00 */ cmpw r23, r31
/* 80060068 0005CFC8 41 80 FF 2C */ blt lbl_8005FF94
/* 8006006C 0005CFCC 7C 1F E0 00 */ cmpw r31, r28
/* 80060070 0005CFD0 93 FE 01 24 */ stw r31, 0x124(r30)
/* 80060074 0005CFD4 40 82 00 14 */ bne lbl_80060088
/* 80060078 0005CFD8 80 7E 01 28 */ lwz r3, 0x128(r30)
/* 8006007C 0005CFDC 38 00 00 04 */ li r0, 4
/* 80060080 0005CFE0 90 7E 01 20 */ stw r3, 0x120(r30)
/* 80060084 0005CFE4 90 1E 00 F4 */ stw r0, 0xf4(r30)
lbl_80060088:
/* 80060088 0005CFE8 88 01 00 20 */ lbz r0, 0x20(r1)
/* 8006008C 0005CFEC 28 00 00 00 */ cmplwi r0, 0
/* 80060090 0005CFF0 41 82 00 28 */ beq lbl_800600B8
/* 80060094 0005CFF4 80 61 00 24 */ lwz r3, 0x24(r1)
/* 80060098 0005CFF8 48 2B 58 99 */ bl Free__7CMemoryFPCv
/* 8006009C 0005CFFC 48 00 00 1C */ b lbl_800600B8
lbl_800600A0:
/* 800600A0 0005D000 48 00 0C E1 */ bl CullDeadAreaRequests__9CGameAreaFv
/* 800600A4 0005D004 80 1E 01 0C */ lwz r0, 0x10c(r30)
/* 800600A8 0005D008 2C 00 00 00 */ cmpwi r0, 0
/* 800600AC 0005D00C 40 82 00 0C */ bne lbl_800600B8
/* 800600B0 0005D010 38 60 00 00 */ li r3, 0
/* 800600B4 0005D014 48 00 00 08 */ b lbl_800600BC
lbl_800600B8:
/* 800600B8 0005D018 38 60 00 01 */ li r3, 1
lbl_800600BC:
/* 800600BC 0005D01C BA E1 00 4C */ lmw r23, 0x4c(r1)
/* 800600C0 0005D020 80 01 00 74 */ lwz r0, 0x74(r1)
/* 800600C4 0005D024 7C 08 03 A6 */ mtlr r0
/* 800600C8 0005D028 38 21 00 70 */ addi r1, r1, 0x70
/* 800600CC 0005D02C 4E 80 00 20 */ blr
.global sub_800600d0
sub_800600d0:
/* 800600D0 0005D030 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800600D4 0005D034 7C 08 02 A6 */ mflr r0
/* 800600D8 0005D038 90 01 00 14 */ stw r0, 0x14(r1)
/* 800600DC 0005D03C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 800600E0 0005D040 7C 9F 23 78 */ mr r31, r4
/* 800600E4 0005D044 38 80 00 01 */ li r4, 1
/* 800600E8 0005D048 93 C1 00 08 */ stw r30, 8(r1)
/* 800600EC 0005D04C 7C 7E 1B 78 */ mr r30, r3
/* 800600F0 0005D050 80 63 00 00 */ lwz r3, 0(r3)
/* 800600F4 0005D054 48 00 00 25 */ bl __dt__Q29CGameArea16CPostConstructedFv
/* 800600F8 0005D058 93 FE 00 00 */ stw r31, 0(r30)
/* 800600FC 0005D05C 7F C3 F3 78 */ mr r3, r30
/* 80060100 0005D060 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80060104 0005D064 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80060108 0005D068 83 C1 00 08 */ lwz r30, 8(r1)
/* 8006010C 0005D06C 7C 08 03 A6 */ mtlr r0
/* 80060110 0005D070 38 21 00 10 */ addi r1, r1, 0x10
/* 80060114 0005D074 4E 80 00 20 */ blr
.global __dt__Q29CGameArea16CPostConstructedFv
__dt__Q29CGameArea16CPostConstructedFv:
/* 80060118 0005D078 94 21 FF 80 */ stwu r1, -0x80(r1)
/* 8006011C 0005D07C 7C 08 02 A6 */ mflr r0
/* 80060120 0005D080 90 01 00 84 */ stw r0, 0x84(r1)
/* 80060124 0005D084 93 E1 00 7C */ stw r31, 0x7c(r1)
/* 80060128 0005D088 7C 9F 23 78 */ mr r31, r4
/* 8006012C 0005D08C 93 C1 00 78 */ stw r30, 0x78(r1)
/* 80060130 0005D090 7C 7E 1B 79 */ or. r30, r3, r3
/* 80060134 0005D094 93 A1 00 74 */ stw r29, 0x74(r1)
/* 80060138 0005D098 93 81 00 70 */ stw r28, 0x70(r1)
/* 8006013C 0005D09C 41 82 03 5C */ beq lbl_80060498
/* 80060140 0005D0A0 34 1E 11 0C */ addic. r0, r30, 0x110c
/* 80060144 0005D0A4 41 82 00 44 */ beq lbl_80060188
/* 80060148 0005D0A8 80 1E 11 10 */ lwz r0, 0x1110(r30)
/* 8006014C 0005D0AC 80 7E 11 18 */ lwz r3, 0x1118(r30)
/* 80060150 0005D0B0 54 00 18 38 */ slwi r0, r0, 3
/* 80060154 0005D0B4 7C 03 02 14 */ add r0, r3, r0
/* 80060158 0005D0B8 90 61 00 5C */ stw r3, 0x5c(r1)
/* 8006015C 0005D0BC 7C 64 1B 78 */ mr r4, r3
/* 80060160 0005D0C0 90 01 00 64 */ stw r0, 0x64(r1)
/* 80060164 0005D0C4 90 01 00 60 */ stw r0, 0x60(r1)
/* 80060168 0005D0C8 90 61 00 58 */ stw r3, 0x58(r1)
/* 8006016C 0005D0CC 48 00 00 08 */ b lbl_80060174
lbl_80060170:
/* 80060170 0005D0D0 38 84 00 08 */ addi r4, r4, 8
lbl_80060174:
/* 80060174 0005D0D4 7C 04 00 40 */ cmplw r4, r0
/* 80060178 0005D0D8 40 82 FF F8 */ bne lbl_80060170
/* 8006017C 0005D0DC 28 03 00 00 */ cmplwi r3, 0
/* 80060180 0005D0E0 41 82 00 08 */ beq lbl_80060188
/* 80060184 0005D0E4 48 2B 57 AD */ bl Free__7CMemoryFPCv
lbl_80060188:
/* 80060188 0005D0E8 34 1E 10 F0 */ addic. r0, r30, 0x10f0
/* 8006018C 0005D0EC 41 82 00 58 */ beq lbl_800601E4
/* 80060190 0005D0F0 80 1E 10 F4 */ lwz r0, 0x10f4(r30)
/* 80060194 0005D0F4 83 9E 10 FC */ lwz r28, 0x10fc(r30)
/* 80060198 0005D0F8 1C 00 00 24 */ mulli r0, r0, 0x24
/* 8006019C 0005D0FC 93 81 00 4C */ stw r28, 0x4c(r1)
/* 800601A0 0005D100 7F BC 02 14 */ add r29, r28, r0
/* 800601A4 0005D104 93 81 00 48 */ stw r28, 0x48(r1)
/* 800601A8 0005D108 93 A1 00 54 */ stw r29, 0x54(r1)
/* 800601AC 0005D10C 93 A1 00 50 */ stw r29, 0x50(r1)
/* 800601B0 0005D110 48 00 00 1C */ b lbl_800601CC
lbl_800601B4:
/* 800601B4 0005D114 28 1C 00 00 */ cmplwi r28, 0
/* 800601B8 0005D118 41 82 00 10 */ beq lbl_800601C8
/* 800601BC 0005D11C 7F 83 E3 78 */ mr r3, r28
/* 800601C0 0005D120 38 80 FF FF */ li r4, -1
/* 800601C4 0005D124 48 2F 87 81 */ bl __dt__10CARAMTokenFv
lbl_800601C8:
/* 800601C8 0005D128 3B 9C 00 24 */ addi r28, r28, 0x24
lbl_800601CC:
/* 800601CC 0005D12C 7C 1C E8 40 */ cmplw r28, r29
/* 800601D0 0005D130 40 82 FF E4 */ bne lbl_800601B4
/* 800601D4 0005D134 80 7E 10 FC */ lwz r3, 0x10fc(r30)
/* 800601D8 0005D138 28 03 00 00 */ cmplwi r3, 0
/* 800601DC 0005D13C 41 82 00 08 */ beq lbl_800601E4
/* 800601E0 0005D140 48 2B 57 51 */ bl Free__7CMemoryFPCv
lbl_800601E4:
/* 800601E4 0005D144 34 1E 10 C8 */ addic. r0, r30, 0x10c8
/* 800601E8 0005D148 41 82 00 18 */ beq lbl_80060200
/* 800601EC 0005D14C 88 1E 10 C8 */ lbz r0, 0x10c8(r30)
/* 800601F0 0005D150 28 00 00 00 */ cmplwi r0, 0
/* 800601F4 0005D154 41 82 00 0C */ beq lbl_80060200
/* 800601F8 0005D158 80 7E 10 CC */ lwz r3, 0x10cc(r30)
/* 800601FC 0005D15C 48 2B 57 35 */ bl Free__7CMemoryFPCv
lbl_80060200:
/* 80060200 0005D160 34 1E 10 C4 */ addic. r0, r30, 0x10c4
/* 80060204 0005D164 41 82 00 0C */ beq lbl_80060210
/* 80060208 0005D168 80 7E 10 C4 */ lwz r3, 0x10c4(r30)
/* 8006020C 0005D16C 48 2B 57 25 */ bl Free__7CMemoryFPCv
lbl_80060210:
/* 80060210 0005D170 34 1E 10 C0 */ addic. r0, r30, 0x10c0
/* 80060214 0005D174 41 82 00 0C */ beq lbl_80060220
/* 80060218 0005D178 80 7E 10 C0 */ lwz r3, 0x10c0(r30)
/* 8006021C 0005D17C 48 2B 57 15 */ bl Free__7CMemoryFPCv
lbl_80060220:
/* 80060220 0005D180 34 1E 10 AC */ addic. r0, r30, 0x10ac
/* 80060224 0005D184 41 82 00 30 */ beq lbl_80060254
/* 80060228 0005D188 88 1E 10 B8 */ lbz r0, 0x10b8(r30)
/* 8006022C 0005D18C 28 00 00 00 */ cmplwi r0, 0
/* 80060230 0005D190 41 82 00 1C */ beq lbl_8006024C
/* 80060234 0005D194 34 7E 10 AC */ addic. r3, r30, 0x10ac
/* 80060238 0005D198 41 82 00 14 */ beq lbl_8006024C
/* 8006023C 0005D19C 28 03 00 00 */ cmplwi r3, 0
/* 80060240 0005D1A0 41 82 00 0C */ beq lbl_8006024C
/* 80060244 0005D1A4 38 80 00 00 */ li r4, 0
/* 80060248 0005D1A8 48 2E 0B F9 */ bl __dt__6CTokenFv
lbl_8006024C:
/* 8006024C 0005D1AC 38 00 00 00 */ li r0, 0
/* 80060250 0005D1B0 98 1E 10 B8 */ stb r0, 0x10b8(r30)
lbl_80060254:
/* 80060254 0005D1B4 34 1E 00 A4 */ addic. r0, r30, 0xa4
/* 80060258 0005D1B8 41 82 00 58 */ beq lbl_800602B0
/* 8006025C 0005D1BC 80 BE 00 A4 */ lwz r5, 0xa4(r30)
/* 80060260 0005D1C0 38 60 00 00 */ li r3, 0
/* 80060264 0005D1C4 2C 05 00 00 */ cmpwi r5, 0
/* 80060268 0005D1C8 40 81 00 40 */ ble lbl_800602A8
/* 8006026C 0005D1CC 2C 05 00 08 */ cmpwi r5, 8
/* 80060270 0005D1D0 38 85 FF F8 */ addi r4, r5, -8
/* 80060274 0005D1D4 40 81 00 20 */ ble lbl_80060294
/* 80060278 0005D1D8 38 04 00 07 */ addi r0, r4, 7
/* 8006027C 0005D1DC 54 00 E8 FE */ srwi r0, r0, 3
/* 80060280 0005D1E0 7C 09 03 A6 */ mtctr r0
/* 80060284 0005D1E4 2C 04 00 00 */ cmpwi r4, 0
/* 80060288 0005D1E8 40 81 00 0C */ ble lbl_80060294
lbl_8006028C:
/* 8006028C 0005D1EC 38 63 00 08 */ addi r3, r3, 8
/* 80060290 0005D1F0 42 00 FF FC */ bdnz lbl_8006028C
lbl_80060294:
/* 80060294 0005D1F4 7C 03 28 50 */ subf r0, r3, r5
/* 80060298 0005D1F8 7C 09 03 A6 */ mtctr r0
/* 8006029C 0005D1FC 7C 03 28 00 */ cmpw r3, r5
/* 800602A0 0005D200 40 80 00 08 */ bge lbl_800602A8
lbl_800602A4:
/* 800602A4 0005D204 42 00 00 00 */ bdnz lbl_800602A4
lbl_800602A8:
/* 800602A8 0005D208 38 00 00 00 */ li r0, 0
/* 800602AC 0005D20C 90 1E 00 A4 */ stw r0, 0xa4(r30)
lbl_800602B0:
/* 800602B0 0005D210 34 1E 00 A0 */ addic. r0, r30, 0xa0
/* 800602B4 0005D214 41 82 00 3C */ beq lbl_800602F0
/* 800602B8 0005D218 83 BE 00 A0 */ lwz r29, 0xa0(r30)
/* 800602BC 0005D21C 28 1D 00 00 */ cmplwi r29, 0
/* 800602C0 0005D220 41 82 00 30 */ beq lbl_800602F0
/* 800602C4 0005D224 34 1D 00 20 */ addic. r0, r29, 0x20
/* 800602C8 0005D228 41 82 00 20 */ beq lbl_800602E8
/* 800602CC 0005D22C 34 1D 00 40 */ addic. r0, r29, 0x40
/* 800602D0 0005D230 41 82 00 18 */ beq lbl_800602E8
/* 800602D4 0005D234 88 1D 00 40 */ lbz r0, 0x40(r29)
/* 800602D8 0005D238 28 00 00 00 */ cmplwi r0, 0
/* 800602DC 0005D23C 41 82 00 0C */ beq lbl_800602E8
/* 800602E0 0005D240 80 7D 00 44 */ lwz r3, 0x44(r29)
/* 800602E4 0005D244 48 2B 56 4D */ bl Free__7CMemoryFPCv
lbl_800602E8:
/* 800602E8 0005D248 7F A3 EB 78 */ mr r3, r29
/* 800602EC 0005D24C 48 2B 56 45 */ bl Free__7CMemoryFPCv
lbl_800602F0:
/* 800602F0 0005D250 34 1E 00 90 */ addic. r0, r30, 0x90
/* 800602F4 0005D254 41 82 00 44 */ beq lbl_80060338
/* 800602F8 0005D258 80 1E 00 94 */ lwz r0, 0x94(r30)
/* 800602FC 0005D25C 80 7E 00 9C */ lwz r3, 0x9c(r30)
/* 80060300 0005D260 1C 00 00 50 */ mulli r0, r0, 0x50
/* 80060304 0005D264 90 61 00 3C */ stw r3, 0x3c(r1)
/* 80060308 0005D268 7C 64 1B 78 */ mr r4, r3
/* 8006030C 0005D26C 7C 03 02 14 */ add r0, r3, r0
/* 80060310 0005D270 90 61 00 38 */ stw r3, 0x38(r1)
/* 80060314 0005D274 90 01 00 44 */ stw r0, 0x44(r1)
/* 80060318 0005D278 90 01 00 40 */ stw r0, 0x40(r1)
/* 8006031C 0005D27C 48 00 00 08 */ b lbl_80060324
lbl_80060320:
/* 80060320 0005D280 38 84 00 50 */ addi r4, r4, 0x50
lbl_80060324:
/* 80060324 0005D284 7C 04 00 40 */ cmplw r4, r0
/* 80060328 0005D288 40 82 FF F8 */ bne lbl_80060320
/* 8006032C 0005D28C 28 03 00 00 */ cmplwi r3, 0
/* 80060330 0005D290 41 82 00 08 */ beq lbl_80060338
/* 80060334 0005D294 48 2B 55 FD */ bl Free__7CMemoryFPCv
lbl_80060338:
/* 80060338 0005D298 34 1E 00 80 */ addic. r0, r30, 0x80
/* 8006033C 0005D29C 41 82 00 44 */ beq lbl_80060380
/* 80060340 0005D2A0 80 1E 00 84 */ lwz r0, 0x84(r30)
/* 80060344 0005D2A4 80 7E 00 8C */ lwz r3, 0x8c(r30)
/* 80060348 0005D2A8 1C 00 00 44 */ mulli r0, r0, 0x44
/* 8006034C 0005D2AC 90 61 00 2C */ stw r3, 0x2c(r1)
/* 80060350 0005D2B0 7C 64 1B 78 */ mr r4, r3
/* 80060354 0005D2B4 7C 03 02 14 */ add r0, r3, r0
/* 80060358 0005D2B8 90 61 00 28 */ stw r3, 0x28(r1)
/* 8006035C 0005D2BC 90 01 00 34 */ stw r0, 0x34(r1)
/* 80060360 0005D2C0 90 01 00 30 */ stw r0, 0x30(r1)
/* 80060364 0005D2C4 48 00 00 08 */ b lbl_8006036C
lbl_80060368:
/* 80060368 0005D2C8 38 84 00 44 */ addi r4, r4, 0x44
lbl_8006036C:
/* 8006036C 0005D2CC 7C 04 00 40 */ cmplw r4, r0
/* 80060370 0005D2D0 40 82 FF F8 */ bne lbl_80060368
/* 80060374 0005D2D4 28 03 00 00 */ cmplwi r3, 0
/* 80060378 0005D2D8 41 82 00 08 */ beq lbl_80060380
/* 8006037C 0005D2DC 48 2B 55 B5 */ bl Free__7CMemoryFPCv
lbl_80060380:
/* 80060380 0005D2E0 34 1E 00 70 */ addic. r0, r30, 0x70
/* 80060384 0005D2E4 41 82 00 44 */ beq lbl_800603C8
/* 80060388 0005D2E8 80 1E 00 74 */ lwz r0, 0x74(r30)
/* 8006038C 0005D2EC 80 7E 00 7C */ lwz r3, 0x7c(r30)
/* 80060390 0005D2F0 1C 00 00 50 */ mulli r0, r0, 0x50
/* 80060394 0005D2F4 90 61 00 1C */ stw r3, 0x1c(r1)
/* 80060398 0005D2F8 7C 64 1B 78 */ mr r4, r3
/* 8006039C 0005D2FC 7C 03 02 14 */ add r0, r3, r0
/* 800603A0 0005D300 90 61 00 18 */ stw r3, 0x18(r1)
/* 800603A4 0005D304 90 01 00 24 */ stw r0, 0x24(r1)
/* 800603A8 0005D308 90 01 00 20 */ stw r0, 0x20(r1)
/* 800603AC 0005D30C 48 00 00 08 */ b lbl_800603B4
lbl_800603B0:
/* 800603B0 0005D310 38 84 00 50 */ addi r4, r4, 0x50
lbl_800603B4:
/* 800603B4 0005D314 7C 04 00 40 */ cmplw r4, r0
/* 800603B8 0005D318 40 82 FF F8 */ bne lbl_800603B0
/* 800603BC 0005D31C 28 03 00 00 */ cmplwi r3, 0
/* 800603C0 0005D320 41 82 00 08 */ beq lbl_800603C8
/* 800603C4 0005D324 48 2B 55 6D */ bl Free__7CMemoryFPCv
lbl_800603C8:
/* 800603C8 0005D328 34 1E 00 60 */ addic. r0, r30, 0x60
/* 800603CC 0005D32C 41 82 00 44 */ beq lbl_80060410
/* 800603D0 0005D330 80 1E 00 64 */ lwz r0, 0x64(r30)
/* 800603D4 0005D334 80 7E 00 6C */ lwz r3, 0x6c(r30)
/* 800603D8 0005D338 1C 00 00 44 */ mulli r0, r0, 0x44
/* 800603DC 0005D33C 90 61 00 0C */ stw r3, 0xc(r1)
/* 800603E0 0005D340 7C 64 1B 78 */ mr r4, r3
/* 800603E4 0005D344 7C 03 02 14 */ add r0, r3, r0
/* 800603E8 0005D348 90 61 00 08 */ stw r3, 8(r1)
/* 800603EC 0005D34C 90 01 00 14 */ stw r0, 0x14(r1)
/* 800603F0 0005D350 90 01 00 10 */ stw r0, 0x10(r1)
/* 800603F4 0005D354 48 00 00 08 */ b lbl_800603FC
lbl_800603F8:
/* 800603F8 0005D358 38 84 00 44 */ addi r4, r4, 0x44
lbl_800603FC:
/* 800603FC 0005D35C 7C 04 00 40 */ cmplw r4, r0
/* 80060400 0005D360 40 82 FF F8 */ bne lbl_800603F8
/* 80060404 0005D364 28 03 00 00 */ cmplwi r3, 0
/* 80060408 0005D368 41 82 00 08 */ beq lbl_80060410
/* 8006040C 0005D36C 48 2B 55 25 */ bl Free__7CMemoryFPCv
lbl_80060410:
/* 80060410 0005D370 34 1E 00 5C */ addic. r0, r30, 0x5c
/* 80060414 0005D374 41 82 00 0C */ beq lbl_80060420
/* 80060418 0005D378 80 7E 00 5C */ lwz r3, 0x5c(r30)
/* 8006041C 0005D37C 48 2B 55 15 */ bl Free__7CMemoryFPCv
lbl_80060420:
/* 80060420 0005D380 38 7E 00 4C */ addi r3, r30, 0x4c
/* 80060424 0005D384 38 80 FF FF */ li r4, -1
/* 80060428 0005D388 48 00 00 95 */ bl sub_800604bc
/* 8006042C 0005D38C 34 1E 00 0C */ addic. r0, r30, 0xc
/* 80060430 0005D390 41 82 00 3C */ beq lbl_8006046C
/* 80060434 0005D394 88 1E 00 48 */ lbz r0, 0x48(r30)
/* 80060438 0005D398 28 00 00 00 */ cmplwi r0, 0
/* 8006043C 0005D39C 41 82 00 28 */ beq lbl_80060464
/* 80060440 0005D3A0 34 7E 00 0C */ addic. r3, r30, 0xc
/* 80060444 0005D3A4 41 82 00 20 */ beq lbl_80060464
/* 80060448 0005D3A8 28 03 00 00 */ cmplwi r3, 0
/* 8006044C 0005D3AC 41 82 00 18 */ beq lbl_80060464
/* 80060450 0005D3B0 88 03 00 00 */ lbz r0, 0(r3)
/* 80060454 0005D3B4 28 00 00 00 */ cmplwi r0, 0
/* 80060458 0005D3B8 41 82 00 0C */ beq lbl_80060464
/* 8006045C 0005D3BC 80 63 00 04 */ lwz r3, 4(r3)
/* 80060460 0005D3C0 48 2B 54 D1 */ bl Free__7CMemoryFPCv
lbl_80060464:
/* 80060464 0005D3C4 38 00 00 00 */ li r0, 0
/* 80060468 0005D3C8 98 1E 00 48 */ stb r0, 0x48(r30)
lbl_8006046C:
/* 8006046C 0005D3CC 28 1E 00 00 */ cmplwi r30, 0
/* 80060470 0005D3D0 41 82 00 18 */ beq lbl_80060488
/* 80060474 0005D3D4 88 1E 00 00 */ lbz r0, 0(r30)
/* 80060478 0005D3D8 28 00 00 00 */ cmplwi r0, 0
/* 8006047C 0005D3DC 41 82 00 0C */ beq lbl_80060488
/* 80060480 0005D3E0 80 7E 00 04 */ lwz r3, 4(r30)
/* 80060484 0005D3E4 48 2B 54 AD */ bl Free__7CMemoryFPCv
lbl_80060488:
/* 80060488 0005D3E8 7F E0 07 35 */ extsh. r0, r31
/* 8006048C 0005D3EC 40 81 00 0C */ ble lbl_80060498
/* 80060490 0005D3F0 7F C3 F3 78 */ mr r3, r30
/* 80060494 0005D3F4 48 2B 54 9D */ bl Free__7CMemoryFPCv
lbl_80060498:
/* 80060498 0005D3F8 80 01 00 84 */ lwz r0, 0x84(r1)
/* 8006049C 0005D3FC 7F C3 F3 78 */ mr r3, r30
/* 800604A0 0005D400 83 E1 00 7C */ lwz r31, 0x7c(r1)
/* 800604A4 0005D404 83 C1 00 78 */ lwz r30, 0x78(r1)
/* 800604A8 0005D408 83 A1 00 74 */ lwz r29, 0x74(r1)
/* 800604AC 0005D40C 83 81 00 70 */ lwz r28, 0x70(r1)
/* 800604B0 0005D410 7C 08 03 A6 */ mtlr r0
/* 800604B4 0005D414 38 21 00 80 */ addi r1, r1, 0x80
/* 800604B8 0005D418 4E 80 00 20 */ blr
.global sub_800604bc
sub_800604bc:
/* 800604BC 0005D41C 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800604C0 0005D420 7C 08 02 A6 */ mflr r0
/* 800604C4 0005D424 90 01 00 24 */ stw r0, 0x24(r1)
/* 800604C8 0005D428 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 800604CC 0005D42C 7C 9F 23 78 */ mr r31, r4
/* 800604D0 0005D430 93 C1 00 18 */ stw r30, 0x18(r1)
/* 800604D4 0005D434 7C 7E 1B 79 */ or. r30, r3, r3
/* 800604D8 0005D438 41 82 00 54 */ beq lbl_8006052C
/* 800604DC 0005D43C 80 1E 00 04 */ lwz r0, 4(r30)
/* 800604E0 0005D440 38 61 00 14 */ addi r3, r1, 0x14
/* 800604E4 0005D444 80 BE 00 0C */ lwz r5, 0xc(r30)
/* 800604E8 0005D448 38 81 00 0C */ addi r4, r1, 0xc
/* 800604EC 0005D44C 1C 00 00 74 */ mulli r0, r0, 0x74
/* 800604F0 0005D450 7C A5 02 14 */ add r5, r5, r0
/* 800604F4 0005D454 90 A1 00 0C */ stw r5, 0xc(r1)
/* 800604F8 0005D458 80 1E 00 0C */ lwz r0, 0xc(r30)
/* 800604FC 0005D45C 90 A1 00 08 */ stw r5, 8(r1)
/* 80060500 0005D460 90 01 00 10 */ stw r0, 0x10(r1)
/* 80060504 0005D464 90 01 00 14 */ stw r0, 0x14(r1)
/* 80060508 0005D468 48 00 00 41 */ bl "destroy<Q24rstl136pointer_iterator<21CMetroidModelInstance,Q24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl136pointer_iterator<21CMetroidModelInstance,Q24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl136pointer_iterator<21CMetroidModelInstance,Q24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>"
/* 8006050C 0005D46C 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 80060510 0005D470 28 03 00 00 */ cmplwi r3, 0
/* 80060514 0005D474 41 82 00 08 */ beq lbl_8006051C
/* 80060518 0005D478 48 2B 54 19 */ bl Free__7CMemoryFPCv
lbl_8006051C:
/* 8006051C 0005D47C 7F E0 07 35 */ extsh. r0, r31
/* 80060520 0005D480 40 81 00 0C */ ble lbl_8006052C
/* 80060524 0005D484 7F C3 F3 78 */ mr r3, r30
/* 80060528 0005D488 48 2B 54 09 */ bl Free__7CMemoryFPCv
lbl_8006052C:
/* 8006052C 0005D48C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80060530 0005D490 7F C3 F3 78 */ mr r3, r30
/* 80060534 0005D494 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80060538 0005D498 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8006053C 0005D49C 7C 08 03 A6 */ mtlr r0
/* 80060540 0005D4A0 38 21 00 20 */ addi r1, r1, 0x20
/* 80060544 0005D4A4 4E 80 00 20 */ blr
.global "destroy<Q24rstl136pointer_iterator<21CMetroidModelInstance,Q24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl136pointer_iterator<21CMetroidModelInstance,Q24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl136pointer_iterator<21CMetroidModelInstance,Q24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>"
"destroy<Q24rstl136pointer_iterator<21CMetroidModelInstance,Q24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl136pointer_iterator<21CMetroidModelInstance,Q24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl136pointer_iterator<21CMetroidModelInstance,Q24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>":
/* 80060548 0005D4A8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8006054C 0005D4AC 7C 08 02 A6 */ mflr r0
/* 80060550 0005D4B0 90 01 00 14 */ stw r0, 0x14(r1)
/* 80060554 0005D4B4 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80060558 0005D4B8 93 C1 00 08 */ stw r30, 8(r1)
/* 8006055C 0005D4BC 7C 9E 23 78 */ mr r30, r4
/* 80060560 0005D4C0 83 E3 00 00 */ lwz r31, 0(r3)
/* 80060564 0005D4C4 48 00 00 10 */ b lbl_80060574
lbl_80060568:
/* 80060568 0005D4C8 7F E3 FB 78 */ mr r3, r31
/* 8006056C 0005D4CC 48 00 00 2D */ bl __dt__21CMetroidModelInstanceFv
/* 80060570 0005D4D0 3B FF 00 74 */ addi r31, r31, 0x74
lbl_80060574:
/* 80060574 0005D4D4 80 1E 00 00 */ lwz r0, 0(r30)
/* 80060578 0005D4D8 7C 1F 00 40 */ cmplw r31, r0
/* 8006057C 0005D4DC 40 82 FF EC */ bne lbl_80060568
/* 80060580 0005D4E0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80060584 0005D4E4 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80060588 0005D4E8 83 C1 00 08 */ lwz r30, 8(r1)
/* 8006058C 0005D4EC 7C 08 03 A6 */ mtlr r0
/* 80060590 0005D4F0 38 21 00 10 */ addi r1, r1, 0x10
/* 80060594 0005D4F4 4E 80 00 20 */ blr
.global __dt__21CMetroidModelInstanceFv
__dt__21CMetroidModelInstanceFv:
/* 80060598 0005D4F8 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8006059C 0005D4FC 7C 08 02 A6 */ mflr r0
/* 800605A0 0005D500 28 03 00 00 */ cmplwi r3, 0
/* 800605A4 0005D504 90 01 00 24 */ stw r0, 0x24(r1)
/* 800605A8 0005D508 41 82 00 4C */ beq lbl_800605F4
/* 800605AC 0005D50C 34 03 00 50 */ addic. r0, r3, 0x50
/* 800605B0 0005D510 41 82 00 44 */ beq lbl_800605F4
/* 800605B4 0005D514 80 03 00 54 */ lwz r0, 0x54(r3)
/* 800605B8 0005D518 80 63 00 5C */ lwz r3, 0x5c(r3)
/* 800605BC 0005D51C 54 00 10 3A */ slwi r0, r0, 2
/* 800605C0 0005D520 7C 03 02 14 */ add r0, r3, r0
/* 800605C4 0005D524 90 61 00 0C */ stw r3, 0xc(r1)
/* 800605C8 0005D528 7C 64 1B 78 */ mr r4, r3
/* 800605CC 0005D52C 90 01 00 14 */ stw r0, 0x14(r1)
/* 800605D0 0005D530 90 01 00 10 */ stw r0, 0x10(r1)
/* 800605D4 0005D534 90 61 00 08 */ stw r3, 8(r1)
/* 800605D8 0005D538 48 00 00 08 */ b lbl_800605E0
lbl_800605DC:
/* 800605DC 0005D53C 38 84 00 04 */ addi r4, r4, 4
lbl_800605E0:
/* 800605E0 0005D540 7C 04 00 40 */ cmplw r4, r0
/* 800605E4 0005D544 40 82 FF F8 */ bne lbl_800605DC
/* 800605E8 0005D548 28 03 00 00 */ cmplwi r3, 0
/* 800605EC 0005D54C 41 82 00 08 */ beq lbl_800605F4
/* 800605F0 0005D550 48 2B 53 41 */ bl Free__7CMemoryFPCv
lbl_800605F4:
/* 800605F4 0005D554 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800605F8 0005D558 7C 08 03 A6 */ mtlr r0
/* 800605FC 0005D55C 38 21 00 20 */ addi r1, r1, 0x20
/* 80060600 0005D560 4E 80 00 20 */ blr
.global UnloadAllloadedTextures__9CGameAreaFv
UnloadAllloadedTextures__9CGameAreaFv:
/* 80060604 0005D564 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80060608 0005D568 7C 08 02 A6 */ mflr r0
/* 8006060C 0005D56C 90 01 00 34 */ stw r0, 0x34(r1)
/* 80060610 0005D570 BF 61 00 1C */ stmw r27, 0x1c(r1)
/* 80060614 0005D574 7C 7B 1B 78 */ mr r27, r3
/* 80060618 0005D578 3B A0 00 01 */ li r29, 1
/* 8006061C 0005D57C 3B 80 00 00 */ li r28, 0
/* 80060620 0005D580 3B C0 00 00 */ li r30, 0
/* 80060624 0005D584 48 00 00 84 */ b lbl_800606A8
lbl_80060628:
/* 80060628 0005D588 80 1B 00 E8 */ lwz r0, 0xe8(r27)
/* 8006062C 0005D58C 7C 80 F2 14 */ add r4, r0, r30
/* 80060630 0005D590 80 A4 00 00 */ lwz r5, 0(r4)
/* 80060634 0005D594 80 65 00 04 */ lwz r3, 4(r5)
/* 80060638 0005D598 3C 03 AB A8 */ addis r0, r3, 0xaba8
/* 8006063C 0005D59C 28 00 54 52 */ cmplwi r0, 0x5452
/* 80060640 0005D5A0 40 82 00 60 */ bne lbl_800606A0
/* 80060644 0005D5A4 80 05 00 10 */ lwz r0, 0x10(r5)
/* 80060648 0005D5A8 28 00 00 00 */ cmplwi r0, 0
/* 8006064C 0005D5AC 41 82 00 54 */ beq lbl_800606A0
/* 80060650 0005D5B0 88 04 00 04 */ lbz r0, 4(r4)
/* 80060654 0005D5B4 28 00 00 00 */ cmplwi r0, 0
/* 80060658 0005D5B8 41 82 00 48 */ beq lbl_800606A0
/* 8006065C 0005D5BC 38 61 00 08 */ addi r3, r1, 8
/* 80060660 0005D5C0 48 2E 08 49 */ bl __ct__6CTokenFRC6CToken
/* 80060664 0005D5C4 38 61 00 08 */ addi r3, r1, 8
/* 80060668 0005D5C8 48 2E 07 A5 */ bl GetObj__6CTokenFv
/* 8006066C 0005D5CC 83 E3 00 04 */ lwz r31, 4(r3)
/* 80060670 0005D5D0 7F E3 FB 78 */ mr r3, r31
/* 80060674 0005D5D4 48 2A DB 45 */ bl MakeSwappable__8CTextureCFv
/* 80060678 0005D5D8 7F E3 FB 78 */ mr r3, r31
/* 8006067C 0005D5DC 48 2A E5 05 */ bl LoadToARAM__8CTextureCFv
/* 80060680 0005D5E0 7F E3 FB 78 */ mr r3, r31
/* 80060684 0005D5E4 48 2A E4 C9 */ bl IsARAMTransferInProgress__8CTextureCFv
/* 80060688 0005D5E8 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8006068C 0005D5EC 41 82 00 08 */ beq lbl_80060694
/* 80060690 0005D5F0 3B A0 00 00 */ li r29, 0
lbl_80060694:
/* 80060694 0005D5F4 38 61 00 08 */ addi r3, r1, 8
/* 80060698 0005D5F8 38 80 00 00 */ li r4, 0
/* 8006069C 0005D5FC 48 2E 07 A5 */ bl __dt__6CTokenFv
lbl_800606A0:
/* 800606A0 0005D600 3B DE 00 08 */ addi r30, r30, 8
/* 800606A4 0005D604 3B 9C 00 01 */ addi r28, r28, 1
lbl_800606A8:
/* 800606A8 0005D608 80 1B 00 E0 */ lwz r0, 0xe0(r27)
/* 800606AC 0005D60C 7C 1C 00 00 */ cmpw r28, r0
/* 800606B0 0005D610 41 80 FF 78 */ blt lbl_80060628
/* 800606B4 0005D614 7F A3 EB 78 */ mr r3, r29
/* 800606B8 0005D618 BB 61 00 1C */ lmw r27, 0x1c(r1)
/* 800606BC 0005D61C 80 01 00 34 */ lwz r0, 0x34(r1)
/* 800606C0 0005D620 7C 08 03 A6 */ mtlr r0
/* 800606C4 0005D624 38 21 00 30 */ addi r1, r1, 0x30
/* 800606C8 0005D628 4E 80 00 20 */ blr
.global ReloadAllUnloadedTextures__9CGameAreaFv
ReloadAllUnloadedTextures__9CGameAreaFv:
/* 800606CC 0005D62C 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 800606D0 0005D630 7C 08 02 A6 */ mflr r0
/* 800606D4 0005D634 90 01 00 34 */ stw r0, 0x34(r1)
/* 800606D8 0005D638 BF 61 00 1C */ stmw r27, 0x1c(r1)
/* 800606DC 0005D63C 7C 7B 1B 78 */ mr r27, r3
/* 800606E0 0005D640 3B A0 00 01 */ li r29, 1
/* 800606E4 0005D644 3B 80 00 00 */ li r28, 0
/* 800606E8 0005D648 3B C0 00 00 */ li r30, 0
/* 800606EC 0005D64C 48 00 00 7C */ b lbl_80060768
lbl_800606F0:
/* 800606F0 0005D650 80 1B 00 E8 */ lwz r0, 0xe8(r27)
/* 800606F4 0005D654 7C 80 F2 14 */ add r4, r0, r30
/* 800606F8 0005D658 80 A4 00 00 */ lwz r5, 0(r4)
/* 800606FC 0005D65C 80 65 00 04 */ lwz r3, 4(r5)
/* 80060700 0005D660 3C 03 AB A8 */ addis r0, r3, 0xaba8
/* 80060704 0005D664 28 00 54 52 */ cmplwi r0, 0x5452
/* 80060708 0005D668 40 82 00 58 */ bne lbl_80060760
/* 8006070C 0005D66C 80 05 00 10 */ lwz r0, 0x10(r5)
/* 80060710 0005D670 28 00 00 00 */ cmplwi r0, 0
/* 80060714 0005D674 41 82 00 4C */ beq lbl_80060760
/* 80060718 0005D678 88 04 00 04 */ lbz r0, 4(r4)
/* 8006071C 0005D67C 28 00 00 00 */ cmplwi r0, 0
/* 80060720 0005D680 41 82 00 40 */ beq lbl_80060760
/* 80060724 0005D684 38 61 00 08 */ addi r3, r1, 8
/* 80060728 0005D688 48 2E 07 81 */ bl __ct__6CTokenFRC6CToken
/* 8006072C 0005D68C 38 61 00 08 */ addi r3, r1, 8
/* 80060730 0005D690 48 2E 06 DD */ bl GetObj__6CTokenFv
/* 80060734 0005D694 83 E3 00 04 */ lwz r31, 4(r3)
/* 80060738 0005D698 7F E3 FB 78 */ mr r3, r31
/* 8006073C 0005D69C 48 2A DA 7D */ bl MakeSwappable__8CTextureCFv
/* 80060740 0005D6A0 7F E3 FB 78 */ mr r3, r31
/* 80060744 0005D6A4 48 2A E4 E5 */ bl LoadToMRAM__8CTextureCFv
/* 80060748 0005D6A8 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8006074C 0005D6AC 40 82 00 08 */ bne lbl_80060754
/* 80060750 0005D6B0 3B A0 00 00 */ li r29, 0
lbl_80060754:
/* 80060754 0005D6B4 38 61 00 08 */ addi r3, r1, 8
/* 80060758 0005D6B8 38 80 00 00 */ li r4, 0
/* 8006075C 0005D6BC 48 2E 06 E5 */ bl __dt__6CTokenFv
lbl_80060760:
/* 80060760 0005D6C0 3B DE 00 08 */ addi r30, r30, 8
/* 80060764 0005D6C4 3B 9C 00 01 */ addi r28, r28, 1
lbl_80060768:
/* 80060768 0005D6C8 80 1B 00 E0 */ lwz r0, 0xe0(r27)
/* 8006076C 0005D6CC 7C 1C 00 00 */ cmpw r28, r0
/* 80060770 0005D6D0 41 80 FF 80 */ blt lbl_800606F0
/* 80060774 0005D6D4 7F A3 EB 78 */ mr r3, r29
/* 80060778 0005D6D8 BB 61 00 1C */ lmw r27, 0x1c(r1)
/* 8006077C 0005D6DC 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80060780 0005D6E0 7C 08 03 A6 */ mtlr r0
/* 80060784 0005D6E4 38 21 00 30 */ addi r1, r1, 0x30
/* 80060788 0005D6E8 4E 80 00 20 */ blr
.global GetNumPartSizes__9CGameAreaCFv
GetNumPartSizes__9CGameAreaCFv:
/* 8006078C 0005D6EC 80 63 01 1C */ lwz r3, 0x11c(r3)
/* 80060790 0005D6F0 80 63 00 04 */ lwz r3, 4(r3)
/* 80060794 0005D6F4 80 63 00 3C */ lwz r3, 0x3c(r3)
/* 80060798 0005D6F8 4E 80 00 20 */ blr
.global AllocNewAreaData__9CGameAreaFii
AllocNewAreaData__9CGameAreaFii:
/* 8006079C 0005D6FC 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 800607A0 0005D700 7C 08 02 A6 */ mflr r0
/* 800607A4 0005D704 3C C0 80 3D */ lis r6, lbl_803D6AA8@ha
/* 800607A8 0005D708 3C E0 80 3D */ lis r7, lbl_803CCFAC@ha
/* 800607AC 0005D70C 90 01 00 54 */ stw r0, 0x54(r1)
/* 800607B0 0005D710 38 07 CF AC */ addi r0, r7, lbl_803CCFAC@l
/* 800607B4 0005D714 38 C6 6A A8 */ addi r6, r6, lbl_803D6AA8@l
/* 800607B8 0005D718 93 E1 00 4C */ stw r31, 0x4c(r1)
/* 800607BC 0005D71C 93 C1 00 48 */ stw r30, 0x48(r1)
/* 800607C0 0005D720 7C BE 2B 78 */ mr r30, r5
/* 800607C4 0005D724 7C 05 03 78 */ mr r5, r0
/* 800607C8 0005D728 93 A1 00 44 */ stw r29, 0x44(r1)
/* 800607CC 0005D72C 7C 9D 23 78 */ mr r29, r4
/* 800607D0 0005D730 38 80 FF FF */ li r4, -1
/* 800607D4 0005D734 93 81 00 40 */ stw r28, 0x40(r1)
/* 800607D8 0005D738 7C 7C 1B 78 */ mr r28, r3
/* 800607DC 0005D73C 38 61 00 18 */ addi r3, r1, 0x18
/* 800607E0 0005D740 48 27 5B F5 */ bl __ct__10CCallStackFUiPCcPCc
/* 800607E4 0005D744 7C 67 1B 78 */ mr r7, r3
/* 800607E8 0005D748 7F C3 F3 78 */ mr r3, r30
/* 800607EC 0005D74C 38 80 00 02 */ li r4, 2
/* 800607F0 0005D750 38 A0 00 01 */ li r5, 1
/* 800607F4 0005D754 38 C0 00 00 */ li r6, 0
/* 800607F8 0005D758 48 2B 51 9D */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack
/* 800607FC 0005D75C 7C 7F 1B 78 */ mr r31, r3
/* 80060800 0005D760 38 00 00 00 */ li r0, 0
/* 80060804 0005D764 7C 9F 00 D0 */ neg r4, r31
/* 80060808 0005D768 93 C1 00 30 */ stw r30, 0x30(r1)
/* 8006080C 0005D76C 7C 84 FB 78 */ or r4, r4, r31
/* 80060810 0005D770 54 84 0F FE */ srwi r4, r4, 0x1f
/* 80060814 0005D774 93 E1 00 14 */ stw r31, 0x14(r1)
/* 80060818 0005D778 98 81 00 10 */ stb r4, 0x10(r1)
/* 8006081C 0005D77C 98 81 00 28 */ stb r4, 0x28(r1)
/* 80060820 0005D780 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80060824 0005D784 98 01 00 10 */ stb r0, 0x10(r1)
/* 80060828 0005D788 48 00 00 08 */ b lbl_80060830
/* 8006082C 0005D78C 48 2B 51 05 */ bl Free__7CMemoryFPCv
lbl_80060830:
/* 80060830 0005D790 80 1C 01 14 */ lwz r0, 0x114(r28)
/* 80060834 0005D794 80 BC 01 18 */ lwz r5, 0x118(r28)
/* 80060838 0005D798 7C 00 28 00 */ cmpw r0, r5
/* 8006083C 0005D79C 41 80 00 1C */ blt lbl_80060858
/* 80060840 0005D7A0 2C 05 00 00 */ cmpwi r5, 0
/* 80060844 0005D7A4 38 7C 01 10 */ addi r3, r28, 0x110
/* 80060848 0005D7A8 38 80 00 04 */ li r4, 4
/* 8006084C 0005D7AC 41 82 00 08 */ beq lbl_80060854
/* 80060850 0005D7B0 54 A4 08 3C */ slwi r4, r5, 1
lbl_80060854:
/* 80060854 0005D7B4 48 00 3D 1D */ bl "reserve__Q24rstl72vector<Q24rstl28pair<Q24rstl11auto_ptr<c>,i>,Q24rstl17rmemory_allocator>Fi"
lbl_80060858:
/* 80060858 0005D7B8 80 1C 01 14 */ lwz r0, 0x114(r28)
/* 8006085C 0005D7BC 80 7C 01 1C */ lwz r3, 0x11c(r28)
/* 80060860 0005D7C0 1C 00 00 0C */ mulli r0, r0, 0xc
/* 80060864 0005D7C4 7C A3 02 15 */ add. r5, r3, r0
/* 80060868 0005D7C8 41 82 00 24 */ beq lbl_8006088C
/* 8006086C 0005D7CC 88 01 00 28 */ lbz r0, 0x28(r1)
/* 80060870 0005D7D0 38 60 00 00 */ li r3, 0
/* 80060874 0005D7D4 80 81 00 2C */ lwz r4, 0x2c(r1)
/* 80060878 0005D7D8 98 05 00 00 */ stb r0, 0(r5)
/* 8006087C 0005D7DC 80 01 00 30 */ lwz r0, 0x30(r1)
/* 80060880 0005D7E0 90 85 00 04 */ stw r4, 4(r5)
/* 80060884 0005D7E4 98 61 00 28 */ stb r3, 0x28(r1)
/* 80060888 0005D7E8 90 05 00 08 */ stw r0, 8(r5)
lbl_8006088C:
/* 8006088C 0005D7EC 80 9C 01 14 */ lwz r4, 0x114(r28)
/* 80060890 0005D7F0 3C 60 4D 52 */ lis r3, 0x4D524541@ha
/* 80060894 0005D7F4 38 03 45 41 */ addi r0, r3, 0x4D524541@l
/* 80060898 0005D7F8 7F A5 EB 78 */ mr r5, r29
/* 8006089C 0005D7FC 38 64 00 01 */ addi r3, r4, 1
/* 800608A0 0005D800 7F C6 F3 78 */ mr r6, r30
/* 800608A4 0005D804 90 7C 01 14 */ stw r3, 0x114(r28)
/* 800608A8 0005D808 7F E7 FB 78 */ mr r7, r31
/* 800608AC 0005D80C 38 81 00 20 */ addi r4, r1, 0x20
/* 800608B0 0005D810 81 1C 00 84 */ lwz r8, 0x84(r28)
/* 800608B4 0005D814 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13)
/* 800608B8 0005D818 90 01 00 20 */ stw r0, 0x20(r1)
/* 800608BC 0005D81C 38 63 00 04 */ addi r3, r3, 4
/* 800608C0 0005D820 91 01 00 24 */ stw r8, 0x24(r1)
/* 800608C4 0005D824 48 2D B2 39 */ bl LoadResourcePartAsync__10CResLoaderFRC10SObjectTagiiPc
/* 800608C8 0005D828 7C 03 00 D0 */ neg r0, r3
/* 800608CC 0005D82C 83 BC 01 00 */ lwz r29, 0x100(r28)
/* 800608D0 0005D830 7C 00 1B 78 */ or r0, r0, r3
/* 800608D4 0005D834 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha
/* 800608D8 0005D838 54 00 0F FE */ srwi r0, r0, 0x1f
/* 800608DC 0005D83C 90 61 00 0C */ stw r3, 0xc(r1)
/* 800608E0 0005D840 83 DD 00 00 */ lwz r30, 0(r29)
/* 800608E4 0005D844 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l
/* 800608E8 0005D848 98 01 00 08 */ stb r0, 8(r1)
/* 800608EC 0005D84C 38 60 00 10 */ li r3, 0x10
/* 800608F0 0005D850 38 A0 00 00 */ li r5, 0
/* 800608F4 0005D854 48 2B 4F 25 */ bl __nwa__FUlPCcPCc
/* 800608F8 0005D858 28 03 00 00 */ cmplwi r3, 0
/* 800608FC 0005D85C 41 82 00 0C */ beq lbl_80060908
/* 80060900 0005D860 93 C3 00 00 */ stw r30, 0(r3)
/* 80060904 0005D864 93 A3 00 04 */ stw r29, 4(r3)
lbl_80060908:
/* 80060908 0005D868 34 C3 00 08 */ addic. r6, r3, 8
/* 8006090C 0005D86C 41 82 00 1C */ beq lbl_80060928
/* 80060910 0005D870 88 A1 00 08 */ lbz r5, 8(r1)
/* 80060914 0005D874 38 00 00 00 */ li r0, 0
/* 80060918 0005D878 80 81 00 0C */ lwz r4, 0xc(r1)
/* 8006091C 0005D87C 98 A6 00 00 */ stb r5, 0(r6)
/* 80060920 0005D880 90 86 00 04 */ stw r4, 4(r6)
/* 80060924 0005D884 98 01 00 08 */ stb r0, 8(r1)
lbl_80060928:
/* 80060928 0005D888 80 1C 00 FC */ lwz r0, 0xfc(r28)
/* 8006092C 0005D88C 7C 1D 00 40 */ cmplw r29, r0
/* 80060930 0005D890 40 82 00 08 */ bne lbl_80060938
/* 80060934 0005D894 90 7C 00 FC */ stw r3, 0xfc(r28)
lbl_80060938:
/* 80060938 0005D898 80 83 00 00 */ lwz r4, 0(r3)
/* 8006093C 0005D89C 88 01 00 08 */ lbz r0, 8(r1)
/* 80060940 0005D8A0 90 64 00 04 */ stw r3, 4(r4)
/* 80060944 0005D8A4 28 00 00 00 */ cmplwi r0, 0
/* 80060948 0005D8A8 80 83 00 04 */ lwz r4, 4(r3)
/* 8006094C 0005D8AC 90 64 00 00 */ stw r3, 0(r4)
/* 80060950 0005D8B0 80 7C 01 0C */ lwz r3, 0x10c(r28)
/* 80060954 0005D8B4 38 03 00 01 */ addi r0, r3, 1
/* 80060958 0005D8B8 90 1C 01 0C */ stw r0, 0x10c(r28)
/* 8006095C 0005D8BC 41 82 00 24 */ beq lbl_80060980
/* 80060960 0005D8C0 80 61 00 0C */ lwz r3, 0xc(r1)
/* 80060964 0005D8C4 28 03 00 00 */ cmplwi r3, 0
/* 80060968 0005D8C8 41 82 00 18 */ beq lbl_80060980
/* 8006096C 0005D8CC 81 83 00 00 */ lwz r12, 0(r3)
/* 80060970 0005D8D0 38 80 00 01 */ li r4, 1
/* 80060974 0005D8D4 81 8C 00 08 */ lwz r12, 8(r12)
/* 80060978 0005D8D8 7D 89 03 A6 */ mtctr r12
/* 8006097C 0005D8DC 4E 80 04 21 */ bctrl
lbl_80060980:
/* 80060980 0005D8E0 88 01 00 28 */ lbz r0, 0x28(r1)
/* 80060984 0005D8E4 28 00 00 00 */ cmplwi r0, 0
/* 80060988 0005D8E8 41 82 00 0C */ beq lbl_80060994
/* 8006098C 0005D8EC 80 61 00 2C */ lwz r3, 0x2c(r1)
/* 80060990 0005D8F0 48 2B 4F A1 */ bl Free__7CMemoryFPCv
lbl_80060994:
/* 80060994 0005D8F4 80 01 00 54 */ lwz r0, 0x54(r1)
/* 80060998 0005D8F8 7F E3 FB 78 */ mr r3, r31
/* 8006099C 0005D8FC 83 E1 00 4C */ lwz r31, 0x4c(r1)
/* 800609A0 0005D900 83 C1 00 48 */ lwz r30, 0x48(r1)
/* 800609A4 0005D904 83 A1 00 44 */ lwz r29, 0x44(r1)
/* 800609A8 0005D908 83 81 00 40 */ lwz r28, 0x40(r1)
/* 800609AC 0005D90C 7C 08 03 A6 */ mtlr r0
/* 800609B0 0005D910 38 21 00 50 */ addi r1, r1, 0x50
/* 800609B4 0005D914 4E 80 00 20 */ blr
.global Invalidate__9CGameAreaFP13CStateManager
Invalidate__9CGameAreaFP13CStateManager:
/* 800609B8 0005D918 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 800609BC 0005D91C 7C 08 02 A6 */ mflr r0
/* 800609C0 0005D920 90 01 00 34 */ stw r0, 0x34(r1)
/* 800609C4 0005D924 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 800609C8 0005D928 93 C1 00 28 */ stw r30, 0x28(r1)
/* 800609CC 0005D92C 7C 9E 23 78 */ mr r30, r4
/* 800609D0 0005D930 93 A1 00 24 */ stw r29, 0x24(r1)
/* 800609D4 0005D934 7C 7D 1B 78 */ mr r29, r3
/* 800609D8 0005D938 88 03 00 F0 */ lbz r0, 0xf0(r3)
/* 800609DC 0005D93C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 800609E0 0005D940 40 82 00 9C */ bne lbl_80060A7C
/* 800609E4 0005D944 48 00 25 0D */ bl ClearTokenList__9CGameAreaFv
/* 800609E8 0005D948 83 FD 00 FC */ lwz r31, 0xfc(r29)
/* 800609EC 0005D94C 48 00 00 4C */ b lbl_80060A38
lbl_800609F0:
/* 800609F0 0005D950 7F FE FB 78 */ mr r30, r31
/* 800609F4 0005D954 83 FF 00 04 */ lwz r31, 4(r31)
/* 800609F8 0005D958 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 800609FC 0005D95C 81 83 00 00 */ lwz r12, 0(r3)
/* 80060A00 0005D960 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 80060A04 0005D964 7D 89 03 A6 */ mtctr r12
/* 80060A08 0005D968 4E 80 04 21 */ bctrl
/* 80060A0C 0005D96C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80060A10 0005D970 40 82 00 1C */ bne lbl_80060A2C
/* 80060A14 0005D974 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 80060A18 0005D978 81 83 00 00 */ lwz r12, 0(r3)
/* 80060A1C 0005D97C 81 8C 00 14 */ lwz r12, 0x14(r12)
/* 80060A20 0005D980 7D 89 03 A6 */ mtctr r12
/* 80060A24 0005D984 4E 80 04 21 */ bctrl
/* 80060A28 0005D988 48 00 00 10 */ b lbl_80060A38
lbl_80060A2C:
/* 80060A2C 0005D98C 7F C4 F3 78 */ mr r4, r30
/* 80060A30 0005D990 38 7D 00 F8 */ addi r3, r29, 0xf8
/* 80060A34 0005D994 48 00 3C 55 */ bl "pop_front__Q24rstl65list<Q24rstl23auto_ptr<11CDvdRequest>,Q24rstl17rmemory_allocator>Fv"
lbl_80060A38:
/* 80060A38 0005D998 80 1D 01 00 */ lwz r0, 0x100(r29)
/* 80060A3C 0005D99C 7C 1F 00 40 */ cmplw r31, r0
/* 80060A40 0005D9A0 40 82 FF B0 */ bne lbl_800609F0
/* 80060A44 0005D9A4 80 1D 01 0C */ lwz r0, 0x10c(r29)
/* 80060A48 0005D9A8 2C 00 00 00 */ cmpwi r0, 0
/* 80060A4C 0005D9AC 41 82 00 0C */ beq lbl_80060A58
/* 80060A50 0005D9B0 38 60 00 00 */ li r3, 0
/* 80060A54 0005D9B4 48 00 00 D4 */ b lbl_80060B28
lbl_80060A58:
/* 80060A58 0005D9B8 38 7D 01 2C */ addi r3, r29, 0x12c
/* 80060A5C 0005D9BC 38 80 00 00 */ li r4, 0
/* 80060A60 0005D9C0 4B FF F6 71 */ bl sub_800600d0
/* 80060A64 0005D9C4 38 00 00 00 */ li r0, 0
/* 80060A68 0005D9C8 7F A3 EB 78 */ mr r3, r29
/* 80060A6C 0005D9CC 90 1D 00 F4 */ stw r0, 0xf4(r29)
/* 80060A70 0005D9D0 48 00 00 D5 */ bl sub_80060b44
/* 80060A74 0005D9D4 38 60 00 01 */ li r3, 1
/* 80060A78 0005D9D8 48 00 00 B0 */ b lbl_80060B28
lbl_80060A7C:
/* 80060A7C 0005D9DC 28 1E 00 00 */ cmplwi r30, 0
/* 80060A80 0005D9E0 41 82 00 1C */ beq lbl_80060A9C
/* 80060A84 0005D9E4 80 1D 00 04 */ lwz r0, 4(r29)
/* 80060A88 0005D9E8 7F C3 F3 78 */ mr r3, r30
/* 80060A8C 0005D9EC 38 81 00 14 */ addi r4, r1, 0x14
/* 80060A90 0005D9F0 90 01 00 10 */ stw r0, 0x10(r1)
/* 80060A94 0005D9F4 90 01 00 14 */ stw r0, 0x14(r1)
/* 80060A98 0005D9F8 4B FE BB 41 */ bl PrepareAreaUnload__13CStateManagerF7TAreaId
lbl_80060A9C:
/* 80060A9C 0005D9FC 7F A3 EB 78 */ mr r3, r29
/* 80060AA0 0005DA00 48 00 2F 45 */ bl GetPostConstructedSize__9CGameAreaCFv
/* 80060AA4 0005DA04 80 0D A2 F0 */ lwz r0, lbl_805A8EB0@sda21(r13)
/* 80060AA8 0005DA08 7C 03 00 50 */ subf r0, r3, r0
/* 80060AAC 0005DA0C 7F A3 EB 78 */ mr r3, r29
/* 80060AB0 0005DA10 90 0D A2 F0 */ stw r0, lbl_805A8EB0@sda21(r13)
/* 80060AB4 0005DA14 4B FF EC F9 */ bl RemoveStaticGeometry__9CGameAreaFv
/* 80060AB8 0005DA18 38 7D 01 2C */ addi r3, r29, 0x12c
/* 80060ABC 0005DA1C 38 80 00 00 */ li r4, 0
/* 80060AC0 0005DA20 4B FF F6 11 */ bl sub_800600d0
/* 80060AC4 0005DA24 88 1D 00 F0 */ lbz r0, 0xf0(r29)
/* 80060AC8 0005DA28 38 80 00 00 */ li r4, 0
/* 80060ACC 0005DA2C 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18
/* 80060AD0 0005DA30 7F A3 EB 78 */ mr r3, r29
/* 80060AD4 0005DA34 98 1D 00 F0 */ stb r0, 0xf0(r29)
/* 80060AD8 0005DA38 88 1D 00 F0 */ lbz r0, 0xf0(r29)
/* 80060ADC 0005DA3C 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c
/* 80060AE0 0005DA40 98 1D 00 F0 */ stb r0, 0xf0(r29)
/* 80060AE4 0005DA44 90 9D 00 F4 */ stw r4, 0xf4(r29)
/* 80060AE8 0005DA48 48 00 02 99 */ bl CullDeadAreaRequests__9CGameAreaFv
/* 80060AEC 0005DA4C 7F A3 EB 78 */ mr r3, r29
/* 80060AF0 0005DA50 48 00 00 55 */ bl sub_80060b44
/* 80060AF4 0005DA54 38 00 00 00 */ li r0, 0
/* 80060AF8 0005DA58 7F A3 EB 78 */ mr r3, r29
/* 80060AFC 0005DA5C 90 1D 01 20 */ stw r0, 0x120(r29)
/* 80060B00 0005DA60 48 00 23 F1 */ bl ClearTokenList__9CGameAreaFv
/* 80060B04 0005DA64 28 1E 00 00 */ cmplwi r30, 0
/* 80060B08 0005DA68 41 82 00 1C */ beq lbl_80060B24
/* 80060B0C 0005DA6C 80 1D 00 04 */ lwz r0, 4(r29)
/* 80060B10 0005DA70 7F C3 F3 78 */ mr r3, r30
/* 80060B14 0005DA74 38 81 00 0C */ addi r4, r1, 0xc
/* 80060B18 0005DA78 90 01 00 08 */ stw r0, 8(r1)
/* 80060B1C 0005DA7C 90 01 00 0C */ stw r0, 0xc(r1)
/* 80060B20 0005DA80 4B FE BA B5 */ bl AreaUnloaded__13CStateManagerF7TAreaId
lbl_80060B24:
/* 80060B24 0005DA84 38 60 00 01 */ li r3, 1
lbl_80060B28:
/* 80060B28 0005DA88 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80060B2C 0005DA8C 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 80060B30 0005DA90 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 80060B34 0005DA94 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 80060B38 0005DA98 7C 08 03 A6 */ mtlr r0
/* 80060B3C 0005DA9C 38 21 00 30 */ addi r1, r1, 0x30
/* 80060B40 0005DAA0 4E 80 00 20 */ blr
.global sub_80060b44
sub_80060b44:
/* 80060B44 0005DAA4 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80060B48 0005DAA8 7C 08 02 A6 */ mflr r0
/* 80060B4C 0005DAAC 38 63 01 10 */ addi r3, r3, 0x110
/* 80060B50 0005DAB0 90 01 00 24 */ stw r0, 0x24(r1)
/* 80060B54 0005DAB4 38 00 00 00 */ li r0, 0
/* 80060B58 0005DAB8 38 81 00 08 */ addi r4, r1, 8
/* 80060B5C 0005DABC 90 01 00 0C */ stw r0, 0xc(r1)
/* 80060B60 0005DAC0 90 01 00 10 */ stw r0, 0x10(r1)
/* 80060B64 0005DAC4 90 01 00 14 */ stw r0, 0x14(r1)
/* 80060B68 0005DAC8 48 00 00 21 */ bl sub_80060b88
/* 80060B6C 0005DACC 38 61 00 08 */ addi r3, r1, 8
/* 80060B70 0005DAD0 38 80 FF FF */ li r4, -1
/* 80060B74 0005DAD4 48 00 01 51 */ bl sub_80060cc4
/* 80060B78 0005DAD8 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80060B7C 0005DADC 7C 08 03 A6 */ mtlr r0
/* 80060B80 0005DAE0 38 21 00 20 */ addi r1, r1, 0x20
/* 80060B84 0005DAE4 4E 80 00 20 */ blr
.global sub_80060b88
sub_80060b88:
/* 80060B88 0005DAE8 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80060B8C 0005DAEC 7C 08 02 A6 */ mflr r0
/* 80060B90 0005DAF0 90 01 00 34 */ stw r0, 0x34(r1)
/* 80060B94 0005DAF4 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80060B98 0005DAF8 7C 9F 23 78 */ mr r31, r4
/* 80060B9C 0005DAFC 93 C1 00 28 */ stw r30, 0x28(r1)
/* 80060BA0 0005DB00 7C 7E 1B 78 */ mr r30, r3
/* 80060BA4 0005DB04 7C 1E F8 40 */ cmplw r30, r31
/* 80060BA8 0005DB08 93 A1 00 24 */ stw r29, 0x24(r1)
/* 80060BAC 0005DB0C 93 81 00 20 */ stw r28, 0x20(r1)
/* 80060BB0 0005DB10 40 82 00 08 */ bne lbl_80060BB8
/* 80060BB4 0005DB14 48 00 00 F0 */ b lbl_80060CA4
lbl_80060BB8:
/* 80060BB8 0005DB18 80 1E 00 04 */ lwz r0, 4(r30)
/* 80060BBC 0005DB1C 83 9E 00 0C */ lwz r28, 0xc(r30)
/* 80060BC0 0005DB20 1C 00 00 0C */ mulli r0, r0, 0xc
/* 80060BC4 0005DB24 93 81 00 0C */ stw r28, 0xc(r1)
/* 80060BC8 0005DB28 7F BC 02 14 */ add r29, r28, r0
/* 80060BCC 0005DB2C 93 81 00 08 */ stw r28, 8(r1)
/* 80060BD0 0005DB30 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80060BD4 0005DB34 93 A1 00 10 */ stw r29, 0x10(r1)
/* 80060BD8 0005DB38 48 00 00 28 */ b lbl_80060C00
lbl_80060BDC:
/* 80060BDC 0005DB3C 28 1C 00 00 */ cmplwi r28, 0
/* 80060BE0 0005DB40 41 82 00 1C */ beq lbl_80060BFC
/* 80060BE4 0005DB44 41 82 00 18 */ beq lbl_80060BFC
/* 80060BE8 0005DB48 88 1C 00 00 */ lbz r0, 0(r28)
/* 80060BEC 0005DB4C 28 00 00 00 */ cmplwi r0, 0
/* 80060BF0 0005DB50 41 82 00 0C */ beq lbl_80060BFC
/* 80060BF4 0005DB54 80 7C 00 04 */ lwz r3, 4(r28)
/* 80060BF8 0005DB58 48 2B 4D 39 */ bl Free__7CMemoryFPCv
lbl_80060BFC:
/* 80060BFC 0005DB5C 3B 9C 00 0C */ addi r28, r28, 0xc
lbl_80060C00:
/* 80060C00 0005DB60 7C 1C E8 40 */ cmplw r28, r29
/* 80060C04 0005DB64 40 82 FF D8 */ bne lbl_80060BDC
/* 80060C08 0005DB68 38 00 00 00 */ li r0, 0
/* 80060C0C 0005DB6C 90 1E 00 04 */ stw r0, 4(r30)
/* 80060C10 0005DB70 80 9F 00 04 */ lwz r4, 4(r31)
/* 80060C14 0005DB74 2C 04 00 00 */ cmpwi r4, 0
/* 80060C18 0005DB78 40 82 00 28 */ bne lbl_80060C40
/* 80060C1C 0005DB7C 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 80060C20 0005DB80 28 03 00 00 */ cmplwi r3, 0
/* 80060C24 0005DB84 41 82 00 08 */ beq lbl_80060C2C
/* 80060C28 0005DB88 48 2B 4D 09 */ bl Free__7CMemoryFPCv
lbl_80060C2C:
/* 80060C2C 0005DB8C 38 00 00 00 */ li r0, 0
/* 80060C30 0005DB90 90 1E 00 04 */ stw r0, 4(r30)
/* 80060C34 0005DB94 90 1E 00 08 */ stw r0, 8(r30)
/* 80060C38 0005DB98 90 1E 00 0C */ stw r0, 0xc(r30)
/* 80060C3C 0005DB9C 48 00 00 64 */ b lbl_80060CA0
lbl_80060C40:
/* 80060C40 0005DBA0 7F C3 F3 78 */ mr r3, r30
/* 80060C44 0005DBA4 48 00 39 2D */ bl "reserve__Q24rstl72vector<Q24rstl28pair<Q24rstl11auto_ptr<c>,i>,Q24rstl17rmemory_allocator>Fi"
/* 80060C48 0005DBA8 80 1F 00 04 */ lwz r0, 4(r31)
/* 80060C4C 0005DBAC 38 60 00 00 */ li r3, 0
/* 80060C50 0005DBB0 80 DF 00 0C */ lwz r6, 0xc(r31)
/* 80060C54 0005DBB4 1C 00 00 0C */ mulli r0, r0, 0xc
/* 80060C58 0005DBB8 80 9E 00 0C */ lwz r4, 0xc(r30)
/* 80060C5C 0005DBBC 7C A6 02 14 */ add r5, r6, r0
/* 80060C60 0005DBC0 48 00 00 30 */ b lbl_80060C90
lbl_80060C64:
/* 80060C64 0005DBC4 28 04 00 00 */ cmplwi r4, 0
/* 80060C68 0005DBC8 41 82 00 20 */ beq lbl_80060C88
/* 80060C6C 0005DBCC 88 06 00 00 */ lbz r0, 0(r6)
/* 80060C70 0005DBD0 98 04 00 00 */ stb r0, 0(r4)
/* 80060C74 0005DBD4 80 06 00 04 */ lwz r0, 4(r6)
/* 80060C78 0005DBD8 90 04 00 04 */ stw r0, 4(r4)
/* 80060C7C 0005DBDC 98 66 00 00 */ stb r3, 0(r6)
/* 80060C80 0005DBE0 80 06 00 08 */ lwz r0, 8(r6)
/* 80060C84 0005DBE4 90 04 00 08 */ stw r0, 8(r4)
lbl_80060C88:
/* 80060C88 0005DBE8 38 84 00 0C */ addi r4, r4, 0xc
/* 80060C8C 0005DBEC 38 C6 00 0C */ addi r6, r6, 0xc
lbl_80060C90:
/* 80060C90 0005DBF0 7C 06 28 40 */ cmplw r6, r5
/* 80060C94 0005DBF4 40 82 FF D0 */ bne lbl_80060C64
/* 80060C98 0005DBF8 80 1F 00 04 */ lwz r0, 4(r31)
/* 80060C9C 0005DBFC 90 1E 00 04 */ stw r0, 4(r30)
lbl_80060CA0:
/* 80060CA0 0005DC00 7F C3 F3 78 */ mr r3, r30
lbl_80060CA4:
/* 80060CA4 0005DC04 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80060CA8 0005DC08 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 80060CAC 0005DC0C 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 80060CB0 0005DC10 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 80060CB4 0005DC14 83 81 00 20 */ lwz r28, 0x20(r1)
/* 80060CB8 0005DC18 7C 08 03 A6 */ mtlr r0
/* 80060CBC 0005DC1C 38 21 00 30 */ addi r1, r1, 0x30
/* 80060CC0 0005DC20 4E 80 00 20 */ blr
.global sub_80060cc4
sub_80060cc4:
/* 80060CC4 0005DC24 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80060CC8 0005DC28 7C 08 02 A6 */ mflr r0
/* 80060CCC 0005DC2C 90 01 00 34 */ stw r0, 0x34(r1)
/* 80060CD0 0005DC30 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80060CD4 0005DC34 93 C1 00 28 */ stw r30, 0x28(r1)
/* 80060CD8 0005DC38 93 A1 00 24 */ stw r29, 0x24(r1)
/* 80060CDC 0005DC3C 7C 9D 23 78 */ mr r29, r4
/* 80060CE0 0005DC40 93 81 00 20 */ stw r28, 0x20(r1)
/* 80060CE4 0005DC44 7C 7C 1B 79 */ or. r28, r3, r3
/* 80060CE8 0005DC48 41 82 00 74 */ beq lbl_80060D5C
/* 80060CEC 0005DC4C 80 1C 00 04 */ lwz r0, 4(r28)
/* 80060CF0 0005DC50 83 DC 00 0C */ lwz r30, 0xc(r28)
/* 80060CF4 0005DC54 1C 00 00 0C */ mulli r0, r0, 0xc
/* 80060CF8 0005DC58 93 C1 00 10 */ stw r30, 0x10(r1)
/* 80060CFC 0005DC5C 7F FE 02 14 */ add r31, r30, r0
/* 80060D00 0005DC60 93 C1 00 14 */ stw r30, 0x14(r1)
/* 80060D04 0005DC64 93 E1 00 08 */ stw r31, 8(r1)
/* 80060D08 0005DC68 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80060D0C 0005DC6C 48 00 00 28 */ b lbl_80060D34
lbl_80060D10:
/* 80060D10 0005DC70 28 1E 00 00 */ cmplwi r30, 0
/* 80060D14 0005DC74 41 82 00 1C */ beq lbl_80060D30
/* 80060D18 0005DC78 41 82 00 18 */ beq lbl_80060D30
/* 80060D1C 0005DC7C 88 1E 00 00 */ lbz r0, 0(r30)
/* 80060D20 0005DC80 28 00 00 00 */ cmplwi r0, 0
/* 80060D24 0005DC84 41 82 00 0C */ beq lbl_80060D30
/* 80060D28 0005DC88 80 7E 00 04 */ lwz r3, 4(r30)
/* 80060D2C 0005DC8C 48 2B 4C 05 */ bl Free__7CMemoryFPCv
lbl_80060D30:
/* 80060D30 0005DC90 3B DE 00 0C */ addi r30, r30, 0xc
lbl_80060D34:
/* 80060D34 0005DC94 7C 1E F8 40 */ cmplw r30, r31
/* 80060D38 0005DC98 40 82 FF D8 */ bne lbl_80060D10
/* 80060D3C 0005DC9C 80 7C 00 0C */ lwz r3, 0xc(r28)
/* 80060D40 0005DCA0 28 03 00 00 */ cmplwi r3, 0
/* 80060D44 0005DCA4 41 82 00 08 */ beq lbl_80060D4C
/* 80060D48 0005DCA8 48 2B 4B E9 */ bl Free__7CMemoryFPCv
lbl_80060D4C:
/* 80060D4C 0005DCAC 7F A0 07 35 */ extsh. r0, r29
/* 80060D50 0005DCB0 40 81 00 0C */ ble lbl_80060D5C
/* 80060D54 0005DCB4 7F 83 E3 78 */ mr r3, r28
/* 80060D58 0005DCB8 48 2B 4B D9 */ bl Free__7CMemoryFPCv
lbl_80060D5C:
/* 80060D5C 0005DCBC 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80060D60 0005DCC0 7F 83 E3 78 */ mr r3, r28
/* 80060D64 0005DCC4 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 80060D68 0005DCC8 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 80060D6C 0005DCCC 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 80060D70 0005DCD0 83 81 00 20 */ lwz r28, 0x20(r1)
/* 80060D74 0005DCD4 7C 08 03 A6 */ mtlr r0
/* 80060D78 0005DCD8 38 21 00 30 */ addi r1, r1, 0x30
/* 80060D7C 0005DCDC 4E 80 00 20 */ blr
.global CullDeadAreaRequests__9CGameAreaFv
CullDeadAreaRequests__9CGameAreaFv:
/* 80060D80 0005DCE0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80060D84 0005DCE4 7C 08 02 A6 */ mflr r0
/* 80060D88 0005DCE8 90 01 00 14 */ stw r0, 0x14(r1)
/* 80060D8C 0005DCEC 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80060D90 0005DCF0 7C 7F 1B 78 */ mr r31, r3
/* 80060D94 0005DCF4 48 00 00 10 */ b lbl_80060DA4
lbl_80060D98:
/* 80060D98 0005DCF8 80 9F 00 FC */ lwz r4, 0xfc(r31)
/* 80060D9C 0005DCFC 38 7F 00 F8 */ addi r3, r31, 0xf8
/* 80060DA0 0005DD00 48 00 38 E9 */ bl "pop_front__Q24rstl65list<Q24rstl23auto_ptr<11CDvdRequest>,Q24rstl17rmemory_allocator>Fv"
lbl_80060DA4:
/* 80060DA4 0005DD04 80 1F 01 0C */ lwz r0, 0x10c(r31)
/* 80060DA8 0005DD08 2C 00 00 00 */ cmpwi r0, 0
/* 80060DAC 0005DD0C 41 82 00 24 */ beq lbl_80060DD0
/* 80060DB0 0005DD10 80 7F 00 FC */ lwz r3, 0xfc(r31)
/* 80060DB4 0005DD14 80 63 00 0C */ lwz r3, 0xc(r3)
/* 80060DB8 0005DD18 81 83 00 00 */ lwz r12, 0(r3)
/* 80060DBC 0005DD1C 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 80060DC0 0005DD20 7D 89 03 A6 */ mtctr r12
/* 80060DC4 0005DD24 4E 80 04 21 */ bctrl
/* 80060DC8 0005DD28 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80060DCC 0005DD2C 40 82 FF CC */ bne lbl_80060D98
lbl_80060DD0:
/* 80060DD0 0005DD30 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80060DD4 0005DD34 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80060DD8 0005DD38 7C 08 03 A6 */ mtlr r0
/* 80060DDC 0005DD3C 38 21 00 10 */ addi r1, r1, 0x10
/* 80060DE0 0005DD40 4E 80 00 20 */ blr
.global StartStreamIn__9CGameAreaFR13CStateManager
StartStreamIn__9CGameAreaFR13CStateManager:
/* 80060DE4 0005DD44 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 80060DE8 0005DD48 7C 08 02 A6 */ mflr r0
/* 80060DEC 0005DD4C 90 01 00 44 */ stw r0, 0x44(r1)
/* 80060DF0 0005DD50 BF 21 00 24 */ stmw r25, 0x24(r1)
/* 80060DF4 0005DD54 7C 7A 1B 78 */ mr r26, r3
/* 80060DF8 0005DD58 7C 9B 23 78 */ mr r27, r4
/* 80060DFC 0005DD5C 88 A3 00 F0 */ lbz r5, 0xf0(r3)
/* 80060E00 0005DD60 80 C4 0B 3C */ lwz r6, 0xb3c(r4)
/* 80060E04 0005DD64 54 A0 CF FF */ rlwinm. r0, r5, 0x19, 0x1f, 0x1f
/* 80060E08 0005DD68 20 C6 00 02 */ subfic r6, r6, 2
/* 80060E0C 0005DD6C 7C C6 00 34 */ cntlzw r6, r6
/* 80060E10 0005DD70 54 DF D9 7E */ srwi r31, r6, 5
/* 80060E14 0005DD74 40 82 01 38 */ bne lbl_80060F4C
/* 80060E18 0005DD78 54 A0 E7 FF */ rlwinm. r0, r5, 0x1c, 0x1f, 0x1f
/* 80060E1C 0005DD7C 40 82 01 30 */ bne lbl_80060F4C
/* 80060E20 0005DD80 48 00 1F 65 */ bl VerifyTokenList__9CGameAreaFv
/* 80060E24 0005DD84 88 1A 00 F0 */ lbz r0, 0xf0(r26)
/* 80060E28 0005DD88 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f
/* 80060E2C 0005DD8C 40 82 00 EC */ bne lbl_80060F18
/* 80060E30 0005DD90 3B A0 00 00 */ li r29, 0
/* 80060E34 0005DD94 3B 80 00 00 */ li r28, 0
/* 80060E38 0005DD98 3B C0 00 00 */ li r30, 0
/* 80060E3C 0005DD9C 48 00 00 B0 */ b lbl_80060EEC
lbl_80060E40:
/* 80060E40 0005DDA0 80 1A 00 E8 */ lwz r0, 0xe8(r26)
/* 80060E44 0005DDA4 7F 20 F2 14 */ add r25, r0, r30
/* 80060E48 0005DDA8 80 79 00 00 */ lwz r3, 0(r25)
/* 80060E4C 0005DDAC 80 03 00 10 */ lwz r0, 0x10(r3)
/* 80060E50 0005DDB0 28 00 00 00 */ cmplwi r0, 0
/* 80060E54 0005DDB4 41 82 00 60 */ beq lbl_80060EB4
/* 80060E58 0005DDB8 7F 23 CB 78 */ mr r3, r25
/* 80060E5C 0005DDBC 48 2D FF 29 */ bl Lock__6CTokenFv
/* 80060E60 0005DDC0 80 79 00 00 */ lwz r3, 0(r25)
/* 80060E64 0005DDC4 80 63 00 04 */ lwz r3, 4(r3)
/* 80060E68 0005DDC8 3C 03 AB A8 */ addis r0, r3, 0xaba8
/* 80060E6C 0005DDCC 28 00 54 52 */ cmplwi r0, 0x5452
/* 80060E70 0005DDD0 40 82 00 74 */ bne lbl_80060EE4
/* 80060E74 0005DDD4 7F 24 CB 78 */ mr r4, r25
/* 80060E78 0005DDD8 38 61 00 10 */ addi r3, r1, 0x10
/* 80060E7C 0005DDDC 48 2E 00 2D */ bl __ct__6CTokenFRC6CToken
/* 80060E80 0005DDE0 38 61 00 10 */ addi r3, r1, 0x10
/* 80060E84 0005DDE4 48 2D FF 89 */ bl GetObj__6CTokenFv
/* 80060E88 0005DDE8 83 23 00 04 */ lwz r25, 4(r3)
/* 80060E8C 0005DDEC 7F 23 CB 78 */ mr r3, r25
/* 80060E90 0005DDF0 48 2A D3 29 */ bl MakeSwappable__8CTextureCFv
/* 80060E94 0005DDF4 57 E0 06 3F */ clrlwi. r0, r31, 0x18
/* 80060E98 0005DDF8 41 82 00 0C */ beq lbl_80060EA4
/* 80060E9C 0005DDFC 7F 23 CB 78 */ mr r3, r25
/* 80060EA0 0005DE00 48 2A DC E1 */ bl LoadToARAM__8CTextureCFv
lbl_80060EA4:
/* 80060EA4 0005DE04 38 61 00 10 */ addi r3, r1, 0x10
/* 80060EA8 0005DE08 38 80 00 00 */ li r4, 0
/* 80060EAC 0005DE0C 48 2D FF 95 */ bl __dt__6CTokenFv
/* 80060EB0 0005DE10 48 00 00 34 */ b lbl_80060EE4
lbl_80060EB4:
/* 80060EB4 0005DE14 80 BA 00 84 */ lwz r5, 0x84(r26)
/* 80060EB8 0005DE18 3C 60 4D 52 */ lis r3, 0x4D524541@ha
/* 80060EBC 0005DE1C 38 03 45 41 */ addi r0, r3, 0x4D524541@l
/* 80060EC0 0005DE20 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13)
/* 80060EC4 0005DE24 90 01 00 08 */ stw r0, 8(r1)
/* 80060EC8 0005DE28 38 81 00 08 */ addi r4, r1, 8
/* 80060ECC 0005DE2C 38 63 00 04 */ addi r3, r3, 4
/* 80060ED0 0005DE30 90 A1 00 0C */ stw r5, 0xc(r1)
/* 80060ED4 0005DE34 48 2D B0 A5 */ bl FindResource__10CResLoaderCFRC10SObjectTag
/* 80060ED8 0005DE38 7F 23 CB 78 */ mr r3, r25
/* 80060EDC 0005DE3C 48 2D FE A9 */ bl Lock__6CTokenFv
/* 80060EE0 0005DE40 3B BD 00 01 */ addi r29, r29, 1
lbl_80060EE4:
/* 80060EE4 0005DE44 3B DE 00 08 */ addi r30, r30, 8
/* 80060EE8 0005DE48 3B 9C 00 01 */ addi r28, r28, 1
lbl_80060EEC:
/* 80060EEC 0005DE4C 80 1A 00 E0 */ lwz r0, 0xe0(r26)
/* 80060EF0 0005DE50 7C 1C 00 00 */ cmpw r28, r0
/* 80060EF4 0005DE54 41 80 FF 4C */ blt lbl_80060E40
/* 80060EF8 0005DE58 2C 1D 00 00 */ cmpwi r29, 0
/* 80060EFC 0005DE5C 40 82 00 50 */ bne lbl_80060F4C
/* 80060F00 0005DE60 88 1A 00 F0 */ lbz r0, 0xf0(r26)
/* 80060F04 0005DE64 38 60 00 01 */ li r3, 1
/* 80060F08 0005DE68 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a
/* 80060F0C 0005DE6C 98 1A 00 F0 */ stb r0, 0xf0(r26)
/* 80060F10 0005DE70 48 00 00 08 */ b lbl_80060F18
/* 80060F14 0005DE74 48 00 00 38 */ b lbl_80060F4C
lbl_80060F18:
/* 80060F18 0005DE78 7F 43 D3 78 */ mr r3, r26
/* 80060F1C 0005DE7C 4B FF EC D9 */ bl StartStreamingMainArea__9CGameAreaFv
/* 80060F20 0005DE80 80 1A 00 F4 */ lwz r0, 0xf4(r26)
/* 80060F24 0005DE84 2C 00 00 04 */ cmpwi r0, 4
/* 80060F28 0005DE88 40 82 00 24 */ bne lbl_80060F4C
/* 80060F2C 0005DE8C 7F 43 D3 78 */ mr r3, r26
/* 80060F30 0005DE90 4B FF FE 51 */ bl CullDeadAreaRequests__9CGameAreaFv
/* 80060F34 0005DE94 80 1A 01 0C */ lwz r0, 0x10c(r26)
/* 80060F38 0005DE98 2C 00 00 00 */ cmpwi r0, 0
/* 80060F3C 0005DE9C 40 82 00 10 */ bne lbl_80060F4C
/* 80060F40 0005DEA0 7F 43 D3 78 */ mr r3, r26
/* 80060F44 0005DEA4 7F 64 DB 78 */ mr r4, r27
/* 80060F48 0005DEA8 48 00 01 5D */ bl Validate__9CGameAreaFR13CStateManager
lbl_80060F4C:
/* 80060F4C 0005DEAC BB 21 00 24 */ lmw r25, 0x24(r1)
/* 80060F50 0005DEB0 80 01 00 44 */ lwz r0, 0x44(r1)
/* 80060F54 0005DEB4 7C 08 03 A6 */ mtlr r0
/* 80060F58 0005DEB8 38 21 00 40 */ addi r1, r1, 0x40
/* 80060F5C 0005DEBC 4E 80 00 20 */ blr
.global LoadScriptObjects__9CGameAreaFR13CStateManager
LoadScriptObjects__9CGameAreaFR13CStateManager:
/* 80060F60 0005DEC0 94 21 FF 70 */ stwu r1, -0x90(r1)
/* 80060F64 0005DEC4 7C 08 02 A6 */ mflr r0
/* 80060F68 0005DEC8 90 01 00 94 */ stw r0, 0x94(r1)
/* 80060F6C 0005DECC 38 00 00 00 */ li r0, 0
/* 80060F70 0005DED0 BF 61 00 7C */ stmw r27, 0x7c(r1)
/* 80060F74 0005DED4 7C 9C 23 78 */ mr r28, r4
/* 80060F78 0005DED8 7C 7B 1B 78 */ mr r27, r3
/* 80060F7C 0005DEDC 38 81 00 2C */ addi r4, r1, 0x2c
/* 80060F80 0005DEE0 90 01 00 40 */ stw r0, 0x40(r1)
/* 80060F84 0005DEE4 90 01 00 44 */ stw r0, 0x44(r1)
/* 80060F88 0005DEE8 90 01 00 48 */ stw r0, 0x48(r1)
/* 80060F8C 0005DEEC 80 7C 08 C8 */ lwz r3, 0x8c8(r28)
/* 80060F90 0005DEF0 80 1B 00 04 */ lwz r0, 4(r27)
/* 80060F94 0005DEF4 83 C3 00 00 */ lwz r30, 0(r3)
/* 80060F98 0005DEF8 90 01 00 2C */ stw r0, 0x2c(r1)
/* 80060F9C 0005DEFC 7F C3 F3 78 */ mr r3, r30
/* 80060FA0 0005DF00 48 1D 30 15 */ bl GetAreaLayerCount__16CWorldLayerStateFi
/* 80060FA4 0005DF04 7C 7F 1B 78 */ mr r31, r3
/* 80060FA8 0005DF08 3B A0 00 00 */ li r29, 0
/* 80060FAC 0005DF0C 48 00 00 90 */ b lbl_8006103C
lbl_80060FB0:
/* 80060FB0 0005DF10 93 A1 00 24 */ stw r29, 0x24(r1)
/* 80060FB4 0005DF14 7F C3 F3 78 */ mr r3, r30
/* 80060FB8 0005DF18 38 81 00 28 */ addi r4, r1, 0x28
/* 80060FBC 0005DF1C 38 A1 00 24 */ addi r5, r1, 0x24
/* 80060FC0 0005DF20 80 1B 00 04 */ lwz r0, 4(r27)
/* 80060FC4 0005DF24 93 A1 00 30 */ stw r29, 0x30(r1)
/* 80060FC8 0005DF28 90 01 00 28 */ stw r0, 0x28(r1)
/* 80060FCC 0005DF2C 48 1D 32 A5 */ bl IsLayerActive__16CWorldLayerStateFii
/* 80060FD0 0005DF30 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80060FD4 0005DF34 41 82 00 64 */ beq lbl_80061038
/* 80060FD8 0005DF38 7F A0 EB 78 */ mr r0, r29
/* 80060FDC 0005DF3C 7F 64 DB 78 */ mr r4, r27
/* 80060FE0 0005DF40 90 01 00 20 */ stw r0, 0x20(r1)
/* 80060FE4 0005DF44 38 61 00 34 */ addi r3, r1, 0x34
/* 80060FE8 0005DF48 38 A1 00 20 */ addi r5, r1, 0x20
/* 80060FEC 0005DF4C 4B FF D3 01 */ bl GetLayerScriptBuffer__9CGameAreaFi
/* 80060FF0 0005DF50 80 81 00 34 */ lwz r4, 0x34(r1)
/* 80060FF4 0005DF54 38 61 00 4C */ addi r3, r1, 0x4c
/* 80060FF8 0005DF58 80 A1 00 38 */ lwz r5, 0x38(r1)
/* 80060FFC 0005DF5C 48 2D E1 D1 */ bl __ct__15CMemoryInStreamFPCvUl
/* 80061000 0005DF60 80 1B 00 04 */ lwz r0, 4(r27)
/* 80061004 0005DF64 7F 83 E3 78 */ mr r3, r28
/* 80061008 0005DF68 38 81 00 1C */ addi r4, r1, 0x1c
/* 8006100C 0005DF6C 38 A1 00 4C */ addi r5, r1, 0x4c
/* 80061010 0005DF70 90 01 00 18 */ stw r0, 0x18(r1)
/* 80061014 0005DF74 38 C1 00 3C */ addi r6, r1, 0x3c
/* 80061018 0005DF78 90 01 00 1C */ stw r0, 0x1c(r1)
/* 8006101C 0005DF7C 4B FE 71 59 */ bl LoadScriptObjects__13CStateManagerF7TAreaIdR12CInputStreamQ213CStateManager18EScriptPersistence
/* 80061020 0005DF80 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha
/* 80061024 0005DF84 38 61 00 4C */ addi r3, r1, 0x4c
/* 80061028 0005DF88 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l
/* 8006102C 0005DF8C 38 80 00 00 */ li r4, 0
/* 80061030 0005DF90 90 01 00 4C */ stw r0, 0x4c(r1)
/* 80061034 0005DF94 48 2D E0 79 */ bl __dt__12CInputStreamFv
lbl_80061038:
/* 80061038 0005DF98 3B BD 00 01 */ addi r29, r29, 1
lbl_8006103C:
/* 8006103C 0005DF9C 7C 1D F8 00 */ cmpw r29, r31
/* 80061040 0005DFA0 41 80 FF 70 */ blt lbl_80060FB0
/* 80061044 0005DFA4 7F 83 E3 78 */ mr r3, r28
/* 80061048 0005DFA8 38 81 00 3C */ addi r4, r1, 0x3c
/* 8006104C 0005DFAC 4B FE 70 65 */ bl "InitScriptObjects__13CStateManagerFRCQ24rstl18vector<9TEditorId>"
/* 80061050 0005DFB0 80 01 00 40 */ lwz r0, 0x40(r1)
/* 80061054 0005DFB4 80 61 00 48 */ lwz r3, 0x48(r1)
/* 80061058 0005DFB8 54 00 10 3A */ slwi r0, r0, 2
/* 8006105C 0005DFBC 7C 03 02 14 */ add r0, r3, r0
/* 80061060 0005DFC0 90 61 00 0C */ stw r3, 0xc(r1)
/* 80061064 0005DFC4 7C 64 1B 78 */ mr r4, r3
/* 80061068 0005DFC8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8006106C 0005DFCC 90 01 00 10 */ stw r0, 0x10(r1)
/* 80061070 0005DFD0 90 61 00 08 */ stw r3, 8(r1)
/* 80061074 0005DFD4 48 00 00 08 */ b lbl_8006107C
lbl_80061078:
/* 80061078 0005DFD8 38 84 00 04 */ addi r4, r4, 4
lbl_8006107C:
/* 8006107C 0005DFDC 7C 04 00 40 */ cmplw r4, r0
/* 80061080 0005DFE0 40 82 FF F8 */ bne lbl_80061078
/* 80061084 0005DFE4 28 03 00 00 */ cmplwi r3, 0
/* 80061088 0005DFE8 41 82 00 08 */ beq lbl_80061090
/* 8006108C 0005DFEC 48 2B 48 A5 */ bl Free__7CMemoryFPCv
lbl_80061090:
/* 80061090 0005DFF0 BB 61 00 7C */ lmw r27, 0x7c(r1)
/* 80061094 0005DFF4 80 01 00 94 */ lwz r0, 0x94(r1)
/* 80061098 0005DFF8 7C 08 03 A6 */ mtlr r0
/* 8006109C 0005DFFC 38 21 00 90 */ addi r1, r1, 0x90
/* 800610A0 0005E000 4E 80 00 20 */ blr
.global Validate__9CGameAreaFR13CStateManager
Validate__9CGameAreaFR13CStateManager:
/* 800610A4 0005E004 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 800610A8 0005E008 7C 08 02 A6 */ mflr r0
/* 800610AC 0005E00C 90 01 00 44 */ stw r0, 0x44(r1)
/* 800610B0 0005E010 93 E1 00 3C */ stw r31, 0x3c(r1)
/* 800610B4 0005E014 93 C1 00 38 */ stw r30, 0x38(r1)
/* 800610B8 0005E018 7C 9E 23 78 */ mr r30, r4
/* 800610BC 0005E01C 93 A1 00 34 */ stw r29, 0x34(r1)
/* 800610C0 0005E020 7C 7D 1B 78 */ mr r29, r3
/* 800610C4 0005E024 93 81 00 30 */ stw r28, 0x30(r1)
/* 800610C8 0005E028 88 03 00 F0 */ lbz r0, 0xf0(r3)
/* 800610CC 0005E02C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 800610D0 0005E030 40 82 02 00 */ bne lbl_800612D0
lbl_800610D4:
/* 800610D4 0005E034 7F A3 EB 78 */ mr r3, r29
/* 800610D8 0005E038 4B FF EB 1D */ bl StartStreamingMainArea__9CGameAreaFv
/* 800610DC 0005E03C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 800610E0 0005E040 40 82 FF F4 */ bne lbl_800610D4
/* 800610E4 0005E044 83 FD 00 FC */ lwz r31, 0xfc(r29)
/* 800610E8 0005E048 48 00 00 24 */ b lbl_8006110C
lbl_800610EC:
/* 800610EC 0005E04C 80 7F 00 0C */ lwz r3, 0xc(r31)
/* 800610F0 0005E050 28 03 00 00 */ cmplwi r3, 0
/* 800610F4 0005E054 41 82 00 14 */ beq lbl_80061108
/* 800610F8 0005E058 81 83 00 00 */ lwz r12, 0(r3)
/* 800610FC 0005E05C 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 80061100 0005E060 7D 89 03 A6 */ mtctr r12
/* 80061104 0005E064 4E 80 04 21 */ bctrl
lbl_80061108:
/* 80061108 0005E068 83 FF 00 04 */ lwz r31, 4(r31)
lbl_8006110C:
/* 8006110C 0005E06C 80 1D 01 00 */ lwz r0, 0x100(r29)
/* 80061110 0005E070 7C 1F 00 40 */ cmplw r31, r0
/* 80061114 0005E074 40 82 FF D8 */ bne lbl_800610EC
/* 80061118 0005E078 80 1D 00 E0 */ lwz r0, 0xe0(r29)
/* 8006111C 0005E07C 2C 00 00 00 */ cmpwi r0, 0
/* 80061120 0005E080 40 82 00 74 */ bne lbl_80061194
/* 80061124 0005E084 7F A3 EB 78 */ mr r3, r29
/* 80061128 0005E088 7F C4 F3 78 */ mr r4, r30
/* 8006112C 0005E08C 48 00 1C 59 */ bl VerifyTokenList__9CGameAreaFv
/* 80061130 0005E090 83 FD 00 E8 */ lwz r31, 0xe8(r29)
/* 80061134 0005E094 48 00 00 10 */ b lbl_80061144
lbl_80061138:
/* 80061138 0005E098 7F E3 FB 78 */ mr r3, r31
/* 8006113C 0005E09C 48 2D FC 49 */ bl Lock__6CTokenFv
/* 80061140 0005E0A0 3B FF 00 08 */ addi r31, r31, 8
lbl_80061144:
/* 80061144 0005E0A4 80 1D 00 E0 */ lwz r0, 0xe0(r29)
/* 80061148 0005E0A8 83 9D 00 E8 */ lwz r28, 0xe8(r29)
/* 8006114C 0005E0AC 54 00 18 38 */ slwi r0, r0, 3
/* 80061150 0005E0B0 7C 1C 02 14 */ add r0, r28, r0
/* 80061154 0005E0B4 7C 1F 00 40 */ cmplw r31, r0
/* 80061158 0005E0B8 40 82 FF E0 */ bne lbl_80061138
/* 8006115C 0005E0BC 48 00 00 10 */ b lbl_8006116C
lbl_80061160:
/* 80061160 0005E0C0 7F 83 E3 78 */ mr r3, r28
/* 80061164 0005E0C4 48 2D FC A9 */ bl GetObj__6CTokenFv
/* 80061168 0005E0C8 3B 9C 00 08 */ addi r28, r28, 8
lbl_8006116C:
/* 8006116C 0005E0CC 80 1D 00 E0 */ lwz r0, 0xe0(r29)
/* 80061170 0005E0D0 80 7D 00 E8 */ lwz r3, 0xe8(r29)
/* 80061174 0005E0D4 54 00 18 38 */ slwi r0, r0, 3
/* 80061178 0005E0D8 7C 03 02 14 */ add r0, r3, r0
/* 8006117C 0005E0DC 7C 1C 00 40 */ cmplw r28, r0
/* 80061180 0005E0E0 40 82 FF E0 */ bne lbl_80061160
/* 80061184 0005E0E4 88 1D 00 F0 */ lbz r0, 0xf0(r29)
/* 80061188 0005E0E8 38 60 00 01 */ li r3, 1
/* 8006118C 0005E0EC 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a
/* 80061190 0005E0F0 98 1D 00 F0 */ stb r0, 0xf0(r29)
lbl_80061194:
/* 80061194 0005E0F4 83 FD 01 00 */ lwz r31, 0x100(r29)
/* 80061198 0005E0F8 80 9D 00 FC */ lwz r4, 0xfc(r29)
/* 8006119C 0005E0FC 48 00 00 10 */ b lbl_800611AC
lbl_800611A0:
/* 800611A0 0005E100 38 7D 00 F8 */ addi r3, r29, 0xf8
/* 800611A4 0005E104 48 00 34 E5 */ bl "pop_front__Q24rstl65list<Q24rstl23auto_ptr<11CDvdRequest>,Q24rstl17rmemory_allocator>Fv"
/* 800611A8 0005E108 7C 64 1B 78 */ mr r4, r3
lbl_800611AC:
/* 800611AC 0005E10C 7C 04 F8 40 */ cmplw r4, r31
/* 800611B0 0005E110 40 82 FF F0 */ bne lbl_800611A0
/* 800611B4 0005E114 38 00 00 00 */ li r0, 0
/* 800611B8 0005E118 7F A3 EB 78 */ mr r3, r29
/* 800611BC 0005E11C 90 1D 00 F4 */ stw r0, 0xf4(r29)
/* 800611C0 0005E120 48 00 01 31 */ bl PostConstructArea__9CGameAreaFv
/* 800611C4 0005E124 80 7D 00 04 */ lwz r3, 4(r29)
/* 800611C8 0005E128 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13)
/* 800611CC 0005E12C 7C 03 00 00 */ cmpw r3, r0
/* 800611D0 0005E130 41 82 00 18 */ beq lbl_800611E8
/* 800611D4 0005E134 80 1D 00 04 */ lwz r0, 4(r29)
/* 800611D8 0005E138 38 81 00 28 */ addi r4, r1, 0x28
/* 800611DC 0005E13C 90 01 00 28 */ stw r0, 0x28(r1)
/* 800611E0 0005E140 80 7E 08 50 */ lwz r3, 0x850(r30)
/* 800611E4 0005E144 4B FF 4D D5 */ bl MoveAreaToChain3__6CWorldF7TAreaId
lbl_800611E8:
/* 800611E8 0005E148 7F A3 EB 78 */ mr r3, r29
/* 800611EC 0005E14C 7F C4 F3 78 */ mr r4, r30
/* 800611F0 0005E150 4B FF FD 71 */ bl LoadScriptObjects__9CGameAreaFR13CStateManager
/* 800611F4 0005E154 80 7D 01 2C */ lwz r3, 0x12c(r29)
/* 800611F8 0005E158 80 03 00 A0 */ lwz r0, 0xa0(r3)
/* 800611FC 0005E15C 28 00 00 00 */ cmplwi r0, 0
/* 80061200 0005E160 41 82 00 A8 */ beq lbl_800612A8
/* 80061204 0005E164 88 03 11 08 */ lbz r0, 0x1108(r3)
/* 80061208 0005E168 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f
/* 8006120C 0005E16C 41 82 00 9C */ beq lbl_800612A8
/* 80061210 0005E170 3B E0 00 00 */ li r31, 0
/* 80061214 0005E174 48 00 00 80 */ b lbl_80061294
lbl_80061218:
/* 80061218 0005E178 80 64 00 A0 */ lwz r3, 0xa0(r4)
/* 8006121C 0005E17C 7F E4 FB 78 */ mr r4, r31
/* 80061220 0005E180 48 24 D1 C5 */ bl GetEntityIdByIndex__13CPVSVisOctreeFi
/* 80061224 0005E184 80 1D 00 04 */ lwz r0, 4(r29)
/* 80061228 0005E188 7F C4 F3 78 */ mr r4, r30
/* 8006122C 0005E18C 38 A1 00 24 */ addi r5, r1, 0x24
/* 80061230 0005E190 54 00 80 1E */ slwi r0, r0, 0x10
/* 80061234 0005E194 7C 60 03 78 */ or r0, r3, r0
/* 80061238 0005E198 38 61 00 0C */ addi r3, r1, 0xc
/* 8006123C 0005E19C 90 01 00 20 */ stw r0, 0x20(r1)
/* 80061240 0005E1A0 90 01 00 24 */ stw r0, 0x24(r1)
/* 80061244 0005E1A4 4B FE 6C D9 */ bl GetIdForScript__13CStateManagerCF9TEditorId
/* 80061248 0005E1A8 A0 C1 00 0C */ lhz r6, 0xc(r1)
/* 8006124C 0005E1AC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 80061250 0005E1B0 B0 C1 00 10 */ sth r6, 0x10(r1)
/* 80061254 0005E1B4 7C 06 00 40 */ cmplw r6, r0
/* 80061258 0005E1B8 41 82 00 38 */ beq lbl_80061290
/* 8006125C 0005E1BC 80 7D 01 2C */ lwz r3, 0x12c(r29)
/* 80061260 0005E1C0 54 C0 15 3A */ rlwinm r0, r6, 2, 0x14, 0x1d
/* 80061264 0005E1C4 B0 C1 00 08 */ sth r6, 8(r1)
/* 80061268 0005E1C8 80 83 00 A0 */ lwz r4, 0xa0(r3)
/* 8006126C 0005E1CC 7C A3 02 14 */ add r5, r3, r0
/* 80061270 0005E1D0 B0 C1 00 1E */ sth r6, 0x1e(r1)
/* 80061274 0005E1D4 80 64 00 0C */ lwz r3, 0xc(r4)
/* 80061278 0005E1D8 80 04 00 00 */ lwz r0, 0(r4)
/* 8006127C 0005E1DC 7C 03 00 50 */ subf r0, r3, r0
/* 80061280 0005E1E0 7C 1F 02 14 */ add r0, r31, r0
/* 80061284 0005E1E4 B0 05 00 A8 */ sth r0, 0xa8(r5)
/* 80061288 0005E1E8 B0 01 00 1C */ sth r0, 0x1c(r1)
/* 8006128C 0005E1EC B0 C5 00 AA */ sth r6, 0xaa(r5)
lbl_80061290:
/* 80061290 0005E1F0 3B FF 00 01 */ addi r31, r31, 1
lbl_80061294:
/* 80061294 0005E1F4 80 9D 01 2C */ lwz r4, 0x12c(r29)
/* 80061298 0005E1F8 80 64 00 A0 */ lwz r3, 0xa0(r4)
/* 8006129C 0005E1FC 80 03 00 0C */ lwz r0, 0xc(r3)
/* 800612A0 0005E200 7C 1F 00 00 */ cmpw r31, r0
/* 800612A4 0005E204 41 80 FF 74 */ blt lbl_80061218
lbl_800612A8:
/* 800612A8 0005E208 88 1D 00 F0 */ lbz r0, 0xf0(r29)
/* 800612AC 0005E20C 38 60 00 01 */ li r3, 1
/* 800612B0 0005E210 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c
/* 800612B4 0005E214 7F C3 F3 78 */ mr r3, r30
/* 800612B8 0005E218 98 1D 00 F0 */ stb r0, 0xf0(r29)
/* 800612BC 0005E21C 38 81 00 18 */ addi r4, r1, 0x18
/* 800612C0 0005E220 80 1D 00 04 */ lwz r0, 4(r29)
/* 800612C4 0005E224 90 01 00 14 */ stw r0, 0x14(r1)
/* 800612C8 0005E228 90 01 00 18 */ stw r0, 0x18(r1)
/* 800612CC 0005E22C 4B FE B3 CD */ bl AreaLoaded__13CStateManagerF7TAreaId
lbl_800612D0:
/* 800612D0 0005E230 80 01 00 44 */ lwz r0, 0x44(r1)
/* 800612D4 0005E234 83 E1 00 3C */ lwz r31, 0x3c(r1)
/* 800612D8 0005E238 83 C1 00 38 */ lwz r30, 0x38(r1)
/* 800612DC 0005E23C 83 A1 00 34 */ lwz r29, 0x34(r1)
/* 800612E0 0005E240 83 81 00 30 */ lwz r28, 0x30(r1)
/* 800612E4 0005E244 7C 08 03 A6 */ mtlr r0
/* 800612E8 0005E248 38 21 00 40 */ addi r1, r1, 0x40
/* 800612EC 0005E24C 4E 80 00 20 */ blr
.global PostConstructArea__9CGameAreaFv
PostConstructArea__9CGameAreaFv:
/* 800612F0 0005E250 94 21 FC C0 */ stwu r1, -0x340(r1)
/* 800612F4 0005E254 7C 08 02 A6 */ mflr r0
/* 800612F8 0005E258 90 01 03 44 */ stw r0, 0x344(r1)
/* 800612FC 0005E25C BE C1 03 18 */ stmw r22, 0x318(r1)
/* 80061300 0005E260 7C 7F 1B 78 */ mr r31, r3
/* 80061304 0005E264 48 00 27 99 */ bl VerifyHeader__9CGameAreaCFv
/* 80061308 0005E268 83 5F 01 1C */ lwz r26, 0x11c(r31)
/* 8006130C 0005E26C 7C 7E 1B 78 */ mr r30, r3
/* 80061310 0005E270 3B 7F 00 0C */ addi r27, r31, 0xc
/* 80061314 0005E274 3B 80 00 00 */ li r28, 0
/* 80061318 0005E278 83 3A 00 04 */ lwz r25, 4(r26)
/* 8006131C 0005E27C 3B 19 00 08 */ addi r24, r25, 8
lbl_80061320:
/* 80061320 0005E280 80 D8 00 00 */ lwz r6, 0(r24)
/* 80061324 0005E284 7F 63 DB 78 */ mr r3, r27
/* 80061328 0005E288 80 B8 00 04 */ lwz r5, 4(r24)
/* 8006132C 0005E28C 38 81 00 AC */ addi r4, r1, 0xac
/* 80061330 0005E290 80 18 00 08 */ lwz r0, 8(r24)
/* 80061334 0005E294 90 C1 00 84 */ stw r6, 0x84(r1)
/* 80061338 0005E298 C0 22 87 20 */ lfs f1, lbl_805AA440@sda21(r2)
/* 8006133C 0005E29C 90 A1 00 88 */ stw r5, 0x88(r1)
/* 80061340 0005E2A0 C0 01 00 84 */ lfs f0, 0x84(r1)
/* 80061344 0005E2A4 90 01 00 8C */ stw r0, 0x8c(r1)
/* 80061348 0005E2A8 C0 61 00 88 */ lfs f3, 0x88(r1)
/* 8006134C 0005E2AC C0 41 00 8C */ lfs f2, 0x8c(r1)
/* 80061350 0005E2B0 D0 01 00 AC */ stfs f0, 0xac(r1)
/* 80061354 0005E2B4 D0 61 00 B0 */ stfs f3, 0xb0(r1)
/* 80061358 0005E2B8 D0 41 00 B4 */ stfs f2, 0xb4(r1)
/* 8006135C 0005E2BC 48 2A EC 09 */ bl close_enough__FRC9CVector3fRC9CVector3ff
/* 80061360 0005E2C0 3B 9C 00 01 */ addi r28, r28, 1
/* 80061364 0005E2C4 3B 7B 00 10 */ addi r27, r27, 0x10
/* 80061368 0005E2C8 2C 1C 00 03 */ cmpwi r28, 3
/* 8006136C 0005E2CC 3B 18 00 10 */ addi r24, r24, 0x10
/* 80061370 0005E2D0 41 80 FF B0 */ blt lbl_80061320
/* 80061374 0005E2D4 C0 39 00 14 */ lfs f1, 0x14(r25)
/* 80061378 0005E2D8 38 61 00 60 */ addi r3, r1, 0x60
/* 8006137C 0005E2DC C0 59 00 24 */ lfs f2, 0x24(r25)
/* 80061380 0005E2E0 38 81 00 A0 */ addi r4, r1, 0xa0
/* 80061384 0005E2E4 C0 19 00 34 */ lfs f0, 0x34(r25)
/* 80061388 0005E2E8 D0 21 00 6C */ stfs f1, 0x6c(r1)
/* 8006138C 0005E2EC C0 22 87 20 */ lfs f1, lbl_805AA440@sda21(r2)
/* 80061390 0005E2F0 D0 41 00 70 */ stfs f2, 0x70(r1)
/* 80061394 0005E2F4 80 C1 00 6C */ lwz r6, 0x6c(r1)
/* 80061398 0005E2F8 D0 01 00 74 */ stfs f0, 0x74(r1)
/* 8006139C 0005E2FC 80 A1 00 70 */ lwz r5, 0x70(r1)
/* 800613A0 0005E300 80 01 00 74 */ lwz r0, 0x74(r1)
/* 800613A4 0005E304 90 C1 00 78 */ stw r6, 0x78(r1)
/* 800613A8 0005E308 90 A1 00 7C */ stw r5, 0x7c(r1)
/* 800613AC 0005E30C C0 61 00 78 */ lfs f3, 0x78(r1)
/* 800613B0 0005E310 90 01 00 80 */ stw r0, 0x80(r1)
/* 800613B4 0005E314 C0 41 00 7C */ lfs f2, 0x7c(r1)
/* 800613B8 0005E318 C0 01 00 80 */ lfs f0, 0x80(r1)
/* 800613BC 0005E31C D0 61 00 A0 */ stfs f3, 0xa0(r1)
/* 800613C0 0005E320 D0 41 00 A4 */ stfs f2, 0xa4(r1)
/* 800613C4 0005E324 D0 01 00 A8 */ stfs f0, 0xa8(r1)
/* 800613C8 0005E328 C0 7F 00 38 */ lfs f3, 0x38(r31)
/* 800613CC 0005E32C C0 5F 00 28 */ lfs f2, 0x28(r31)
/* 800613D0 0005E330 C0 1F 00 18 */ lfs f0, 0x18(r31)
/* 800613D4 0005E334 D0 01 00 60 */ stfs f0, 0x60(r1)
/* 800613D8 0005E338 D0 41 00 64 */ stfs f2, 0x64(r1)
/* 800613DC 0005E33C D0 61 00 68 */ stfs f3, 0x68(r1)
/* 800613E0 0005E340 48 2A EB 85 */ bl close_enough__FRC9CVector3fRC9CVector3ff
/* 800613E4 0005E344 80 7F 01 1C */ lwz r3, 0x11c(r31)
/* 800613E8 0005E348 38 1A 00 18 */ addi r0, r26, 0x18
/* 800613EC 0005E34C 3C 80 2A AB */ lis r4, 0x2AAAAAAB@ha
/* 800613F0 0005E350 83 B9 00 38 */ lwz r29, 0x38(r25)
/* 800613F4 0005E354 7C 03 00 50 */ subf r0, r3, r0
/* 800613F8 0005E358 80 7F 01 2C */ lwz r3, 0x12c(r31)
/* 800613FC 0005E35C 38 A4 AA AB */ addi r5, r4, 0x2AAAAAAB@l
/* 80061400 0005E360 7F A4 EB 78 */ mr r4, r29
/* 80061404 0005E364 7C 05 00 96 */ mulhw r0, r5, r0
/* 80061408 0005E368 3B 5A 00 24 */ addi r26, r26, 0x24
/* 8006140C 0005E36C 7C 00 0E 70 */ srawi r0, r0, 1
/* 80061410 0005E370 54 05 0F FE */ srwi r5, r0, 0x1f
/* 80061414 0005E374 7F 80 2A 14 */ add r28, r0, r5
/* 80061418 0005E378 93 83 10 EC */ stw r28, 0x10ec(r3)
/* 8006141C 0005E37C 80 7F 01 2C */ lwz r3, 0x12c(r31)
/* 80061420 0005E380 38 63 00 4C */ addi r3, r3, 0x4c
/* 80061424 0005E384 48 00 28 D9 */ bl sub_80063cfc
/* 80061428 0005E388 2C 1D 00 00 */ cmpwi r29, 0
/* 8006142C 0005E38C 38 60 00 00 */ li r3, 0
/* 80061430 0005E390 40 81 00 F4 */ ble lbl_80061524
/* 80061434 0005E394 2C 1D 00 08 */ cmpwi r29, 8
/* 80061438 0005E398 38 9D FF F8 */ addi r4, r29, -8
/* 8006143C 0005E39C 40 81 00 C0 */ ble lbl_800614FC
/* 80061440 0005E3A0 38 04 00 07 */ addi r0, r4, 7
/* 80061444 0005E3A4 54 00 E8 FE */ srwi r0, r0, 3
/* 80061448 0005E3A8 7C 09 03 A6 */ mtctr r0
/* 8006144C 0005E3AC 2C 04 00 00 */ cmpwi r4, 0
/* 80061450 0005E3B0 40 81 00 AC */ ble lbl_800614FC
lbl_80061454:
/* 80061454 0005E3B4 80 9A 00 4C */ lwz r4, 0x4c(r26)
/* 80061458 0005E3B8 3B 5A 00 54 */ addi r26, r26, 0x54
/* 8006145C 0005E3BC 38 63 00 08 */ addi r3, r3, 8
/* 80061460 0005E3C0 80 04 00 00 */ lwz r0, 0(r4)
/* 80061464 0005E3C4 1C 00 00 0C */ mulli r0, r0, 0xc
/* 80061468 0005E3C8 7F 5A 02 14 */ add r26, r26, r0
/* 8006146C 0005E3CC 80 9A 00 4C */ lwz r4, 0x4c(r26)
/* 80061470 0005E3D0 3B 5A 00 54 */ addi r26, r26, 0x54
/* 80061474 0005E3D4 80 04 00 00 */ lwz r0, 0(r4)
/* 80061478 0005E3D8 1C 00 00 0C */ mulli r0, r0, 0xc
/* 8006147C 0005E3DC 7F 5A 02 14 */ add r26, r26, r0
/* 80061480 0005E3E0 80 9A 00 4C */ lwz r4, 0x4c(r26)
/* 80061484 0005E3E4 3B 5A 00 54 */ addi r26, r26, 0x54
/* 80061488 0005E3E8 80 04 00 00 */ lwz r0, 0(r4)
/* 8006148C 0005E3EC 1C 00 00 0C */ mulli r0, r0, 0xc
/* 80061490 0005E3F0 7F 5A 02 14 */ add r26, r26, r0
/* 80061494 0005E3F4 80 9A 00 4C */ lwz r4, 0x4c(r26)
/* 80061498 0005E3F8 3B 5A 00 54 */ addi r26, r26, 0x54
/* 8006149C 0005E3FC 80 04 00 00 */ lwz r0, 0(r4)
/* 800614A0 0005E400 1C 00 00 0C */ mulli r0, r0, 0xc
/* 800614A4 0005E404 7F 5A 02 14 */ add r26, r26, r0
/* 800614A8 0005E408 80 9A 00 4C */ lwz r4, 0x4c(r26)
/* 800614AC 0005E40C 3B 5A 00 54 */ addi r26, r26, 0x54
/* 800614B0 0005E410 80 04 00 00 */ lwz r0, 0(r4)
/* 800614B4 0005E414 1C 00 00 0C */ mulli r0, r0, 0xc
/* 800614B8 0005E418 7F 5A 02 14 */ add r26, r26, r0
/* 800614BC 0005E41C 80 9A 00 4C */ lwz r4, 0x4c(r26)
/* 800614C0 0005E420 3B 5A 00 54 */ addi r26, r26, 0x54
/* 800614C4 0005E424 80 04 00 00 */ lwz r0, 0(r4)
/* 800614C8 0005E428 1C 00 00 0C */ mulli r0, r0, 0xc
/* 800614CC 0005E42C 7F 5A 02 14 */ add r26, r26, r0
/* 800614D0 0005E430 80 9A 00 4C */ lwz r4, 0x4c(r26)
/* 800614D4 0005E434 3B 5A 00 54 */ addi r26, r26, 0x54
/* 800614D8 0005E438 80 04 00 00 */ lwz r0, 0(r4)
/* 800614DC 0005E43C 1C 00 00 0C */ mulli r0, r0, 0xc
/* 800614E0 0005E440 7F 5A 02 14 */ add r26, r26, r0
/* 800614E4 0005E444 80 9A 00 4C */ lwz r4, 0x4c(r26)
/* 800614E8 0005E448 3B 5A 00 54 */ addi r26, r26, 0x54
/* 800614EC 0005E44C 80 04 00 00 */ lwz r0, 0(r4)
/* 800614F0 0005E450 1C 00 00 0C */ mulli r0, r0, 0xc
/* 800614F4 0005E454 7F 5A 02 14 */ add r26, r26, r0
/* 800614F8 0005E458 42 00 FF 5C */ bdnz lbl_80061454
lbl_800614FC:
/* 800614FC 0005E45C 7C 03 E8 50 */ subf r0, r3, r29
/* 80061500 0005E460 7C 09 03 A6 */ mtctr r0
/* 80061504 0005E464 7C 03 E8 00 */ cmpw r3, r29
/* 80061508 0005E468 40 80 00 1C */ bge lbl_80061524
lbl_8006150C:
/* 8006150C 0005E46C 80 7A 00 4C */ lwz r3, 0x4c(r26)
/* 80061510 0005E470 3B 5A 00 54 */ addi r26, r26, 0x54
/* 80061514 0005E474 80 03 00 00 */ lwz r0, 0(r3)
/* 80061518 0005E478 1C 00 00 0C */ mulli r0, r0, 0xc
/* 8006151C 0005E47C 7F 5A 02 14 */ add r26, r26, r0
/* 80061520 0005E480 42 00 FF EC */ bdnz lbl_8006150C
lbl_80061524:
/* 80061524 0005E484 80 1F 01 1C */ lwz r0, 0x11c(r31)
/* 80061528 0005E488 3C 60 2A AB */ lis r3, 0x2AAAAAAB@ha
/* 8006152C 0005E48C 38 63 AA AB */ addi r3, r3, 0x2AAAAAAB@l
/* 80061530 0005E490 2C 1E 00 0F */ cmpwi r30, 0xf
/* 80061534 0005E494 7C 00 D0 50 */ subf r0, r0, r26
/* 80061538 0005E498 7C 03 00 96 */ mulhw r0, r3, r0
/* 8006153C 0005E49C 7C 00 0E 70 */ srawi r0, r0, 1
/* 80061540 0005E4A0 54 03 0F FE */ srwi r3, r0, 0x1f
/* 80061544 0005E4A4 7F 60 1A 14 */ add r27, r0, r3
/* 80061548 0005E4A8 41 80 00 78 */ blt lbl_800615C0
/* 8006154C 0005E4AC 80 19 00 5C */ lwz r0, 0x5c(r25)
/* 80061550 0005E4B0 2C 00 FF FF */ cmpwi r0, -1
/* 80061554 0005E4B4 41 82 00 6C */ beq lbl_800615C0
/* 80061558 0005E4B8 80 DA 00 04 */ lwz r6, 4(r26)
/* 8006155C 0005E4BC 38 00 00 00 */ li r0, 0
/* 80061560 0005E4C0 38 61 00 FC */ addi r3, r1, 0xfc
/* 80061564 0005E4C4 38 81 00 4C */ addi r4, r1, 0x4c
/* 80061568 0005E4C8 7C A6 00 D0 */ neg r5, r6
/* 8006156C 0005E4CC 90 C1 00 50 */ stw r6, 0x50(r1)
/* 80061570 0005E4D0 7C A5 33 78 */ or r5, r5, r6
/* 80061574 0005E4D4 54 A5 0F FE */ srwi r5, r5, 0x1f
/* 80061578 0005E4D8 98 A1 00 4C */ stb r5, 0x4c(r1)
/* 8006157C 0005E4DC 98 01 00 4C */ stb r0, 0x4c(r1)
/* 80061580 0005E4E0 48 24 D6 C9 */ bl sub_802aec48
/* 80061584 0005E4E4 80 7F 01 2C */ lwz r3, 0x12c(r31)
/* 80061588 0005E4E8 38 81 00 FC */ addi r4, r1, 0xfc
/* 8006158C 0005E4EC 38 63 00 0C */ addi r3, r3, 0xc
/* 80061590 0005E4F0 48 00 0E 19 */ bl sub_800623a8
/* 80061594 0005E4F4 88 01 00 FC */ lbz r0, 0xfc(r1)
/* 80061598 0005E4F8 28 00 00 00 */ cmplwi r0, 0
/* 8006159C 0005E4FC 41 82 00 0C */ beq lbl_800615A8
/* 800615A0 0005E500 80 61 01 00 */ lwz r3, 0x100(r1)
/* 800615A4 0005E504 48 2B 43 8D */ bl Free__7CMemoryFPCv
lbl_800615A8:
/* 800615A8 0005E508 88 01 00 4C */ lbz r0, 0x4c(r1)
/* 800615AC 0005E50C 3B 5A 00 0C */ addi r26, r26, 0xc
/* 800615B0 0005E510 28 00 00 00 */ cmplwi r0, 0
/* 800615B4 0005E514 41 82 00 0C */ beq lbl_800615C0
/* 800615B8 0005E518 80 61 00 50 */ lwz r3, 0x50(r1)
/* 800615BC 0005E51C 48 2B 43 75 */ bl Free__7CMemoryFPCv
lbl_800615C0:
/* 800615C0 0005E520 80 9A 00 04 */ lwz r4, 4(r26)
/* 800615C4 0005E524 38 01 00 44 */ addi r0, r1, 0x44
/* 800615C8 0005E528 7C 64 00 D0 */ neg r3, r4
/* 800615CC 0005E52C 90 81 00 48 */ stw r4, 0x48(r1)
/* 800615D0 0005E530 7C 63 23 78 */ or r3, r3, r4
/* 800615D4 0005E534 54 63 0F FE */ srwi r3, r3, 0x1f
/* 800615D8 0005E538 98 61 00 44 */ stb r3, 0x44(r1)
/* 800615DC 0005E53C 80 7F 01 2C */ lwz r3, 0x12c(r31)
/* 800615E0 0005E540 3B 23 10 C8 */ addi r25, r3, 0x10c8
/* 800615E4 0005E544 7C 00 C8 40 */ cmplw r0, r25
/* 800615E8 0005E548 41 82 00 30 */ beq lbl_80061618
/* 800615EC 0005E54C 88 19 00 00 */ lbz r0, 0(r25)
/* 800615F0 0005E550 28 00 00 00 */ cmplwi r0, 0
/* 800615F4 0005E554 41 82 00 0C */ beq lbl_80061600
/* 800615F8 0005E558 80 79 00 04 */ lwz r3, 4(r25)
/* 800615FC 0005E55C 48 2B 43 35 */ bl Free__7CMemoryFPCv
lbl_80061600:
/* 80061600 0005E560 88 61 00 44 */ lbz r3, 0x44(r1)
/* 80061604 0005E564 38 00 00 00 */ li r0, 0
/* 80061608 0005E568 98 79 00 00 */ stb r3, 0(r25)
/* 8006160C 0005E56C 80 61 00 48 */ lwz r3, 0x48(r1)
/* 80061610 0005E570 90 79 00 04 */ stw r3, 4(r25)
/* 80061614 0005E574 98 01 00 44 */ stb r0, 0x44(r1)
lbl_80061618:
/* 80061618 0005E578 88 01 00 44 */ lbz r0, 0x44(r1)
/* 8006161C 0005E57C 28 00 00 00 */ cmplwi r0, 0
/* 80061620 0005E580 41 82 00 0C */ beq lbl_8006162C
/* 80061624 0005E584 80 61 00 48 */ lwz r3, 0x48(r1)
/* 80061628 0005E588 48 2B 43 09 */ bl Free__7CMemoryFPCv
lbl_8006162C:
/* 8006162C 0005E58C 80 7F 01 2C */ lwz r3, 0x12c(r31)
/* 80061630 0005E590 38 00 00 00 */ li r0, 0
/* 80061634 0005E594 98 03 10 C8 */ stb r0, 0x10c8(r3)
/* 80061638 0005E598 80 1A 00 08 */ lwz r0, 8(r26)
/* 8006163C 0005E59C 80 7F 01 2C */ lwz r3, 0x12c(r31)
/* 80061640 0005E5A0 90 03 10 D0 */ stw r0, 0x10d0(r3)
/* 80061644 0005E5A4 80 7A 00 10 */ lwz r3, 0x10(r26)
/* 80061648 0005E5A8 38 63 00 01 */ addi r3, r3, 1
/* 8006164C 0005E5AC 48 00 00 08 */ b lbl_80061654
lbl_80061650:
/* 80061650 0005E5B0 38 63 00 01 */ addi r3, r3, 1
lbl_80061654:
/* 80061654 0005E5B4 54 60 07 BF */ clrlwi. r0, r3, 0x1e
/* 80061658 0005E5B8 40 82 FF F8 */ bne lbl_80061650
/* 8006165C 0005E5BC 83 A3 00 00 */ lwz r29, 0(r3)
/* 80061660 0005E5C0 38 00 00 00 */ li r0, 0
/* 80061664 0005E5C4 38 63 00 04 */ addi r3, r3, 4
/* 80061668 0005E5C8 38 A1 00 20 */ addi r5, r1, 0x20
/* 8006166C 0005E5CC 90 01 00 20 */ stw r0, 0x20(r1)
/* 80061670 0005E5D0 7F A4 EB 78 */ mr r4, r29
/* 80061674 0005E5D4 38 C1 00 08 */ addi r6, r1, 8
/* 80061678 0005E5D8 98 01 00 08 */ stb r0, 8(r1)
/* 8006167C 0005E5DC 48 24 14 AD */ bl MakeFromMemory__12CAreaOctTreeFPvUiPP12CAreaOctTreePb
/* 80061680 0005E5E0 80 81 00 20 */ lwz r4, 0x20(r1)
/* 80061684 0005E5E4 38 01 00 3C */ addi r0, r1, 0x3c
/* 80061688 0005E5E8 7C 64 00 D0 */ neg r3, r4
/* 8006168C 0005E5EC 90 81 00 40 */ stw r4, 0x40(r1)
/* 80061690 0005E5F0 7C 63 23 78 */ or r3, r3, r4
/* 80061694 0005E5F4 54 63 0F FE */ srwi r3, r3, 0x1f
/* 80061698 0005E5F8 98 61 00 3C */ stb r3, 0x3c(r1)
/* 8006169C 0005E5FC 83 3F 01 2C */ lwz r25, 0x12c(r31)
/* 800616A0 0005E600 7C 00 C8 40 */ cmplw r0, r25
/* 800616A4 0005E604 41 82 00 30 */ beq lbl_800616D4
/* 800616A8 0005E608 88 19 00 00 */ lbz r0, 0(r25)
/* 800616AC 0005E60C 28 00 00 00 */ cmplwi r0, 0
/* 800616B0 0005E610 41 82 00 0C */ beq lbl_800616BC
/* 800616B4 0005E614 80 79 00 04 */ lwz r3, 4(r25)
/* 800616B8 0005E618 48 2B 42 79 */ bl Free__7CMemoryFPCv
lbl_800616BC:
/* 800616BC 0005E61C 88 61 00 3C */ lbz r3, 0x3c(r1)
/* 800616C0 0005E620 38 00 00 00 */ li r0, 0
/* 800616C4 0005E624 98 79 00 00 */ stb r3, 0(r25)
/* 800616C8 0005E628 80 61 00 40 */ lwz r3, 0x40(r1)
/* 800616CC 0005E62C 90 79 00 04 */ stw r3, 4(r25)
/* 800616D0 0005E630 98 01 00 3C */ stb r0, 0x3c(r1)
lbl_800616D4:
/* 800616D4 0005E634 88 01 00 3C */ lbz r0, 0x3c(r1)
/* 800616D8 0005E638 28 00 00 00 */ cmplwi r0, 0
/* 800616DC 0005E63C 41 82 00 0C */ beq lbl_800616E8
/* 800616E0 0005E640 80 61 00 40 */ lwz r3, 0x40(r1)
/* 800616E4 0005E644 48 2B 42 4D */ bl Free__7CMemoryFPCv
lbl_800616E8:
/* 800616E8 0005E648 88 01 00 08 */ lbz r0, 8(r1)
/* 800616EC 0005E64C 28 00 00 00 */ cmplwi r0, 0
/* 800616F0 0005E650 40 82 00 10 */ bne lbl_80061700
/* 800616F4 0005E654 80 7F 01 2C */ lwz r3, 0x12c(r31)
/* 800616F8 0005E658 38 00 00 00 */ li r0, 0
/* 800616FC 0005E65C 98 03 00 00 */ stb r0, 0(r3)
lbl_80061700:
/* 80061700 0005E660 80 9F 01 2C */ lwz r4, 0x12c(r31)
/* 80061704 0005E664 38 61 01 C8 */ addi r3, r1, 0x1c8
/* 80061708 0005E668 93 A4 00 08 */ stw r29, 8(r4)
/* 8006170C 0005E66C 80 9A 00 1C */ lwz r4, 0x1c(r26)
/* 80061710 0005E670 80 BA 00 20 */ lwz r5, 0x20(r26)
/* 80061714 0005E674 3B 5A 00 18 */ addi r26, r26, 0x18
/* 80061718 0005E678 48 2D DA B5 */ bl __ct__15CMemoryInStreamFPCvUl
/* 8006171C 0005E67C 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha
/* 80061720 0005E680 38 60 00 01 */ li r3, 1
/* 80061724 0005E684 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l
/* 80061728 0005E688 38 A0 00 00 */ li r5, 0
/* 8006172C 0005E68C 48 2B 41 41 */ bl __nw__FUlPCcPCc
/* 80061730 0005E690 7C 7D 1B 79 */ or. r29, r3, r3
/* 80061734 0005E694 41 82 00 14 */ beq lbl_80061748
/* 80061738 0005E698 38 81 01 C8 */ addi r4, r1, 0x1c8
/* 8006173C 0005E69C 38 BF 00 0C */ addi r5, r31, 0xc
/* 80061740 0005E6A0 48 24 11 E1 */ bl __ct__12CAreaBspTreeFR12CInputStreamRC12CTransform4f
/* 80061744 0005E6A4 7C 7D 1B 78 */ mr r29, r3
lbl_80061748:
/* 80061748 0005E6A8 83 3F 01 2C */ lwz r25, 0x12c(r31)
/* 8006174C 0005E6AC 80 79 00 5C */ lwz r3, 0x5c(r25)
/* 80061750 0005E6B0 48 2B 41 E1 */ bl Free__7CMemoryFPCv
/* 80061754 0005E6B4 3C 60 80 3F */ lis r3, __vt__15CMemoryInStream@ha
/* 80061758 0005E6B8 93 B9 00 5C */ stw r29, 0x5c(r25)
/* 8006175C 0005E6BC 38 03 E3 98 */ addi r0, r3, __vt__15CMemoryInStream@l
/* 80061760 0005E6C0 38 61 01 C8 */ addi r3, r1, 0x1c8
/* 80061764 0005E6C4 90 01 01 C8 */ stw r0, 0x1c8(r1)
/* 80061768 0005E6C8 38 80 00 00 */ li r4, 0
/* 8006176C 0005E6CC 48 2D D9 41 */ bl __dt__12CInputStreamFv
/* 80061770 0005E6D0 2C 1E 00 06 */ cmpwi r30, 6
/* 80061774 0005E6D4 40 81 01 9C */ ble lbl_80061910
/* 80061778 0005E6D8 80 9A 00 10 */ lwz r4, 0x10(r26)
/* 8006177C 0005E6DC 38 61 01 A4 */ addi r3, r1, 0x1a4
/* 80061780 0005E6E0 80 BA 00 14 */ lwz r5, 0x14(r26)
/* 80061784 0005E6E4 3B 5A 00 0C */ addi r26, r26, 0xc
/* 80061788 0005E6E8 48 2D DA 45 */ bl __ct__15CMemoryInStreamFPCvUl
/* 8006178C 0005E6EC 38 61 01 A4 */ addi r3, r1, 0x1a4
/* 80061790 0005E6F0 48 2D D4 F5 */ bl ReadLong__12CInputStreamFv
/* 80061794 0005E6F4 3C 80 BA BF */ lis r4, 0xBABEDEAD@ha
/* 80061798 0005E6F8 38 04 DE AD */ addi r0, r4, 0xBABEDEAD@l
/* 8006179C 0005E6FC 7C 03 00 50 */ subf r0, r3, r0
/* 800617A0 0005E700 7C 04 00 34 */ cntlzw r4, r0
/* 800617A4 0005E704 54 80 DE 3F */ rlwinm. r0, r4, 0x1b, 0x18, 0x1f
/* 800617A8 0005E708 54 97 D9 7E */ srwi r23, r4, 5
/* 800617AC 0005E70C 41 82 00 14 */ beq lbl_800617C0
/* 800617B0 0005E710 38 61 01 A4 */ addi r3, r1, 0x1a4
/* 800617B4 0005E714 48 2D D4 D1 */ bl ReadLong__12CInputStreamFv
/* 800617B8 0005E718 7C 79 1B 78 */ mr r25, r3
/* 800617BC 0005E71C 48 00 00 08 */ b lbl_800617C4
lbl_800617C0:
/* 800617C0 0005E720 7C 79 1B 78 */ mr r25, r3
lbl_800617C4:
/* 800617C4 0005E724 80 7F 01 2C */ lwz r3, 0x12c(r31)
/* 800617C8 0005E728 7F 24 CB 78 */ mr r4, r25
/* 800617CC 0005E72C 38 63 00 60 */ addi r3, r3, 0x60
/* 800617D0 0005E730 48 00 27 AD */ bl sub_80063f7c
/* 800617D4 0005E734 80 7F 01 2C */ lwz r3, 0x12c(r31)
/* 800617D8 0005E738 7F 24 CB 78 */ mr r4, r25
/* 800617DC 0005E73C 38 63 00 70 */ addi r3, r3, 0x70
/* 800617E0 0005E740 4B FE EA 25 */ bl sub_80050204
/* 800617E4 0005E744 3A C0 00 00 */ li r22, 0
/* 800617E8 0005E748 3B 00 00 00 */ li r24, 0
/* 800617EC 0005E74C 48 00 00 48 */ b lbl_80061834
lbl_800617F0:
/* 800617F0 0005E750 83 BF 01 2C */ lwz r29, 0x12c(r31)
/* 800617F4 0005E754 38 61 02 D0 */ addi r3, r1, 0x2d0
/* 800617F8 0005E758 38 81 01 A4 */ addi r4, r1, 0x1a4
/* 800617FC 0005E75C 48 24 60 91 */ bl __ct__11CWorldLightFR12CInputStream
/* 80061800 0005E760 7C 64 1B 78 */ mr r4, r3
/* 80061804 0005E764 38 7D 00 60 */ addi r3, r29, 0x60
/* 80061808 0005E768 48 00 0A A1 */ bl sub_800622a8
/* 8006180C 0005E76C 83 BF 01 2C */ lwz r29, 0x12c(r31)
/* 80061810 0005E770 38 61 02 80 */ addi r3, r1, 0x280
/* 80061814 0005E774 80 1D 00 6C */ lwz r0, 0x6c(r29)
/* 80061818 0005E778 7C 80 C2 14 */ add r4, r0, r24
/* 8006181C 0005E77C 48 24 5D E1 */ bl GetAsCGraphicsLight__11CWorldLightCFv
/* 80061820 0005E780 38 7D 00 70 */ addi r3, r29, 0x70
/* 80061824 0005E784 38 81 02 80 */ addi r4, r1, 0x280
/* 80061828 0005E788 4B FE 41 9D */ bl sub_800459c4
/* 8006182C 0005E78C 3B 18 00 44 */ addi r24, r24, 0x44
/* 80061830 0005E790 3A D6 00 01 */ addi r22, r22, 1
lbl_80061834:
/* 80061834 0005E794 7C 16 C8 00 */ cmpw r22, r25
/* 80061838 0005E798 41 80 FF B8 */ blt lbl_800617F0
/* 8006183C 0005E79C 56 E0 06 3F */ clrlwi. r0, r23, 0x18
/* 80061840 0005E7A0 41 82 00 8C */ beq lbl_800618CC
/* 80061844 0005E7A4 38 61 01 A4 */ addi r3, r1, 0x1a4
/* 80061848 0005E7A8 48 2D D4 3D */ bl ReadLong__12CInputStreamFv
/* 8006184C 0005E7AC 7C 79 1B 79 */ or. r25, r3, r3
/* 80061850 0005E7B0 41 82 00 7C */ beq lbl_800618CC
/* 80061854 0005E7B4 80 7F 01 2C */ lwz r3, 0x12c(r31)
/* 80061858 0005E7B8 7F 24 CB 78 */ mr r4, r25
/* 8006185C 0005E7BC 38 63 00 80 */ addi r3, r3, 0x80
/* 80061860 0005E7C0 48 00 27 1D */ bl sub_80063f7c
/* 80061864 0005E7C4 80 7F 01 2C */ lwz r3, 0x12c(r31)
/* 80061868 0005E7C8 7F 24 CB 78 */ mr r4, r25
/* 8006186C 0005E7CC 38 63 00 90 */ addi r3, r3, 0x90
/* 80061870 0005E7D0 4B FE E9 95 */ bl sub_80050204
/* 80061874 0005E7D4 3A C0 00 00 */ li r22, 0
/* 80061878 0005E7D8 3B 00 00 00 */ li r24, 0
/* 8006187C 0005E7DC 48 00 00 48 */ b lbl_800618C4
lbl_80061880:
/* 80061880 0005E7E0 83 BF 01 2C */ lwz r29, 0x12c(r31)
/* 80061884 0005E7E4 38 61 02 3C */ addi r3, r1, 0x23c
/* 80061888 0005E7E8 38 81 01 A4 */ addi r4, r1, 0x1a4
/* 8006188C 0005E7EC 48 24 60 01 */ bl __ct__11CWorldLightFR12CInputStream
/* 80061890 0005E7F0 7C 64 1B 78 */ mr r4, r3
/* 80061894 0005E7F4 38 7D 00 80 */ addi r3, r29, 0x80
/* 80061898 0005E7F8 48 00 0A 11 */ bl sub_800622a8
/* 8006189C 0005E7FC 83 BF 01 2C */ lwz r29, 0x12c(r31)
/* 800618A0 0005E800 38 61 01 EC */ addi r3, r1, 0x1ec
/* 800618A4 0005E804 80 1D 00 8C */ lwz r0, 0x8c(r29)
/* 800618A8 0005E808 7C 80 C2 14 */ add r4, r0, r24
/* 800618AC 0005E80C 48 24 5D 51 */ bl GetAsCGraphicsLight__11CWorldLightCFv
/* 800618B0 0005E810 38 7D 00 90 */ addi r3, r29, 0x90
/* 800618B4 0005E814 38 81 01 EC */ addi r4, r1, 0x1ec
/* 800618B8 0005E818 4B FE 41 0D */ bl sub_800459c4
/* 800618BC 0005E81C 3B 18 00 44 */ addi r24, r24, 0x44
/* 800618C0 0005E820 3A D6 00 01 */ addi r22, r22, 1
lbl_800618C4:
/* 800618C4 0005E824 7C 16 C8 00 */ cmpw r22, r25
/* 800618C8 0005E828 41 80 FF B8 */ blt lbl_80061880
lbl_800618CC:
/* 800618CC 0005E82C 80 9F 01 2C */ lwz r4, 0x12c(r31)
/* 800618D0 0005E830 80 04 00 84 */ lwz r0, 0x84(r4)
/* 800618D4 0005E834 2C 00 00 00 */ cmpwi r0, 0
/* 800618D8 0005E838 40 82 00 20 */ bne lbl_800618F8
/* 800618DC 0005E83C 38 64 00 80 */ addi r3, r4, 0x80
/* 800618E0 0005E840 38 84 00 60 */ addi r4, r4, 0x60
/* 800618E4 0005E844 48 00 08 45 */ bl sub_80062128
/* 800618E8 0005E848 80 9F 01 2C */ lwz r4, 0x12c(r31)
/* 800618EC 0005E84C 38 64 00 90 */ addi r3, r4, 0x90
/* 800618F0 0005E850 38 84 00 70 */ addi r4, r4, 0x70
/* 800618F4 0005E854 4B FE 41 75 */ bl sub_80045a68
lbl_800618F8:
/* 800618F8 0005E858 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha
/* 800618FC 0005E85C 38 61 01 A4 */ addi r3, r1, 0x1a4
/* 80061900 0005E860 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l
/* 80061904 0005E864 38 80 00 00 */ li r4, 0
/* 80061908 0005E868 90 01 01 A4 */ stw r0, 0x1a4(r1)
/* 8006190C 0005E86C 48 2D D7 A1 */ bl __dt__12CInputStreamFv
lbl_80061910:
/* 80061910 0005E870 2C 1E 00 07 */ cmpwi r30, 7
/* 80061914 0005E874 40 81 01 44 */ ble lbl_80061A58
/* 80061918 0005E878 82 DA 00 14 */ lwz r22, 0x14(r26)
/* 8006191C 0005E87C 3B 5A 00 0C */ addi r26, r26, 0xc
/* 80061920 0005E880 2C 16 00 40 */ cmpwi r22, 0x40
/* 80061924 0005E884 40 81 01 34 */ ble lbl_80061A58
/* 80061928 0005E888 82 FA 00 04 */ lwz r23, 4(r26)
/* 8006192C 0005E88C 7E C5 B3 78 */ mr r5, r22
/* 80061930 0005E890 38 61 01 80 */ addi r3, r1, 0x180
/* 80061934 0005E894 7E E4 BB 78 */ mr r4, r23
/* 80061938 0005E898 48 2D D8 95 */ bl __ct__15CMemoryInStreamFPCvUl
/* 8006193C 0005E89C 38 61 01 80 */ addi r3, r1, 0x180
/* 80061940 0005E8A0 48 2D D3 45 */ bl ReadLong__12CInputStreamFv
/* 80061944 0005E8A4 3C 03 A9 B7 */ addis r0, r3, 0xa9b7
/* 80061948 0005E8A8 28 00 53 49 */ cmplwi r0, 0x5349
/* 8006194C 0005E8AC 40 82 00 F4 */ bne lbl_80061A40
/* 80061950 0005E8B0 38 61 01 80 */ addi r3, r1, 0x180
/* 80061954 0005E8B4 48 2D D3 31 */ bl ReadLong__12CInputStreamFv
/* 80061958 0005E8B8 80 9F 01 2C */ lwz r4, 0x12c(r31)
/* 8006195C 0005E8BC 90 64 10 A8 */ stw r3, 0x10a8(r4)
/* 80061960 0005E8C0 83 1F 01 2C */ lwz r24, 0x12c(r31)
/* 80061964 0005E8C4 80 18 10 A8 */ lwz r0, 0x10a8(r24)
/* 80061968 0005E8C8 2C 00 00 02 */ cmpwi r0, 2
/* 8006196C 0005E8CC 40 82 00 D4 */ bne lbl_80061A40
/* 80061970 0005E8D0 38 61 01 80 */ addi r3, r1, 0x180
/* 80061974 0005E8D4 48 2D D3 69 */ bl ReadBool__12CInputStreamFv
/* 80061978 0005E8D8 88 18 11 08 */ lbz r0, 0x1108(r24)
/* 8006197C 0005E8DC 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d
/* 80061980 0005E8E0 38 61 01 80 */ addi r3, r1, 0x180
/* 80061984 0005E8E4 98 18 11 08 */ stb r0, 0x1108(r24)
/* 80061988 0005E8E8 83 3F 01 2C */ lwz r25, 0x12c(r31)
/* 8006198C 0005E8EC 48 2D D3 51 */ bl ReadBool__12CInputStreamFv
/* 80061990 0005E8F0 88 19 11 08 */ lbz r0, 0x1108(r25)
/* 80061994 0005E8F4 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e
/* 80061998 0005E8F8 38 61 00 34 */ addi r3, r1, 0x34
/* 8006199C 0005E8FC 98 19 11 08 */ stb r0, 0x1108(r25)
/* 800619A0 0005E900 80 01 01 98 */ lwz r0, 0x198(r1)
/* 800619A4 0005E904 7C 97 02 14 */ add r4, r23, r0
/* 800619A8 0005E908 7C A0 B0 50 */ subf r5, r0, r22
/* 800619AC 0005E90C 48 24 CA E1 */ bl __ct__11CPVSAreaSetFPCci
/* 800619B0 0005E910 38 00 00 00 */ li r0, 0
/* 800619B4 0005E914 83 01 00 38 */ lwz r24, 0x38(r1)
/* 800619B8 0005E918 98 01 00 34 */ stb r0, 0x34(r1)
/* 800619BC 0005E91C 83 3F 01 2C */ lwz r25, 0x12c(r31)
/* 800619C0 0005E920 83 B9 00 A0 */ lwz r29, 0xa0(r25)
/* 800619C4 0005E924 28 1D 00 00 */ cmplwi r29, 0
/* 800619C8 0005E928 41 82 00 30 */ beq lbl_800619F8
/* 800619CC 0005E92C 34 1D 00 20 */ addic. r0, r29, 0x20
/* 800619D0 0005E930 41 82 00 20 */ beq lbl_800619F0
/* 800619D4 0005E934 34 1D 00 40 */ addic. r0, r29, 0x40
/* 800619D8 0005E938 41 82 00 18 */ beq lbl_800619F0
/* 800619DC 0005E93C 88 1D 00 40 */ lbz r0, 0x40(r29)
/* 800619E0 0005E940 28 00 00 00 */ cmplwi r0, 0
/* 800619E4 0005E944 41 82 00 0C */ beq lbl_800619F0
/* 800619E8 0005E948 80 7D 00 44 */ lwz r3, 0x44(r29)
/* 800619EC 0005E94C 48 2B 3F 45 */ bl Free__7CMemoryFPCv
lbl_800619F0:
/* 800619F0 0005E950 7F A3 EB 78 */ mr r3, r29
/* 800619F4 0005E954 48 2B 3F 3D */ bl Free__7CMemoryFPCv
lbl_800619F8:
/* 800619F8 0005E958 93 19 00 A0 */ stw r24, 0xa0(r25)
/* 800619FC 0005E95C 88 01 00 34 */ lbz r0, 0x34(r1)
/* 80061A00 0005E960 28 00 00 00 */ cmplwi r0, 0
/* 80061A04 0005E964 41 82 00 3C */ beq lbl_80061A40
/* 80061A08 0005E968 83 21 00 38 */ lwz r25, 0x38(r1)
/* 80061A0C 0005E96C 28 19 00 00 */ cmplwi r25, 0
/* 80061A10 0005E970 41 82 00 30 */ beq lbl_80061A40
/* 80061A14 0005E974 34 19 00 20 */ addic. r0, r25, 0x20
/* 80061A18 0005E978 41 82 00 20 */ beq lbl_80061A38
/* 80061A1C 0005E97C 34 19 00 40 */ addic. r0, r25, 0x40
/* 80061A20 0005E980 41 82 00 18 */ beq lbl_80061A38
/* 80061A24 0005E984 88 19 00 40 */ lbz r0, 0x40(r25)
/* 80061A28 0005E988 28 00 00 00 */ cmplwi r0, 0
/* 80061A2C 0005E98C 41 82 00 0C */ beq lbl_80061A38
/* 80061A30 0005E990 80 79 00 44 */ lwz r3, 0x44(r25)
/* 80061A34 0005E994 48 2B 3E FD */ bl Free__7CMemoryFPCv
lbl_80061A38:
/* 80061A38 0005E998 7F 23 CB 78 */ mr r3, r25
/* 80061A3C 0005E99C 48 2B 3E F5 */ bl Free__7CMemoryFPCv
lbl_80061A40:
/* 80061A40 0005E9A0 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha
/* 80061A44 0005E9A4 38 61 01 80 */ addi r3, r1, 0x180
/* 80061A48 0005E9A8 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l
/* 80061A4C 0005E9AC 38 80 00 00 */ li r4, 0
/* 80061A50 0005E9B0 90 01 01 80 */ stw r0, 0x180(r1)
/* 80061A54 0005E9B4 48 2D D6 59 */ bl __dt__12CInputStreamFv
lbl_80061A58:
/* 80061A58 0005E9B8 2C 1E 00 09 */ cmpwi r30, 9
/* 80061A5C 0005E9BC 40 81 01 20 */ ble lbl_80061B7C
/* 80061A60 0005E9C0 80 9A 00 10 */ lwz r4, 0x10(r26)
/* 80061A64 0005E9C4 38 61 01 5C */ addi r3, r1, 0x15c
/* 80061A68 0005E9C8 80 BA 00 14 */ lwz r5, 0x14(r26)
/* 80061A6C 0005E9CC 48 2D D7 61 */ bl __ct__15CMemoryInStreamFPCvUl
/* 80061A70 0005E9D0 38 61 01 5C */ addi r3, r1, 0x15c
/* 80061A74 0005E9D4 48 2D D2 11 */ bl ReadLong__12CInputStreamFv
/* 80061A78 0005E9D8 3C 03 00 01 */ addis r0, r3, 1
/* 80061A7C 0005E9DC 28 00 FF FF */ cmplwi r0, 0xffff
/* 80061A80 0005E9E0 41 82 00 E4 */ beq lbl_80061B64
/* 80061A84 0005E9E4 3C 80 50 41 */ lis r4, 0x50415448@ha
/* 80061A88 0005E9E8 90 61 00 30 */ stw r3, 0x30(r1)
/* 80061A8C 0005E9EC 38 04 54 48 */ addi r0, r4, 0x50415448@l
/* 80061A90 0005E9F0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 80061A94 0005E9F4 90 01 00 2C */ stw r0, 0x2c(r1)
/* 80061A98 0005E9F8 38 61 00 24 */ addi r3, r1, 0x24
/* 80061A9C 0005E9FC 38 A1 00 2C */ addi r5, r1, 0x2c
/* 80061AA0 0005EA00 81 84 00 00 */ lwz r12, 0(r4)
/* 80061AA4 0005EA04 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 80061AA8 0005EA08 7D 89 03 A6 */ mtctr r12
/* 80061AAC 0005EA0C 4E 80 04 21 */ bctrl
/* 80061AB0 0005EA10 3A C1 00 54 */ addi r22, r1, 0x54
/* 80061AB4 0005EA14 38 81 00 24 */ addi r4, r1, 0x24
/* 80061AB8 0005EA18 7E C3 B3 78 */ mr r3, r22
/* 80061ABC 0005EA1C 48 2D F3 ED */ bl __ct__6CTokenFRC6CToken
/* 80061AC0 0005EA20 7E C3 B3 78 */ mr r3, r22
/* 80061AC4 0005EA24 48 2D F3 49 */ bl GetObj__6CTokenFv
/* 80061AC8 0005EA28 80 03 00 04 */ lwz r0, 4(r3)
/* 80061ACC 0005EA2C 90 01 00 5C */ stw r0, 0x5c(r1)
/* 80061AD0 0005EA30 80 7F 01 2C */ lwz r3, 0x12c(r31)
/* 80061AD4 0005EA34 3B 23 10 AC */ addi r25, r3, 0x10ac
/* 80061AD8 0005EA38 88 03 10 B8 */ lbz r0, 0x10b8(r3)
/* 80061ADC 0005EA3C 28 00 00 00 */ cmplwi r0, 0
/* 80061AE0 0005EA40 40 82 00 38 */ bne lbl_80061B18
/* 80061AE4 0005EA44 28 19 00 00 */ cmplwi r25, 0
/* 80061AE8 0005EA48 41 82 00 24 */ beq lbl_80061B0C
/* 80061AEC 0005EA4C 7F 36 CB 78 */ mr r22, r25
/* 80061AF0 0005EA50 7F 23 CB 78 */ mr r3, r25
/* 80061AF4 0005EA54 38 81 00 54 */ addi r4, r1, 0x54
/* 80061AF8 0005EA58 48 2D F3 B1 */ bl __ct__6CTokenFRC6CToken
/* 80061AFC 0005EA5C 80 01 00 5C */ lwz r0, 0x5c(r1)
/* 80061B00 0005EA60 7E C3 B3 78 */ mr r3, r22
/* 80061B04 0005EA64 90 16 00 08 */ stw r0, 8(r22)
/* 80061B08 0005EA68 48 2D F2 7D */ bl Lock__6CTokenFv
lbl_80061B0C:
/* 80061B0C 0005EA6C 38 00 00 01 */ li r0, 1
/* 80061B10 0005EA70 98 19 00 0C */ stb r0, 0xc(r25)
/* 80061B14 0005EA74 48 00 00 18 */ b lbl_80061B2C
lbl_80061B18:
/* 80061B18 0005EA78 7F 23 CB 78 */ mr r3, r25
/* 80061B1C 0005EA7C 7E C4 B3 78 */ mr r4, r22
/* 80061B20 0005EA80 48 2D F1 A5 */ bl __as__6CTokenFRC6CToken
/* 80061B24 0005EA84 80 01 00 5C */ lwz r0, 0x5c(r1)
/* 80061B28 0005EA88 90 19 00 08 */ stw r0, 8(r25)
lbl_80061B2C:
/* 80061B2C 0005EA8C 38 61 00 54 */ addi r3, r1, 0x54
/* 80061B30 0005EA90 38 80 00 00 */ li r4, 0
/* 80061B34 0005EA94 48 2D F3 0D */ bl __dt__6CTokenFv
/* 80061B38 0005EA98 38 61 00 24 */ addi r3, r1, 0x24
/* 80061B3C 0005EA9C 38 80 FF FF */ li r4, -1
/* 80061B40 0005EAA0 48 2D F3 01 */ bl __dt__6CTokenFv
/* 80061B44 0005EAA4 80 7F 01 2C */ lwz r3, 0x12c(r31)
/* 80061B48 0005EAA8 38 9F 00 0C */ addi r4, r31, 0xc
/* 80061B4C 0005EAAC 80 03 10 B4 */ lwz r0, 0x10b4(r3)
/* 80061B50 0005EAB0 90 03 10 BC */ stw r0, 0x10bc(r3)
/* 80061B54 0005EAB4 80 7F 01 2C */ lwz r3, 0x12c(r31)
/* 80061B58 0005EAB8 80 63 10 BC */ lwz r3, 0x10bc(r3)
/* 80061B5C 0005EABC 38 63 01 88 */ addi r3, r3, 0x188
/* 80061B60 0005EAC0 48 2B 0F E1 */ bl __as__12CTransform4fFRC12CTransform4f
lbl_80061B64:
/* 80061B64 0005EAC4 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha
/* 80061B68 0005EAC8 38 61 01 5C */ addi r3, r1, 0x15c
/* 80061B6C 0005EACC 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l
/* 80061B70 0005EAD0 38 80 00 00 */ li r4, 0
/* 80061B74 0005EAD4 90 01 01 5C */ stw r0, 0x15c(r1)
/* 80061B78 0005EAD8 48 2D D5 35 */ bl __dt__12CInputStreamFv
lbl_80061B7C:
/* 80061B7C 0005EADC 80 7F 01 14 */ lwz r3, 0x114(r31)
/* 80061B80 0005EAE0 7F 99 E3 78 */ mr r25, r28
/* 80061B84 0005EAE4 1C 9C 00 0C */ mulli r4, r28, 0xc
/* 80061B88 0005EAE8 7C 1C 18 50 */ subf r0, r28, r3
/* 80061B8C 0005EAEC 7C 09 03 A6 */ mtctr r0
/* 80061B90 0005EAF0 7C 1C 18 00 */ cmpw r28, r3
/* 80061B94 0005EAF4 40 80 00 20 */ bge lbl_80061BB4
lbl_80061B98:
/* 80061B98 0005EAF8 80 7F 01 1C */ lwz r3, 0x11c(r31)
/* 80061B9C 0005EAFC 7C 03 20 AE */ lbzx r0, r3, r4
/* 80061BA0 0005EB00 28 00 00 00 */ cmplwi r0, 0
/* 80061BA4 0005EB04 40 82 00 10 */ bne lbl_80061BB4
/* 80061BA8 0005EB08 38 84 00 0C */ addi r4, r4, 0xc
/* 80061BAC 0005EB0C 3B 39 00 01 */ addi r25, r25, 1
/* 80061BB0 0005EB10 42 00 FF E8 */ bdnz lbl_80061B98
lbl_80061BB4:
/* 80061BB4 0005EB14 7C 19 D8 50 */ subf r0, r25, r27
/* 80061BB8 0005EB18 7F 7A DB 78 */ mr r26, r27
/* 80061BBC 0005EB1C 1C 9B 00 0C */ mulli r4, r27, 0xc
/* 80061BC0 0005EB20 7C 09 03 A6 */ mtctr r0
/* 80061BC4 0005EB24 7C 1B C8 00 */ cmpw r27, r25
/* 80061BC8 0005EB28 40 81 00 20 */ ble lbl_80061BE8
lbl_80061BCC:
/* 80061BCC 0005EB2C 80 7F 01 1C */ lwz r3, 0x11c(r31)
/* 80061BD0 0005EB30 7C 03 20 AE */ lbzx r0, r3, r4
/* 80061BD4 0005EB34 28 00 00 00 */ cmplwi r0, 0
/* 80061BD8 0005EB38 40 82 00 10 */ bne lbl_80061BE8
/* 80061BDC 0005EB3C 38 84 FF F4 */ addi r4, r4, -12
/* 80061BE0 0005EB40 3B 5A FF FF */ addi r26, r26, -1
/* 80061BE4 0005EB44 42 00 FF E8 */ bdnz lbl_80061BCC
lbl_80061BE8:
/* 80061BE8 0005EB48 7C 19 D0 00 */ cmpw r25, r26
/* 80061BEC 0005EB4C 40 80 02 00 */ bge lbl_80061DEC
/* 80061BF0 0005EB50 80 7F 01 2C */ lwz r3, 0x12c(r31)
/* 80061BF4 0005EB54 1C B9 00 0C */ mulli r5, r25, 0xc
/* 80061BF8 0005EB58 7C 19 D0 50 */ subf r0, r25, r26
/* 80061BFC 0005EB5C 93 23 10 E8 */ stw r25, 0x10e8(r3)
/* 80061C00 0005EB60 38 80 00 00 */ li r4, 0
/* 80061C04 0005EB64 7C 09 03 A6 */ mtctr r0
/* 80061C08 0005EB68 40 80 00 20 */ bge lbl_80061C28
lbl_80061C0C:
/* 80061C0C 0005EB6C 80 7F 01 1C */ lwz r3, 0x11c(r31)
/* 80061C10 0005EB70 7C 03 28 AE */ lbzx r0, r3, r5
/* 80061C14 0005EB74 28 00 00 00 */ cmplwi r0, 0
/* 80061C18 0005EB78 41 82 00 08 */ beq lbl_80061C20
/* 80061C1C 0005EB7C 38 84 00 01 */ addi r4, r4, 1
lbl_80061C20:
/* 80061C20 0005EB80 38 A5 00 0C */ addi r5, r5, 0xc
/* 80061C24 0005EB84 42 00 FF E8 */ bdnz lbl_80061C0C
lbl_80061C28:
/* 80061C28 0005EB88 80 7F 01 2C */ lwz r3, 0x12c(r31)
/* 80061C2C 0005EB8C 38 63 10 F0 */ addi r3, r3, 0x10f0
/* 80061C30 0005EB90 48 00 24 DD */ bl sub_8006410c
/* 80061C34 0005EB94 1F 99 00 0C */ mulli r28, r25, 0xc
/* 80061C38 0005EB98 48 00 01 74 */ b lbl_80061DAC
lbl_80061C3C:
/* 80061C3C 0005EB9C 80 DF 01 1C */ lwz r6, 0x11c(r31)
/* 80061C40 0005EBA0 7F 36 CB 78 */ mr r22, r25
/* 80061C44 0005EBA4 3B 39 00 01 */ addi r25, r25, 1
/* 80061C48 0005EBA8 7C 66 E2 14 */ add r3, r6, r28
/* 80061C4C 0005EBAC 3B 9C 00 0C */ addi r28, r28, 0xc
/* 80061C50 0005EBB0 1C 99 00 0C */ mulli r4, r25, 0xc
/* 80061C54 0005EBB4 83 63 00 08 */ lwz r27, 8(r3)
/* 80061C58 0005EBB8 48 00 00 18 */ b lbl_80061C70
lbl_80061C5C:
/* 80061C5C 0005EBBC 80 03 00 08 */ lwz r0, 8(r3)
/* 80061C60 0005EBC0 38 84 00 0C */ addi r4, r4, 0xc
/* 80061C64 0005EBC4 3B 39 00 01 */ addi r25, r25, 1
/* 80061C68 0005EBC8 3B 9C 00 0C */ addi r28, r28, 0xc
/* 80061C6C 0005EBCC 7F 7B 02 14 */ add r27, r27, r0
lbl_80061C70:
/* 80061C70 0005EBD0 7C 19 D0 00 */ cmpw r25, r26
/* 80061C74 0005EBD4 40 80 00 14 */ bge lbl_80061C88
/* 80061C78 0005EBD8 7C 66 22 14 */ add r3, r6, r4
/* 80061C7C 0005EBDC 88 03 00 00 */ lbz r0, 0(r3)
/* 80061C80 0005EBE0 28 00 00 00 */ cmplwi r0, 0
/* 80061C84 0005EBE4 41 82 FF D8 */ beq lbl_80061C5C
lbl_80061C88:
/* 80061C88 0005EBE8 1C 96 00 0C */ mulli r4, r22, 0xc
/* 80061C8C 0005EBEC 38 00 00 00 */ li r0, 0
/* 80061C90 0005EBF0 7F 65 DB 78 */ mr r5, r27
/* 80061C94 0005EBF4 38 61 00 B8 */ addi r3, r1, 0xb8
/* 80061C98 0005EBF8 7C 86 22 14 */ add r4, r6, r4
/* 80061C9C 0005EBFC 38 C0 00 01 */ li r6, 1
/* 80061CA0 0005EC00 98 04 00 00 */ stb r0, 0(r4)
/* 80061CA4 0005EC04 80 84 00 04 */ lwz r4, 4(r4)
/* 80061CA8 0005EC08 48 2F 6D A5 */ bl __ct__10CARAMTokenFPvUi
/* 80061CAC 0005EC0C 38 61 00 D8 */ addi r3, r1, 0xd8
/* 80061CB0 0005EC10 38 81 00 B8 */ addi r4, r1, 0xb8
/* 80061CB4 0005EC14 48 2F 6D 19 */ bl __ct__10CARAMTokenFRC10CARAMToken
/* 80061CB8 0005EC18 7C 16 C8 50 */ subf r0, r22, r25
/* 80061CBC 0005EC1C 90 01 00 F8 */ stw r0, 0xf8(r1)
/* 80061CC0 0005EC20 80 7F 01 2C */ lwz r3, 0x12c(r31)
/* 80061CC4 0005EC24 3B A3 10 F0 */ addi r29, r3, 0x10f0
/* 80061CC8 0005EC28 80 03 10 F4 */ lwz r0, 0x10f4(r3)
/* 80061CCC 0005EC2C 80 A3 10 F8 */ lwz r5, 0x10f8(r3)
/* 80061CD0 0005EC30 7C 00 28 00 */ cmpw r0, r5
/* 80061CD4 0005EC34 41 80 00 1C */ blt lbl_80061CF0
/* 80061CD8 0005EC38 2C 05 00 00 */ cmpwi r5, 0
/* 80061CDC 0005EC3C 7F A3 EB 78 */ mr r3, r29
/* 80061CE0 0005EC40 38 80 00 04 */ li r4, 4
/* 80061CE4 0005EC44 41 82 00 08 */ beq lbl_80061CEC
/* 80061CE8 0005EC48 54 A4 08 3C */ slwi r4, r5, 1
lbl_80061CEC:
/* 80061CEC 0005EC4C 48 00 24 21 */ bl sub_8006410c
lbl_80061CF0:
/* 80061CF0 0005EC50 80 1D 00 04 */ lwz r0, 4(r29)
/* 80061CF4 0005EC54 80 7D 00 0C */ lwz r3, 0xc(r29)
/* 80061CF8 0005EC58 1C 00 00 24 */ mulli r0, r0, 0x24
/* 80061CFC 0005EC5C 7F C3 02 15 */ add. r30, r3, r0
/* 80061D00 0005EC60 41 82 00 18 */ beq lbl_80061D18
/* 80061D04 0005EC64 7F C3 F3 78 */ mr r3, r30
/* 80061D08 0005EC68 38 81 00 D8 */ addi r4, r1, 0xd8
/* 80061D0C 0005EC6C 48 2F 6C C1 */ bl __ct__10CARAMTokenFRC10CARAMToken
/* 80061D10 0005EC70 80 01 00 F8 */ lwz r0, 0xf8(r1)
/* 80061D14 0005EC74 90 1E 00 20 */ stw r0, 0x20(r30)
lbl_80061D18:
/* 80061D18 0005EC78 80 BD 00 04 */ lwz r5, 4(r29)
/* 80061D1C 0005EC7C 38 61 00 D8 */ addi r3, r1, 0xd8
/* 80061D20 0005EC80 38 80 FF FF */ li r4, -1
/* 80061D24 0005EC84 38 05 00 01 */ addi r0, r5, 1
/* 80061D28 0005EC88 90 1D 00 04 */ stw r0, 4(r29)
/* 80061D2C 0005EC8C 48 2F 6C 19 */ bl __dt__10CARAMTokenFv
/* 80061D30 0005EC90 38 61 00 B8 */ addi r3, r1, 0xb8
/* 80061D34 0005EC94 38 80 FF FF */ li r4, -1
/* 80061D38 0005EC98 48 2F 6C 0D */ bl __dt__10CARAMTokenFv
/* 80061D3C 0005EC9C 80 7F 01 2C */ lwz r3, 0x12c(r31)
/* 80061D40 0005ECA0 80 03 11 04 */ lwz r0, 0x1104(r3)
/* 80061D44 0005ECA4 7C 00 DA 14 */ add r0, r0, r27
/* 80061D48 0005ECA8 90 03 11 04 */ stw r0, 0x1104(r3)
/* 80061D4C 0005ECAC 88 1F 00 F0 */ lbz r0, 0xf0(r31)
/* 80061D50 0005ECB0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80061D54 0005ECB4 41 82 00 10 */ beq lbl_80061D64
/* 80061D58 0005ECB8 80 7F 01 2C */ lwz r3, 0x12c(r31)
/* 80061D5C 0005ECBC 80 03 10 DC */ lwz r0, 0x10dc(r3)
/* 80061D60 0005ECC0 48 00 00 08 */ b lbl_80061D68
lbl_80061D64:
/* 80061D64 0005ECC4 38 00 00 00 */ li r0, 0
lbl_80061D68:
/* 80061D68 0005ECC8 2C 00 00 00 */ cmpwi r0, 0
/* 80061D6C 0005ECCC 40 82 00 40 */ bne lbl_80061DAC
/* 80061D70 0005ECD0 80 9F 01 2C */ lwz r4, 0x12c(r31)
/* 80061D74 0005ECD4 80 64 10 F4 */ lwz r3, 0x10f4(r4)
/* 80061D78 0005ECD8 80 84 10 FC */ lwz r4, 0x10fc(r4)
/* 80061D7C 0005ECDC 38 03 FF FF */ addi r0, r3, -1
/* 80061D80 0005ECE0 1C 00 00 24 */ mulli r0, r0, 0x24
/* 80061D84 0005ECE4 7F 04 02 14 */ add r24, r4, r0
/* 80061D88 0005ECE8 7F 03 C3 78 */ mr r3, r24
/* 80061D8C 0005ECEC 48 2F 68 ED */ bl LoadToARAM__10CARAMTokenFv
/* 80061D90 0005ECF0 80 18 00 00 */ lwz r0, 0(r24)
/* 80061D94 0005ECF4 2C 00 00 01 */ cmpwi r0, 1
/* 80061D98 0005ECF8 41 82 00 14 */ beq lbl_80061DAC
/* 80061D9C 0005ECFC 80 7F 01 2C */ lwz r3, 0x12c(r31)
/* 80061DA0 0005ED00 80 03 11 00 */ lwz r0, 0x1100(r3)
/* 80061DA4 0005ED04 7C 00 DA 14 */ add r0, r0, r27
/* 80061DA8 0005ED08 90 03 11 00 */ stw r0, 0x1100(r3)
lbl_80061DAC:
/* 80061DAC 0005ED0C 7C 19 D0 00 */ cmpw r25, r26
/* 80061DB0 0005ED10 41 80 FE 8C */ blt lbl_80061C3C
/* 80061DB4 0005ED14 88 1F 00 F0 */ lbz r0, 0xf0(r31)
/* 80061DB8 0005ED18 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80061DBC 0005ED1C 41 82 00 10 */ beq lbl_80061DCC
/* 80061DC0 0005ED20 80 7F 01 2C */ lwz r3, 0x12c(r31)
/* 80061DC4 0005ED24 80 83 10 DC */ lwz r4, 0x10dc(r3)
/* 80061DC8 0005ED28 48 00 00 08 */ b lbl_80061DD0
lbl_80061DCC:
/* 80061DCC 0005ED2C 38 80 00 00 */ li r4, 0
lbl_80061DD0:
/* 80061DD0 0005ED30 7C 04 00 D0 */ neg r0, r4
/* 80061DD4 0005ED34 80 7F 01 2C */ lwz r3, 0x12c(r31)
/* 80061DD8 0005ED38 7C 00 23 78 */ or r0, r0, r4
/* 80061DDC 0005ED3C 54 04 0F FE */ srwi r4, r0, 0x1f
/* 80061DE0 0005ED40 88 03 11 08 */ lbz r0, 0x1108(r3)
/* 80061DE4 0005ED44 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18
/* 80061DE8 0005ED48 98 03 11 08 */ stb r0, 0x1108(r3)
lbl_80061DEC:
/* 80061DEC 0005ED4C 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha
/* 80061DF0 0005ED50 38 60 20 10 */ li r3, 0x2010
/* 80061DF4 0005ED54 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l
/* 80061DF8 0005ED58 38 A0 00 00 */ li r5, 0
/* 80061DFC 0005ED5C 48 2B 3A 71 */ bl __nw__FUlPCcPCc
/* 80061E00 0005ED60 7C 7A 1B 79 */ or. r26, r3, r3
/* 80061E04 0005ED64 41 82 00 28 */ beq lbl_80061E2C
/* 80061E08 0005ED68 80 1F 00 04 */ lwz r0, 4(r31)
/* 80061E0C 0005ED6C 38 80 FF FF */ li r4, -1
/* 80061E10 0005ED70 90 01 00 1C */ stw r0, 0x1c(r1)
/* 80061E14 0005ED74 4B FA E2 25 */ bl __ct__11CObjectListF15EGameObjectList
/* 80061E18 0005ED78 3C 60 80 3E */ lis r3, lbl_803DA260@ha
/* 80061E1C 0005ED7C 80 01 00 1C */ lwz r0, 0x1c(r1)
/* 80061E20 0005ED80 38 63 A2 60 */ addi r3, r3, lbl_803DA260@l
/* 80061E24 0005ED84 90 7A 00 00 */ stw r3, 0(r26)
/* 80061E28 0005ED88 90 1A 20 0C */ stw r0, 0x200c(r26)
lbl_80061E2C:
/* 80061E2C 0005ED8C 83 3F 01 2C */ lwz r25, 0x12c(r31)
/* 80061E30 0005ED90 80 79 10 C0 */ lwz r3, 0x10c0(r25)
/* 80061E34 0005ED94 48 2B 3A FD */ bl Free__7CMemoryFPCv
/* 80061E38 0005ED98 3C 60 80 3D */ lis r3, lbl_803CCFAC@ha
/* 80061E3C 0005ED9C 93 59 10 C0 */ stw r26, 0x10c0(r25)
/* 80061E40 0005EDA0 38 83 CF AC */ addi r4, r3, lbl_803CCFAC@l
/* 80061E44 0005EDA4 38 A0 00 00 */ li r5, 0
/* 80061E48 0005EDA8 38 60 00 38 */ li r3, 0x38
/* 80061E4C 0005EDAC 48 2B 3A 21 */ bl __nw__FUlPCcPCc
/* 80061E50 0005EDB0 7C 78 1B 79 */ or. r24, r3, r3
/* 80061E54 0005EDB4 41 82 00 0C */ beq lbl_80061E60
/* 80061E58 0005EDB8 4B FF D3 4D */ bl __ct__Q29CGameArea8CAreaFogFv
/* 80061E5C 0005EDBC 7C 78 1B 78 */ mr r24, r3
lbl_80061E60:
/* 80061E60 0005EDC0 83 3F 01 2C */ lwz r25, 0x12c(r31)
/* 80061E64 0005EDC4 80 79 10 C4 */ lwz r3, 0x10c4(r25)
/* 80061E68 0005EDC8 48 2B 3A C9 */ bl Free__7CMemoryFPCv
/* 80061E6C 0005EDCC 93 19 10 C4 */ stw r24, 0x10c4(r25)
/* 80061E70 0005EDD0 38 80 00 01 */ li r4, 1
/* 80061E74 0005EDD4 7F E3 FB 78 */ mr r3, r31
/* 80061E78 0005EDD8 88 1F 00 F0 */ lbz r0, 0xf0(r31)
/* 80061E7C 0005EDDC 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18
/* 80061E80 0005EDE0 98 1F 00 F0 */ stb r0, 0xf0(r31)
/* 80061E84 0005EDE4 48 00 1B 61 */ bl GetPostConstructedSize__9CGameAreaCFv
/* 80061E88 0005EDE8 80 0D A2 F0 */ lwz r0, lbl_805A8EB0@sda21(r13)
/* 80061E8C 0005EDEC 7C 00 1A 14 */ add r0, r0, r3
/* 80061E90 0005EDF0 38 61 01 38 */ addi r3, r1, 0x138
/* 80061E94 0005EDF4 90 0D A2 F0 */ stw r0, lbl_805A8EB0@sda21(r13)
/* 80061E98 0005EDF8 88 1F 00 F0 */ lbz r0, 0xf0(r31)
/* 80061E9C 0005EDFC 80 BF 01 2C */ lwz r5, 0x12c(r31)
/* 80061EA0 0005EE00 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80061EA4 0005EE04 80 85 10 CC */ lwz r4, 0x10cc(r5)
/* 80061EA8 0005EE08 41 82 00 0C */ beq lbl_80061EB4
/* 80061EAC 0005EE0C 80 A5 10 D0 */ lwz r5, 0x10d0(r5)
/* 80061EB0 0005EE10 48 00 00 08 */ b lbl_80061EB8
lbl_80061EB4:
/* 80061EB4 0005EE14 38 A0 00 00 */ li r5, 0
lbl_80061EB8:
/* 80061EB8 0005EE18 48 2D D3 15 */ bl __ct__15CMemoryInStreamFPCvUl
/* 80061EBC 0005EE1C 38 61 01 38 */ addi r3, r1, 0x138
/* 80061EC0 0005EE20 48 2D CD C5 */ bl ReadLong__12CInputStreamFv
/* 80061EC4 0005EE24 3C 03 AC BD */ addis r0, r3, 0xacbd
/* 80061EC8 0005EE28 28 00 4C 59 */ cmplwi r0, 0x4c59
/* 80061ECC 0005EE2C 40 82 01 A8 */ bne lbl_80062074
/* 80061ED0 0005EE30 38 61 01 38 */ addi r3, r1, 0x138
/* 80061ED4 0005EE34 48 2D CD B1 */ bl ReadLong__12CInputStreamFv
/* 80061ED8 0005EE38 38 61 01 38 */ addi r3, r1, 0x138
/* 80061EDC 0005EE3C 48 2D CD A9 */ bl ReadLong__12CInputStreamFv
/* 80061EE0 0005EE40 38 00 00 00 */ li r0, 0
/* 80061EE4 0005EE44 7C 7B 1B 78 */ mr r27, r3
/* 80061EE8 0005EE48 90 01 00 94 */ stw r0, 0x94(r1)
/* 80061EEC 0005EE4C 38 61 00 90 */ addi r3, r1, 0x90
/* 80061EF0 0005EE50 7F 64 DB 78 */ mr r4, r27
/* 80061EF4 0005EE54 90 01 00 98 */ stw r0, 0x98(r1)
/* 80061EF8 0005EE58 90 01 00 9C */ stw r0, 0x9c(r1)
/* 80061EFC 0005EE5C 4B FF 7D AD */ bl "reserve__Q24rstl36vector<i,Q24rstl17rmemory_allocator>Fi"
/* 80061F00 0005EE60 3A C0 00 00 */ li r22, 0
/* 80061F04 0005EE64 48 00 00 60 */ b lbl_80061F64
lbl_80061F08:
/* 80061F08 0005EE68 38 61 01 38 */ addi r3, r1, 0x138
/* 80061F0C 0005EE6C 48 2D CD 79 */ bl ReadLong__12CInputStreamFv
/* 80061F10 0005EE70 80 01 00 94 */ lwz r0, 0x94(r1)
/* 80061F14 0005EE74 7C 79 1B 78 */ mr r25, r3
/* 80061F18 0005EE78 80 A1 00 98 */ lwz r5, 0x98(r1)
/* 80061F1C 0005EE7C 7C 00 28 00 */ cmpw r0, r5
/* 80061F20 0005EE80 41 80 00 1C */ blt lbl_80061F3C
/* 80061F24 0005EE84 2C 05 00 00 */ cmpwi r5, 0
/* 80061F28 0005EE88 38 61 00 90 */ addi r3, r1, 0x90
/* 80061F2C 0005EE8C 38 80 00 04 */ li r4, 4
/* 80061F30 0005EE90 41 82 00 08 */ beq lbl_80061F38
/* 80061F34 0005EE94 54 A4 08 3C */ slwi r4, r5, 1
lbl_80061F38:
/* 80061F38 0005EE98 4B FF 7D 71 */ bl "reserve__Q24rstl36vector<i,Q24rstl17rmemory_allocator>Fi"
lbl_80061F3C:
/* 80061F3C 0005EE9C 80 01 00 94 */ lwz r0, 0x94(r1)
/* 80061F40 0005EEA0 80 61 00 9C */ lwz r3, 0x9c(r1)
/* 80061F44 0005EEA4 54 00 10 3A */ slwi r0, r0, 2
/* 80061F48 0005EEA8 7C 63 02 15 */ add. r3, r3, r0
/* 80061F4C 0005EEAC 41 82 00 08 */ beq lbl_80061F54
/* 80061F50 0005EEB0 93 23 00 00 */ stw r25, 0(r3)
lbl_80061F54:
/* 80061F54 0005EEB4 80 61 00 94 */ lwz r3, 0x94(r1)
/* 80061F58 0005EEB8 3A D6 00 01 */ addi r22, r22, 1
/* 80061F5C 0005EEBC 38 03 00 01 */ addi r0, r3, 1
/* 80061F60 0005EEC0 90 01 00 94 */ stw r0, 0x94(r1)
lbl_80061F64:
/* 80061F64 0005EEC4 7C 16 D8 00 */ cmpw r22, r27
/* 80061F68 0005EEC8 41 80 FF A0 */ blt lbl_80061F08
/* 80061F6C 0005EECC 80 7F 01 2C */ lwz r3, 0x12c(r31)
/* 80061F70 0005EED0 38 1B 00 03 */ addi r0, r27, 3
/* 80061F74 0005EED4 7F 64 DB 78 */ mr r4, r27
/* 80061F78 0005EED8 54 19 10 3A */ slwi r25, r0, 2
/* 80061F7C 0005EEDC 38 63 11 0C */ addi r3, r3, 0x110c
/* 80061F80 0005EEE0 48 00 22 8D */ bl "reserve__Q24rstl52vector<Q24rstl9pair<i,i>,Q24rstl17rmemory_allocator>Fi"
/* 80061F84 0005EEE4 3B 80 00 00 */ li r28, 0
/* 80061F88 0005EEE8 3B 40 00 00 */ li r26, 0
/* 80061F8C 0005EEEC 48 00 00 9C */ b lbl_80062028
lbl_80061F90:
/* 80061F90 0005EEF0 2C 1C 00 00 */ cmpwi r28, 0
/* 80061F94 0005EEF4 40 82 00 0C */ bne lbl_80061FA0
/* 80061F98 0005EEF8 7F 38 CB 78 */ mr r24, r25
/* 80061F9C 0005EEFC 48 00 00 24 */ b lbl_80061FC0
lbl_80061FA0:
/* 80061FA0 0005EF00 80 7F 01 2C */ lwz r3, 0x12c(r31)
/* 80061FA4 0005EF04 38 1C FF FF */ addi r0, r28, -1
/* 80061FA8 0005EF08 54 00 18 38 */ slwi r0, r0, 3
/* 80061FAC 0005EF0C 80 63 11 18 */ lwz r3, 0x1118(r3)
/* 80061FB0 0005EF10 7C 83 02 14 */ add r4, r3, r0
/* 80061FB4 0005EF14 7C 63 00 2E */ lwzx r3, r3, r0
/* 80061FB8 0005EF18 80 04 00 04 */ lwz r0, 4(r4)
/* 80061FBC 0005EF1C 7F 03 02 14 */ add r24, r3, r0
lbl_80061FC0:
/* 80061FC0 0005EF20 80 7F 01 2C */ lwz r3, 0x12c(r31)
/* 80061FC4 0005EF24 80 81 00 9C */ lwz r4, 0x9c(r1)
/* 80061FC8 0005EF28 3B A3 11 0C */ addi r29, r3, 0x110c
/* 80061FCC 0005EF2C 80 03 11 10 */ lwz r0, 0x1110(r3)
/* 80061FD0 0005EF30 80 A3 11 14 */ lwz r5, 0x1114(r3)
/* 80061FD4 0005EF34 7F C4 D0 2E */ lwzx r30, r4, r26
/* 80061FD8 0005EF38 7C 00 28 00 */ cmpw r0, r5
/* 80061FDC 0005EF3C 41 80 00 1C */ blt lbl_80061FF8
/* 80061FE0 0005EF40 2C 05 00 00 */ cmpwi r5, 0
/* 80061FE4 0005EF44 7F A3 EB 78 */ mr r3, r29
/* 80061FE8 0005EF48 38 80 00 04 */ li r4, 4
/* 80061FEC 0005EF4C 41 82 00 08 */ beq lbl_80061FF4
/* 80061FF0 0005EF50 54 A4 08 3C */ slwi r4, r5, 1
lbl_80061FF4:
/* 80061FF4 0005EF54 48 00 22 19 */ bl "reserve__Q24rstl52vector<Q24rstl9pair<i,i>,Q24rstl17rmemory_allocator>Fi"
lbl_80061FF8:
/* 80061FF8 0005EF58 80 1D 00 04 */ lwz r0, 4(r29)
/* 80061FFC 0005EF5C 80 7D 00 0C */ lwz r3, 0xc(r29)
/* 80062000 0005EF60 54 00 18 38 */ slwi r0, r0, 3
/* 80062004 0005EF64 7C 63 02 15 */ add. r3, r3, r0
/* 80062008 0005EF68 41 82 00 0C */ beq lbl_80062014
/* 8006200C 0005EF6C 93 03 00 00 */ stw r24, 0(r3)
/* 80062010 0005EF70 93 C3 00 04 */ stw r30, 4(r3)
lbl_80062014:
/* 80062014 0005EF74 80 7D 00 04 */ lwz r3, 4(r29)
/* 80062018 0005EF78 3B 5A 00 04 */ addi r26, r26, 4
/* 8006201C 0005EF7C 3B 9C 00 01 */ addi r28, r28, 1
/* 80062020 0005EF80 38 03 00 01 */ addi r0, r3, 1
/* 80062024 0005EF84 90 1D 00 04 */ stw r0, 4(r29)
lbl_80062028:
/* 80062028 0005EF88 7C 1C D8 00 */ cmpw r28, r27
/* 8006202C 0005EF8C 41 80 FF 64 */ blt lbl_80061F90
/* 80062030 0005EF90 80 01 00 94 */ lwz r0, 0x94(r1)
/* 80062034 0005EF94 80 61 00 9C */ lwz r3, 0x9c(r1)
/* 80062038 0005EF98 54 00 10 3A */ slwi r0, r0, 2
/* 8006203C 0005EF9C 7C 03 02 14 */ add r0, r3, r0
/* 80062040 0005EFA0 90 61 00 10 */ stw r3, 0x10(r1)
/* 80062044 0005EFA4 7C 64 1B 78 */ mr r4, r3
/* 80062048 0005EFA8 90 01 00 18 */ stw r0, 0x18(r1)
/* 8006204C 0005EFAC 90 01 00 14 */ stw r0, 0x14(r1)
/* 80062050 0005EFB0 90 61 00 0C */ stw r3, 0xc(r1)
/* 80062054 0005EFB4 48 00 00 08 */ b lbl_8006205C
lbl_80062058:
/* 80062058 0005EFB8 38 84 00 04 */ addi r4, r4, 4
lbl_8006205C:
/* 8006205C 0005EFBC 7C 04 00 40 */ cmplw r4, r0
/* 80062060 0005EFC0 40 82 FF F8 */ bne lbl_80062058
/* 80062064 0005EFC4 28 03 00 00 */ cmplwi r3, 0
/* 80062068 0005EFC8 41 82 00 94 */ beq lbl_800620FC
/* 8006206C 0005EFCC 48 2B 38 C5 */ bl Free__7CMemoryFPCv
/* 80062070 0005EFD0 48 00 00 8C */ b lbl_800620FC
lbl_80062074:
/* 80062074 0005EFD4 80 7F 01 2C */ lwz r3, 0x12c(r31)
/* 80062078 0005EFD8 38 80 00 01 */ li r4, 1
/* 8006207C 0005EFDC 38 63 11 0C */ addi r3, r3, 0x110c
/* 80062080 0005EFE0 48 00 21 8D */ bl "reserve__Q24rstl52vector<Q24rstl9pair<i,i>,Q24rstl17rmemory_allocator>Fi"
/* 80062084 0005EFE4 88 1F 00 F0 */ lbz r0, 0xf0(r31)
/* 80062088 0005EFE8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8006208C 0005EFEC 41 82 00 10 */ beq lbl_8006209C
/* 80062090 0005EFF0 80 7F 01 2C */ lwz r3, 0x12c(r31)
/* 80062094 0005EFF4 83 03 10 D0 */ lwz r24, 0x10d0(r3)
/* 80062098 0005EFF8 48 00 00 08 */ b lbl_800620A0
lbl_8006209C:
/* 8006209C 0005EFFC 3B 00 00 00 */ li r24, 0
lbl_800620A0:
/* 800620A0 0005F000 80 7F 01 2C */ lwz r3, 0x12c(r31)
/* 800620A4 0005F004 83 4D 82 E4 */ lwz r26, lbl_805A6EA4@sda21(r13)
/* 800620A8 0005F008 3B 23 11 0C */ addi r25, r3, 0x110c
/* 800620AC 0005F00C 80 03 11 10 */ lwz r0, 0x1110(r3)
/* 800620B0 0005F010 80 A3 11 14 */ lwz r5, 0x1114(r3)
/* 800620B4 0005F014 7C 00 28 00 */ cmpw r0, r5
/* 800620B8 0005F018 41 80 00 1C */ blt lbl_800620D4
/* 800620BC 0005F01C 2C 05 00 00 */ cmpwi r5, 0
/* 800620C0 0005F020 7F 23 CB 78 */ mr r3, r25
/* 800620C4 0005F024 38 80 00 04 */ li r4, 4
/* 800620C8 0005F028 41 82 00 08 */ beq lbl_800620D0
/* 800620CC 0005F02C 54 A4 08 3C */ slwi r4, r5, 1
lbl_800620D0:
/* 800620D0 0005F030 48 00 21 3D */ bl "reserve__Q24rstl52vector<Q24rstl9pair<i,i>,Q24rstl17rmemory_allocator>Fi"
lbl_800620D4:
/* 800620D4 0005F034 80 19 00 04 */ lwz r0, 4(r25)
/* 800620D8 0005F038 80 79 00 0C */ lwz r3, 0xc(r25)
/* 800620DC 0005F03C 54 00 18 38 */ slwi r0, r0, 3
/* 800620E0 0005F040 7C 63 02 15 */ add. r3, r3, r0
/* 800620E4 0005F044 41 82 00 0C */ beq lbl_800620F0
/* 800620E8 0005F048 93 43 00 00 */ stw r26, 0(r3)
/* 800620EC 0005F04C 93 03 00 04 */ stw r24, 4(r3)
lbl_800620F0:
/* 800620F0 0005F050 80 79 00 04 */ lwz r3, 4(r25)
/* 800620F4 0005F054 38 03 00 01 */ addi r0, r3, 1
/* 800620F8 0005F058 90 19 00 04 */ stw r0, 4(r25)
lbl_800620FC:
/* 800620FC 0005F05C 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha
/* 80062100 0005F060 38 61 01 38 */ addi r3, r1, 0x138
/* 80062104 0005F064 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l
/* 80062108 0005F068 38 80 00 00 */ li r4, 0
/* 8006210C 0005F06C 90 01 01 38 */ stw r0, 0x138(r1)
/* 80062110 0005F070 48 2D CF 9D */ bl __dt__12CInputStreamFv
/* 80062114 0005F074 BA C1 03 18 */ lmw r22, 0x318(r1)
/* 80062118 0005F078 80 01 03 44 */ lwz r0, 0x344(r1)
/* 8006211C 0005F07C 7C 08 03 A6 */ mtlr r0
/* 80062120 0005F080 38 21 03 40 */ addi r1, r1, 0x340
/* 80062124 0005F084 4E 80 00 20 */ blr
.global sub_80062128
sub_80062128:
/* 80062128 0005F088 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8006212C 0005F08C 7C 08 02 A6 */ mflr r0
/* 80062130 0005F090 90 01 00 24 */ stw r0, 0x24(r1)
/* 80062134 0005F094 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80062138 0005F098 7C 9F 23 78 */ mr r31, r4
/* 8006213C 0005F09C 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80062140 0005F0A0 7C 7E 1B 78 */ mr r30, r3
/* 80062144 0005F0A4 7C 1E F8 40 */ cmplw r30, r31
/* 80062148 0005F0A8 40 82 00 08 */ bne lbl_80062150
/* 8006214C 0005F0AC 48 00 00 98 */ b lbl_800621E4
lbl_80062150:
/* 80062150 0005F0B0 80 1E 00 04 */ lwz r0, 4(r30)
/* 80062154 0005F0B4 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 80062158 0005F0B8 1C 00 00 44 */ mulli r0, r0, 0x44
/* 8006215C 0005F0BC 90 61 00 0C */ stw r3, 0xc(r1)
/* 80062160 0005F0C0 7C 03 02 14 */ add r0, r3, r0
/* 80062164 0005F0C4 90 61 00 08 */ stw r3, 8(r1)
/* 80062168 0005F0C8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8006216C 0005F0CC 90 01 00 10 */ stw r0, 0x10(r1)
/* 80062170 0005F0D0 48 00 00 08 */ b lbl_80062178
lbl_80062174:
/* 80062174 0005F0D4 38 63 00 44 */ addi r3, r3, 0x44
lbl_80062178:
/* 80062178 0005F0D8 7C 03 00 40 */ cmplw r3, r0
/* 8006217C 0005F0DC 40 82 FF F8 */ bne lbl_80062174
/* 80062180 0005F0E0 38 00 00 00 */ li r0, 0
/* 80062184 0005F0E4 90 1E 00 04 */ stw r0, 4(r30)
/* 80062188 0005F0E8 80 9F 00 04 */ lwz r4, 4(r31)
/* 8006218C 0005F0EC 2C 04 00 00 */ cmpwi r4, 0
/* 80062190 0005F0F0 40 82 00 28 */ bne lbl_800621B8
/* 80062194 0005F0F4 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 80062198 0005F0F8 28 03 00 00 */ cmplwi r3, 0
/* 8006219C 0005F0FC 41 82 00 08 */ beq lbl_800621A4
/* 800621A0 0005F100 48 2B 37 91 */ bl Free__7CMemoryFPCv
lbl_800621A4:
/* 800621A4 0005F104 38 00 00 00 */ li r0, 0
/* 800621A8 0005F108 90 1E 00 04 */ stw r0, 4(r30)
/* 800621AC 0005F10C 90 1E 00 08 */ stw r0, 8(r30)
/* 800621B0 0005F110 90 1E 00 0C */ stw r0, 0xc(r30)
/* 800621B4 0005F114 48 00 00 2C */ b lbl_800621E0
lbl_800621B8:
/* 800621B8 0005F118 7F C3 F3 78 */ mr r3, r30
/* 800621BC 0005F11C 48 00 1D C1 */ bl sub_80063f7c
/* 800621C0 0005F120 80 1F 00 04 */ lwz r0, 4(r31)
/* 800621C4 0005F124 80 7F 00 0C */ lwz r3, 0xc(r31)
/* 800621C8 0005F128 1C 00 00 44 */ mulli r0, r0, 0x44
/* 800621CC 0005F12C 80 BE 00 0C */ lwz r5, 0xc(r30)
/* 800621D0 0005F130 7C 83 02 14 */ add r4, r3, r0
/* 800621D4 0005F134 48 00 00 29 */ bl sub_800621fc
/* 800621D8 0005F138 80 1F 00 04 */ lwz r0, 4(r31)
/* 800621DC 0005F13C 90 1E 00 04 */ stw r0, 4(r30)
lbl_800621E0:
/* 800621E0 0005F140 7F C3 F3 78 */ mr r3, r30
lbl_800621E4:
/* 800621E4 0005F144 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800621E8 0005F148 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 800621EC 0005F14C 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 800621F0 0005F150 7C 08 03 A6 */ mtlr r0
/* 800621F4 0005F154 38 21 00 20 */ addi r1, r1, 0x20
/* 800621F8 0005F158 4E 80 00 20 */ blr
.global sub_800621fc
sub_800621fc:
/* 800621FC 0005F15C 48 00 00 9C */ b lbl_80062298
lbl_80062200:
/* 80062200 0005F160 28 05 00 00 */ cmplwi r5, 0
/* 80062204 0005F164 41 82 00 8C */ beq lbl_80062290
/* 80062208 0005F168 80 03 00 00 */ lwz r0, 0(r3)
/* 8006220C 0005F16C 90 05 00 00 */ stw r0, 0(r5)
/* 80062210 0005F170 C0 03 00 04 */ lfs f0, 4(r3)
/* 80062214 0005F174 D0 05 00 04 */ stfs f0, 4(r5)
/* 80062218 0005F178 C0 03 00 08 */ lfs f0, 8(r3)
/* 8006221C 0005F17C D0 05 00 08 */ stfs f0, 8(r5)
/* 80062220 0005F180 C0 03 00 0C */ lfs f0, 0xc(r3)
/* 80062224 0005F184 D0 05 00 0C */ stfs f0, 0xc(r5)
/* 80062228 0005F188 C0 03 00 10 */ lfs f0, 0x10(r3)
/* 8006222C 0005F18C D0 05 00 10 */ stfs f0, 0x10(r5)
/* 80062230 0005F190 C0 03 00 14 */ lfs f0, 0x14(r3)
/* 80062234 0005F194 D0 05 00 14 */ stfs f0, 0x14(r5)
/* 80062238 0005F198 C0 03 00 18 */ lfs f0, 0x18(r3)
/* 8006223C 0005F19C D0 05 00 18 */ stfs f0, 0x18(r5)
/* 80062240 0005F1A0 C0 03 00 1C */ lfs f0, 0x1c(r3)
/* 80062244 0005F1A4 D0 05 00 1C */ stfs f0, 0x1c(r5)
/* 80062248 0005F1A8 C0 03 00 20 */ lfs f0, 0x20(r3)
/* 8006224C 0005F1AC D0 05 00 20 */ stfs f0, 0x20(r5)
/* 80062250 0005F1B0 C0 03 00 24 */ lfs f0, 0x24(r3)
/* 80062254 0005F1B4 D0 05 00 24 */ stfs f0, 0x24(r5)
/* 80062258 0005F1B8 C0 03 00 28 */ lfs f0, 0x28(r3)
/* 8006225C 0005F1BC D0 05 00 28 */ stfs f0, 0x28(r5)
/* 80062260 0005F1C0 C0 03 00 2C */ lfs f0, 0x2c(r3)
/* 80062264 0005F1C4 D0 05 00 2C */ stfs f0, 0x2c(r5)
/* 80062268 0005F1C8 C0 03 00 30 */ lfs f0, 0x30(r3)
/* 8006226C 0005F1CC D0 05 00 30 */ stfs f0, 0x30(r5)
/* 80062270 0005F1D0 88 03 00 34 */ lbz r0, 0x34(r3)
/* 80062274 0005F1D4 98 05 00 34 */ stb r0, 0x34(r5)
/* 80062278 0005F1D8 C0 03 00 38 */ lfs f0, 0x38(r3)
/* 8006227C 0005F1DC D0 05 00 38 */ stfs f0, 0x38(r5)
/* 80062280 0005F1E0 80 03 00 3C */ lwz r0, 0x3c(r3)
/* 80062284 0005F1E4 90 05 00 3C */ stw r0, 0x3c(r5)
/* 80062288 0005F1E8 C0 03 00 40 */ lfs f0, 0x40(r3)
/* 8006228C 0005F1EC D0 05 00 40 */ stfs f0, 0x40(r5)
lbl_80062290:
/* 80062290 0005F1F0 38 A5 00 44 */ addi r5, r5, 0x44
/* 80062294 0005F1F4 38 63 00 44 */ addi r3, r3, 0x44
lbl_80062298:
/* 80062298 0005F1F8 7C 03 20 40 */ cmplw r3, r4
/* 8006229C 0005F1FC 40 82 FF 64 */ bne lbl_80062200
/* 800622A0 0005F200 7C A3 2B 78 */ mr r3, r5
/* 800622A4 0005F204 4E 80 00 20 */ blr
.global sub_800622a8
sub_800622a8:
/* 800622A8 0005F208 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800622AC 0005F20C 7C 08 02 A6 */ mflr r0
/* 800622B0 0005F210 90 01 00 14 */ stw r0, 0x14(r1)
/* 800622B4 0005F214 93 E1 00 0C */ stw r31, 0xc(r1)
/* 800622B8 0005F218 7C 9F 23 78 */ mr r31, r4
/* 800622BC 0005F21C 93 C1 00 08 */ stw r30, 8(r1)
/* 800622C0 0005F220 7C 7E 1B 78 */ mr r30, r3
/* 800622C4 0005F224 80 03 00 04 */ lwz r0, 4(r3)
/* 800622C8 0005F228 80 A3 00 08 */ lwz r5, 8(r3)
/* 800622CC 0005F22C 7C 00 28 00 */ cmpw r0, r5
/* 800622D0 0005F230 41 80 00 18 */ blt lbl_800622E8
/* 800622D4 0005F234 2C 05 00 00 */ cmpwi r5, 0
/* 800622D8 0005F238 38 80 00 04 */ li r4, 4
/* 800622DC 0005F23C 41 82 00 08 */ beq lbl_800622E4
/* 800622E0 0005F240 54 A4 08 3C */ slwi r4, r5, 1
lbl_800622E4:
/* 800622E4 0005F244 48 00 1C 99 */ bl sub_80063f7c
lbl_800622E8:
/* 800622E8 0005F248 80 1E 00 04 */ lwz r0, 4(r30)
/* 800622EC 0005F24C 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 800622F0 0005F250 1C 00 00 44 */ mulli r0, r0, 0x44
/* 800622F4 0005F254 7C 63 02 15 */ add. r3, r3, r0
/* 800622F8 0005F258 41 82 00 8C */ beq lbl_80062384
/* 800622FC 0005F25C 80 1F 00 00 */ lwz r0, 0(r31)
/* 80062300 0005F260 90 03 00 00 */ stw r0, 0(r3)
/* 80062304 0005F264 C0 1F 00 04 */ lfs f0, 4(r31)
/* 80062308 0005F268 D0 03 00 04 */ stfs f0, 4(r3)
/* 8006230C 0005F26C C0 1F 00 08 */ lfs f0, 8(r31)
/* 80062310 0005F270 D0 03 00 08 */ stfs f0, 8(r3)
/* 80062314 0005F274 C0 1F 00 0C */ lfs f0, 0xc(r31)
/* 80062318 0005F278 D0 03 00 0C */ stfs f0, 0xc(r3)
/* 8006231C 0005F27C C0 1F 00 10 */ lfs f0, 0x10(r31)
/* 80062320 0005F280 D0 03 00 10 */ stfs f0, 0x10(r3)
/* 80062324 0005F284 C0 1F 00 14 */ lfs f0, 0x14(r31)
/* 80062328 0005F288 D0 03 00 14 */ stfs f0, 0x14(r3)
/* 8006232C 0005F28C C0 1F 00 18 */ lfs f0, 0x18(r31)
/* 80062330 0005F290 D0 03 00 18 */ stfs f0, 0x18(r3)
/* 80062334 0005F294 C0 1F 00 1C */ lfs f0, 0x1c(r31)
/* 80062338 0005F298 D0 03 00 1C */ stfs f0, 0x1c(r3)
/* 8006233C 0005F29C C0 1F 00 20 */ lfs f0, 0x20(r31)
/* 80062340 0005F2A0 D0 03 00 20 */ stfs f0, 0x20(r3)
/* 80062344 0005F2A4 C0 1F 00 24 */ lfs f0, 0x24(r31)
/* 80062348 0005F2A8 D0 03 00 24 */ stfs f0, 0x24(r3)
/* 8006234C 0005F2AC C0 1F 00 28 */ lfs f0, 0x28(r31)
/* 80062350 0005F2B0 D0 03 00 28 */ stfs f0, 0x28(r3)
/* 80062354 0005F2B4 C0 1F 00 2C */ lfs f0, 0x2c(r31)
/* 80062358 0005F2B8 D0 03 00 2C */ stfs f0, 0x2c(r3)
/* 8006235C 0005F2BC C0 1F 00 30 */ lfs f0, 0x30(r31)
/* 80062360 0005F2C0 D0 03 00 30 */ stfs f0, 0x30(r3)
/* 80062364 0005F2C4 88 1F 00 34 */ lbz r0, 0x34(r31)
/* 80062368 0005F2C8 98 03 00 34 */ stb r0, 0x34(r3)
/* 8006236C 0005F2CC C0 1F 00 38 */ lfs f0, 0x38(r31)
/* 80062370 0005F2D0 D0 03 00 38 */ stfs f0, 0x38(r3)
/* 80062374 0005F2D4 80 1F 00 3C */ lwz r0, 0x3c(r31)
/* 80062378 0005F2D8 90 03 00 3C */ stw r0, 0x3c(r3)
/* 8006237C 0005F2DC C0 1F 00 40 */ lfs f0, 0x40(r31)
/* 80062380 0005F2E0 D0 03 00 40 */ stfs f0, 0x40(r3)
lbl_80062384:
/* 80062384 0005F2E4 80 7E 00 04 */ lwz r3, 4(r30)
/* 80062388 0005F2E8 38 03 00 01 */ addi r0, r3, 1
/* 8006238C 0005F2EC 90 1E 00 04 */ stw r0, 4(r30)
/* 80062390 0005F2F0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80062394 0005F2F4 83 C1 00 08 */ lwz r30, 8(r1)
/* 80062398 0005F2F8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8006239C 0005F2FC 7C 08 03 A6 */ mtlr r0
/* 800623A0 0005F300 38 21 00 10 */ addi r1, r1, 0x10
/* 800623A4 0005F304 4E 80 00 20 */ blr
.global sub_800623a8
sub_800623a8:
/* 800623A8 0005F308 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800623AC 0005F30C 7C 08 02 A6 */ mflr r0
/* 800623B0 0005F310 90 01 00 14 */ stw r0, 0x14(r1)
/* 800623B4 0005F314 93 E1 00 0C */ stw r31, 0xc(r1)
/* 800623B8 0005F318 7C 7F 1B 78 */ mr r31, r3
/* 800623BC 0005F31C 48 00 00 1D */ bl sub_800623d8
/* 800623C0 0005F320 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800623C4 0005F324 7F E3 FB 78 */ mr r3, r31
/* 800623C8 0005F328 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 800623CC 0005F32C 7C 08 03 A6 */ mtlr r0
/* 800623D0 0005F330 38 21 00 10 */ addi r1, r1, 0x10
/* 800623D4 0005F334 4E 80 00 20 */ blr
.global sub_800623d8
sub_800623d8:
/* 800623D8 0005F338 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800623DC 0005F33C 7C 08 02 A6 */ mflr r0
/* 800623E0 0005F340 90 01 00 14 */ stw r0, 0x14(r1)
/* 800623E4 0005F344 93 E1 00 0C */ stw r31, 0xc(r1)
/* 800623E8 0005F348 7C 9F 23 78 */ mr r31, r4
/* 800623EC 0005F34C 93 C1 00 08 */ stw r30, 8(r1)
/* 800623F0 0005F350 7C 7E 1B 78 */ mr r30, r3
/* 800623F4 0005F354 88 03 00 3C */ lbz r0, 0x3c(r3)
/* 800623F8 0005F358 28 00 00 00 */ cmplwi r0, 0
/* 800623FC 0005F35C 40 82 00 98 */ bne lbl_80062494
/* 80062400 0005F360 28 1E 00 00 */ cmplwi r30, 0
/* 80062404 0005F364 41 82 00 84 */ beq lbl_80062488
/* 80062408 0005F368 88 7F 00 00 */ lbz r3, 0(r31)
/* 8006240C 0005F36C 38 00 00 00 */ li r0, 0
/* 80062410 0005F370 98 7E 00 00 */ stb r3, 0(r30)
/* 80062414 0005F374 80 7F 00 04 */ lwz r3, 4(r31)
/* 80062418 0005F378 90 7E 00 04 */ stw r3, 4(r30)
/* 8006241C 0005F37C 98 1F 00 00 */ stb r0, 0(r31)
/* 80062420 0005F380 80 1F 00 08 */ lwz r0, 8(r31)
/* 80062424 0005F384 90 1E 00 08 */ stw r0, 8(r30)
/* 80062428 0005F388 80 1F 00 0C */ lwz r0, 0xc(r31)
/* 8006242C 0005F38C 90 1E 00 0C */ stw r0, 0xc(r30)
/* 80062430 0005F390 80 1F 00 10 */ lwz r0, 0x10(r31)
/* 80062434 0005F394 90 1E 00 10 */ stw r0, 0x10(r30)
/* 80062438 0005F398 80 1F 00 14 */ lwz r0, 0x14(r31)
/* 8006243C 0005F39C 90 1E 00 14 */ stw r0, 0x14(r30)
/* 80062440 0005F3A0 C0 1F 00 18 */ lfs f0, 0x18(r31)
/* 80062444 0005F3A4 D0 1E 00 18 */ stfs f0, 0x18(r30)
/* 80062448 0005F3A8 C0 1F 00 1C */ lfs f0, 0x1c(r31)
/* 8006244C 0005F3AC D0 1E 00 1C */ stfs f0, 0x1c(r30)
/* 80062450 0005F3B0 C0 1F 00 20 */ lfs f0, 0x20(r31)
/* 80062454 0005F3B4 D0 1E 00 20 */ stfs f0, 0x20(r30)
/* 80062458 0005F3B8 C0 1F 00 24 */ lfs f0, 0x24(r31)
/* 8006245C 0005F3BC D0 1E 00 24 */ stfs f0, 0x24(r30)
/* 80062460 0005F3C0 C0 1F 00 28 */ lfs f0, 0x28(r31)
/* 80062464 0005F3C4 D0 1E 00 28 */ stfs f0, 0x28(r30)
/* 80062468 0005F3C8 C0 1F 00 2C */ lfs f0, 0x2c(r31)
/* 8006246C 0005F3CC D0 1E 00 2C */ stfs f0, 0x2c(r30)
/* 80062470 0005F3D0 80 1F 00 30 */ lwz r0, 0x30(r31)
/* 80062474 0005F3D4 90 1E 00 30 */ stw r0, 0x30(r30)
/* 80062478 0005F3D8 80 1F 00 34 */ lwz r0, 0x34(r31)
/* 8006247C 0005F3DC 90 1E 00 34 */ stw r0, 0x34(r30)
/* 80062480 0005F3E0 80 1F 00 38 */ lwz r0, 0x38(r31)
/* 80062484 0005F3E4 90 1E 00 38 */ stw r0, 0x38(r30)
lbl_80062488:
/* 80062488 0005F3E8 38 00 00 01 */ li r0, 1
/* 8006248C 0005F3EC 98 1E 00 3C */ stb r0, 0x3c(r30)
/* 80062490 0005F3F0 48 00 00 A0 */ b lbl_80062530
lbl_80062494:
/* 80062494 0005F3F4 7C 1F F0 40 */ cmplw r31, r30
/* 80062498 0005F3F8 41 82 00 30 */ beq lbl_800624C8
/* 8006249C 0005F3FC 88 1E 00 00 */ lbz r0, 0(r30)
/* 800624A0 0005F400 28 00 00 00 */ cmplwi r0, 0
/* 800624A4 0005F404 41 82 00 0C */ beq lbl_800624B0
/* 800624A8 0005F408 80 7E 00 04 */ lwz r3, 4(r30)
/* 800624AC 0005F40C 48 2B 34 85 */ bl Free__7CMemoryFPCv
lbl_800624B0:
/* 800624B0 0005F410 88 7F 00 00 */ lbz r3, 0(r31)
/* 800624B4 0005F414 38 00 00 00 */ li r0, 0
/* 800624B8 0005F418 98 7E 00 00 */ stb r3, 0(r30)
/* 800624BC 0005F41C 80 7F 00 04 */ lwz r3, 4(r31)
/* 800624C0 0005F420 90 7E 00 04 */ stw r3, 4(r30)
/* 800624C4 0005F424 98 1F 00 00 */ stb r0, 0(r31)
lbl_800624C8:
/* 800624C8 0005F428 80 1F 00 08 */ lwz r0, 8(r31)
/* 800624CC 0005F42C 90 1E 00 08 */ stw r0, 8(r30)
/* 800624D0 0005F430 80 1F 00 0C */ lwz r0, 0xc(r31)
/* 800624D4 0005F434 90 1E 00 0C */ stw r0, 0xc(r30)
/* 800624D8 0005F438 80 1F 00 10 */ lwz r0, 0x10(r31)
/* 800624DC 0005F43C 90 1E 00 10 */ stw r0, 0x10(r30)
/* 800624E0 0005F440 80 1F 00 14 */ lwz r0, 0x14(r31)
/* 800624E4 0005F444 90 1E 00 14 */ stw r0, 0x14(r30)
/* 800624E8 0005F448 80 7F 00 18 */ lwz r3, 0x18(r31)
/* 800624EC 0005F44C 80 1F 00 1C */ lwz r0, 0x1c(r31)
/* 800624F0 0005F450 90 7E 00 18 */ stw r3, 0x18(r30)
/* 800624F4 0005F454 90 1E 00 1C */ stw r0, 0x1c(r30)
/* 800624F8 0005F458 80 7F 00 20 */ lwz r3, 0x20(r31)
/* 800624FC 0005F45C 80 1F 00 24 */ lwz r0, 0x24(r31)
/* 80062500 0005F460 90 7E 00 20 */ stw r3, 0x20(r30)
/* 80062504 0005F464 90 1E 00 24 */ stw r0, 0x24(r30)
/* 80062508 0005F468 80 7F 00 28 */ lwz r3, 0x28(r31)
/* 8006250C 0005F46C 80 1F 00 2C */ lwz r0, 0x2c(r31)
/* 80062510 0005F470 90 7E 00 28 */ stw r3, 0x28(r30)
/* 80062514 0005F474 90 1E 00 2C */ stw r0, 0x2c(r30)
/* 80062518 0005F478 80 1F 00 30 */ lwz r0, 0x30(r31)
/* 8006251C 0005F47C 90 1E 00 30 */ stw r0, 0x30(r30)
/* 80062520 0005F480 80 1F 00 34 */ lwz r0, 0x34(r31)
/* 80062524 0005F484 90 1E 00 34 */ stw r0, 0x34(r30)
/* 80062528 0005F488 80 1F 00 38 */ lwz r0, 0x38(r31)
/* 8006252C 0005F48C 90 1E 00 38 */ stw r0, 0x38(r30)
lbl_80062530:
/* 80062530 0005F490 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80062534 0005F494 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80062538 0005F498 83 C1 00 08 */ lwz r30, 8(r1)
/* 8006253C 0005F49C 7C 08 03 A6 */ mtlr r0
/* 80062540 0005F4A0 38 21 00 10 */ addi r1, r1, 0x10
/* 80062544 0005F4A4 4E 80 00 20 */ blr
.global FillInStaticGeometry__9CGameAreaFv
FillInStaticGeometry__9CGameAreaFv:
/* 80062548 0005F4A8 94 21 FF 00 */ stwu r1, -0x100(r1)
/* 8006254C 0005F4AC 7C 08 02 A6 */ mflr r0
/* 80062550 0005F4B0 90 01 01 04 */ stw r0, 0x104(r1)
/* 80062554 0005F4B4 BE 41 00 C8 */ stmw r18, 0xc8(r1)
/* 80062558 0005F4B8 7C 72 1B 78 */ mr r18, r3
/* 8006255C 0005F4BC 80 63 01 2C */ lwz r3, 0x12c(r3)
/* 80062560 0005F4C0 82 72 01 1C */ lwz r19, 0x11c(r18)
/* 80062564 0005F4C4 80 03 10 EC */ lwz r0, 0x10ec(r3)
/* 80062568 0005F4C8 1C 00 00 0C */ mulli r0, r0, 0xc
/* 8006256C 0005F4CC 7E 73 02 14 */ add r19, r19, r0
/* 80062570 0005F4D0 80 13 00 04 */ lwz r0, 4(r19)
/* 80062574 0005F4D4 90 03 10 D4 */ stw r0, 0x10d4(r3)
/* 80062578 0005F4D8 80 72 01 2C */ lwz r3, 0x12c(r18)
/* 8006257C 0005F4DC 38 63 00 4C */ addi r3, r3, 0x4c
/* 80062580 0005F4E0 48 00 03 E5 */ bl "clear__Q24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>Fv"
/* 80062584 0005F4E4 80 72 01 2C */ lwz r3, 0x12c(r18)
/* 80062588 0005F4E8 38 00 00 00 */ li r0, 0
/* 8006258C 0005F4EC 3B 61 00 A0 */ addi r27, r1, 0xa0
/* 80062590 0005F4F0 3B 93 00 0C */ addi r28, r19, 0xc
/* 80062594 0005F4F4 83 A3 00 54 */ lwz r29, 0x54(r3)
/* 80062598 0005F4F8 3B 40 00 00 */ li r26, 0
/* 8006259C 0005F4FC 90 01 00 44 */ stw r0, 0x44(r1)
/* 800625A0 0005F500 90 01 00 48 */ stw r0, 0x48(r1)
/* 800625A4 0005F504 90 01 00 4C */ stw r0, 0x4c(r1)
/* 800625A8 0005F508 48 00 01 68 */ b lbl_80062710
lbl_800625AC:
/* 800625AC 0005F50C 80 7C 00 4C */ lwz r3, 0x4c(r28)
/* 800625B0 0005F510 83 3C 00 04 */ lwz r25, 4(r28)
/* 800625B4 0005F514 83 C3 00 00 */ lwz r30, 0(r3)
/* 800625B8 0005F518 83 1C 00 10 */ lwz r24, 0x10(r28)
/* 800625BC 0005F51C 28 1E 00 00 */ cmplwi r30, 0
/* 800625C0 0005F520 82 FC 00 1C */ lwz r23, 0x1c(r28)
/* 800625C4 0005F524 82 DC 00 28 */ lwz r22, 0x28(r28)
/* 800625C8 0005F528 82 BC 00 34 */ lwz r21, 0x34(r28)
/* 800625CC 0005F52C 82 9C 00 40 */ lwz r20, 0x40(r28)
/* 800625D0 0005F530 3B 9C 00 54 */ addi r28, r28, 0x54
/* 800625D4 0005F534 41 82 01 38 */ beq lbl_8006270C
/* 800625D8 0005F538 7F C4 F3 78 */ mr r4, r30
/* 800625DC 0005F53C 38 61 00 40 */ addi r3, r1, 0x40
/* 800625E0 0005F540 48 00 16 31 */ bl sub_80063c10
/* 800625E4 0005F544 3A 60 00 00 */ li r19, 0
/* 800625E8 0005F548 48 00 00 5C */ b lbl_80062644
lbl_800625EC:
/* 800625EC 0005F54C 80 01 00 44 */ lwz r0, 0x44(r1)
/* 800625F0 0005F550 80 A1 00 48 */ lwz r5, 0x48(r1)
/* 800625F4 0005F554 83 FC 00 04 */ lwz r31, 4(r28)
/* 800625F8 0005F558 7C 00 28 00 */ cmpw r0, r5
/* 800625FC 0005F55C 41 80 00 1C */ blt lbl_80062618
/* 80062600 0005F560 2C 05 00 00 */ cmpwi r5, 0
/* 80062604 0005F564 38 61 00 40 */ addi r3, r1, 0x40
/* 80062608 0005F568 38 80 00 04 */ li r4, 4
/* 8006260C 0005F56C 41 82 00 08 */ beq lbl_80062614
/* 80062610 0005F570 54 A4 08 3C */ slwi r4, r5, 1
lbl_80062614:
/* 80062614 0005F574 48 00 15 FD */ bl sub_80063c10
lbl_80062618:
/* 80062618 0005F578 80 01 00 44 */ lwz r0, 0x44(r1)
/* 8006261C 0005F57C 80 61 00 4C */ lwz r3, 0x4c(r1)
/* 80062620 0005F580 54 00 10 3A */ slwi r0, r0, 2
/* 80062624 0005F584 7C 63 02 15 */ add. r3, r3, r0
/* 80062628 0005F588 41 82 00 08 */ beq lbl_80062630
/* 8006262C 0005F58C 93 E3 00 00 */ stw r31, 0(r3)
lbl_80062630:
/* 80062630 0005F590 80 61 00 44 */ lwz r3, 0x44(r1)
/* 80062634 0005F594 3B 9C 00 0C */ addi r28, r28, 0xc
/* 80062638 0005F598 3A 73 00 01 */ addi r19, r19, 1
/* 8006263C 0005F59C 38 03 00 01 */ addi r0, r3, 1
/* 80062640 0005F5A0 90 01 00 44 */ stw r0, 0x44(r1)
lbl_80062644:
/* 80062644 0005F5A4 7C 13 F0 40 */ cmplw r19, r30
/* 80062648 0005F5A8 41 80 FF A4 */ blt lbl_800625EC
/* 8006264C 0005F5AC 38 01 00 40 */ addi r0, r1, 0x40
/* 80062650 0005F5B0 7F 24 CB 78 */ mr r4, r25
/* 80062654 0005F5B4 90 01 00 08 */ stw r0, 8(r1)
/* 80062658 0005F5B8 7F 06 C3 78 */ mr r6, r24
/* 8006265C 0005F5BC 7E E7 BB 78 */ mr r7, r23
/* 80062660 0005F5C0 7E C8 B3 78 */ mr r8, r22
/* 80062664 0005F5C4 80 B2 01 2C */ lwz r5, 0x12c(r18)
/* 80062668 0005F5C8 7E A9 AB 78 */ mr r9, r21
/* 8006266C 0005F5CC 7E 8A A3 78 */ mr r10, r20
/* 80062670 0005F5D0 38 61 00 50 */ addi r3, r1, 0x50
/* 80062674 0005F5D4 80 A5 10 D4 */ lwz r5, 0x10d4(r5)
/* 80062678 0005F5D8 48 24 01 01 */ bl "__ct__21CMetroidModelInstanceFPCvPCvPCvPCvPCvPCvPCvRCQ24rstl37vector<Pv,Q24rstl17rmemory_allocator>"
/* 8006267C 0005F5DC 80 72 01 2C */ lwz r3, 0x12c(r18)
/* 80062680 0005F5E0 38 81 00 50 */ addi r4, r1, 0x50
/* 80062684 0005F5E4 38 63 00 4C */ addi r3, r3, 0x4c
/* 80062688 0005F5E8 48 00 00 F9 */ bl sub_80062780
/* 8006268C 0005F5EC 28 1B 00 00 */ cmplwi r27, 0
/* 80062690 0005F5F0 41 82 00 44 */ beq lbl_800626D4
/* 80062694 0005F5F4 80 01 00 A4 */ lwz r0, 0xa4(r1)
/* 80062698 0005F5F8 80 61 00 AC */ lwz r3, 0xac(r1)
/* 8006269C 0005F5FC 54 00 10 3A */ slwi r0, r0, 2
/* 800626A0 0005F600 7C 03 02 14 */ add r0, r3, r0
/* 800626A4 0005F604 90 61 00 14 */ stw r3, 0x14(r1)
/* 800626A8 0005F608 7C 64 1B 78 */ mr r4, r3
/* 800626AC 0005F60C 90 01 00 1C */ stw r0, 0x1c(r1)
/* 800626B0 0005F610 90 01 00 18 */ stw r0, 0x18(r1)
/* 800626B4 0005F614 90 61 00 10 */ stw r3, 0x10(r1)
/* 800626B8 0005F618 48 00 00 08 */ b lbl_800626C0
lbl_800626BC:
/* 800626BC 0005F61C 38 84 00 04 */ addi r4, r4, 4
lbl_800626C0:
/* 800626C0 0005F620 7C 04 00 40 */ cmplw r4, r0
/* 800626C4 0005F624 40 82 FF F8 */ bne lbl_800626BC
/* 800626C8 0005F628 28 03 00 00 */ cmplwi r3, 0
/* 800626CC 0005F62C 41 82 00 08 */ beq lbl_800626D4
/* 800626D0 0005F630 48 2B 32 61 */ bl Free__7CMemoryFPCv
lbl_800626D4:
/* 800626D4 0005F634 80 01 00 44 */ lwz r0, 0x44(r1)
/* 800626D8 0005F638 80 61 00 4C */ lwz r3, 0x4c(r1)
/* 800626DC 0005F63C 54 00 10 3A */ slwi r0, r0, 2
/* 800626E0 0005F640 7C 03 02 14 */ add r0, r3, r0
/* 800626E4 0005F644 90 61 00 34 */ stw r3, 0x34(r1)
/* 800626E8 0005F648 90 01 00 3C */ stw r0, 0x3c(r1)
/* 800626EC 0005F64C 90 01 00 38 */ stw r0, 0x38(r1)
/* 800626F0 0005F650 90 61 00 30 */ stw r3, 0x30(r1)
/* 800626F4 0005F654 48 00 00 08 */ b lbl_800626FC
lbl_800626F8:
/* 800626F8 0005F658 38 63 00 04 */ addi r3, r3, 4
lbl_800626FC:
/* 800626FC 0005F65C 7C 03 00 40 */ cmplw r3, r0
/* 80062700 0005F660 40 82 FF F8 */ bne lbl_800626F8
/* 80062704 0005F664 38 00 00 00 */ li r0, 0
/* 80062708 0005F668 90 01 00 44 */ stw r0, 0x44(r1)
lbl_8006270C:
/* 8006270C 0005F66C 3B 5A 00 01 */ addi r26, r26, 1
lbl_80062710:
/* 80062710 0005F670 7C 1A E8 00 */ cmpw r26, r29
/* 80062714 0005F674 41 80 FE 98 */ blt lbl_800625AC
/* 80062718 0005F678 80 72 01 2C */ lwz r3, 0x12c(r18)
/* 8006271C 0005F67C 38 80 00 01 */ li r4, 1
/* 80062720 0005F680 88 03 11 08 */ lbz r0, 0x1108(r3)
/* 80062724 0005F684 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19
/* 80062728 0005F688 98 03 11 08 */ stb r0, 0x1108(r3)
/* 8006272C 0005F68C 80 01 00 44 */ lwz r0, 0x44(r1)
/* 80062730 0005F690 80 61 00 4C */ lwz r3, 0x4c(r1)
/* 80062734 0005F694 54 00 10 3A */ slwi r0, r0, 2
/* 80062738 0005F698 7C 03 02 14 */ add r0, r3, r0
/* 8006273C 0005F69C 90 61 00 24 */ stw r3, 0x24(r1)
/* 80062740 0005F6A0 7C 64 1B 78 */ mr r4, r3
/* 80062744 0005F6A4 90 01 00 2C */ stw r0, 0x2c(r1)
/* 80062748 0005F6A8 90 01 00 28 */ stw r0, 0x28(r1)
/* 8006274C 0005F6AC 90 61 00 20 */ stw r3, 0x20(r1)
/* 80062750 0005F6B0 48 00 00 08 */ b lbl_80062758
lbl_80062754:
/* 80062754 0005F6B4 38 84 00 04 */ addi r4, r4, 4
lbl_80062758:
/* 80062758 0005F6B8 7C 04 00 40 */ cmplw r4, r0
/* 8006275C 0005F6BC 40 82 FF F8 */ bne lbl_80062754
/* 80062760 0005F6C0 28 03 00 00 */ cmplwi r3, 0
/* 80062764 0005F6C4 41 82 00 08 */ beq lbl_8006276C
/* 80062768 0005F6C8 48 2B 31 C9 */ bl Free__7CMemoryFPCv
lbl_8006276C:
/* 8006276C 0005F6CC BA 41 00 C8 */ lmw r18, 0xc8(r1)
/* 80062770 0005F6D0 80 01 01 04 */ lwz r0, 0x104(r1)
/* 80062774 0005F6D4 7C 08 03 A6 */ mtlr r0
/* 80062778 0005F6D8 38 21 01 00 */ addi r1, r1, 0x100
/* 8006277C 0005F6DC 4E 80 00 20 */ blr
.global sub_80062780
sub_80062780:
/* 80062780 0005F6E0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80062784 0005F6E4 7C 08 02 A6 */ mflr r0
/* 80062788 0005F6E8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8006278C 0005F6EC 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80062790 0005F6F0 7C 9F 23 78 */ mr r31, r4
/* 80062794 0005F6F4 93 C1 00 08 */ stw r30, 8(r1)
/* 80062798 0005F6F8 7C 7E 1B 78 */ mr r30, r3
/* 8006279C 0005F6FC 80 03 00 04 */ lwz r0, 4(r3)
/* 800627A0 0005F700 80 A3 00 08 */ lwz r5, 8(r3)
/* 800627A4 0005F704 7C 00 28 00 */ cmpw r0, r5
/* 800627A8 0005F708 41 80 00 18 */ blt lbl_800627C0
/* 800627AC 0005F70C 2C 05 00 00 */ cmpwi r5, 0
/* 800627B0 0005F710 38 80 00 04 */ li r4, 4
/* 800627B4 0005F714 41 82 00 08 */ beq lbl_800627BC
/* 800627B8 0005F718 54 A4 08 3C */ slwi r4, r5, 1
lbl_800627BC:
/* 800627BC 0005F71C 48 00 15 41 */ bl sub_80063cfc
lbl_800627C0:
/* 800627C0 0005F720 80 1E 00 04 */ lwz r0, 4(r30)
/* 800627C4 0005F724 7F E4 FB 78 */ mr r4, r31
/* 800627C8 0005F728 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 800627CC 0005F72C 1C 00 00 74 */ mulli r0, r0, 0x74
/* 800627D0 0005F730 7C 63 02 14 */ add r3, r3, r0
/* 800627D4 0005F734 48 00 00 29 */ bl sub_800627fc
/* 800627D8 0005F738 80 7E 00 04 */ lwz r3, 4(r30)
/* 800627DC 0005F73C 38 03 00 01 */ addi r0, r3, 1
/* 800627E0 0005F740 90 1E 00 04 */ stw r0, 4(r30)
/* 800627E4 0005F744 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 800627E8 0005F748 83 C1 00 08 */ lwz r30, 8(r1)
/* 800627EC 0005F74C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800627F0 0005F750 7C 08 03 A6 */ mtlr r0
/* 800627F4 0005F754 38 21 00 10 */ addi r1, r1, 0x10
/* 800627F8 0005F758 4E 80 00 20 */ blr
.global sub_800627fc
sub_800627fc:
/* 800627FC 0005F75C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80062800 0005F760 7C 08 02 A6 */ mflr r0
/* 80062804 0005F764 28 03 00 00 */ cmplwi r3, 0
/* 80062808 0005F768 90 01 00 14 */ stw r0, 0x14(r1)
/* 8006280C 0005F76C 41 82 00 08 */ beq lbl_80062814
/* 80062810 0005F770 48 00 00 15 */ bl sub_80062824
lbl_80062814:
/* 80062814 0005F774 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80062818 0005F778 7C 08 03 A6 */ mtlr r0
/* 8006281C 0005F77C 38 21 00 10 */ addi r1, r1, 0x10
/* 80062820 0005F780 4E 80 00 20 */ blr
.global sub_80062824
sub_80062824:
/* 80062824 0005F784 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80062828 0005F788 7C 08 02 A6 */ mflr r0
/* 8006282C 0005F78C 90 01 00 14 */ stw r0, 0x14(r1)
/* 80062830 0005F790 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80062834 0005F794 7C 9F 23 78 */ mr r31, r4
/* 80062838 0005F798 93 C1 00 08 */ stw r30, 8(r1)
/* 8006283C 0005F79C 7C 7E 1B 78 */ mr r30, r3
/* 80062840 0005F7A0 38 7E 00 04 */ addi r3, r30, 4
/* 80062844 0005F7A4 80 04 00 00 */ lwz r0, 0(r4)
/* 80062848 0005F7A8 38 9F 00 04 */ addi r4, r31, 4
/* 8006284C 0005F7AC 90 1E 00 00 */ stw r0, 0(r30)
/* 80062850 0005F7B0 48 2B 03 25 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 80062854 0005F7B4 C0 1F 00 34 */ lfs f0, 0x34(r31)
/* 80062858 0005F7B8 D0 1E 00 34 */ stfs f0, 0x34(r30)
/* 8006285C 0005F7BC C0 1F 00 38 */ lfs f0, 0x38(r31)
/* 80062860 0005F7C0 D0 1E 00 38 */ stfs f0, 0x38(r30)
/* 80062864 0005F7C4 C0 1F 00 3C */ lfs f0, 0x3c(r31)
/* 80062868 0005F7C8 D0 1E 00 3C */ stfs f0, 0x3c(r30)
/* 8006286C 0005F7CC C0 1F 00 40 */ lfs f0, 0x40(r31)
/* 80062870 0005F7D0 D0 1E 00 40 */ stfs f0, 0x40(r30)
/* 80062874 0005F7D4 C0 1F 00 44 */ lfs f0, 0x44(r31)
/* 80062878 0005F7D8 D0 1E 00 44 */ stfs f0, 0x44(r30)
/* 8006287C 0005F7DC C0 1F 00 48 */ lfs f0, 0x48(r31)
/* 80062880 0005F7E0 D0 1E 00 48 */ stfs f0, 0x48(r30)
/* 80062884 0005F7E4 80 1F 00 4C */ lwz r0, 0x4c(r31)
/* 80062888 0005F7E8 90 1E 00 4C */ stw r0, 0x4c(r30)
/* 8006288C 0005F7EC 80 1F 00 54 */ lwz r0, 0x54(r31)
/* 80062890 0005F7F0 90 1E 00 54 */ stw r0, 0x54(r30)
/* 80062894 0005F7F4 80 1F 00 58 */ lwz r0, 0x58(r31)
/* 80062898 0005F7F8 90 1E 00 58 */ stw r0, 0x58(r30)
/* 8006289C 0005F7FC 80 1F 00 54 */ lwz r0, 0x54(r31)
/* 800628A0 0005F800 2C 00 00 00 */ cmpwi r0, 0
/* 800628A4 0005F804 40 82 00 1C */ bne lbl_800628C0
/* 800628A8 0005F808 80 1F 00 58 */ lwz r0, 0x58(r31)
/* 800628AC 0005F80C 2C 00 00 00 */ cmpwi r0, 0
/* 800628B0 0005F810 40 82 00 10 */ bne lbl_800628C0
/* 800628B4 0005F814 38 00 00 00 */ li r0, 0
/* 800628B8 0005F818 90 1E 00 5C */ stw r0, 0x5c(r30)
/* 800628BC 0005F81C 48 00 00 64 */ b lbl_80062920
lbl_800628C0:
/* 800628C0 0005F820 80 1E 00 58 */ lwz r0, 0x58(r30)
/* 800628C4 0005F824 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d
/* 800628C8 0005F828 40 82 00 10 */ bne lbl_800628D8
/* 800628CC 0005F82C 38 00 00 00 */ li r0, 0
/* 800628D0 0005F830 90 1E 00 5C */ stw r0, 0x5c(r30)
/* 800628D4 0005F834 48 00 00 18 */ b lbl_800628EC
lbl_800628D8:
/* 800628D8 0005F838 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha
/* 800628DC 0005F83C 38 A0 00 00 */ li r5, 0
/* 800628E0 0005F840 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l
/* 800628E4 0005F844 48 2B 2F 35 */ bl __nwa__FUlPCcPCc
/* 800628E8 0005F848 90 7E 00 5C */ stw r3, 0x5c(r30)
lbl_800628EC:
/* 800628EC 0005F84C 80 1E 00 54 */ lwz r0, 0x54(r30)
/* 800628F0 0005F850 80 9F 00 5C */ lwz r4, 0x5c(r31)
/* 800628F4 0005F854 80 7E 00 5C */ lwz r3, 0x5c(r30)
/* 800628F8 0005F858 7C 09 03 A6 */ mtctr r0
/* 800628FC 0005F85C 2C 00 00 00 */ cmpwi r0, 0
/* 80062900 0005F860 40 81 00 20 */ ble lbl_80062920
lbl_80062904:
/* 80062904 0005F864 28 03 00 00 */ cmplwi r3, 0
/* 80062908 0005F868 41 82 00 0C */ beq lbl_80062914
/* 8006290C 0005F86C 80 04 00 00 */ lwz r0, 0(r4)
/* 80062910 0005F870 90 03 00 00 */ stw r0, 0(r3)
lbl_80062914:
/* 80062914 0005F874 38 63 00 04 */ addi r3, r3, 4
/* 80062918 0005F878 38 84 00 04 */ addi r4, r4, 4
/* 8006291C 0005F87C 42 00 FF E8 */ bdnz lbl_80062904
lbl_80062920:
/* 80062920 0005F880 80 1F 00 60 */ lwz r0, 0x60(r31)
/* 80062924 0005F884 7F C3 F3 78 */ mr r3, r30
/* 80062928 0005F888 90 1E 00 60 */ stw r0, 0x60(r30)
/* 8006292C 0005F88C 80 1F 00 64 */ lwz r0, 0x64(r31)
/* 80062930 0005F890 90 1E 00 64 */ stw r0, 0x64(r30)
/* 80062934 0005F894 80 1F 00 68 */ lwz r0, 0x68(r31)
/* 80062938 0005F898 90 1E 00 68 */ stw r0, 0x68(r30)
/* 8006293C 0005F89C 80 1F 00 6C */ lwz r0, 0x6c(r31)
/* 80062940 0005F8A0 90 1E 00 6C */ stw r0, 0x6c(r30)
/* 80062944 0005F8A4 80 1F 00 70 */ lwz r0, 0x70(r31)
/* 80062948 0005F8A8 90 1E 00 70 */ stw r0, 0x70(r30)
/* 8006294C 0005F8AC 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80062950 0005F8B0 83 C1 00 08 */ lwz r30, 8(r1)
/* 80062954 0005F8B4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80062958 0005F8B8 7C 08 03 A6 */ mtlr r0
/* 8006295C 0005F8BC 38 21 00 10 */ addi r1, r1, 0x10
/* 80062960 0005F8C0 4E 80 00 20 */ blr
.global "clear__Q24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>Fv"
"clear__Q24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>Fv":
/* 80062964 0005F8C4 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80062968 0005F8C8 7C 08 02 A6 */ mflr r0
/* 8006296C 0005F8CC 90 01 00 24 */ stw r0, 0x24(r1)
/* 80062970 0005F8D0 38 81 00 0C */ addi r4, r1, 0xc
/* 80062974 0005F8D4 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80062978 0005F8D8 7C 7F 1B 78 */ mr r31, r3
/* 8006297C 0005F8DC 38 61 00 14 */ addi r3, r1, 0x14
/* 80062980 0005F8E0 80 1F 00 04 */ lwz r0, 4(r31)
/* 80062984 0005F8E4 80 BF 00 0C */ lwz r5, 0xc(r31)
/* 80062988 0005F8E8 1C 00 00 74 */ mulli r0, r0, 0x74
/* 8006298C 0005F8EC 7C A5 02 14 */ add r5, r5, r0
/* 80062990 0005F8F0 90 A1 00 0C */ stw r5, 0xc(r1)
/* 80062994 0005F8F4 80 1F 00 0C */ lwz r0, 0xc(r31)
/* 80062998 0005F8F8 90 A1 00 08 */ stw r5, 8(r1)
/* 8006299C 0005F8FC 90 01 00 10 */ stw r0, 0x10(r1)
/* 800629A0 0005F900 90 01 00 14 */ stw r0, 0x14(r1)
/* 800629A4 0005F904 4B FF DB A5 */ bl "destroy<Q24rstl136pointer_iterator<21CMetroidModelInstance,Q24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl136pointer_iterator<21CMetroidModelInstance,Q24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl136pointer_iterator<21CMetroidModelInstance,Q24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>"
/* 800629A8 0005F908 38 00 00 00 */ li r0, 0
/* 800629AC 0005F90C 90 1F 00 04 */ stw r0, 4(r31)
/* 800629B0 0005F910 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800629B4 0005F914 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 800629B8 0005F918 7C 08 03 A6 */ mtlr r0
/* 800629BC 0005F91C 38 21 00 20 */ addi r1, r1, 0x20
/* 800629C0 0005F920 4E 80 00 20 */ blr
.global GetScriptingMemoryAlways__FRC9IGameArea
GetScriptingMemoryAlways__FRC9IGameArea:
/* 800629C4 0005F924 94 21 FF 90 */ stwu r1, -0x70(r1)
/* 800629C8 0005F928 7C 08 02 A6 */ mflr r0
/* 800629CC 0005F92C 90 01 00 74 */ stw r0, 0x74(r1)
/* 800629D0 0005F930 BF 41 00 58 */ stmw r26, 0x58(r1)
/* 800629D4 0005F934 7C 7D 1B 78 */ mr r29, r3
/* 800629D8 0005F938 7C 83 23 78 */ mr r3, r4
/* 800629DC 0005F93C 81 84 00 00 */ lwz r12, 0(r4)
/* 800629E0 0005F940 81 8C 00 20 */ lwz r12, 0x20(r12)
/* 800629E4 0005F944 7D 89 03 A6 */ mtctr r12
/* 800629E8 0005F948 4E 80 04 21 */ bctrl
/* 800629EC 0005F94C 3C A0 4D 52 */ lis r5, 0x4D524541@ha
/* 800629F0 0005F950 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha
/* 800629F4 0005F954 38 05 45 41 */ addi r0, r5, 0x4D524541@l
/* 800629F8 0005F958 90 61 00 40 */ stw r3, 0x40(r1)
/* 800629FC 0005F95C 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l
/* 80062A00 0005F960 38 60 00 60 */ li r3, 0x60
/* 80062A04 0005F964 90 01 00 3C */ stw r0, 0x3c(r1)
/* 80062A08 0005F968 38 A0 00 00 */ li r5, 0
/* 80062A0C 0005F96C 48 2B 2E 0D */ bl __nwa__FUlPCcPCc
/* 80062A10 0005F970 7C 03 00 D0 */ neg r0, r3
/* 80062A14 0005F974 7C 7B 1B 78 */ mr r27, r3
/* 80062A18 0005F978 7C 00 1B 78 */ or r0, r0, r3
/* 80062A1C 0005F97C 80 AD A0 60 */ lwz r5, gpResourceFactory@sda21(r13)
/* 80062A20 0005F980 54 00 0F FE */ srwi r0, r0, 0x1f
/* 80062A24 0005F984 90 61 00 38 */ stw r3, 0x38(r1)
/* 80062A28 0005F988 38 65 00 04 */ addi r3, r5, 4
/* 80062A2C 0005F98C 38 81 00 3C */ addi r4, r1, 0x3c
/* 80062A30 0005F990 98 01 00 34 */ stb r0, 0x34(r1)
/* 80062A34 0005F994 7F 67 DB 78 */ mr r7, r27
/* 80062A38 0005F998 38 A0 00 00 */ li r5, 0
/* 80062A3C 0005F99C 38 C0 00 60 */ li r6, 0x60
/* 80062A40 0005F9A0 48 2D 8C 71 */ bl LoadNewResourcePartSync__10CResLoaderFRC10SObjectTagiiPc
/* 80062A44 0005F9A4 28 03 00 00 */ cmplwi r3, 0
/* 80062A48 0005F9A8 90 61 00 20 */ stw r3, 0x20(r1)
/* 80062A4C 0005F9AC 41 82 02 C8 */ beq lbl_80062D14
/* 80062A50 0005F9B0 80 7B 00 00 */ lwz r3, 0(r27)
/* 80062A54 0005F9B4 80 9B 00 04 */ lwz r4, 4(r27)
/* 80062A58 0005F9B8 3C 03 21 53 */ addis r0, r3, 0x2153
/* 80062A5C 0005F9BC 28 00 BE EF */ cmplwi r0, 0xbeef
/* 80062A60 0005F9C0 40 82 02 B4 */ bne lbl_80062D14
/* 80062A64 0005F9C4 2C 04 00 0C */ cmpwi r4, 0xc
/* 80062A68 0005F9C8 41 80 02 AC */ blt lbl_80062D14
/* 80062A6C 0005F9CC 2C 04 00 0F */ cmpwi r4, 0xf
/* 80062A70 0005F9D0 41 81 02 A4 */ bgt lbl_80062D14
/* 80062A74 0005F9D4 83 9B 00 3C */ lwz r28, 0x3c(r27)
/* 80062A78 0005F9D8 38 81 00 3C */ addi r4, r1, 0x3c
/* 80062A7C 0005F9DC 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13)
/* 80062A80 0005F9E0 38 A0 00 60 */ li r5, 0x60
/* 80062A84 0005F9E4 57 86 10 3A */ slwi r6, r28, 2
/* 80062A88 0005F9E8 83 FB 00 44 */ lwz r31, 0x44(r27)
/* 80062A8C 0005F9EC 38 06 00 1F */ addi r0, r6, 0x1f
/* 80062A90 0005F9F0 38 63 00 04 */ addi r3, r3, 4
/* 80062A94 0005F9F4 54 1B 00 34 */ rlwinm r27, r0, 0, 0, 0x1a
/* 80062A98 0005F9F8 38 E0 00 00 */ li r7, 0
/* 80062A9C 0005F9FC 7F 66 DB 78 */ mr r6, r27
/* 80062AA0 0005FA00 48 2D 8C 11 */ bl LoadNewResourcePartSync__10CResLoaderFRC10SObjectTagiiPc
/* 80062AA4 0005FA04 38 00 00 00 */ li r0, 0
/* 80062AA8 0005FA08 90 61 00 1C */ stw r3, 0x1c(r1)
/* 80062AAC 0005FA0C 7F 84 E3 78 */ mr r4, r28
/* 80062AB0 0005FA10 38 61 00 44 */ addi r3, r1, 0x44
/* 80062AB4 0005FA14 90 01 00 48 */ stw r0, 0x48(r1)
/* 80062AB8 0005FA18 90 01 00 4C */ stw r0, 0x4c(r1)
/* 80062ABC 0005FA1C 90 01 00 50 */ stw r0, 0x50(r1)
/* 80062AC0 0005FA20 4B FF 71 E9 */ bl "reserve__Q24rstl36vector<i,Q24rstl17rmemory_allocator>Fi"
/* 80062AC4 0005FA24 3B 40 00 00 */ li r26, 0
/* 80062AC8 0005FA28 48 00 00 60 */ b lbl_80062B28
lbl_80062ACC:
/* 80062ACC 0005FA2C 80 61 00 1C */ lwz r3, 0x1c(r1)
/* 80062AD0 0005FA30 48 2D C1 B5 */ bl ReadLong__12CInputStreamFv
/* 80062AD4 0005FA34 80 01 00 48 */ lwz r0, 0x48(r1)
/* 80062AD8 0005FA38 7C 7E 1B 78 */ mr r30, r3
/* 80062ADC 0005FA3C 80 A1 00 4C */ lwz r5, 0x4c(r1)
/* 80062AE0 0005FA40 7C 00 28 00 */ cmpw r0, r5
/* 80062AE4 0005FA44 41 80 00 1C */ blt lbl_80062B00
/* 80062AE8 0005FA48 2C 05 00 00 */ cmpwi r5, 0
/* 80062AEC 0005FA4C 38 61 00 44 */ addi r3, r1, 0x44
/* 80062AF0 0005FA50 38 80 00 04 */ li r4, 4
/* 80062AF4 0005FA54 41 82 00 08 */ beq lbl_80062AFC
/* 80062AF8 0005FA58 54 A4 08 3C */ slwi r4, r5, 1
lbl_80062AFC:
/* 80062AFC 0005FA5C 4B FF 71 AD */ bl "reserve__Q24rstl36vector<i,Q24rstl17rmemory_allocator>Fi"
lbl_80062B00:
/* 80062B00 0005FA60 80 01 00 48 */ lwz r0, 0x48(r1)
/* 80062B04 0005FA64 80 61 00 50 */ lwz r3, 0x50(r1)
/* 80062B08 0005FA68 54 00 10 3A */ slwi r0, r0, 2
/* 80062B0C 0005FA6C 7C 63 02 15 */ add. r3, r3, r0
/* 80062B10 0005FA70 41 82 00 08 */ beq lbl_80062B18
/* 80062B14 0005FA74 93 C3 00 00 */ stw r30, 0(r3)
lbl_80062B18:
/* 80062B18 0005FA78 80 61 00 48 */ lwz r3, 0x48(r1)
/* 80062B1C 0005FA7C 3B 5A 00 01 */ addi r26, r26, 1
/* 80062B20 0005FA80 38 03 00 01 */ addi r0, r3, 1
/* 80062B24 0005FA84 90 01 00 48 */ stw r0, 0x48(r1)
lbl_80062B28:
/* 80062B28 0005FA88 7C 1A E0 00 */ cmpw r26, r28
/* 80062B2C 0005FA8C 41 80 FF A0 */ blt lbl_80062ACC
/* 80062B30 0005FA90 2C 1F 00 00 */ cmpwi r31, 0
/* 80062B34 0005FA94 3B DB 00 60 */ addi r30, r27, 0x60
/* 80062B38 0005FA98 38 A0 00 00 */ li r5, 0
/* 80062B3C 0005FA9C 40 81 00 A0 */ ble lbl_80062BDC
/* 80062B40 0005FAA0 2C 1F 00 08 */ cmpwi r31, 8
/* 80062B44 0005FAA4 38 7F FF F8 */ addi r3, r31, -8
/* 80062B48 0005FAA8 40 81 00 68 */ ble lbl_80062BB0
/* 80062B4C 0005FAAC 38 03 00 07 */ addi r0, r3, 7
/* 80062B50 0005FAB0 80 81 00 50 */ lwz r4, 0x50(r1)
/* 80062B54 0005FAB4 54 00 E8 FE */ srwi r0, r0, 3
/* 80062B58 0005FAB8 7C 09 03 A6 */ mtctr r0
/* 80062B5C 0005FABC 2C 03 00 00 */ cmpwi r3, 0
/* 80062B60 0005FAC0 40 81 00 50 */ ble lbl_80062BB0
lbl_80062B64:
/* 80062B64 0005FAC4 80 64 00 00 */ lwz r3, 0(r4)
/* 80062B68 0005FAC8 38 A5 00 08 */ addi r5, r5, 8
/* 80062B6C 0005FACC 80 04 00 04 */ lwz r0, 4(r4)
/* 80062B70 0005FAD0 7F DE 1A 14 */ add r30, r30, r3
/* 80062B74 0005FAD4 80 64 00 08 */ lwz r3, 8(r4)
/* 80062B78 0005FAD8 7F DE 02 14 */ add r30, r30, r0
/* 80062B7C 0005FADC 80 04 00 0C */ lwz r0, 0xc(r4)
/* 80062B80 0005FAE0 7F DE 1A 14 */ add r30, r30, r3
/* 80062B84 0005FAE4 80 64 00 10 */ lwz r3, 0x10(r4)
/* 80062B88 0005FAE8 7F DE 02 14 */ add r30, r30, r0
/* 80062B8C 0005FAEC 80 04 00 14 */ lwz r0, 0x14(r4)
/* 80062B90 0005FAF0 7F DE 1A 14 */ add r30, r30, r3
/* 80062B94 0005FAF4 80 64 00 18 */ lwz r3, 0x18(r4)
/* 80062B98 0005FAF8 7F DE 02 14 */ add r30, r30, r0
/* 80062B9C 0005FAFC 80 04 00 1C */ lwz r0, 0x1c(r4)
/* 80062BA0 0005FB00 7F DE 1A 14 */ add r30, r30, r3
/* 80062BA4 0005FB04 38 84 00 20 */ addi r4, r4, 0x20
/* 80062BA8 0005FB08 7F DE 02 14 */ add r30, r30, r0
/* 80062BAC 0005FB0C 42 00 FF B8 */ bdnz lbl_80062B64
lbl_80062BB0:
/* 80062BB0 0005FB10 80 81 00 50 */ lwz r4, 0x50(r1)
/* 80062BB4 0005FB14 54 A3 10 3A */ slwi r3, r5, 2
/* 80062BB8 0005FB18 7C 05 F8 50 */ subf r0, r5, r31
/* 80062BBC 0005FB1C 7C 64 1A 14 */ add r3, r4, r3
/* 80062BC0 0005FB20 7C 09 03 A6 */ mtctr r0
/* 80062BC4 0005FB24 7C 05 F8 00 */ cmpw r5, r31
/* 80062BC8 0005FB28 40 80 00 14 */ bge lbl_80062BDC
lbl_80062BCC:
/* 80062BCC 0005FB2C 80 03 00 00 */ lwz r0, 0(r3)
/* 80062BD0 0005FB30 38 63 00 04 */ addi r3, r3, 4
/* 80062BD4 0005FB34 7F DE 02 14 */ add r30, r30, r0
/* 80062BD8 0005FB38 42 00 FF F4 */ bdnz lbl_80062BCC
lbl_80062BDC:
/* 80062BDC 0005FB3C 80 81 00 50 */ lwz r4, 0x50(r1)
/* 80062BE0 0005FB40 57 E0 10 3A */ slwi r0, r31, 2
/* 80062BE4 0005FB44 3C 60 80 3D */ lis r3, lbl_803CCFAC@ha
/* 80062BE8 0005FB48 38 A0 00 00 */ li r5, 0
/* 80062BEC 0005FB4C 7F 44 00 2E */ lwzx r26, r4, r0
/* 80062BF0 0005FB50 38 83 CF AC */ addi r4, r3, lbl_803CCFAC@l
/* 80062BF4 0005FB54 7F 43 D3 78 */ mr r3, r26
/* 80062BF8 0005FB58 48 2B 2C 21 */ bl __nwa__FUlPCcPCc
/* 80062BFC 0005FB5C 7C 03 00 D0 */ neg r0, r3
/* 80062C00 0005FB60 80 8D A0 60 */ lwz r4, gpResourceFactory@sda21(r13)
/* 80062C04 0005FB64 7C 00 1B 78 */ or r0, r0, r3
/* 80062C08 0005FB68 90 61 00 30 */ stw r3, 0x30(r1)
/* 80062C0C 0005FB6C 54 00 0F FE */ srwi r0, r0, 0x1f
/* 80062C10 0005FB70 7C 67 1B 78 */ mr r7, r3
/* 80062C14 0005FB74 98 01 00 2C */ stb r0, 0x2c(r1)
/* 80062C18 0005FB78 38 64 00 04 */ addi r3, r4, 4
/* 80062C1C 0005FB7C 7F C5 F3 78 */ mr r5, r30
/* 80062C20 0005FB80 7F 46 D3 78 */ mr r6, r26
/* 80062C24 0005FB84 38 81 00 3C */ addi r4, r1, 0x3c
/* 80062C28 0005FB88 48 2D 8A 89 */ bl LoadNewResourcePartSync__10CResLoaderFRC10SObjectTagiiPc
/* 80062C2C 0005FB8C 88 A1 00 2C */ lbz r5, 0x2c(r1)
/* 80062C30 0005FB90 38 00 00 00 */ li r0, 0
/* 80062C34 0005FB94 80 81 00 30 */ lwz r4, 0x30(r1)
/* 80062C38 0005FB98 28 03 00 00 */ cmplwi r3, 0
/* 80062C3C 0005FB9C 98 BD 00 00 */ stb r5, 0(r29)
/* 80062C40 0005FBA0 90 9D 00 04 */ stw r4, 4(r29)
/* 80062C44 0005FBA4 90 61 00 18 */ stw r3, 0x18(r1)
/* 80062C48 0005FBA8 98 01 00 2C */ stb r0, 0x2c(r1)
/* 80062C4C 0005FBAC 93 5D 00 08 */ stw r26, 8(r29)
/* 80062C50 0005FBB0 41 82 00 18 */ beq lbl_80062C68
/* 80062C54 0005FBB4 81 83 00 00 */ lwz r12, 0(r3)
/* 80062C58 0005FBB8 38 80 00 01 */ li r4, 1
/* 80062C5C 0005FBBC 81 8C 00 08 */ lwz r12, 8(r12)
/* 80062C60 0005FBC0 7D 89 03 A6 */ mtctr r12
/* 80062C64 0005FBC4 4E 80 04 21 */ bctrl
lbl_80062C68:
/* 80062C68 0005FBC8 88 01 00 2C */ lbz r0, 0x2c(r1)
/* 80062C6C 0005FBCC 28 00 00 00 */ cmplwi r0, 0
/* 80062C70 0005FBD0 41 82 00 0C */ beq lbl_80062C7C
/* 80062C74 0005FBD4 80 61 00 30 */ lwz r3, 0x30(r1)
/* 80062C78 0005FBD8 48 2B 2C B9 */ bl Free__7CMemoryFPCv
lbl_80062C7C:
/* 80062C7C 0005FBDC 80 01 00 48 */ lwz r0, 0x48(r1)
/* 80062C80 0005FBE0 80 61 00 50 */ lwz r3, 0x50(r1)
/* 80062C84 0005FBE4 54 00 10 3A */ slwi r0, r0, 2
/* 80062C88 0005FBE8 7C 03 02 14 */ add r0, r3, r0
/* 80062C8C 0005FBEC 90 61 00 0C */ stw r3, 0xc(r1)
/* 80062C90 0005FBF0 7C 64 1B 78 */ mr r4, r3
/* 80062C94 0005FBF4 90 01 00 14 */ stw r0, 0x14(r1)
/* 80062C98 0005FBF8 90 01 00 10 */ stw r0, 0x10(r1)
/* 80062C9C 0005FBFC 90 61 00 08 */ stw r3, 8(r1)
/* 80062CA0 0005FC00 48 00 00 08 */ b lbl_80062CA8
lbl_80062CA4:
/* 80062CA4 0005FC04 38 84 00 04 */ addi r4, r4, 4
lbl_80062CA8:
/* 80062CA8 0005FC08 7C 04 00 40 */ cmplw r4, r0
/* 80062CAC 0005FC0C 40 82 FF F8 */ bne lbl_80062CA4
/* 80062CB0 0005FC10 28 03 00 00 */ cmplwi r3, 0
/* 80062CB4 0005FC14 41 82 00 08 */ beq lbl_80062CBC
/* 80062CB8 0005FC18 48 2B 2C 79 */ bl Free__7CMemoryFPCv
lbl_80062CBC:
/* 80062CBC 0005FC1C 80 61 00 1C */ lwz r3, 0x1c(r1)
/* 80062CC0 0005FC20 28 03 00 00 */ cmplwi r3, 0
/* 80062CC4 0005FC24 41 82 00 18 */ beq lbl_80062CDC
/* 80062CC8 0005FC28 81 83 00 00 */ lwz r12, 0(r3)
/* 80062CCC 0005FC2C 38 80 00 01 */ li r4, 1
/* 80062CD0 0005FC30 81 8C 00 08 */ lwz r12, 8(r12)
/* 80062CD4 0005FC34 7D 89 03 A6 */ mtctr r12
/* 80062CD8 0005FC38 4E 80 04 21 */ bctrl
lbl_80062CDC:
/* 80062CDC 0005FC3C 80 61 00 20 */ lwz r3, 0x20(r1)
/* 80062CE0 0005FC40 28 03 00 00 */ cmplwi r3, 0
/* 80062CE4 0005FC44 41 82 00 18 */ beq lbl_80062CFC
/* 80062CE8 0005FC48 81 83 00 00 */ lwz r12, 0(r3)
/* 80062CEC 0005FC4C 38 80 00 01 */ li r4, 1
/* 80062CF0 0005FC50 81 8C 00 08 */ lwz r12, 8(r12)
/* 80062CF4 0005FC54 7D 89 03 A6 */ mtctr r12
/* 80062CF8 0005FC58 4E 80 04 21 */ bctrl
lbl_80062CFC:
/* 80062CFC 0005FC5C 88 01 00 34 */ lbz r0, 0x34(r1)
/* 80062D00 0005FC60 28 00 00 00 */ cmplwi r0, 0
/* 80062D04 0005FC64 41 82 00 6C */ beq lbl_80062D70
/* 80062D08 0005FC68 80 61 00 38 */ lwz r3, 0x38(r1)
/* 80062D0C 0005FC6C 48 2B 2C 25 */ bl Free__7CMemoryFPCv
/* 80062D10 0005FC70 48 00 00 60 */ b lbl_80062D70
lbl_80062D14:
/* 80062D14 0005FC74 38 60 00 00 */ li r3, 0
/* 80062D18 0005FC78 98 7D 00 00 */ stb r3, 0(r29)
/* 80062D1C 0005FC7C 90 7D 00 04 */ stw r3, 4(r29)
/* 80062D20 0005FC80 98 61 00 24 */ stb r3, 0x24(r1)
/* 80062D24 0005FC84 80 0D 82 E0 */ lwz r0, lbl_805A6EA0@sda21(r13)
/* 80062D28 0005FC88 90 61 00 28 */ stw r3, 0x28(r1)
/* 80062D2C 0005FC8C 98 61 00 24 */ stb r3, 0x24(r1)
/* 80062D30 0005FC90 90 1D 00 08 */ stw r0, 8(r29)
/* 80062D34 0005FC94 48 00 00 08 */ b lbl_80062D3C
/* 80062D38 0005FC98 48 2B 2B F9 */ bl Free__7CMemoryFPCv
lbl_80062D3C:
/* 80062D3C 0005FC9C 80 61 00 20 */ lwz r3, 0x20(r1)
/* 80062D40 0005FCA0 28 03 00 00 */ cmplwi r3, 0
/* 80062D44 0005FCA4 41 82 00 18 */ beq lbl_80062D5C
/* 80062D48 0005FCA8 81 83 00 00 */ lwz r12, 0(r3)
/* 80062D4C 0005FCAC 38 80 00 01 */ li r4, 1
/* 80062D50 0005FCB0 81 8C 00 08 */ lwz r12, 8(r12)
/* 80062D54 0005FCB4 7D 89 03 A6 */ mtctr r12
/* 80062D58 0005FCB8 4E 80 04 21 */ bctrl
lbl_80062D5C:
/* 80062D5C 0005FCBC 88 01 00 34 */ lbz r0, 0x34(r1)
/* 80062D60 0005FCC0 28 00 00 00 */ cmplwi r0, 0
/* 80062D64 0005FCC4 41 82 00 0C */ beq lbl_80062D70
/* 80062D68 0005FCC8 80 61 00 38 */ lwz r3, 0x38(r1)
/* 80062D6C 0005FCCC 48 2B 2B C5 */ bl Free__7CMemoryFPCv
lbl_80062D70:
/* 80062D70 0005FCD0 BB 41 00 58 */ lmw r26, 0x58(r1)
/* 80062D74 0005FCD4 80 01 00 74 */ lwz r0, 0x74(r1)
/* 80062D78 0005FCD8 7C 08 03 A6 */ mtlr r0
/* 80062D7C 0005FCDC 38 21 00 70 */ addi r1, r1, 0x70
/* 80062D80 0005FCE0 4E 80 00 20 */ blr
.global VerifyTokenList__9CGameAreaFv
VerifyTokenList__9CGameAreaFv:
/* 80062D84 0005FCE4 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 80062D88 0005FCE8 7C 08 02 A6 */ mflr r0
/* 80062D8C 0005FCEC 90 01 00 54 */ stw r0, 0x54(r1)
/* 80062D90 0005FCF0 BF 21 00 34 */ stmw r25, 0x34(r1)
/* 80062D94 0005FCF4 7C 7A 1B 78 */ mr r26, r3
/* 80062D98 0005FCF8 7C 99 23 78 */ mr r25, r4
/* 80062D9C 0005FCFC 80 03 00 E0 */ lwz r0, 0xe0(r3)
/* 80062DA0 0005FD00 2C 00 00 00 */ cmpwi r0, 0
/* 80062DA4 0005FD04 40 82 01 38 */ bne lbl_80062EDC
/* 80062DA8 0005FD08 48 00 01 49 */ bl ClearTokenList__9CGameAreaFv
/* 80062DAC 0005FD0C 80 1A 00 B0 */ lwz r0, 0xb0(r26)
/* 80062DB0 0005FD10 80 79 08 C8 */ lwz r3, 0x8c8(r25)
/* 80062DB4 0005FD14 2C 00 00 00 */ cmpwi r0, 0
/* 80062DB8 0005FD18 83 E3 00 00 */ lwz r31, 0(r3)
/* 80062DBC 0005FD1C 41 82 01 20 */ beq lbl_80062EDC
/* 80062DC0 0005FD20 80 7A 00 C0 */ lwz r3, 0xc0(r26)
/* 80062DC4 0005FD24 3B A3 FF FF */ addi r29, r3, -1
/* 80062DC8 0005FD28 57 BE 10 3A */ slwi r30, r29, 2
/* 80062DCC 0005FD2C 48 00 01 08 */ b lbl_80062ED4
lbl_80062DD0:
/* 80062DD0 0005FD30 93 A1 00 0C */ stw r29, 0xc(r1)
/* 80062DD4 0005FD34 7F E3 FB 78 */ mr r3, r31
/* 80062DD8 0005FD38 38 81 00 10 */ addi r4, r1, 0x10
/* 80062DDC 0005FD3C 38 A1 00 0C */ addi r5, r1, 0xc
/* 80062DE0 0005FD40 80 1A 00 04 */ lwz r0, 4(r26)
/* 80062DE4 0005FD44 93 A1 00 08 */ stw r29, 8(r1)
/* 80062DE8 0005FD48 90 01 00 10 */ stw r0, 0x10(r1)
/* 80062DEC 0005FD4C 48 1D 14 85 */ bl IsLayerActive__16CWorldLayerStateFii
/* 80062DF0 0005FD50 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80062DF4 0005FD54 41 82 00 D8 */ beq lbl_80062ECC
/* 80062DF8 0005FD58 80 1A 00 C0 */ lwz r0, 0xc0(r26)
/* 80062DFC 0005FD5C 38 7D 00 01 */ addi r3, r29, 1
/* 80062E00 0005FD60 80 9A 00 C8 */ lwz r4, 0xc8(r26)
/* 80062E04 0005FD64 7C 03 00 00 */ cmpw r3, r0
/* 80062E08 0005FD68 7C A4 F0 2E */ lwzx r5, r4, r30
/* 80062E0C 0005FD6C 40 80 00 10 */ bge lbl_80062E1C
/* 80062E10 0005FD70 54 60 10 3A */ slwi r0, r3, 2
/* 80062E14 0005FD74 7F 84 00 2E */ lwzx r28, r4, r0
/* 80062E18 0005FD78 48 00 00 08 */ b lbl_80062E20
lbl_80062E1C:
/* 80062E1C 0005FD7C 83 9A 00 B0 */ lwz r28, 0xb0(r26)
lbl_80062E20:
/* 80062E20 0005FD80 7C BB 2B 78 */ mr r27, r5
/* 80062E24 0005FD84 54 B9 18 38 */ slwi r25, r5, 3
/* 80062E28 0005FD88 48 00 00 9C */ b lbl_80062EC4
lbl_80062E2C:
/* 80062E2C 0005FD8C 80 1A 00 B8 */ lwz r0, 0xb8(r26)
/* 80062E30 0005FD90 38 61 00 14 */ addi r3, r1, 0x14
/* 80062E34 0005FD94 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 80062E38 0005FD98 38 A1 00 1C */ addi r5, r1, 0x1c
/* 80062E3C 0005FD9C 7C C0 CA 14 */ add r6, r0, r25
/* 80062E40 0005FDA0 80 E6 00 00 */ lwz r7, 0(r6)
/* 80062E44 0005FDA4 80 06 00 04 */ lwz r0, 4(r6)
/* 80062E48 0005FDA8 90 01 00 1C */ stw r0, 0x1c(r1)
/* 80062E4C 0005FDAC 90 E1 00 20 */ stw r7, 0x20(r1)
/* 80062E50 0005FDB0 81 84 00 00 */ lwz r12, 0(r4)
/* 80062E54 0005FDB4 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 80062E58 0005FDB8 7D 89 03 A6 */ mtctr r12
/* 80062E5C 0005FDBC 4E 80 04 21 */ bctrl
/* 80062E60 0005FDC0 80 1A 00 E0 */ lwz r0, 0xe0(r26)
/* 80062E64 0005FDC4 80 BA 00 E4 */ lwz r5, 0xe4(r26)
/* 80062E68 0005FDC8 7C 00 28 00 */ cmpw r0, r5
/* 80062E6C 0005FDCC 41 80 00 1C */ blt lbl_80062E88
/* 80062E70 0005FDD0 2C 05 00 00 */ cmpwi r5, 0
/* 80062E74 0005FDD4 38 7A 00 DC */ addi r3, r26, 0xdc
/* 80062E78 0005FDD8 38 80 00 04 */ li r4, 4
/* 80062E7C 0005FDDC 41 82 00 08 */ beq lbl_80062E84
/* 80062E80 0005FDE0 54 A4 08 3C */ slwi r4, r5, 1
lbl_80062E84:
/* 80062E84 0005FDE4 4B FA 5A D9 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi"
lbl_80062E88:
/* 80062E88 0005FDE8 80 1A 00 E0 */ lwz r0, 0xe0(r26)
/* 80062E8C 0005FDEC 80 7A 00 E8 */ lwz r3, 0xe8(r26)
/* 80062E90 0005FDF0 54 00 18 38 */ slwi r0, r0, 3
/* 80062E94 0005FDF4 7C 63 02 15 */ add. r3, r3, r0
/* 80062E98 0005FDF8 41 82 00 0C */ beq lbl_80062EA4
/* 80062E9C 0005FDFC 38 81 00 14 */ addi r4, r1, 0x14
/* 80062EA0 0005FE00 48 2D E0 09 */ bl __ct__6CTokenFRC6CToken
lbl_80062EA4:
/* 80062EA4 0005FE04 80 BA 00 E0 */ lwz r5, 0xe0(r26)
/* 80062EA8 0005FE08 38 61 00 14 */ addi r3, r1, 0x14
/* 80062EAC 0005FE0C 38 80 FF FF */ li r4, -1
/* 80062EB0 0005FE10 38 05 00 01 */ addi r0, r5, 1
/* 80062EB4 0005FE14 90 1A 00 E0 */ stw r0, 0xe0(r26)
/* 80062EB8 0005FE18 48 2D DF 89 */ bl __dt__6CTokenFv
/* 80062EBC 0005FE1C 3B 39 00 08 */ addi r25, r25, 8
/* 80062EC0 0005FE20 3B 7B 00 01 */ addi r27, r27, 1
lbl_80062EC4:
/* 80062EC4 0005FE24 7C 1B E0 00 */ cmpw r27, r28
/* 80062EC8 0005FE28 41 80 FF 64 */ blt lbl_80062E2C
lbl_80062ECC:
/* 80062ECC 0005FE2C 3B DE FF FC */ addi r30, r30, -4
/* 80062ED0 0005FE30 3B BD FF FF */ addi r29, r29, -1
lbl_80062ED4:
/* 80062ED4 0005FE34 2C 1D 00 00 */ cmpwi r29, 0
/* 80062ED8 0005FE38 40 80 FE F8 */ bge lbl_80062DD0
lbl_80062EDC:
/* 80062EDC 0005FE3C BB 21 00 34 */ lmw r25, 0x34(r1)
/* 80062EE0 0005FE40 80 01 00 54 */ lwz r0, 0x54(r1)
/* 80062EE4 0005FE44 7C 08 03 A6 */ mtlr r0
/* 80062EE8 0005FE48 38 21 00 50 */ addi r1, r1, 0x50
/* 80062EEC 0005FE4C 4E 80 00 20 */ blr
.global ClearTokenList__9CGameAreaFv
ClearTokenList__9CGameAreaFv:
/* 80062EF0 0005FE50 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80062EF4 0005FE54 7C 08 02 A6 */ mflr r0
/* 80062EF8 0005FE58 90 01 00 34 */ stw r0, 0x34(r1)
/* 80062EFC 0005FE5C 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80062F00 0005FE60 93 C1 00 28 */ stw r30, 0x28(r1)
/* 80062F04 0005FE64 93 A1 00 24 */ stw r29, 0x24(r1)
/* 80062F08 0005FE68 7C 7D 1B 78 */ mr r29, r3
/* 80062F0C 0005FE6C 80 03 00 E4 */ lwz r0, 0xe4(r3)
/* 80062F10 0005FE70 2C 00 00 00 */ cmpwi r0, 0
/* 80062F14 0005FE74 40 82 00 14 */ bne lbl_80062F28
/* 80062F18 0005FE78 80 9D 00 B0 */ lwz r4, 0xb0(r29)
/* 80062F1C 0005FE7C 38 7D 00 DC */ addi r3, r29, 0xdc
/* 80062F20 0005FE80 4B FA 5A 3D */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi"
/* 80062F24 0005FE84 48 00 00 48 */ b lbl_80062F6C
lbl_80062F28:
/* 80062F28 0005FE88 80 1D 00 E0 */ lwz r0, 0xe0(r29)
/* 80062F2C 0005FE8C 83 DD 00 E8 */ lwz r30, 0xe8(r29)
/* 80062F30 0005FE90 54 00 18 38 */ slwi r0, r0, 3
/* 80062F34 0005FE94 7F FE 02 14 */ add r31, r30, r0
/* 80062F38 0005FE98 93 C1 00 0C */ stw r30, 0xc(r1)
/* 80062F3C 0005FE9C 93 E1 00 14 */ stw r31, 0x14(r1)
/* 80062F40 0005FEA0 93 E1 00 10 */ stw r31, 0x10(r1)
/* 80062F44 0005FEA4 93 C1 00 08 */ stw r30, 8(r1)
/* 80062F48 0005FEA8 48 00 00 14 */ b lbl_80062F5C
lbl_80062F4C:
/* 80062F4C 0005FEAC 7F C3 F3 78 */ mr r3, r30
/* 80062F50 0005FEB0 38 80 FF FF */ li r4, -1
/* 80062F54 0005FEB4 48 2D DE ED */ bl __dt__6CTokenFv
/* 80062F58 0005FEB8 3B DE 00 08 */ addi r30, r30, 8
lbl_80062F5C:
/* 80062F5C 0005FEBC 7C 1E F8 40 */ cmplw r30, r31
/* 80062F60 0005FEC0 40 82 FF EC */ bne lbl_80062F4C
/* 80062F64 0005FEC4 38 00 00 00 */ li r0, 0
/* 80062F68 0005FEC8 90 1D 00 E0 */ stw r0, 0xe0(r29)
lbl_80062F6C:
/* 80062F6C 0005FECC 88 1D 00 F0 */ lbz r0, 0xf0(r29)
/* 80062F70 0005FED0 38 60 00 00 */ li r3, 0
/* 80062F74 0005FED4 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a
/* 80062F78 0005FED8 98 1D 00 F0 */ stb r0, 0xf0(r29)
/* 80062F7C 0005FEDC 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 80062F80 0005FEE0 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 80062F84 0005FEE4 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 80062F88 0005FEE8 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80062F8C 0005FEEC 7C 08 03 A6 */ mtlr r0
/* 80062F90 0005FEF0 38 21 00 30 */ addi r1, r1, 0x30
/* 80062F94 0005FEF4 4E 80 00 20 */ blr
.global __dt__9CGameAreaFv
__dt__9CGameAreaFv:
/* 80062F98 0005FEF8 94 21 FF 90 */ stwu r1, -0x70(r1)
/* 80062F9C 0005FEFC 7C 08 02 A6 */ mflr r0
/* 80062FA0 0005FF00 90 01 00 74 */ stw r0, 0x74(r1)
/* 80062FA4 0005FF04 93 E1 00 6C */ stw r31, 0x6c(r1)
/* 80062FA8 0005FF08 7C 9F 23 78 */ mr r31, r4
/* 80062FAC 0005FF0C 93 C1 00 68 */ stw r30, 0x68(r1)
/* 80062FB0 0005FF10 7C 7E 1B 79 */ or. r30, r3, r3
/* 80062FB4 0005FF14 93 A1 00 64 */ stw r29, 0x64(r1)
/* 80062FB8 0005FF18 93 81 00 60 */ stw r28, 0x60(r1)
/* 80062FBC 0005FF1C 41 82 02 2C */ beq lbl_800631E8
/* 80062FC0 0005FF20 3C 80 80 3E */ lis r4, lbl_803DA234@ha
/* 80062FC4 0005FF24 38 04 A2 34 */ addi r0, r4, lbl_803DA234@l
/* 80062FC8 0005FF28 90 1E 00 00 */ stw r0, 0(r30)
/* 80062FCC 0005FF2C 88 1E 00 F0 */ lbz r0, 0xf0(r30)
/* 80062FD0 0005FF30 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80062FD4 0005FF34 41 82 00 14 */ beq lbl_80062FE8
/* 80062FD8 0005FF38 48 00 0A 0D */ bl GetPostConstructedSize__9CGameAreaCFv
/* 80062FDC 0005FF3C 80 0D A2 F0 */ lwz r0, lbl_805A8EB0@sda21(r13)
/* 80062FE0 0005FF40 7C 03 00 50 */ subf r0, r3, r0
/* 80062FE4 0005FF44 90 0D A2 F0 */ stw r0, lbl_805A8EB0@sda21(r13)
lbl_80062FE8:
/* 80062FE8 0005FF48 7F C3 F3 78 */ mr r3, r30
/* 80062FEC 0005FF4C 48 00 0A 79 */ bl GetPreConstructedSize__9CGameAreaCFv
/* 80062FF0 0005FF50 80 0D A2 F0 */ lwz r0, lbl_805A8EB0@sda21(r13)
/* 80062FF4 0005FF54 7C 03 00 50 */ subf r0, r3, r0
/* 80062FF8 0005FF58 90 0D A2 F0 */ stw r0, lbl_805A8EB0@sda21(r13)
/* 80062FFC 0005FF5C 88 1E 00 F0 */ lbz r0, 0xf0(r30)
/* 80063000 0005FF60 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80063004 0005FF64 41 82 00 10 */ beq lbl_80063014
/* 80063008 0005FF68 7F C3 F3 78 */ mr r3, r30
/* 8006300C 0005FF6C 4B FF C7 A1 */ bl RemoveStaticGeometry__9CGameAreaFv
/* 80063010 0005FF70 48 00 00 18 */ b lbl_80063028
lbl_80063014:
/* 80063014 0005FF74 7F C3 F3 78 */ mr r3, r30
/* 80063018 0005FF78 38 80 00 00 */ li r4, 0
/* 8006301C 0005FF7C 4B FF D9 9D */ bl Invalidate__9CGameAreaFP13CStateManager
/* 80063020 0005FF80 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80063024 0005FF84 41 82 FF F0 */ beq lbl_80063014
lbl_80063028:
/* 80063028 0005FF88 38 7E 01 2C */ addi r3, r30, 0x12c
/* 8006302C 0005FF8C 38 80 FF FF */ li r4, -1
/* 80063030 0005FF90 48 00 01 DD */ bl sub_8006320c
/* 80063034 0005FF94 38 7E 01 10 */ addi r3, r30, 0x110
/* 80063038 0005FF98 38 80 FF FF */ li r4, -1
/* 8006303C 0005FF9C 4B FF DC 89 */ bl sub_80060cc4
/* 80063040 0005FFA0 38 7E 00 F8 */ addi r3, r30, 0xf8
/* 80063044 0005FFA4 38 80 FF FF */ li r4, -1
/* 80063048 0005FFA8 48 00 16 FD */ bl sub_80064744
/* 8006304C 0005FFAC 34 1E 00 DC */ addic. r0, r30, 0xdc
/* 80063050 0005FFB0 41 82 00 50 */ beq lbl_800630A0
/* 80063054 0005FFB4 80 1E 00 E0 */ lwz r0, 0xe0(r30)
/* 80063058 0005FFB8 83 9E 00 E8 */ lwz r28, 0xe8(r30)
/* 8006305C 0005FFBC 54 00 18 38 */ slwi r0, r0, 3
/* 80063060 0005FFC0 7F BC 02 14 */ add r29, r28, r0
/* 80063064 0005FFC4 93 81 00 4C */ stw r28, 0x4c(r1)
/* 80063068 0005FFC8 93 A1 00 54 */ stw r29, 0x54(r1)
/* 8006306C 0005FFCC 93 A1 00 50 */ stw r29, 0x50(r1)
/* 80063070 0005FFD0 93 81 00 48 */ stw r28, 0x48(r1)
/* 80063074 0005FFD4 48 00 00 14 */ b lbl_80063088
lbl_80063078:
/* 80063078 0005FFD8 7F 83 E3 78 */ mr r3, r28
/* 8006307C 0005FFDC 38 80 FF FF */ li r4, -1
/* 80063080 0005FFE0 48 2D DD C1 */ bl __dt__6CTokenFv
/* 80063084 0005FFE4 3B 9C 00 08 */ addi r28, r28, 8
lbl_80063088:
/* 80063088 0005FFE8 7C 1C E8 40 */ cmplw r28, r29
/* 8006308C 0005FFEC 40 82 FF EC */ bne lbl_80063078
/* 80063090 0005FFF0 80 7E 00 E8 */ lwz r3, 0xe8(r30)
/* 80063094 0005FFF4 28 03 00 00 */ cmplwi r3, 0
/* 80063098 0005FFF8 41 82 00 08 */ beq lbl_800630A0
/* 8006309C 0005FFFC 48 2B 28 95 */ bl Free__7CMemoryFPCv
lbl_800630A0:
/* 800630A0 00060000 38 7E 00 CC */ addi r3, r30, 0xcc
/* 800630A4 00060004 38 80 FF FF */ li r4, -1
/* 800630A8 00060008 4B FF 3F 41 */ bl sub_80056fe8
/* 800630AC 0006000C 34 1E 00 BC */ addic. r0, r30, 0xbc
/* 800630B0 00060010 41 82 00 44 */ beq lbl_800630F4
/* 800630B4 00060014 80 1E 00 C0 */ lwz r0, 0xc0(r30)
/* 800630B8 00060018 80 7E 00 C8 */ lwz r3, 0xc8(r30)
/* 800630BC 0006001C 54 00 10 3A */ slwi r0, r0, 2
/* 800630C0 00060020 7C 03 02 14 */ add r0, r3, r0
/* 800630C4 00060024 90 61 00 3C */ stw r3, 0x3c(r1)
/* 800630C8 00060028 7C 64 1B 78 */ mr r4, r3
/* 800630CC 0006002C 90 01 00 44 */ stw r0, 0x44(r1)
/* 800630D0 00060030 90 01 00 40 */ stw r0, 0x40(r1)
/* 800630D4 00060034 90 61 00 38 */ stw r3, 0x38(r1)
/* 800630D8 00060038 48 00 00 08 */ b lbl_800630E0
lbl_800630DC:
/* 800630DC 0006003C 38 84 00 04 */ addi r4, r4, 4
lbl_800630E0:
/* 800630E0 00060040 7C 04 00 40 */ cmplw r4, r0
/* 800630E4 00060044 40 82 FF F8 */ bne lbl_800630DC
/* 800630E8 00060048 28 03 00 00 */ cmplwi r3, 0
/* 800630EC 0006004C 41 82 00 08 */ beq lbl_800630F4
/* 800630F0 00060050 48 2B 28 41 */ bl Free__7CMemoryFPCv
lbl_800630F4:
/* 800630F4 00060054 34 1E 00 AC */ addic. r0, r30, 0xac
/* 800630F8 00060058 41 82 00 44 */ beq lbl_8006313C
/* 800630FC 0006005C 80 1E 00 B0 */ lwz r0, 0xb0(r30)
/* 80063100 00060060 80 7E 00 B8 */ lwz r3, 0xb8(r30)
/* 80063104 00060064 54 00 18 38 */ slwi r0, r0, 3
/* 80063108 00060068 7C 03 02 14 */ add r0, r3, r0
/* 8006310C 0006006C 90 61 00 2C */ stw r3, 0x2c(r1)
/* 80063110 00060070 7C 64 1B 78 */ mr r4, r3
/* 80063114 00060074 90 01 00 34 */ stw r0, 0x34(r1)
/* 80063118 00060078 90 01 00 30 */ stw r0, 0x30(r1)
/* 8006311C 0006007C 90 61 00 28 */ stw r3, 0x28(r1)
/* 80063120 00060080 48 00 00 08 */ b lbl_80063128
lbl_80063124:
/* 80063124 00060084 38 84 00 08 */ addi r4, r4, 8
lbl_80063128:
/* 80063128 00060088 7C 04 00 40 */ cmplw r4, r0
/* 8006312C 0006008C 40 82 FF F8 */ bne lbl_80063124
/* 80063130 00060090 28 03 00 00 */ cmplwi r3, 0
/* 80063134 00060094 41 82 00 08 */ beq lbl_8006313C
/* 80063138 00060098 48 2B 27 F9 */ bl Free__7CMemoryFPCv
lbl_8006313C:
/* 8006313C 0006009C 34 1E 00 9C */ addic. r0, r30, 0x9c
/* 80063140 000600A0 41 82 00 44 */ beq lbl_80063184
/* 80063144 000600A4 80 1E 00 A0 */ lwz r0, 0xa0(r30)
/* 80063148 000600A8 80 7E 00 A8 */ lwz r3, 0xa8(r30)
/* 8006314C 000600AC 54 00 18 38 */ slwi r0, r0, 3
/* 80063150 000600B0 7C 03 02 14 */ add r0, r3, r0
/* 80063154 000600B4 90 61 00 1C */ stw r3, 0x1c(r1)
/* 80063158 000600B8 7C 64 1B 78 */ mr r4, r3
/* 8006315C 000600BC 90 01 00 24 */ stw r0, 0x24(r1)
/* 80063160 000600C0 90 01 00 20 */ stw r0, 0x20(r1)
/* 80063164 000600C4 90 61 00 18 */ stw r3, 0x18(r1)
/* 80063168 000600C8 48 00 00 08 */ b lbl_80063170
lbl_8006316C:
/* 8006316C 000600CC 38 84 00 08 */ addi r4, r4, 8
lbl_80063170:
/* 80063170 000600D0 7C 04 00 40 */ cmplw r4, r0
/* 80063174 000600D4 40 82 FF F8 */ bne lbl_8006316C
/* 80063178 000600D8 28 03 00 00 */ cmplwi r3, 0
/* 8006317C 000600DC 41 82 00 08 */ beq lbl_80063184
/* 80063180 000600E0 48 2B 27 B1 */ bl Free__7CMemoryFPCv
lbl_80063184:
/* 80063184 000600E4 34 1E 00 8C */ addic. r0, r30, 0x8c
/* 80063188 000600E8 41 82 00 44 */ beq lbl_800631CC
/* 8006318C 000600EC 80 1E 00 90 */ lwz r0, 0x90(r30)
/* 80063190 000600F0 80 7E 00 98 */ lwz r3, 0x98(r30)
/* 80063194 000600F4 54 00 08 3C */ slwi r0, r0, 1
/* 80063198 000600F8 7C 03 02 14 */ add r0, r3, r0
/* 8006319C 000600FC 90 61 00 0C */ stw r3, 0xc(r1)
/* 800631A0 00060100 7C 64 1B 78 */ mr r4, r3
/* 800631A4 00060104 90 01 00 14 */ stw r0, 0x14(r1)
/* 800631A8 00060108 90 01 00 10 */ stw r0, 0x10(r1)
/* 800631AC 0006010C 90 61 00 08 */ stw r3, 8(r1)
/* 800631B0 00060110 48 00 00 08 */ b lbl_800631B8
lbl_800631B4:
/* 800631B4 00060114 38 84 00 02 */ addi r4, r4, 2
lbl_800631B8:
/* 800631B8 00060118 7C 04 00 40 */ cmplw r4, r0
/* 800631BC 0006011C 40 82 FF F8 */ bne lbl_800631B4
/* 800631C0 00060120 28 03 00 00 */ cmplwi r3, 0
/* 800631C4 00060124 41 82 00 08 */ beq lbl_800631CC
/* 800631C8 00060128 48 2B 27 69 */ bl Free__7CMemoryFPCv
lbl_800631CC:
/* 800631CC 0006012C 7F C3 F3 78 */ mr r3, r30
/* 800631D0 00060130 38 80 00 00 */ li r4, 0
/* 800631D4 00060134 48 00 09 09 */ bl __dt__9IGameAreaFv
/* 800631D8 00060138 7F E0 07 35 */ extsh. r0, r31
/* 800631DC 0006013C 40 81 00 0C */ ble lbl_800631E8
/* 800631E0 00060140 7F C3 F3 78 */ mr r3, r30
/* 800631E4 00060144 48 2B 27 4D */ bl Free__7CMemoryFPCv
lbl_800631E8:
/* 800631E8 00060148 80 01 00 74 */ lwz r0, 0x74(r1)
/* 800631EC 0006014C 7F C3 F3 78 */ mr r3, r30
/* 800631F0 00060150 83 E1 00 6C */ lwz r31, 0x6c(r1)
/* 800631F4 00060154 83 C1 00 68 */ lwz r30, 0x68(r1)
/* 800631F8 00060158 83 A1 00 64 */ lwz r29, 0x64(r1)
/* 800631FC 0006015C 83 81 00 60 */ lwz r28, 0x60(r1)
/* 80063200 00060160 7C 08 03 A6 */ mtlr r0
/* 80063204 00060164 38 21 00 70 */ addi r1, r1, 0x70
/* 80063208 00060168 4E 80 00 20 */ blr
.global sub_8006320c
sub_8006320c:
/* 8006320C 0006016C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80063210 00060170 7C 08 02 A6 */ mflr r0
/* 80063214 00060174 90 01 00 14 */ stw r0, 0x14(r1)
/* 80063218 00060178 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8006321C 0006017C 7C 9F 23 78 */ mr r31, r4
/* 80063220 00060180 93 C1 00 08 */ stw r30, 8(r1)
/* 80063224 00060184 7C 7E 1B 79 */ or. r30, r3, r3
/* 80063228 00060188 41 82 00 20 */ beq lbl_80063248
/* 8006322C 0006018C 80 7E 00 00 */ lwz r3, 0(r30)
/* 80063230 00060190 38 80 00 01 */ li r4, 1
/* 80063234 00060194 4B FF CE E5 */ bl __dt__Q29CGameArea16CPostConstructedFv
/* 80063238 00060198 7F E0 07 35 */ extsh. r0, r31
/* 8006323C 0006019C 40 81 00 0C */ ble lbl_80063248
/* 80063240 000601A0 7F C3 F3 78 */ mr r3, r30
/* 80063244 000601A4 48 2B 26 ED */ bl Free__7CMemoryFPCv
lbl_80063248:
/* 80063248 000601A8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8006324C 000601AC 7F C3 F3 78 */ mr r3, r30
/* 80063250 000601B0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80063254 000601B4 83 C1 00 08 */ lwz r30, 8(r1)
/* 80063258 000601B8 7C 08 03 A6 */ mtlr r0
/* 8006325C 000601BC 38 21 00 10 */ addi r1, r1, 0x10
/* 80063260 000601C0 4E 80 00 20 */ blr
.global __ct__9CGameAreaFR12CInputStreami
__ct__9CGameAreaFR12CInputStreami:
/* 80063264 000601C4 94 21 FF 10 */ stwu r1, -0xf0(r1)
/* 80063268 000601C8 7C 08 02 A6 */ mflr r0
/* 8006326C 000601CC 3D 00 80 3E */ lis r8, lbl_803DA26C@ha
/* 80063270 000601D0 3C E0 80 3E */ lis r7, lbl_803DA234@ha
/* 80063274 000601D4 90 01 00 F4 */ stw r0, 0xf4(r1)
/* 80063278 000601D8 38 07 A2 34 */ addi r0, r7, lbl_803DA234@l
/* 8006327C 000601DC BF 41 00 D8 */ stmw r26, 0xd8(r1)
/* 80063280 000601E0 7C 7D 1B 78 */ mr r29, r3
/* 80063284 000601E4 38 68 A2 6C */ addi r3, r8, lbl_803DA26C@l
/* 80063288 000601E8 7C 9E 23 78 */ mr r30, r4
/* 8006328C 000601EC 7C DF 33 78 */ mr r31, r6
/* 80063290 000601F0 90 7D 00 00 */ stw r3, 0(r29)
/* 80063294 000601F4 7F C3 F3 78 */ mr r3, r30
/* 80063298 000601F8 90 1D 00 00 */ stw r0, 0(r29)
/* 8006329C 000601FC 90 BD 00 04 */ stw r5, 4(r29)
/* 800632A0 00060200 48 2D B9 E5 */ bl ReadLong__12CInputStreamFv
/* 800632A4 00060204 90 7D 00 08 */ stw r3, 8(r29)
/* 800632A8 00060208 7F C4 F3 78 */ mr r4, r30
/* 800632AC 0006020C 38 7D 00 0C */ addi r3, r29, 0xc
/* 800632B0 00060210 48 2B 00 2D */ bl __ct__12CTransform4fFR12CInputStream
/* 800632B4 00060214 38 61 00 58 */ addi r3, r1, 0x58
/* 800632B8 00060218 38 9D 00 0C */ addi r4, r29, 0xc
/* 800632BC 0006021C 48 2A F4 25 */ bl GetInverse__12CTransform4fCFv
/* 800632C0 00060220 38 7D 00 3C */ addi r3, r29, 0x3c
/* 800632C4 00060224 38 81 00 58 */ addi r4, r1, 0x58
/* 800632C8 00060228 48 2A F8 AD */ bl __ct__12CTransform4fFRC12CTransform4f
/* 800632CC 0006022C 7F C4 F3 78 */ mr r4, r30
/* 800632D0 00060230 38 7D 00 6C */ addi r3, r29, 0x6c
/* 800632D4 00060234 48 2D 52 69 */ bl __ct__6CAABoxFR12CInputStream
/* 800632D8 00060238 7F C3 F3 78 */ mr r3, r30
/* 800632DC 0006023C 48 2D B9 A9 */ bl ReadLong__12CInputStreamFv
/* 800632E0 00060240 2C 1F 00 0F */ cmpwi r31, 0xf
/* 800632E4 00060244 90 7D 00 84 */ stw r3, 0x84(r29)
/* 800632E8 00060248 40 81 00 10 */ ble lbl_800632F8
/* 800632EC 0006024C 7F C3 F3 78 */ mr r3, r30
/* 800632F0 00060250 48 2D B9 95 */ bl ReadLong__12CInputStreamFv
/* 800632F4 00060254 48 00 00 08 */ b lbl_800632FC
lbl_800632F8:
/* 800632F8 00060258 38 60 FF FF */ li r3, -1
lbl_800632FC:
/* 800632FC 0006025C 90 7D 00 88 */ stw r3, 0x88(r29)
/* 80063300 00060260 38 00 00 00 */ li r0, 0
/* 80063304 00060264 7F C3 F3 78 */ mr r3, r30
/* 80063308 00060268 90 1D 00 90 */ stw r0, 0x90(r29)
/* 8006330C 0006026C 90 1D 00 94 */ stw r0, 0x94(r29)
/* 80063310 00060270 90 1D 00 98 */ stw r0, 0x98(r29)
/* 80063314 00060274 48 2D B9 71 */ bl ReadLong__12CInputStreamFv
/* 80063318 00060278 7C 7A 1B 78 */ mr r26, r3
/* 8006331C 0006027C 38 7D 00 8C */ addi r3, r29, 0x8c
/* 80063320 00060280 7F 44 D3 78 */ mr r4, r26
/* 80063324 00060284 48 00 0F DD */ bl "reserve__Q24rstl37vector<Us,Q24rstl17rmemory_allocator>Fi"
/* 80063328 00060288 3B 60 00 00 */ li r27, 0
/* 8006332C 0006028C 48 00 00 60 */ b lbl_8006338C
lbl_80063330:
/* 80063330 00060290 7F C3 F3 78 */ mr r3, r30
/* 80063334 00060294 48 2D B9 7D */ bl ReadShort__12CInputStreamFv
/* 80063338 00060298 80 1D 00 90 */ lwz r0, 0x90(r29)
/* 8006333C 0006029C 7C 7C 1B 78 */ mr r28, r3
/* 80063340 000602A0 80 BD 00 94 */ lwz r5, 0x94(r29)
/* 80063344 000602A4 7C 00 28 00 */ cmpw r0, r5
/* 80063348 000602A8 41 80 00 1C */ blt lbl_80063364
/* 8006334C 000602AC 2C 05 00 00 */ cmpwi r5, 0
/* 80063350 000602B0 38 7D 00 8C */ addi r3, r29, 0x8c
/* 80063354 000602B4 38 80 00 04 */ li r4, 4
/* 80063358 000602B8 41 82 00 08 */ beq lbl_80063360
/* 8006335C 000602BC 54 A4 08 3C */ slwi r4, r5, 1
lbl_80063360:
/* 80063360 000602C0 48 00 0F A1 */ bl "reserve__Q24rstl37vector<Us,Q24rstl17rmemory_allocator>Fi"
lbl_80063364:
/* 80063364 000602C4 80 1D 00 90 */ lwz r0, 0x90(r29)
/* 80063368 000602C8 80 7D 00 98 */ lwz r3, 0x98(r29)
/* 8006336C 000602CC 54 00 08 3C */ slwi r0, r0, 1
/* 80063370 000602D0 7C 63 02 15 */ add. r3, r3, r0
/* 80063374 000602D4 41 82 00 08 */ beq lbl_8006337C
/* 80063378 000602D8 B3 83 00 00 */ sth r28, 0(r3)
lbl_8006337C:
/* 8006337C 000602DC 80 7D 00 90 */ lwz r3, 0x90(r29)
/* 80063380 000602E0 3B 7B 00 01 */ addi r27, r27, 1
/* 80063384 000602E4 38 03 00 01 */ addi r0, r3, 1
/* 80063388 000602E8 90 1D 00 90 */ stw r0, 0x90(r29)
lbl_8006338C:
/* 8006338C 000602EC 7C 1B D0 00 */ cmpw r27, r26
/* 80063390 000602F0 41 80 FF A0 */ blt lbl_80063330
/* 80063394 000602F4 7F C4 F3 78 */ mr r4, r30
/* 80063398 000602F8 38 7D 00 9C */ addi r3, r29, 0x9c
/* 8006339C 000602FC 38 A1 00 0C */ addi r5, r1, 0xc
/* 800633A0 00060300 4B FF B5 95 */ bl ReadDependencyList__9CGameArea
/* 800633A4 00060304 7F C4 F3 78 */ mr r4, r30
/* 800633A8 00060308 38 7D 00 AC */ addi r3, r29, 0xac
/* 800633AC 0006030C 38 A1 00 08 */ addi r5, r1, 8
/* 800633B0 00060310 4B FF B5 85 */ bl ReadDependencyList__9CGameArea
/* 800633B4 00060314 39 20 00 00 */ li r9, 0
/* 800633B8 00060318 39 00 00 01 */ li r8, 1
/* 800633BC 0006031C 91 3D 00 C0 */ stw r9, 0xc0(r29)
/* 800633C0 00060320 38 DD 01 04 */ addi r6, r29, 0x104
/* 800633C4 00060324 38 00 FF FF */ li r0, -1
/* 800633C8 00060328 38 61 00 40 */ addi r3, r1, 0x40
/* 800633CC 0006032C 91 3D 00 C4 */ stw r9, 0xc4(r29)
/* 800633D0 00060330 38 9D 00 6C */ addi r4, r29, 0x6c
/* 800633D4 00060334 38 BD 00 0C */ addi r5, r29, 0xc
/* 800633D8 00060338 91 3D 00 C8 */ stw r9, 0xc8(r29)
/* 800633DC 0006033C 91 3D 00 D0 */ stw r9, 0xd0(r29)
/* 800633E0 00060340 91 3D 00 D4 */ stw r9, 0xd4(r29)
/* 800633E4 00060344 91 3D 00 D8 */ stw r9, 0xd8(r29)
/* 800633E8 00060348 91 3D 00 E0 */ stw r9, 0xe0(r29)
/* 800633EC 0006034C 91 3D 00 E4 */ stw r9, 0xe4(r29)
/* 800633F0 00060350 91 3D 00 E8 */ stw r9, 0xe8(r29)
/* 800633F4 00060354 91 3D 00 EC */ stw r9, 0xec(r29)
/* 800633F8 00060358 88 FD 00 F0 */ lbz r7, 0xf0(r29)
/* 800633FC 0006035C 51 27 3E 30 */ rlwimi r7, r9, 7, 0x18, 0x18
/* 80063400 00060360 98 FD 00 F0 */ stb r7, 0xf0(r29)
/* 80063404 00060364 88 FD 00 F0 */ lbz r7, 0xf0(r29)
/* 80063408 00060368 51 07 36 72 */ rlwimi r7, r8, 6, 0x19, 0x19
/* 8006340C 0006036C 98 FD 00 F0 */ stb r7, 0xf0(r29)
/* 80063410 00060370 88 FD 00 F0 */ lbz r7, 0xf0(r29)
/* 80063414 00060374 51 27 2E B4 */ rlwimi r7, r9, 5, 0x1a, 0x1a
/* 80063418 00060378 98 FD 00 F0 */ stb r7, 0xf0(r29)
/* 8006341C 0006037C 88 FD 00 F0 */ lbz r7, 0xf0(r29)
/* 80063420 00060380 51 27 26 F6 */ rlwimi r7, r9, 4, 0x1b, 0x1b
/* 80063424 00060384 98 FD 00 F0 */ stb r7, 0xf0(r29)
/* 80063428 00060388 88 FD 00 F0 */ lbz r7, 0xf0(r29)
/* 8006342C 0006038C 51 27 1F 38 */ rlwimi r7, r9, 3, 0x1c, 0x1c
/* 80063430 00060390 98 FD 00 F0 */ stb r7, 0xf0(r29)
/* 80063434 00060394 91 3D 00 F4 */ stw r9, 0xf4(r29)
/* 80063438 00060398 90 DD 00 FC */ stw r6, 0xfc(r29)
/* 8006343C 0006039C 90 DD 01 00 */ stw r6, 0x100(r29)
/* 80063440 000603A0 90 DD 01 04 */ stw r6, 0x104(r29)
/* 80063444 000603A4 90 DD 01 08 */ stw r6, 0x108(r29)
/* 80063448 000603A8 91 3D 01 0C */ stw r9, 0x10c(r29)
/* 8006344C 000603AC 91 3D 01 14 */ stw r9, 0x114(r29)
/* 80063450 000603B0 91 3D 01 18 */ stw r9, 0x118(r29)
/* 80063454 000603B4 91 3D 01 1C */ stw r9, 0x11c(r29)
/* 80063458 000603B8 91 3D 01 20 */ stw r9, 0x120(r29)
/* 8006345C 000603BC 91 3D 01 24 */ stw r9, 0x124(r29)
/* 80063460 000603C0 91 3D 01 28 */ stw r9, 0x128(r29)
/* 80063464 000603C4 91 3D 01 2C */ stw r9, 0x12c(r29)
/* 80063468 000603C8 91 3D 01 30 */ stw r9, 0x130(r29)
/* 8006346C 000603CC 91 3D 01 34 */ stw r9, 0x134(r29)
/* 80063470 000603D0 90 1D 01 38 */ stw r0, 0x138(r29)
/* 80063474 000603D4 48 2D 44 89 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f
/* 80063478 000603D8 80 61 00 40 */ lwz r3, 0x40(r1)
/* 8006347C 000603DC 2C 1F 00 0D */ cmpwi r31, 0xd
/* 80063480 000603E0 80 01 00 44 */ lwz r0, 0x44(r1)
/* 80063484 000603E4 90 7D 00 6C */ stw r3, 0x6c(r29)
/* 80063488 000603E8 90 1D 00 70 */ stw r0, 0x70(r29)
/* 8006348C 000603EC 80 01 00 48 */ lwz r0, 0x48(r1)
/* 80063490 000603F0 90 1D 00 74 */ stw r0, 0x74(r29)
/* 80063494 000603F4 80 61 00 4C */ lwz r3, 0x4c(r1)
/* 80063498 000603F8 80 01 00 50 */ lwz r0, 0x50(r1)
/* 8006349C 000603FC 90 7D 00 78 */ stw r3, 0x78(r29)
/* 800634A0 00060400 90 1D 00 7C */ stw r0, 0x7c(r29)
/* 800634A4 00060404 80 01 00 54 */ lwz r0, 0x54(r1)
/* 800634A8 00060408 90 1D 00 80 */ stw r0, 0x80(r29)
/* 800634AC 0006040C 40 81 00 E8 */ ble lbl_80063594
/* 800634B0 00060410 38 00 00 00 */ li r0, 0
/* 800634B4 00060414 7F C3 F3 78 */ mr r3, r30
/* 800634B8 00060418 90 01 00 34 */ stw r0, 0x34(r1)
/* 800634BC 0006041C 90 01 00 38 */ stw r0, 0x38(r1)
/* 800634C0 00060420 90 01 00 3C */ stw r0, 0x3c(r1)
/* 800634C4 00060424 48 2D B7 C1 */ bl ReadLong__12CInputStreamFv
/* 800634C8 00060428 7C 7A 1B 78 */ mr r26, r3
/* 800634CC 0006042C 38 61 00 30 */ addi r3, r1, 0x30
/* 800634D0 00060430 7F 44 D3 78 */ mr r4, r26
/* 800634D4 00060434 48 00 06 51 */ bl "reserve__Q24rstl37vector<Ui,Q24rstl17rmemory_allocator>Fi"
/* 800634D8 00060438 3B 60 00 00 */ li r27, 0
/* 800634DC 0006043C 48 00 00 60 */ b lbl_8006353C
lbl_800634E0:
/* 800634E0 00060440 7F C3 F3 78 */ mr r3, r30
/* 800634E4 00060444 48 2D B7 A1 */ bl ReadLong__12CInputStreamFv
/* 800634E8 00060448 80 01 00 34 */ lwz r0, 0x34(r1)
/* 800634EC 0006044C 7C 7F 1B 78 */ mr r31, r3
/* 800634F0 00060450 80 A1 00 38 */ lwz r5, 0x38(r1)
/* 800634F4 00060454 7C 00 28 00 */ cmpw r0, r5
/* 800634F8 00060458 41 80 00 1C */ blt lbl_80063514
/* 800634FC 0006045C 2C 05 00 00 */ cmpwi r5, 0
/* 80063500 00060460 38 61 00 30 */ addi r3, r1, 0x30
/* 80063504 00060464 38 80 00 04 */ li r4, 4
/* 80063508 00060468 41 82 00 08 */ beq lbl_80063510
/* 8006350C 0006046C 54 A4 08 3C */ slwi r4, r5, 1
lbl_80063510:
/* 80063510 00060470 48 00 06 15 */ bl "reserve__Q24rstl37vector<Ui,Q24rstl17rmemory_allocator>Fi"
lbl_80063514:
/* 80063514 00060474 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80063518 00060478 80 61 00 3C */ lwz r3, 0x3c(r1)
/* 8006351C 0006047C 54 00 10 3A */ slwi r0, r0, 2
/* 80063520 00060480 7C 63 02 15 */ add. r3, r3, r0
/* 80063524 00060484 41 82 00 08 */ beq lbl_8006352C
/* 80063528 00060488 93 E3 00 00 */ stw r31, 0(r3)
lbl_8006352C:
/* 8006352C 0006048C 80 61 00 34 */ lwz r3, 0x34(r1)
/* 80063530 00060490 3B 7B 00 01 */ addi r27, r27, 1
/* 80063534 00060494 38 03 00 01 */ addi r0, r3, 1
/* 80063538 00060498 90 01 00 34 */ stw r0, 0x34(r1)
lbl_8006353C:
/* 8006353C 0006049C 7C 1B D0 00 */ cmpw r27, r26
/* 80063540 000604A0 41 80 FF A0 */ blt lbl_800634E0
/* 80063544 000604A4 38 7D 00 BC */ addi r3, r29, 0xbc
/* 80063548 000604A8 38 81 00 30 */ addi r4, r1, 0x30
/* 8006354C 000604AC 48 00 01 B1 */ bl "clear__Q24rstl37vector<Ui,Q24rstl17rmemory_allocator>Fv"
/* 80063550 000604B0 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80063554 000604B4 80 61 00 3C */ lwz r3, 0x3c(r1)
/* 80063558 000604B8 54 00 10 3A */ slwi r0, r0, 2
/* 8006355C 000604BC 7C 03 02 14 */ add r0, r3, r0
/* 80063560 000604C0 90 61 00 14 */ stw r3, 0x14(r1)
/* 80063564 000604C4 7C 64 1B 78 */ mr r4, r3
/* 80063568 000604C8 90 01 00 1C */ stw r0, 0x1c(r1)
/* 8006356C 000604CC 90 01 00 18 */ stw r0, 0x18(r1)
/* 80063570 000604D0 90 61 00 10 */ stw r3, 0x10(r1)
/* 80063574 000604D4 48 00 00 08 */ b lbl_8006357C
lbl_80063578:
/* 80063578 000604D8 38 84 00 04 */ addi r4, r4, 4
lbl_8006357C:
/* 8006357C 000604DC 7C 04 00 40 */ cmplw r4, r0
/* 80063580 000604E0 40 82 FF F8 */ bne lbl_80063578
/* 80063584 000604E4 28 03 00 00 */ cmplwi r3, 0
/* 80063588 000604E8 41 82 00 68 */ beq lbl_800635F0
/* 8006358C 000604EC 48 2B 23 A5 */ bl Free__7CMemoryFPCv
/* 80063590 000604F0 48 00 00 60 */ b lbl_800635F0
lbl_80063594:
/* 80063594 000604F4 38 7D 00 BC */ addi r3, r29, 0xbc
/* 80063598 000604F8 38 80 00 01 */ li r4, 1
/* 8006359C 000604FC 48 00 05 89 */ bl "reserve__Q24rstl37vector<Ui,Q24rstl17rmemory_allocator>Fi"
/* 800635A0 00060500 80 1D 00 C0 */ lwz r0, 0xc0(r29)
/* 800635A4 00060504 80 BD 00 C4 */ lwz r5, 0xc4(r29)
/* 800635A8 00060508 7C 00 28 00 */ cmpw r0, r5
/* 800635AC 0006050C 41 80 00 1C */ blt lbl_800635C8
/* 800635B0 00060510 2C 05 00 00 */ cmpwi r5, 0
/* 800635B4 00060514 38 7D 00 BC */ addi r3, r29, 0xbc
/* 800635B8 00060518 38 80 00 04 */ li r4, 4
/* 800635BC 0006051C 41 82 00 08 */ beq lbl_800635C4
/* 800635C0 00060520 54 A4 08 3C */ slwi r4, r5, 1
lbl_800635C4:
/* 800635C4 00060524 48 00 05 61 */ bl "reserve__Q24rstl37vector<Ui,Q24rstl17rmemory_allocator>Fi"
lbl_800635C8:
/* 800635C8 00060528 80 1D 00 C0 */ lwz r0, 0xc0(r29)
/* 800635CC 0006052C 80 7D 00 C8 */ lwz r3, 0xc8(r29)
/* 800635D0 00060530 54 00 10 3A */ slwi r0, r0, 2
/* 800635D4 00060534 7C 63 02 15 */ add. r3, r3, r0
/* 800635D8 00060538 41 82 00 0C */ beq lbl_800635E4
/* 800635DC 0006053C 80 0D 82 DC */ lwz r0, lbl_805A6E9C@sda21(r13)
/* 800635E0 00060540 90 03 00 00 */ stw r0, 0(r3)
lbl_800635E4:
/* 800635E4 00060544 80 7D 00 C0 */ lwz r3, 0xc0(r29)
/* 800635E8 00060548 38 03 00 01 */ addi r0, r3, 1
/* 800635EC 0006054C 90 1D 00 C0 */ stw r0, 0xc0(r29)
lbl_800635F0:
/* 800635F0 00060550 7F C3 F3 78 */ mr r3, r30
/* 800635F4 00060554 48 2D B6 91 */ bl ReadLong__12CInputStreamFv
/* 800635F8 00060558 7C 7A 1B 78 */ mr r26, r3
/* 800635FC 0006055C 38 7D 00 CC */ addi r3, r29, 0xcc
/* 80063600 00060560 7F 44 D3 78 */ mr r4, r26
/* 80063604 00060564 48 00 0D E9 */ bl sub_800643ec
/* 80063608 00060568 3B 60 00 00 */ li r27, 0
/* 8006360C 0006056C 48 00 00 30 */ b lbl_8006363C
lbl_80063610:
/* 80063610 00060570 7F C4 F3 78 */ mr r4, r30
/* 80063614 00060574 38 61 00 88 */ addi r3, r1, 0x88
/* 80063618 00060578 38 BD 00 0C */ addi r5, r29, 0xc
/* 8006361C 0006057C 4B FF BD 65 */ bl __ct__Q29IGameArea4DockFR12CInputStreamRC12CTransform4f
/* 80063620 00060580 38 7D 00 CC */ addi r3, r29, 0xcc
/* 80063624 00060584 38 81 00 88 */ addi r4, r1, 0x88
/* 80063628 00060588 4B FF B1 31 */ bl sub_8005e758
/* 8006362C 0006058C 38 61 00 88 */ addi r3, r1, 0x88
/* 80063630 00060590 38 80 FF FF */ li r4, -1
/* 80063634 00060594 4B FF 3A B5 */ bl sub_800570e8
/* 80063638 00060598 3B 7B 00 01 */ addi r27, r27, 1
lbl_8006363C:
/* 8006363C 0006059C 7C 1B D0 00 */ cmpw r27, r26
/* 80063640 000605A0 41 80 FF D0 */ blt lbl_80063610
/* 80063644 000605A4 7F A3 EB 78 */ mr r3, r29
/* 80063648 000605A8 4B FF F8 A9 */ bl ClearTokenList__9CGameAreaFv
/* 8006364C 000605AC 3B 60 00 00 */ li r27, 0
/* 80063650 000605B0 3B 40 00 00 */ li r26, 0
/* 80063654 000605B4 48 00 00 40 */ b lbl_80063694
lbl_80063658:
/* 80063658 000605B8 80 1D 00 B8 */ lwz r0, 0xb8(r29)
/* 8006365C 000605BC 38 81 00 28 */ addi r4, r1, 0x28
/* 80063660 000605C0 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13)
/* 80063664 000605C4 7C C0 D2 14 */ add r6, r0, r26
/* 80063668 000605C8 80 A6 00 00 */ lwz r5, 0(r6)
/* 8006366C 000605CC 38 63 00 04 */ addi r3, r3, 4
/* 80063670 000605D0 80 06 00 04 */ lwz r0, 4(r6)
/* 80063674 000605D4 90 01 00 28 */ stw r0, 0x28(r1)
/* 80063678 000605D8 90 A1 00 2C */ stw r5, 0x2c(r1)
/* 8006367C 000605DC 48 2D 85 D5 */ bl ResourceSize__10CResLoaderCFRC10SObjectTag
/* 80063680 000605E0 80 1D 00 EC */ lwz r0, 0xec(r29)
/* 80063684 000605E4 3B 5A 00 08 */ addi r26, r26, 8
/* 80063688 000605E8 3B 7B 00 01 */ addi r27, r27, 1
/* 8006368C 000605EC 7C 00 1A 14 */ add r0, r0, r3
/* 80063690 000605F0 90 1D 00 EC */ stw r0, 0xec(r29)
lbl_80063694:
/* 80063694 000605F4 80 1D 00 E0 */ lwz r0, 0xe0(r29)
/* 80063698 000605F8 7C 1B 00 00 */ cmpw r27, r0
/* 8006369C 000605FC 41 80 FF BC */ blt lbl_80063658
/* 800636A0 00060600 80 BD 00 84 */ lwz r5, 0x84(r29)
/* 800636A4 00060604 3C 60 4D 52 */ lis r3, 0x4D524541@ha
/* 800636A8 00060608 38 03 45 41 */ addi r0, r3, 0x4D524541@l
/* 800636AC 0006060C 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13)
/* 800636B0 00060610 90 01 00 20 */ stw r0, 0x20(r1)
/* 800636B4 00060614 38 81 00 20 */ addi r4, r1, 0x20
/* 800636B8 00060618 38 63 00 04 */ addi r3, r3, 4
/* 800636BC 0006061C 90 A1 00 24 */ stw r5, 0x24(r1)
/* 800636C0 00060620 48 2D 85 91 */ bl ResourceSize__10CResLoaderCFRC10SObjectTag
/* 800636C4 00060624 80 1D 00 EC */ lwz r0, 0xec(r29)
/* 800636C8 00060628 7C 00 1A 14 */ add r0, r0, r3
/* 800636CC 0006062C 7F A3 EB 78 */ mr r3, r29
/* 800636D0 00060630 90 1D 00 EC */ stw r0, 0xec(r29)
/* 800636D4 00060634 48 00 03 91 */ bl GetPreConstructedSize__9CGameAreaCFv
/* 800636D8 00060638 80 0D A2 F0 */ lwz r0, lbl_805A8EB0@sda21(r13)
/* 800636DC 0006063C 7C 00 1A 14 */ add r0, r0, r3
/* 800636E0 00060640 7F A3 EB 78 */ mr r3, r29
/* 800636E4 00060644 90 0D A2 F0 */ stw r0, lbl_805A8EB0@sda21(r13)
/* 800636E8 00060648 BB 41 00 D8 */ lmw r26, 0xd8(r1)
/* 800636EC 0006064C 80 01 00 F4 */ lwz r0, 0xf4(r1)
/* 800636F0 00060650 7C 08 03 A6 */ mtlr r0
/* 800636F4 00060654 38 21 00 F0 */ addi r1, r1, 0xf0
/* 800636F8 00060658 4E 80 00 20 */ blr
.global "clear__Q24rstl37vector<Ui,Q24rstl17rmemory_allocator>Fv"
"clear__Q24rstl37vector<Ui,Q24rstl17rmemory_allocator>Fv":
/* 800636FC 0006065C 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80063700 00060660 7C 08 02 A6 */ mflr r0
/* 80063704 00060664 90 01 00 24 */ stw r0, 0x24(r1)
/* 80063708 00060668 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8006370C 0006066C 7C 7F 1B 78 */ mr r31, r3
/* 80063710 00060670 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80063714 00060674 7C 9E 23 78 */ mr r30, r4
/* 80063718 00060678 7C 1F F0 40 */ cmplw r31, r30
/* 8006371C 0006067C 40 82 00 08 */ bne lbl_80063724
/* 80063720 00060680 48 00 00 B8 */ b lbl_800637D8
lbl_80063724:
/* 80063724 00060684 80 1F 00 04 */ lwz r0, 4(r31)
/* 80063728 00060688 80 7F 00 0C */ lwz r3, 0xc(r31)
/* 8006372C 0006068C 54 00 10 3A */ slwi r0, r0, 2
/* 80063730 00060690 7C 03 02 14 */ add r0, r3, r0
/* 80063734 00060694 90 61 00 0C */ stw r3, 0xc(r1)
/* 80063738 00060698 90 01 00 14 */ stw r0, 0x14(r1)
/* 8006373C 0006069C 90 01 00 10 */ stw r0, 0x10(r1)
/* 80063740 000606A0 90 61 00 08 */ stw r3, 8(r1)
/* 80063744 000606A4 48 00 00 08 */ b lbl_8006374C
lbl_80063748:
/* 80063748 000606A8 38 63 00 04 */ addi r3, r3, 4
lbl_8006374C:
/* 8006374C 000606AC 7C 03 00 40 */ cmplw r3, r0
/* 80063750 000606B0 40 82 FF F8 */ bne lbl_80063748
/* 80063754 000606B4 38 00 00 00 */ li r0, 0
/* 80063758 000606B8 90 1F 00 04 */ stw r0, 4(r31)
/* 8006375C 000606BC 80 9E 00 04 */ lwz r4, 4(r30)
/* 80063760 000606C0 2C 04 00 00 */ cmpwi r4, 0
/* 80063764 000606C4 40 82 00 28 */ bne lbl_8006378C
/* 80063768 000606C8 80 7F 00 0C */ lwz r3, 0xc(r31)
/* 8006376C 000606CC 28 03 00 00 */ cmplwi r3, 0
/* 80063770 000606D0 41 82 00 08 */ beq lbl_80063778
/* 80063774 000606D4 48 2B 21 BD */ bl Free__7CMemoryFPCv
lbl_80063778:
/* 80063778 000606D8 38 00 00 00 */ li r0, 0
/* 8006377C 000606DC 90 1F 00 04 */ stw r0, 4(r31)
/* 80063780 000606E0 90 1F 00 08 */ stw r0, 8(r31)
/* 80063784 000606E4 90 1F 00 0C */ stw r0, 0xc(r31)
/* 80063788 000606E8 48 00 00 4C */ b lbl_800637D4
lbl_8006378C:
/* 8006378C 000606EC 7F E3 FB 78 */ mr r3, r31
/* 80063790 000606F0 48 00 03 95 */ bl "reserve__Q24rstl37vector<Ui,Q24rstl17rmemory_allocator>Fi"
/* 80063794 000606F4 80 1E 00 04 */ lwz r0, 4(r30)
/* 80063798 000606F8 80 BE 00 0C */ lwz r5, 0xc(r30)
/* 8006379C 000606FC 54 00 10 3A */ slwi r0, r0, 2
/* 800637A0 00060700 80 7F 00 0C */ lwz r3, 0xc(r31)
/* 800637A4 00060704 7C 85 02 14 */ add r4, r5, r0
/* 800637A8 00060708 48 00 00 1C */ b lbl_800637C4
lbl_800637AC:
/* 800637AC 0006070C 28 03 00 00 */ cmplwi r3, 0
/* 800637B0 00060710 41 82 00 0C */ beq lbl_800637BC
/* 800637B4 00060714 80 05 00 00 */ lwz r0, 0(r5)
/* 800637B8 00060718 90 03 00 00 */ stw r0, 0(r3)
lbl_800637BC:
/* 800637BC 0006071C 38 63 00 04 */ addi r3, r3, 4
/* 800637C0 00060720 38 A5 00 04 */ addi r5, r5, 4
lbl_800637C4:
/* 800637C4 00060724 7C 05 20 40 */ cmplw r5, r4
/* 800637C8 00060728 40 82 FF E4 */ bne lbl_800637AC
/* 800637CC 0006072C 80 1E 00 04 */ lwz r0, 4(r30)
/* 800637D0 00060730 90 1F 00 04 */ stw r0, 4(r31)
lbl_800637D4:
/* 800637D4 00060734 7F E3 FB 78 */ mr r3, r31
lbl_800637D8:
/* 800637D8 00060738 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800637DC 0006073C 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 800637E0 00060740 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 800637E4 00060744 7C 08 03 A6 */ mtlr r0
/* 800637E8 00060748 38 21 00 20 */ addi r1, r1, 0x20
/* 800637EC 0006074C 4E 80 00 20 */ blr
.global __ct__Q29CGameArea16CPostConstructedFv
__ct__Q29CGameArea16CPostConstructedFv:
/* 800637F0 00060750 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800637F4 00060754 38 E0 00 00 */ li r7, 0
/* 800637F8 00060758 3C 80 00 01 */ lis r4, 0x0000FFFF@ha
/* 800637FC 0006075C 38 C0 04 00 */ li r6, 0x400
/* 80063800 00060760 98 E3 00 00 */ stb r7, 0(r3)
/* 80063804 00060764 38 A4 FF FF */ addi r5, r4, 0x0000FFFF@l
/* 80063808 00060768 38 00 00 80 */ li r0, 0x80
/* 8006380C 0006076C 39 03 00 A8 */ addi r8, r3, 0xa8
/* 80063810 00060770 90 E3 00 04 */ stw r7, 4(r3)
/* 80063814 00060774 90 E3 00 08 */ stw r7, 8(r3)
/* 80063818 00060778 98 E3 00 48 */ stb r7, 0x48(r3)
/* 8006381C 0006077C 90 E3 00 50 */ stw r7, 0x50(r3)
/* 80063820 00060780 90 E3 00 54 */ stw r7, 0x54(r3)
/* 80063824 00060784 90 E3 00 58 */ stw r7, 0x58(r3)
/* 80063828 00060788 90 E3 00 5C */ stw r7, 0x5c(r3)
/* 8006382C 0006078C 90 E3 00 64 */ stw r7, 0x64(r3)
/* 80063830 00060790 90 E3 00 68 */ stw r7, 0x68(r3)
/* 80063834 00060794 90 E3 00 6C */ stw r7, 0x6c(r3)
/* 80063838 00060798 90 E3 00 74 */ stw r7, 0x74(r3)
/* 8006383C 0006079C 90 E3 00 78 */ stw r7, 0x78(r3)
/* 80063840 000607A0 90 E3 00 7C */ stw r7, 0x7c(r3)
/* 80063844 000607A4 90 E3 00 84 */ stw r7, 0x84(r3)
/* 80063848 000607A8 90 E3 00 88 */ stw r7, 0x88(r3)
/* 8006384C 000607AC 90 E3 00 8C */ stw r7, 0x8c(r3)
/* 80063850 000607B0 90 E3 00 94 */ stw r7, 0x94(r3)
/* 80063854 000607B4 90 E3 00 98 */ stw r7, 0x98(r3)
/* 80063858 000607B8 90 E3 00 9C */ stw r7, 0x9c(r3)
/* 8006385C 000607BC 90 E3 00 A0 */ stw r7, 0xa0(r3)
/* 80063860 000607C0 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13)
/* 80063864 000607C4 B0 81 00 08 */ sth r4, 8(r1)
/* 80063868 000607C8 54 84 04 3E */ clrlwi r4, r4, 0x10
/* 8006386C 000607CC 90 C3 00 A4 */ stw r6, 0xa4(r3)
/* 80063870 000607D0 7C 09 03 A6 */ mtctr r0
lbl_80063874:
/* 80063874 000607D4 28 08 00 00 */ cmplwi r8, 0
/* 80063878 000607D8 41 82 00 0C */ beq lbl_80063884
/* 8006387C 000607DC B0 A8 00 00 */ sth r5, 0(r8)
/* 80063880 000607E0 B0 88 00 02 */ sth r4, 2(r8)
lbl_80063884:
/* 80063884 000607E4 35 08 00 04 */ addic. r8, r8, 4
/* 80063888 000607E8 41 82 00 0C */ beq lbl_80063894
/* 8006388C 000607EC B0 A8 00 00 */ sth r5, 0(r8)
/* 80063890 000607F0 B0 88 00 02 */ sth r4, 2(r8)
lbl_80063894:
/* 80063894 000607F4 35 08 00 04 */ addic. r8, r8, 4
/* 80063898 000607F8 41 82 00 0C */ beq lbl_800638A4
/* 8006389C 000607FC B0 A8 00 00 */ sth r5, 0(r8)
/* 800638A0 00060800 B0 88 00 02 */ sth r4, 2(r8)
lbl_800638A4:
/* 800638A4 00060804 35 08 00 04 */ addic. r8, r8, 4
/* 800638A8 00060808 41 82 00 0C */ beq lbl_800638B4
/* 800638AC 0006080C B0 A8 00 00 */ sth r5, 0(r8)
/* 800638B0 00060810 B0 88 00 02 */ sth r4, 2(r8)
lbl_800638B4:
/* 800638B4 00060814 35 08 00 04 */ addic. r8, r8, 4
/* 800638B8 00060818 41 82 00 0C */ beq lbl_800638C4
/* 800638BC 0006081C B0 A8 00 00 */ sth r5, 0(r8)
/* 800638C0 00060820 B0 88 00 02 */ sth r4, 2(r8)
lbl_800638C4:
/* 800638C4 00060824 35 08 00 04 */ addic. r8, r8, 4
/* 800638C8 00060828 41 82 00 0C */ beq lbl_800638D4
/* 800638CC 0006082C B0 A8 00 00 */ sth r5, 0(r8)
/* 800638D0 00060830 B0 88 00 02 */ sth r4, 2(r8)
lbl_800638D4:
/* 800638D4 00060834 35 08 00 04 */ addic. r8, r8, 4
/* 800638D8 00060838 41 82 00 0C */ beq lbl_800638E4
/* 800638DC 0006083C B0 A8 00 00 */ sth r5, 0(r8)
/* 800638E0 00060840 B0 88 00 02 */ sth r4, 2(r8)
lbl_800638E4:
/* 800638E4 00060844 35 08 00 04 */ addic. r8, r8, 4
/* 800638E8 00060848 41 82 00 0C */ beq lbl_800638F4
/* 800638EC 0006084C B0 A8 00 00 */ sth r5, 0(r8)
/* 800638F0 00060850 B0 88 00 02 */ sth r4, 2(r8)
lbl_800638F4:
/* 800638F4 00060854 38 E7 00 07 */ addi r7, r7, 7
/* 800638F8 00060858 39 08 00 04 */ addi r8, r8, 4
/* 800638FC 0006085C 42 00 FF 78 */ bdnz lbl_80063874
/* 80063900 00060860 38 80 00 00 */ li r4, 0
/* 80063904 00060864 38 00 FF FF */ li r0, -1
/* 80063908 00060868 90 83 10 A8 */ stw r4, 0x10a8(r3)
/* 8006390C 0006086C C0 22 87 00 */ lfs f1, lbl_805AA420@sda21(r2)
/* 80063910 00060870 98 83 10 B8 */ stb r4, 0x10b8(r3)
/* 80063914 00060874 C0 02 87 08 */ lfs f0, lbl_805AA428@sda21(r2)
/* 80063918 00060878 90 83 10 BC */ stw r4, 0x10bc(r3)
/* 8006391C 0006087C 90 83 10 C0 */ stw r4, 0x10c0(r3)
/* 80063920 00060880 90 83 10 C4 */ stw r4, 0x10c4(r3)
/* 80063924 00060884 98 83 10 C8 */ stb r4, 0x10c8(r3)
/* 80063928 00060888 90 83 10 CC */ stw r4, 0x10cc(r3)
/* 8006392C 0006088C 90 83 10 D0 */ stw r4, 0x10d0(r3)
/* 80063930 00060890 90 83 10 D4 */ stw r4, 0x10d4(r3)
/* 80063934 00060894 90 83 10 D8 */ stw r4, 0x10d8(r3)
/* 80063938 00060898 90 83 10 DC */ stw r4, 0x10dc(r3)
/* 8006393C 0006089C 90 83 10 E0 */ stw r4, 0x10e0(r3)
/* 80063940 000608A0 C0 4D 82 D8 */ lfs f2, lbl_805A6E98@sda21(r13)
/* 80063944 000608A4 D0 43 10 E4 */ stfs f2, 0x10e4(r3)
/* 80063948 000608A8 90 03 10 E8 */ stw r0, 0x10e8(r3)
/* 8006394C 000608AC 90 83 10 EC */ stw r4, 0x10ec(r3)
/* 80063950 000608B0 90 83 10 F4 */ stw r4, 0x10f4(r3)
/* 80063954 000608B4 90 83 10 F8 */ stw r4, 0x10f8(r3)
/* 80063958 000608B8 90 83 10 FC */ stw r4, 0x10fc(r3)
/* 8006395C 000608BC 90 83 11 00 */ stw r4, 0x1100(r3)
/* 80063960 000608C0 90 83 11 04 */ stw r4, 0x1104(r3)
/* 80063964 000608C4 88 03 11 08 */ lbz r0, 0x1108(r3)
/* 80063968 000608C8 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18
/* 8006396C 000608CC 98 03 11 08 */ stb r0, 0x1108(r3)
/* 80063970 000608D0 88 03 11 08 */ lbz r0, 0x1108(r3)
/* 80063974 000608D4 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19
/* 80063978 000608D8 98 03 11 08 */ stb r0, 0x1108(r3)
/* 8006397C 000608DC 88 03 11 08 */ lbz r0, 0x1108(r3)
/* 80063980 000608E0 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a
/* 80063984 000608E4 98 03 11 08 */ stb r0, 0x1108(r3)
/* 80063988 000608E8 88 03 11 08 */ lbz r0, 0x1108(r3)
/* 8006398C 000608EC 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c
/* 80063990 000608F0 98 03 11 08 */ stb r0, 0x1108(r3)
/* 80063994 000608F4 88 03 11 08 */ lbz r0, 0x1108(r3)
/* 80063998 000608F8 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d
/* 8006399C 000608FC 98 03 11 08 */ stb r0, 0x1108(r3)
/* 800639A0 00060900 88 03 11 08 */ lbz r0, 0x1108(r3)
/* 800639A4 00060904 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e
/* 800639A8 00060908 98 03 11 08 */ stb r0, 0x1108(r3)
/* 800639AC 0006090C 90 83 11 10 */ stw r4, 0x1110(r3)
/* 800639B0 00060910 90 83 11 14 */ stw r4, 0x1114(r3)
/* 800639B4 00060914 90 83 11 18 */ stw r4, 0x1118(r3)
/* 800639B8 00060918 D0 23 11 1C */ stfs f1, 0x111c(r3)
/* 800639BC 0006091C D0 23 11 20 */ stfs f1, 0x1120(r3)
/* 800639C0 00060920 D0 23 11 24 */ stfs f1, 0x1124(r3)
/* 800639C4 00060924 D0 03 11 28 */ stfs f0, 0x1128(r3)
/* 800639C8 00060928 D0 23 11 2C */ stfs f1, 0x112c(r3)
/* 800639CC 0006092C D0 03 11 30 */ stfs f0, 0x1130(r3)
/* 800639D0 00060930 D0 23 11 34 */ stfs f1, 0x1134(r3)
/* 800639D4 00060934 D0 03 11 38 */ stfs f0, 0x1138(r3)
/* 800639D8 00060938 90 83 11 3C */ stw r4, 0x113c(r3)
/* 800639DC 0006093C 38 21 00 10 */ addi r1, r1, 0x10
/* 800639E0 00060940 4E 80 00 20 */ blr
.global GetPostConstructedSize__9CGameAreaCFv
GetPostConstructedSize__9CGameAreaCFv:
/* 800639E4 00060944 80 E3 01 2C */ lwz r7, 0x12c(r3)
/* 800639E8 00060948 39 00 00 00 */ li r8, 0
/* 800639EC 0006094C 80 A7 00 58 */ lwz r5, 0x58(r7)
/* 800639F0 00060950 48 00 00 14 */ b lbl_80063A04
lbl_800639F4:
/* 800639F4 00060954 80 05 00 54 */ lwz r0, 0x54(r5)
/* 800639F8 00060958 38 A5 00 74 */ addi r5, r5, 0x74
/* 800639FC 0006095C 54 00 10 3A */ slwi r0, r0, 2
/* 80063A00 00060960 7D 08 02 14 */ add r8, r8, r0
lbl_80063A04:
/* 80063A04 00060964 80 07 00 50 */ lwz r0, 0x50(r7)
/* 80063A08 00060968 80 87 00 58 */ lwz r4, 0x58(r7)
/* 80063A0C 0006096C 1C 00 00 74 */ mulli r0, r0, 0x74
/* 80063A10 00060970 7C 04 02 14 */ add r0, r4, r0
/* 80063A14 00060974 7C 05 00 40 */ cmplw r5, r0
/* 80063A18 00060978 40 82 FF DC */ bne lbl_800639F4
/* 80063A1C 0006097C 80 87 00 50 */ lwz r4, 0x50(r7)
/* 80063A20 00060980 80 07 00 64 */ lwz r0, 0x64(r7)
/* 80063A24 00060984 80 C7 00 84 */ lwz r6, 0x84(r7)
/* 80063A28 00060988 1C 84 00 74 */ mulli r4, r4, 0x74
/* 80063A2C 0006098C 80 A7 11 04 */ lwz r5, 0x1104(r7)
/* 80063A30 00060990 80 63 01 20 */ lwz r3, 0x120(r3)
/* 80063A34 00060994 80 E7 11 10 */ lwz r7, 0x1110(r7)
/* 80063A38 00060998 1C 00 00 44 */ mulli r0, r0, 0x44
/* 80063A3C 0006099C 7C 65 18 50 */ subf r3, r5, r3
/* 80063A40 000609A0 54 E5 18 38 */ slwi r5, r7, 3
/* 80063A44 000609A4 7C 63 22 14 */ add r3, r3, r4
/* 80063A48 000609A8 1C 86 00 44 */ mulli r4, r6, 0x44
/* 80063A4C 000609AC 7C 03 02 14 */ add r0, r3, r0
/* 80063A50 000609B0 7C 00 22 14 */ add r0, r0, r4
/* 80063A54 000609B4 7C 60 2A 14 */ add r3, r0, r5
/* 80063A58 000609B8 38 63 20 10 */ addi r3, r3, 0x2010
/* 80063A5C 000609BC 7C 68 1A 14 */ add r3, r8, r3
/* 80063A60 000609C0 4E 80 00 20 */ blr
.global GetPreConstructedSize__9CGameAreaCFv
GetPreConstructedSize__9CGameAreaCFv:
/* 80063A64 000609C4 80 83 00 A0 */ lwz r4, 0xa0(r3)
/* 80063A68 000609C8 80 03 00 B0 */ lwz r0, 0xb0(r3)
/* 80063A6C 000609CC 80 A3 00 90 */ lwz r5, 0x90(r3)
/* 80063A70 000609D0 7C 04 02 14 */ add r0, r4, r0
/* 80063A74 000609D4 80 C3 00 C0 */ lwz r6, 0xc0(r3)
/* 80063A78 000609D8 54 A4 08 3C */ slwi r4, r5, 1
/* 80063A7C 000609DC 80 A3 00 E4 */ lwz r5, 0xe4(r3)
/* 80063A80 000609E0 54 00 18 38 */ slwi r0, r0, 3
/* 80063A84 000609E4 54 C3 10 3A */ slwi r3, r6, 2
/* 80063A88 000609E8 7C 04 02 14 */ add r0, r4, r0
/* 80063A8C 000609EC 7C 00 1A 14 */ add r0, r0, r3
/* 80063A90 000609F0 7C 60 2A 14 */ add r3, r0, r5
/* 80063A94 000609F4 38 63 01 44 */ addi r3, r3, 0x144
/* 80063A98 000609F8 4E 80 00 20 */ blr
.global VerifyHeader__9CGameAreaCFv
VerifyHeader__9CGameAreaCFv:
/* 80063A9C 000609FC 80 03 01 14 */ lwz r0, 0x114(r3)
/* 80063AA0 00060A00 2C 00 00 00 */ cmpwi r0, 0
/* 80063AA4 00060A04 41 82 00 30 */ beq lbl_80063AD4
/* 80063AA8 00060A08 80 63 01 1C */ lwz r3, 0x11c(r3)
/* 80063AAC 00060A0C 80 83 00 04 */ lwz r4, 4(r3)
/* 80063AB0 00060A10 80 64 00 00 */ lwz r3, 0(r4)
/* 80063AB4 00060A14 3C 03 21 53 */ addis r0, r3, 0x2153
/* 80063AB8 00060A18 28 00 BE EF */ cmplwi r0, 0xbeef
/* 80063ABC 00060A1C 40 82 00 18 */ bne lbl_80063AD4
/* 80063AC0 00060A20 80 64 00 04 */ lwz r3, 4(r4)
/* 80063AC4 00060A24 2C 03 00 0C */ cmpwi r3, 0xc
/* 80063AC8 00060A28 41 80 00 0C */ blt lbl_80063AD4
/* 80063ACC 00060A2C 2C 03 00 0F */ cmpwi r3, 0xf
/* 80063AD0 00060A30 4C 81 00 20 */ blelr
lbl_80063AD4:
/* 80063AD4 00060A34 38 60 00 00 */ li r3, 0
/* 80063AD8 00060A38 4E 80 00 20 */ blr
.global __dt__9IGameAreaFv
__dt__9IGameAreaFv:
/* 80063ADC 00060A3C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80063AE0 00060A40 7C 08 02 A6 */ mflr r0
/* 80063AE4 00060A44 90 01 00 14 */ stw r0, 0x14(r1)
/* 80063AE8 00060A48 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80063AEC 00060A4C 7C 7F 1B 79 */ or. r31, r3, r3
/* 80063AF0 00060A50 41 82 00 1C */ beq lbl_80063B0C
/* 80063AF4 00060A54 3C A0 80 3E */ lis r5, lbl_803DA26C@ha
/* 80063AF8 00060A58 7C 80 07 35 */ extsh. r0, r4
/* 80063AFC 00060A5C 38 05 A2 6C */ addi r0, r5, lbl_803DA26C@l
/* 80063B00 00060A60 90 1F 00 00 */ stw r0, 0(r31)
/* 80063B04 00060A64 40 81 00 08 */ ble lbl_80063B0C
/* 80063B08 00060A68 48 2B 1E 29 */ bl Free__7CMemoryFPCv
lbl_80063B0C:
/* 80063B0C 00060A6C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80063B10 00060A70 7F E3 FB 78 */ mr r3, r31
/* 80063B14 00060A74 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80063B18 00060A78 7C 08 03 A6 */ mtlr r0
/* 80063B1C 00060A7C 38 21 00 10 */ addi r1, r1, 0x10
/* 80063B20 00060A80 4E 80 00 20 */ blr
.global "reserve__Q24rstl37vector<Ui,Q24rstl17rmemory_allocator>Fi"
"reserve__Q24rstl37vector<Ui,Q24rstl17rmemory_allocator>Fi":
/* 80063B24 00060A84 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80063B28 00060A88 7C 08 02 A6 */ mflr r0
/* 80063B2C 00060A8C 90 01 00 34 */ stw r0, 0x34(r1)
/* 80063B30 00060A90 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80063B34 00060A94 7C 9F 23 78 */ mr r31, r4
/* 80063B38 00060A98 93 C1 00 28 */ stw r30, 0x28(r1)
/* 80063B3C 00060A9C 7C 7E 1B 78 */ mr r30, r3
/* 80063B40 00060AA0 93 A1 00 24 */ stw r29, 0x24(r1)
/* 80063B44 00060AA4 80 03 00 08 */ lwz r0, 8(r3)
/* 80063B48 00060AA8 7C 1F 00 00 */ cmpw r31, r0
/* 80063B4C 00060AAC 40 81 00 A8 */ ble lbl_80063BF4
/* 80063B50 00060AB0 57 E3 10 3B */ rlwinm. r3, r31, 2, 0, 0x1d
/* 80063B54 00060AB4 40 82 00 0C */ bne lbl_80063B60
/* 80063B58 00060AB8 3B A0 00 00 */ li r29, 0
/* 80063B5C 00060ABC 48 00 00 18 */ b lbl_80063B74
lbl_80063B60:
/* 80063B60 00060AC0 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha
/* 80063B64 00060AC4 38 A0 00 00 */ li r5, 0
/* 80063B68 00060AC8 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l
/* 80063B6C 00060ACC 48 2B 1C AD */ bl __nwa__FUlPCcPCc
/* 80063B70 00060AD0 7C 7D 1B 78 */ mr r29, r3
lbl_80063B74:
/* 80063B74 00060AD4 80 1E 00 04 */ lwz r0, 4(r30)
/* 80063B78 00060AD8 7F A4 EB 78 */ mr r4, r29
/* 80063B7C 00060ADC 80 BE 00 0C */ lwz r5, 0xc(r30)
/* 80063B80 00060AE0 54 00 10 3A */ slwi r0, r0, 2
/* 80063B84 00060AE4 7C 65 02 14 */ add r3, r5, r0
/* 80063B88 00060AE8 90 A1 00 10 */ stw r5, 0x10(r1)
/* 80063B8C 00060AEC 90 61 00 08 */ stw r3, 8(r1)
/* 80063B90 00060AF0 90 61 00 0C */ stw r3, 0xc(r1)
/* 80063B94 00060AF4 90 A1 00 14 */ stw r5, 0x14(r1)
/* 80063B98 00060AF8 48 00 00 1C */ b lbl_80063BB4
lbl_80063B9C:
/* 80063B9C 00060AFC 28 04 00 00 */ cmplwi r4, 0
/* 80063BA0 00060B00 41 82 00 0C */ beq lbl_80063BAC
/* 80063BA4 00060B04 80 05 00 00 */ lwz r0, 0(r5)
/* 80063BA8 00060B08 90 04 00 00 */ stw r0, 0(r4)
lbl_80063BAC:
/* 80063BAC 00060B0C 38 84 00 04 */ addi r4, r4, 4
/* 80063BB0 00060B10 38 A5 00 04 */ addi r5, r5, 4
lbl_80063BB4:
/* 80063BB4 00060B14 7C 05 18 40 */ cmplw r5, r3
/* 80063BB8 00060B18 40 82 FF E4 */ bne lbl_80063B9C
/* 80063BBC 00060B1C 80 1E 00 04 */ lwz r0, 4(r30)
/* 80063BC0 00060B20 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 80063BC4 00060B24 54 00 10 3A */ slwi r0, r0, 2
/* 80063BC8 00060B28 7C 64 1B 78 */ mr r4, r3
/* 80063BCC 00060B2C 7C 03 02 14 */ add r0, r3, r0
/* 80063BD0 00060B30 48 00 00 08 */ b lbl_80063BD8
lbl_80063BD4:
/* 80063BD4 00060B34 38 84 00 04 */ addi r4, r4, 4
lbl_80063BD8:
/* 80063BD8 00060B38 7C 04 00 40 */ cmplw r4, r0
/* 80063BDC 00060B3C 40 82 FF F8 */ bne lbl_80063BD4
/* 80063BE0 00060B40 28 03 00 00 */ cmplwi r3, 0
/* 80063BE4 00060B44 41 82 00 08 */ beq lbl_80063BEC
/* 80063BE8 00060B48 48 2B 1D 49 */ bl Free__7CMemoryFPCv
lbl_80063BEC:
/* 80063BEC 00060B4C 93 BE 00 0C */ stw r29, 0xc(r30)
/* 80063BF0 00060B50 93 FE 00 08 */ stw r31, 8(r30)
lbl_80063BF4:
/* 80063BF4 00060B54 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80063BF8 00060B58 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 80063BFC 00060B5C 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 80063C00 00060B60 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 80063C04 00060B64 7C 08 03 A6 */ mtlr r0
/* 80063C08 00060B68 38 21 00 30 */ addi r1, r1, 0x30
/* 80063C0C 00060B6C 4E 80 00 20 */ blr
.global sub_80063c10
sub_80063c10:
/* 80063C10 00060B70 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80063C14 00060B74 7C 08 02 A6 */ mflr r0
/* 80063C18 00060B78 90 01 00 34 */ stw r0, 0x34(r1)
/* 80063C1C 00060B7C 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80063C20 00060B80 7C 9F 23 78 */ mr r31, r4
/* 80063C24 00060B84 93 C1 00 28 */ stw r30, 0x28(r1)
/* 80063C28 00060B88 7C 7E 1B 78 */ mr r30, r3
/* 80063C2C 00060B8C 93 A1 00 24 */ stw r29, 0x24(r1)
/* 80063C30 00060B90 80 03 00 08 */ lwz r0, 8(r3)
/* 80063C34 00060B94 7C 1F 00 00 */ cmpw r31, r0
/* 80063C38 00060B98 40 81 00 A8 */ ble lbl_80063CE0
/* 80063C3C 00060B9C 57 E3 10 3B */ rlwinm. r3, r31, 2, 0, 0x1d
/* 80063C40 00060BA0 40 82 00 0C */ bne lbl_80063C4C
/* 80063C44 00060BA4 3B A0 00 00 */ li r29, 0
/* 80063C48 00060BA8 48 00 00 18 */ b lbl_80063C60
lbl_80063C4C:
/* 80063C4C 00060BAC 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha
/* 80063C50 00060BB0 38 A0 00 00 */ li r5, 0
/* 80063C54 00060BB4 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l
/* 80063C58 00060BB8 48 2B 1B C1 */ bl __nwa__FUlPCcPCc
/* 80063C5C 00060BBC 7C 7D 1B 78 */ mr r29, r3
lbl_80063C60:
/* 80063C60 00060BC0 80 1E 00 04 */ lwz r0, 4(r30)
/* 80063C64 00060BC4 7F A4 EB 78 */ mr r4, r29
/* 80063C68 00060BC8 80 BE 00 0C */ lwz r5, 0xc(r30)
/* 80063C6C 00060BCC 54 00 10 3A */ slwi r0, r0, 2
/* 80063C70 00060BD0 7C 65 02 14 */ add r3, r5, r0
/* 80063C74 00060BD4 90 A1 00 10 */ stw r5, 0x10(r1)
/* 80063C78 00060BD8 90 61 00 08 */ stw r3, 8(r1)
/* 80063C7C 00060BDC 90 61 00 0C */ stw r3, 0xc(r1)
/* 80063C80 00060BE0 90 A1 00 14 */ stw r5, 0x14(r1)
/* 80063C84 00060BE4 48 00 00 1C */ b lbl_80063CA0
lbl_80063C88:
/* 80063C88 00060BE8 28 04 00 00 */ cmplwi r4, 0
/* 80063C8C 00060BEC 41 82 00 0C */ beq lbl_80063C98
/* 80063C90 00060BF0 80 05 00 00 */ lwz r0, 0(r5)
/* 80063C94 00060BF4 90 04 00 00 */ stw r0, 0(r4)
lbl_80063C98:
/* 80063C98 00060BF8 38 84 00 04 */ addi r4, r4, 4
/* 80063C9C 00060BFC 38 A5 00 04 */ addi r5, r5, 4
lbl_80063CA0:
/* 80063CA0 00060C00 7C 05 18 40 */ cmplw r5, r3
/* 80063CA4 00060C04 40 82 FF E4 */ bne lbl_80063C88
/* 80063CA8 00060C08 80 1E 00 04 */ lwz r0, 4(r30)
/* 80063CAC 00060C0C 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 80063CB0 00060C10 54 00 10 3A */ slwi r0, r0, 2
/* 80063CB4 00060C14 7C 64 1B 78 */ mr r4, r3
/* 80063CB8 00060C18 7C 03 02 14 */ add r0, r3, r0
/* 80063CBC 00060C1C 48 00 00 08 */ b lbl_80063CC4
lbl_80063CC0:
/* 80063CC0 00060C20 38 84 00 04 */ addi r4, r4, 4
lbl_80063CC4:
/* 80063CC4 00060C24 7C 04 00 40 */ cmplw r4, r0
/* 80063CC8 00060C28 40 82 FF F8 */ bne lbl_80063CC0
/* 80063CCC 00060C2C 28 03 00 00 */ cmplwi r3, 0
/* 80063CD0 00060C30 41 82 00 08 */ beq lbl_80063CD8
/* 80063CD4 00060C34 48 2B 1C 5D */ bl Free__7CMemoryFPCv
lbl_80063CD8:
/* 80063CD8 00060C38 93 BE 00 0C */ stw r29, 0xc(r30)
/* 80063CDC 00060C3C 93 FE 00 08 */ stw r31, 8(r30)
lbl_80063CE0:
/* 80063CE0 00060C40 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80063CE4 00060C44 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 80063CE8 00060C48 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 80063CEC 00060C4C 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 80063CF0 00060C50 7C 08 03 A6 */ mtlr r0
/* 80063CF4 00060C54 38 21 00 30 */ addi r1, r1, 0x30
/* 80063CF8 00060C58 4E 80 00 20 */ blr
.global sub_80063cfc
sub_80063cfc:
/* 80063CFC 00060C5C 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80063D00 00060C60 7C 08 02 A6 */ mflr r0
/* 80063D04 00060C64 90 01 00 34 */ stw r0, 0x34(r1)
/* 80063D08 00060C68 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80063D0C 00060C6C 93 C1 00 28 */ stw r30, 0x28(r1)
/* 80063D10 00060C70 7C 9E 23 78 */ mr r30, r4
/* 80063D14 00060C74 93 A1 00 24 */ stw r29, 0x24(r1)
/* 80063D18 00060C78 7C 7D 1B 78 */ mr r29, r3
/* 80063D1C 00060C7C 80 03 00 08 */ lwz r0, 8(r3)
/* 80063D20 00060C80 7C 1E 00 00 */ cmpw r30, r0
/* 80063D24 00060C84 40 81 00 8C */ ble lbl_80063DB0
/* 80063D28 00060C88 1C 7E 00 74 */ mulli r3, r30, 0x74
/* 80063D2C 00060C8C 2C 03 00 00 */ cmpwi r3, 0
/* 80063D30 00060C90 40 82 00 0C */ bne lbl_80063D3C
/* 80063D34 00060C94 3B E0 00 00 */ li r31, 0
/* 80063D38 00060C98 48 00 00 18 */ b lbl_80063D50
lbl_80063D3C:
/* 80063D3C 00060C9C 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha
/* 80063D40 00060CA0 38 A0 00 00 */ li r5, 0
/* 80063D44 00060CA4 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l
/* 80063D48 00060CA8 48 2B 1A D1 */ bl __nwa__FUlPCcPCc
/* 80063D4C 00060CAC 7C 7F 1B 78 */ mr r31, r3
lbl_80063D50:
/* 80063D50 00060CB0 80 1D 00 04 */ lwz r0, 4(r29)
/* 80063D54 00060CB4 7F E5 FB 78 */ mr r5, r31
/* 80063D58 00060CB8 80 DD 00 0C */ lwz r6, 0xc(r29)
/* 80063D5C 00060CBC 38 61 00 14 */ addi r3, r1, 0x14
/* 80063D60 00060CC0 1C 00 00 74 */ mulli r0, r0, 0x74
/* 80063D64 00060CC4 38 81 00 0C */ addi r4, r1, 0xc
/* 80063D68 00060CC8 7C C6 02 14 */ add r6, r6, r0
/* 80063D6C 00060CCC 90 C1 00 0C */ stw r6, 0xc(r1)
/* 80063D70 00060CD0 80 1D 00 0C */ lwz r0, 0xc(r29)
/* 80063D74 00060CD4 90 C1 00 08 */ stw r6, 8(r1)
/* 80063D78 00060CD8 90 01 00 10 */ stw r0, 0x10(r1)
/* 80063D7C 00060CDC 90 01 00 14 */ stw r0, 0x14(r1)
/* 80063D80 00060CE0 48 00 00 99 */ bl sub_80063e18
/* 80063D84 00060CE4 80 1D 00 04 */ lwz r0, 4(r29)
/* 80063D88 00060CE8 80 7D 00 0C */ lwz r3, 0xc(r29)
/* 80063D8C 00060CEC 1C 00 00 74 */ mulli r0, r0, 0x74
/* 80063D90 00060CF0 7C 83 02 14 */ add r4, r3, r0
/* 80063D94 00060CF4 48 00 00 39 */ bl sub_80063dcc
/* 80063D98 00060CF8 80 7D 00 0C */ lwz r3, 0xc(r29)
/* 80063D9C 00060CFC 28 03 00 00 */ cmplwi r3, 0
/* 80063DA0 00060D00 41 82 00 08 */ beq lbl_80063DA8
/* 80063DA4 00060D04 48 2B 1B 8D */ bl Free__7CMemoryFPCv
lbl_80063DA8:
/* 80063DA8 00060D08 93 FD 00 0C */ stw r31, 0xc(r29)
/* 80063DAC 00060D0C 93 DD 00 08 */ stw r30, 8(r29)
lbl_80063DB0:
/* 80063DB0 00060D10 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80063DB4 00060D14 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 80063DB8 00060D18 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 80063DBC 00060D1C 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 80063DC0 00060D20 7C 08 03 A6 */ mtlr r0
/* 80063DC4 00060D24 38 21 00 30 */ addi r1, r1, 0x30
/* 80063DC8 00060D28 4E 80 00 20 */ blr
.global sub_80063dcc
sub_80063dcc:
/* 80063DCC 00060D2C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80063DD0 00060D30 7C 08 02 A6 */ mflr r0
/* 80063DD4 00060D34 90 01 00 14 */ stw r0, 0x14(r1)
/* 80063DD8 00060D38 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80063DDC 00060D3C 7C 7F 1B 78 */ mr r31, r3
/* 80063DE0 00060D40 93 C1 00 08 */ stw r30, 8(r1)
/* 80063DE4 00060D44 7C 9E 23 78 */ mr r30, r4
/* 80063DE8 00060D48 48 00 00 10 */ b lbl_80063DF8
lbl_80063DEC:
/* 80063DEC 00060D4C 7F E3 FB 78 */ mr r3, r31
/* 80063DF0 00060D50 4B FF C7 A9 */ bl __dt__21CMetroidModelInstanceFv
/* 80063DF4 00060D54 3B FF 00 74 */ addi r31, r31, 0x74
lbl_80063DF8:
/* 80063DF8 00060D58 7C 1F F0 40 */ cmplw r31, r30
/* 80063DFC 00060D5C 40 82 FF F0 */ bne lbl_80063DEC
/* 80063E00 00060D60 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80063E04 00060D64 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80063E08 00060D68 83 C1 00 08 */ lwz r30, 8(r1)
/* 80063E0C 00060D6C 7C 08 03 A6 */ mtlr r0
/* 80063E10 00060D70 38 21 00 10 */ addi r1, r1, 0x10
/* 80063E14 00060D74 4E 80 00 20 */ blr
.global sub_80063e18
sub_80063e18:
/* 80063E18 00060D78 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80063E1C 00060D7C 7C 08 02 A6 */ mflr r0
/* 80063E20 00060D80 90 01 00 24 */ stw r0, 0x24(r1)
/* 80063E24 00060D84 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80063E28 00060D88 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80063E2C 00060D8C 7C BE 2B 78 */ mr r30, r5
/* 80063E30 00060D90 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80063E34 00060D94 7C 9D 23 78 */ mr r29, r4
/* 80063E38 00060D98 83 E3 00 00 */ lwz r31, 0(r3)
/* 80063E3C 00060D9C 48 00 00 18 */ b lbl_80063E54
lbl_80063E40:
/* 80063E40 00060DA0 7F C3 F3 78 */ mr r3, r30
/* 80063E44 00060DA4 7F E4 FB 78 */ mr r4, r31
/* 80063E48 00060DA8 4B FF E9 B5 */ bl sub_800627fc
/* 80063E4C 00060DAC 3B DE 00 74 */ addi r30, r30, 0x74
/* 80063E50 00060DB0 3B FF 00 74 */ addi r31, r31, 0x74
lbl_80063E54:
/* 80063E54 00060DB4 80 1D 00 00 */ lwz r0, 0(r29)
/* 80063E58 00060DB8 7C 1F 00 40 */ cmplw r31, r0
/* 80063E5C 00060DBC 40 82 FF E4 */ bne lbl_80063E40
/* 80063E60 00060DC0 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80063E64 00060DC4 7F C3 F3 78 */ mr r3, r30
/* 80063E68 00060DC8 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80063E6C 00060DCC 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80063E70 00060DD0 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80063E74 00060DD4 7C 08 03 A6 */ mtlr r0
/* 80063E78 00060DD8 38 21 00 20 */ addi r1, r1, 0x20
/* 80063E7C 00060DDC 4E 80 00 20 */ blr
.global "reserve__Q24rstl68vector<Q39IGameArea4Dock14SDockReference,Q24rstl17rmemory_allocator>Fi"
"reserve__Q24rstl68vector<Q39IGameArea4Dock14SDockReference,Q24rstl17rmemory_allocator>Fi":
/* 80063E80 00060DE0 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80063E84 00060DE4 7C 08 02 A6 */ mflr r0
/* 80063E88 00060DE8 90 01 00 34 */ stw r0, 0x34(r1)
/* 80063E8C 00060DEC 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80063E90 00060DF0 7C 9F 23 78 */ mr r31, r4
/* 80063E94 00060DF4 93 C1 00 28 */ stw r30, 0x28(r1)
/* 80063E98 00060DF8 7C 7E 1B 78 */ mr r30, r3
/* 80063E9C 00060DFC 93 A1 00 24 */ stw r29, 0x24(r1)
/* 80063EA0 00060E00 80 03 00 08 */ lwz r0, 8(r3)
/* 80063EA4 00060E04 7C 1F 00 00 */ cmpw r31, r0
/* 80063EA8 00060E08 40 81 00 B8 */ ble lbl_80063F60
/* 80063EAC 00060E0C 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c
/* 80063EB0 00060E10 40 82 00 0C */ bne lbl_80063EBC
/* 80063EB4 00060E14 3B A0 00 00 */ li r29, 0
/* 80063EB8 00060E18 48 00 00 18 */ b lbl_80063ED0
lbl_80063EBC:
/* 80063EBC 00060E1C 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha
/* 80063EC0 00060E20 38 A0 00 00 */ li r5, 0
/* 80063EC4 00060E24 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l
/* 80063EC8 00060E28 48 2B 19 51 */ bl __nwa__FUlPCcPCc
/* 80063ECC 00060E2C 7C 7D 1B 78 */ mr r29, r3
lbl_80063ED0:
/* 80063ED0 00060E30 80 1E 00 04 */ lwz r0, 4(r30)
/* 80063ED4 00060E34 7F A4 EB 78 */ mr r4, r29
/* 80063ED8 00060E38 80 BE 00 0C */ lwz r5, 0xc(r30)
/* 80063EDC 00060E3C 54 00 18 38 */ slwi r0, r0, 3
/* 80063EE0 00060E40 7C 65 02 14 */ add r3, r5, r0
/* 80063EE4 00060E44 90 A1 00 10 */ stw r5, 0x10(r1)
/* 80063EE8 00060E48 90 61 00 08 */ stw r3, 8(r1)
/* 80063EEC 00060E4C 90 61 00 0C */ stw r3, 0xc(r1)
/* 80063EF0 00060E50 90 A1 00 14 */ stw r5, 0x14(r1)
/* 80063EF4 00060E54 48 00 00 2C */ b lbl_80063F20
lbl_80063EF8:
/* 80063EF8 00060E58 28 04 00 00 */ cmplwi r4, 0
/* 80063EFC 00060E5C 41 82 00 1C */ beq lbl_80063F18
/* 80063F00 00060E60 80 05 00 00 */ lwz r0, 0(r5)
/* 80063F04 00060E64 90 04 00 00 */ stw r0, 0(r4)
/* 80063F08 00060E68 A8 05 00 04 */ lha r0, 4(r5)
/* 80063F0C 00060E6C B0 04 00 04 */ sth r0, 4(r4)
/* 80063F10 00060E70 A8 05 00 06 */ lha r0, 6(r5)
/* 80063F14 00060E74 B0 04 00 06 */ sth r0, 6(r4)
lbl_80063F18:
/* 80063F18 00060E78 38 84 00 08 */ addi r4, r4, 8
/* 80063F1C 00060E7C 38 A5 00 08 */ addi r5, r5, 8
lbl_80063F20:
/* 80063F20 00060E80 7C 05 18 40 */ cmplw r5, r3
/* 80063F24 00060E84 40 82 FF D4 */ bne lbl_80063EF8
/* 80063F28 00060E88 80 1E 00 04 */ lwz r0, 4(r30)
/* 80063F2C 00060E8C 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 80063F30 00060E90 54 00 18 38 */ slwi r0, r0, 3
/* 80063F34 00060E94 7C 64 1B 78 */ mr r4, r3
/* 80063F38 00060E98 7C 03 02 14 */ add r0, r3, r0
/* 80063F3C 00060E9C 48 00 00 08 */ b lbl_80063F44
lbl_80063F40:
/* 80063F40 00060EA0 38 84 00 08 */ addi r4, r4, 8
lbl_80063F44:
/* 80063F44 00060EA4 7C 04 00 40 */ cmplw r4, r0
/* 80063F48 00060EA8 40 82 FF F8 */ bne lbl_80063F40
/* 80063F4C 00060EAC 28 03 00 00 */ cmplwi r3, 0
/* 80063F50 00060EB0 41 82 00 08 */ beq lbl_80063F58
/* 80063F54 00060EB4 48 2B 19 DD */ bl Free__7CMemoryFPCv
lbl_80063F58:
/* 80063F58 00060EB8 93 BE 00 0C */ stw r29, 0xc(r30)
/* 80063F5C 00060EBC 93 FE 00 08 */ stw r31, 8(r30)
lbl_80063F60:
/* 80063F60 00060EC0 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80063F64 00060EC4 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 80063F68 00060EC8 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 80063F6C 00060ECC 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 80063F70 00060ED0 7C 08 03 A6 */ mtlr r0
/* 80063F74 00060ED4 38 21 00 30 */ addi r1, r1, 0x30
/* 80063F78 00060ED8 4E 80 00 20 */ blr
.global sub_80063f7c
sub_80063f7c:
/* 80063F7C 00060EDC 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80063F80 00060EE0 7C 08 02 A6 */ mflr r0
/* 80063F84 00060EE4 90 01 00 34 */ stw r0, 0x34(r1)
/* 80063F88 00060EE8 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80063F8C 00060EEC 7C 9F 23 78 */ mr r31, r4
/* 80063F90 00060EF0 93 C1 00 28 */ stw r30, 0x28(r1)
/* 80063F94 00060EF4 7C 7E 1B 78 */ mr r30, r3
/* 80063F98 00060EF8 93 A1 00 24 */ stw r29, 0x24(r1)
/* 80063F9C 00060EFC 80 03 00 08 */ lwz r0, 8(r3)
/* 80063FA0 00060F00 7C 1F 00 00 */ cmpw r31, r0
/* 80063FA4 00060F04 40 81 00 98 */ ble lbl_8006403C
/* 80063FA8 00060F08 1C 7F 00 44 */ mulli r3, r31, 0x44
/* 80063FAC 00060F0C 2C 03 00 00 */ cmpwi r3, 0
/* 80063FB0 00060F10 40 82 00 0C */ bne lbl_80063FBC
/* 80063FB4 00060F14 3B A0 00 00 */ li r29, 0
/* 80063FB8 00060F18 48 00 00 18 */ b lbl_80063FD0
lbl_80063FBC:
/* 80063FBC 00060F1C 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha
/* 80063FC0 00060F20 38 A0 00 00 */ li r5, 0
/* 80063FC4 00060F24 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l
/* 80063FC8 00060F28 48 2B 18 51 */ bl __nwa__FUlPCcPCc
/* 80063FCC 00060F2C 7C 7D 1B 78 */ mr r29, r3
lbl_80063FD0:
/* 80063FD0 00060F30 80 1E 00 04 */ lwz r0, 4(r30)
/* 80063FD4 00060F34 7F A5 EB 78 */ mr r5, r29
/* 80063FD8 00060F38 80 DE 00 0C */ lwz r6, 0xc(r30)
/* 80063FDC 00060F3C 38 61 00 14 */ addi r3, r1, 0x14
/* 80063FE0 00060F40 1C 00 00 44 */ mulli r0, r0, 0x44
/* 80063FE4 00060F44 38 81 00 0C */ addi r4, r1, 0xc
/* 80063FE8 00060F48 7C C6 02 14 */ add r6, r6, r0
/* 80063FEC 00060F4C 90 C1 00 0C */ stw r6, 0xc(r1)
/* 80063FF0 00060F50 80 1E 00 0C */ lwz r0, 0xc(r30)
/* 80063FF4 00060F54 90 C1 00 08 */ stw r6, 8(r1)
/* 80063FF8 00060F58 90 01 00 10 */ stw r0, 0x10(r1)
/* 80063FFC 00060F5C 90 01 00 14 */ stw r0, 0x14(r1)
/* 80064000 00060F60 48 00 00 59 */ bl sub_80064058
/* 80064004 00060F64 80 1E 00 04 */ lwz r0, 4(r30)
/* 80064008 00060F68 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 8006400C 00060F6C 1C 00 00 44 */ mulli r0, r0, 0x44
/* 80064010 00060F70 7C 64 1B 78 */ mr r4, r3
/* 80064014 00060F74 7C 03 02 14 */ add r0, r3, r0
/* 80064018 00060F78 48 00 00 08 */ b lbl_80064020
lbl_8006401C:
/* 8006401C 00060F7C 38 84 00 44 */ addi r4, r4, 0x44
lbl_80064020:
/* 80064020 00060F80 7C 04 00 40 */ cmplw r4, r0
/* 80064024 00060F84 40 82 FF F8 */ bne lbl_8006401C
/* 80064028 00060F88 28 03 00 00 */ cmplwi r3, 0
/* 8006402C 00060F8C 41 82 00 08 */ beq lbl_80064034
/* 80064030 00060F90 48 2B 19 01 */ bl Free__7CMemoryFPCv
lbl_80064034:
/* 80064034 00060F94 93 BE 00 0C */ stw r29, 0xc(r30)
/* 80064038 00060F98 93 FE 00 08 */ stw r31, 8(r30)
lbl_8006403C:
/* 8006403C 00060F9C 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80064040 00060FA0 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 80064044 00060FA4 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 80064048 00060FA8 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 8006404C 00060FAC 7C 08 03 A6 */ mtlr r0
/* 80064050 00060FB0 38 21 00 30 */ addi r1, r1, 0x30
/* 80064054 00060FB4 4E 80 00 20 */ blr
.global sub_80064058
sub_80064058:
/* 80064058 00060FB8 80 63 00 00 */ lwz r3, 0(r3)
/* 8006405C 00060FBC 48 00 00 9C */ b lbl_800640F8
lbl_80064060:
/* 80064060 00060FC0 28 05 00 00 */ cmplwi r5, 0
/* 80064064 00060FC4 41 82 00 8C */ beq lbl_800640F0
/* 80064068 00060FC8 80 03 00 00 */ lwz r0, 0(r3)
/* 8006406C 00060FCC 90 05 00 00 */ stw r0, 0(r5)
/* 80064070 00060FD0 C0 03 00 04 */ lfs f0, 4(r3)
/* 80064074 00060FD4 D0 05 00 04 */ stfs f0, 4(r5)
/* 80064078 00060FD8 C0 03 00 08 */ lfs f0, 8(r3)
/* 8006407C 00060FDC D0 05 00 08 */ stfs f0, 8(r5)
/* 80064080 00060FE0 C0 03 00 0C */ lfs f0, 0xc(r3)
/* 80064084 00060FE4 D0 05 00 0C */ stfs f0, 0xc(r5)
/* 80064088 00060FE8 C0 03 00 10 */ lfs f0, 0x10(r3)
/* 8006408C 00060FEC D0 05 00 10 */ stfs f0, 0x10(r5)
/* 80064090 00060FF0 C0 03 00 14 */ lfs f0, 0x14(r3)
/* 80064094 00060FF4 D0 05 00 14 */ stfs f0, 0x14(r5)
/* 80064098 00060FF8 C0 03 00 18 */ lfs f0, 0x18(r3)
/* 8006409C 00060FFC D0 05 00 18 */ stfs f0, 0x18(r5)
/* 800640A0 00061000 C0 03 00 1C */ lfs f0, 0x1c(r3)
/* 800640A4 00061004 D0 05 00 1C */ stfs f0, 0x1c(r5)
/* 800640A8 00061008 C0 03 00 20 */ lfs f0, 0x20(r3)
/* 800640AC 0006100C D0 05 00 20 */ stfs f0, 0x20(r5)
/* 800640B0 00061010 C0 03 00 24 */ lfs f0, 0x24(r3)
/* 800640B4 00061014 D0 05 00 24 */ stfs f0, 0x24(r5)
/* 800640B8 00061018 C0 03 00 28 */ lfs f0, 0x28(r3)
/* 800640BC 0006101C D0 05 00 28 */ stfs f0, 0x28(r5)
/* 800640C0 00061020 C0 03 00 2C */ lfs f0, 0x2c(r3)
/* 800640C4 00061024 D0 05 00 2C */ stfs f0, 0x2c(r5)
/* 800640C8 00061028 C0 03 00 30 */ lfs f0, 0x30(r3)
/* 800640CC 0006102C D0 05 00 30 */ stfs f0, 0x30(r5)
/* 800640D0 00061030 88 03 00 34 */ lbz r0, 0x34(r3)
/* 800640D4 00061034 98 05 00 34 */ stb r0, 0x34(r5)
/* 800640D8 00061038 C0 03 00 38 */ lfs f0, 0x38(r3)
/* 800640DC 0006103C D0 05 00 38 */ stfs f0, 0x38(r5)
/* 800640E0 00061040 80 03 00 3C */ lwz r0, 0x3c(r3)
/* 800640E4 00061044 90 05 00 3C */ stw r0, 0x3c(r5)
/* 800640E8 00061048 C0 03 00 40 */ lfs f0, 0x40(r3)
/* 800640EC 0006104C D0 05 00 40 */ stfs f0, 0x40(r5)
lbl_800640F0:
/* 800640F0 00061050 38 A5 00 44 */ addi r5, r5, 0x44
/* 800640F4 00061054 38 63 00 44 */ addi r3, r3, 0x44
lbl_800640F8:
/* 800640F8 00061058 80 04 00 00 */ lwz r0, 0(r4)
/* 800640FC 0006105C 7C 03 00 40 */ cmplw r3, r0
/* 80064100 00061060 40 82 FF 60 */ bne lbl_80064060
/* 80064104 00061064 7C A3 2B 78 */ mr r3, r5
/* 80064108 00061068 4E 80 00 20 */ blr
.global sub_8006410c
sub_8006410c:
/* 8006410C 0006106C 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80064110 00061070 7C 08 02 A6 */ mflr r0
/* 80064114 00061074 90 01 00 34 */ stw r0, 0x34(r1)
/* 80064118 00061078 BF 41 00 18 */ stmw r26, 0x18(r1)
/* 8006411C 0006107C 7C 9F 23 78 */ mr r31, r4
/* 80064120 00061080 7C 7E 1B 78 */ mr r30, r3
/* 80064124 00061084 80 03 00 08 */ lwz r0, 8(r3)
/* 80064128 00061088 7C 1F 00 00 */ cmpw r31, r0
/* 8006412C 0006108C 40 81 00 CC */ ble lbl_800641F8
/* 80064130 00061090 1C 7F 00 24 */ mulli r3, r31, 0x24
/* 80064134 00061094 2C 03 00 00 */ cmpwi r3, 0
/* 80064138 00061098 40 82 00 0C */ bne lbl_80064144
/* 8006413C 0006109C 3B 80 00 00 */ li r28, 0
/* 80064140 000610A0 48 00 00 18 */ b lbl_80064158
lbl_80064144:
/* 80064144 000610A4 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha
/* 80064148 000610A8 38 A0 00 00 */ li r5, 0
/* 8006414C 000610AC 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l
/* 80064150 000610B0 48 2B 16 C9 */ bl __nwa__FUlPCcPCc
/* 80064154 000610B4 7C 7C 1B 78 */ mr r28, r3
lbl_80064158:
/* 80064158 000610B8 80 1E 00 04 */ lwz r0, 4(r30)
/* 8006415C 000610BC 7F 9B E3 78 */ mr r27, r28
/* 80064160 000610C0 83 5E 00 0C */ lwz r26, 0xc(r30)
/* 80064164 000610C4 1C 00 00 24 */ mulli r0, r0, 0x24
/* 80064168 000610C8 93 41 00 10 */ stw r26, 0x10(r1)
/* 8006416C 000610CC 7F BA 02 14 */ add r29, r26, r0
/* 80064170 000610D0 93 41 00 14 */ stw r26, 0x14(r1)
/* 80064174 000610D4 93 A1 00 08 */ stw r29, 8(r1)
/* 80064178 000610D8 93 A1 00 0C */ stw r29, 0xc(r1)
/* 8006417C 000610DC 48 00 00 28 */ b lbl_800641A4
lbl_80064180:
/* 80064180 000610E0 28 1B 00 00 */ cmplwi r27, 0
/* 80064184 000610E4 41 82 00 18 */ beq lbl_8006419C
/* 80064188 000610E8 7F 63 DB 78 */ mr r3, r27
/* 8006418C 000610EC 7F 44 D3 78 */ mr r4, r26
/* 80064190 000610F0 48 2F 48 3D */ bl __ct__10CARAMTokenFRC10CARAMToken
/* 80064194 000610F4 80 1A 00 20 */ lwz r0, 0x20(r26)
/* 80064198 000610F8 90 1B 00 20 */ stw r0, 0x20(r27)
lbl_8006419C:
/* 8006419C 000610FC 3B 7B 00 24 */ addi r27, r27, 0x24
/* 800641A0 00061100 3B 5A 00 24 */ addi r26, r26, 0x24
lbl_800641A4:
/* 800641A4 00061104 7C 1A E8 40 */ cmplw r26, r29
/* 800641A8 00061108 40 82 FF D8 */ bne lbl_80064180
/* 800641AC 0006110C 80 1E 00 04 */ lwz r0, 4(r30)
/* 800641B0 00061110 83 5E 00 0C */ lwz r26, 0xc(r30)
/* 800641B4 00061114 1C 00 00 24 */ mulli r0, r0, 0x24
/* 800641B8 00061118 7F 7A 02 14 */ add r27, r26, r0
/* 800641BC 0006111C 48 00 00 1C */ b lbl_800641D8
lbl_800641C0:
/* 800641C0 00061120 28 1A 00 00 */ cmplwi r26, 0
/* 800641C4 00061124 41 82 00 10 */ beq lbl_800641D4
/* 800641C8 00061128 7F 43 D3 78 */ mr r3, r26
/* 800641CC 0006112C 38 80 FF FF */ li r4, -1
/* 800641D0 00061130 48 2F 47 75 */ bl __dt__10CARAMTokenFv
lbl_800641D4:
/* 800641D4 00061134 3B 5A 00 24 */ addi r26, r26, 0x24
lbl_800641D8:
/* 800641D8 00061138 7C 1A D8 40 */ cmplw r26, r27
/* 800641DC 0006113C 40 82 FF E4 */ bne lbl_800641C0
/* 800641E0 00061140 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 800641E4 00061144 28 03 00 00 */ cmplwi r3, 0
/* 800641E8 00061148 41 82 00 08 */ beq lbl_800641F0
/* 800641EC 0006114C 48 2B 17 45 */ bl Free__7CMemoryFPCv
lbl_800641F0:
/* 800641F0 00061150 93 9E 00 0C */ stw r28, 0xc(r30)
/* 800641F4 00061154 93 FE 00 08 */ stw r31, 8(r30)
lbl_800641F8:
/* 800641F8 00061158 BB 41 00 18 */ lmw r26, 0x18(r1)
/* 800641FC 0006115C 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80064200 00061160 7C 08 03 A6 */ mtlr r0
/* 80064204 00061164 38 21 00 30 */ addi r1, r1, 0x30
/* 80064208 00061168 4E 80 00 20 */ blr
.global "reserve__Q24rstl52vector<Q24rstl9pair<i,i>,Q24rstl17rmemory_allocator>Fi"
"reserve__Q24rstl52vector<Q24rstl9pair<i,i>,Q24rstl17rmemory_allocator>Fi":
/* 8006420C 0006116C 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80064210 00061170 7C 08 02 A6 */ mflr r0
/* 80064214 00061174 90 01 00 34 */ stw r0, 0x34(r1)
/* 80064218 00061178 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 8006421C 0006117C 7C 9F 23 78 */ mr r31, r4
/* 80064220 00061180 93 C1 00 28 */ stw r30, 0x28(r1)
/* 80064224 00061184 7C 7E 1B 78 */ mr r30, r3
/* 80064228 00061188 93 A1 00 24 */ stw r29, 0x24(r1)
/* 8006422C 0006118C 80 03 00 08 */ lwz r0, 8(r3)
/* 80064230 00061190 7C 1F 00 00 */ cmpw r31, r0
/* 80064234 00061194 40 81 00 B0 */ ble lbl_800642E4
/* 80064238 00061198 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c
/* 8006423C 0006119C 40 82 00 0C */ bne lbl_80064248
/* 80064240 000611A0 3B A0 00 00 */ li r29, 0
/* 80064244 000611A4 48 00 00 18 */ b lbl_8006425C
lbl_80064248:
/* 80064248 000611A8 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha
/* 8006424C 000611AC 38 A0 00 00 */ li r5, 0
/* 80064250 000611B0 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l
/* 80064254 000611B4 48 2B 15 C5 */ bl __nwa__FUlPCcPCc
/* 80064258 000611B8 7C 7D 1B 78 */ mr r29, r3
lbl_8006425C:
/* 8006425C 000611BC 80 1E 00 04 */ lwz r0, 4(r30)
/* 80064260 000611C0 7F A4 EB 78 */ mr r4, r29
/* 80064264 000611C4 80 BE 00 0C */ lwz r5, 0xc(r30)
/* 80064268 000611C8 54 00 18 38 */ slwi r0, r0, 3
/* 8006426C 000611CC 7C 65 02 14 */ add r3, r5, r0
/* 80064270 000611D0 90 A1 00 10 */ stw r5, 0x10(r1)
/* 80064274 000611D4 90 61 00 08 */ stw r3, 8(r1)
/* 80064278 000611D8 90 61 00 0C */ stw r3, 0xc(r1)
/* 8006427C 000611DC 90 A1 00 14 */ stw r5, 0x14(r1)
/* 80064280 000611E0 48 00 00 24 */ b lbl_800642A4
lbl_80064284:
/* 80064284 000611E4 28 04 00 00 */ cmplwi r4, 0
/* 80064288 000611E8 41 82 00 14 */ beq lbl_8006429C
/* 8006428C 000611EC 80 05 00 00 */ lwz r0, 0(r5)
/* 80064290 000611F0 90 04 00 00 */ stw r0, 0(r4)
/* 80064294 000611F4 80 05 00 04 */ lwz r0, 4(r5)
/* 80064298 000611F8 90 04 00 04 */ stw r0, 4(r4)
lbl_8006429C:
/* 8006429C 000611FC 38 84 00 08 */ addi r4, r4, 8
/* 800642A0 00061200 38 A5 00 08 */ addi r5, r5, 8
lbl_800642A4:
/* 800642A4 00061204 7C 05 18 40 */ cmplw r5, r3
/* 800642A8 00061208 40 82 FF DC */ bne lbl_80064284
/* 800642AC 0006120C 80 1E 00 04 */ lwz r0, 4(r30)
/* 800642B0 00061210 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 800642B4 00061214 54 00 18 38 */ slwi r0, r0, 3
/* 800642B8 00061218 7C 64 1B 78 */ mr r4, r3
/* 800642BC 0006121C 7C 03 02 14 */ add r0, r3, r0
/* 800642C0 00061220 48 00 00 08 */ b lbl_800642C8
lbl_800642C4:
/* 800642C4 00061224 38 84 00 08 */ addi r4, r4, 8
lbl_800642C8:
/* 800642C8 00061228 7C 04 00 40 */ cmplw r4, r0
/* 800642CC 0006122C 40 82 FF F8 */ bne lbl_800642C4
/* 800642D0 00061230 28 03 00 00 */ cmplwi r3, 0
/* 800642D4 00061234 41 82 00 08 */ beq lbl_800642DC
/* 800642D8 00061238 48 2B 16 59 */ bl Free__7CMemoryFPCv
lbl_800642DC:
/* 800642DC 0006123C 93 BE 00 0C */ stw r29, 0xc(r30)
/* 800642E0 00061240 93 FE 00 08 */ stw r31, 8(r30)
lbl_800642E4:
/* 800642E4 00061244 80 01 00 34 */ lwz r0, 0x34(r1)
/* 800642E8 00061248 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 800642EC 0006124C 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 800642F0 00061250 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 800642F4 00061254 7C 08 03 A6 */ mtlr r0
/* 800642F8 00061258 38 21 00 30 */ addi r1, r1, 0x30
/* 800642FC 0006125C 4E 80 00 20 */ blr
.global "reserve__Q24rstl37vector<Us,Q24rstl17rmemory_allocator>Fi"
"reserve__Q24rstl37vector<Us,Q24rstl17rmemory_allocator>Fi":
/* 80064300 00061260 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80064304 00061264 7C 08 02 A6 */ mflr r0
/* 80064308 00061268 90 01 00 34 */ stw r0, 0x34(r1)
/* 8006430C 0006126C 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80064310 00061270 7C 9F 23 78 */ mr r31, r4
/* 80064314 00061274 93 C1 00 28 */ stw r30, 0x28(r1)
/* 80064318 00061278 7C 7E 1B 78 */ mr r30, r3
/* 8006431C 0006127C 93 A1 00 24 */ stw r29, 0x24(r1)
/* 80064320 00061280 80 03 00 08 */ lwz r0, 8(r3)
/* 80064324 00061284 7C 1F 00 00 */ cmpw r31, r0
/* 80064328 00061288 40 81 00 A8 */ ble lbl_800643D0
/* 8006432C 0006128C 57 E3 08 3D */ rlwinm. r3, r31, 1, 0, 0x1e
/* 80064330 00061290 40 82 00 0C */ bne lbl_8006433C
/* 80064334 00061294 3B A0 00 00 */ li r29, 0
/* 80064338 00061298 48 00 00 18 */ b lbl_80064350
lbl_8006433C:
/* 8006433C 0006129C 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha
/* 80064340 000612A0 38 A0 00 00 */ li r5, 0
/* 80064344 000612A4 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l
/* 80064348 000612A8 48 2B 14 D1 */ bl __nwa__FUlPCcPCc
/* 8006434C 000612AC 7C 7D 1B 78 */ mr r29, r3
lbl_80064350:
/* 80064350 000612B0 80 1E 00 04 */ lwz r0, 4(r30)
/* 80064354 000612B4 7F A4 EB 78 */ mr r4, r29
/* 80064358 000612B8 80 BE 00 0C */ lwz r5, 0xc(r30)
/* 8006435C 000612BC 54 00 08 3C */ slwi r0, r0, 1
/* 80064360 000612C0 7C 65 02 14 */ add r3, r5, r0
/* 80064364 000612C4 90 A1 00 10 */ stw r5, 0x10(r1)
/* 80064368 000612C8 90 61 00 08 */ stw r3, 8(r1)
/* 8006436C 000612CC 90 61 00 0C */ stw r3, 0xc(r1)
/* 80064370 000612D0 90 A1 00 14 */ stw r5, 0x14(r1)
/* 80064374 000612D4 48 00 00 1C */ b lbl_80064390
lbl_80064378:
/* 80064378 000612D8 28 04 00 00 */ cmplwi r4, 0
/* 8006437C 000612DC 41 82 00 0C */ beq lbl_80064388
/* 80064380 000612E0 A0 05 00 00 */ lhz r0, 0(r5)
/* 80064384 000612E4 B0 04 00 00 */ sth r0, 0(r4)
lbl_80064388:
/* 80064388 000612E8 38 84 00 02 */ addi r4, r4, 2
/* 8006438C 000612EC 38 A5 00 02 */ addi r5, r5, 2
lbl_80064390:
/* 80064390 000612F0 7C 05 18 40 */ cmplw r5, r3
/* 80064394 000612F4 40 82 FF E4 */ bne lbl_80064378
/* 80064398 000612F8 80 1E 00 04 */ lwz r0, 4(r30)
/* 8006439C 000612FC 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 800643A0 00061300 54 00 08 3C */ slwi r0, r0, 1
/* 800643A4 00061304 7C 64 1B 78 */ mr r4, r3
/* 800643A8 00061308 7C 03 02 14 */ add r0, r3, r0
/* 800643AC 0006130C 48 00 00 08 */ b lbl_800643B4
lbl_800643B0:
/* 800643B0 00061310 38 84 00 02 */ addi r4, r4, 2
lbl_800643B4:
/* 800643B4 00061314 7C 04 00 40 */ cmplw r4, r0
/* 800643B8 00061318 40 82 FF F8 */ bne lbl_800643B0
/* 800643BC 0006131C 28 03 00 00 */ cmplwi r3, 0
/* 800643C0 00061320 41 82 00 08 */ beq lbl_800643C8
/* 800643C4 00061324 48 2B 15 6D */ bl Free__7CMemoryFPCv
lbl_800643C8:
/* 800643C8 00061328 93 BE 00 0C */ stw r29, 0xc(r30)
/* 800643CC 0006132C 93 FE 00 08 */ stw r31, 8(r30)
lbl_800643D0:
/* 800643D0 00061330 80 01 00 34 */ lwz r0, 0x34(r1)
/* 800643D4 00061334 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 800643D8 00061338 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 800643DC 0006133C 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 800643E0 00061340 7C 08 03 A6 */ mtlr r0
/* 800643E4 00061344 38 21 00 30 */ addi r1, r1, 0x30
/* 800643E8 00061348 4E 80 00 20 */ blr
.global sub_800643ec
sub_800643ec:
/* 800643EC 0006134C 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 800643F0 00061350 7C 08 02 A6 */ mflr r0
/* 800643F4 00061354 90 01 00 34 */ stw r0, 0x34(r1)
/* 800643F8 00061358 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 800643FC 0006135C 93 C1 00 28 */ stw r30, 0x28(r1)
/* 80064400 00061360 7C 9E 23 78 */ mr r30, r4
/* 80064404 00061364 93 A1 00 24 */ stw r29, 0x24(r1)
/* 80064408 00061368 7C 7D 1B 78 */ mr r29, r3
/* 8006440C 0006136C 80 03 00 08 */ lwz r0, 8(r3)
/* 80064410 00061370 7C 1E 00 00 */ cmpw r30, r0
/* 80064414 00061374 40 81 00 8C */ ble lbl_800644A0
/* 80064418 00061378 1C 7E 00 4C */ mulli r3, r30, 0x4c
/* 8006441C 0006137C 2C 03 00 00 */ cmpwi r3, 0
/* 80064420 00061380 40 82 00 0C */ bne lbl_8006442C
/* 80064424 00061384 3B E0 00 00 */ li r31, 0
/* 80064428 00061388 48 00 00 18 */ b lbl_80064440
lbl_8006442C:
/* 8006442C 0006138C 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha
/* 80064430 00061390 38 A0 00 00 */ li r5, 0
/* 80064434 00061394 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l
/* 80064438 00061398 48 2B 13 E1 */ bl __nwa__FUlPCcPCc
/* 8006443C 0006139C 7C 7F 1B 78 */ mr r31, r3
lbl_80064440:
/* 80064440 000613A0 80 1D 00 04 */ lwz r0, 4(r29)
/* 80064444 000613A4 7F E5 FB 78 */ mr r5, r31
/* 80064448 000613A8 80 DD 00 0C */ lwz r6, 0xc(r29)
/* 8006444C 000613AC 38 61 00 14 */ addi r3, r1, 0x14
/* 80064450 000613B0 1C 00 00 4C */ mulli r0, r0, 0x4c
/* 80064454 000613B4 38 81 00 0C */ addi r4, r1, 0xc
/* 80064458 000613B8 7C C6 02 14 */ add r6, r6, r0
/* 8006445C 000613BC 90 C1 00 0C */ stw r6, 0xc(r1)
/* 80064460 000613C0 80 1D 00 0C */ lwz r0, 0xc(r29)
/* 80064464 000613C4 90 C1 00 08 */ stw r6, 8(r1)
/* 80064468 000613C8 90 01 00 10 */ stw r0, 0x10(r1)
/* 8006446C 000613CC 90 01 00 14 */ stw r0, 0x14(r1)
/* 80064470 000613D0 48 00 00 99 */ bl sub_80064508
/* 80064474 000613D4 80 1D 00 04 */ lwz r0, 4(r29)
/* 80064478 000613D8 80 7D 00 0C */ lwz r3, 0xc(r29)
/* 8006447C 000613DC 1C 00 00 4C */ mulli r0, r0, 0x4c
/* 80064480 000613E0 7C 83 02 14 */ add r4, r3, r0
/* 80064484 000613E4 48 00 00 39 */ bl sub_800644bc
/* 80064488 000613E8 80 7D 00 0C */ lwz r3, 0xc(r29)
/* 8006448C 000613EC 28 03 00 00 */ cmplwi r3, 0
/* 80064490 000613F0 41 82 00 08 */ beq lbl_80064498
/* 80064494 000613F4 48 2B 14 9D */ bl Free__7CMemoryFPCv
lbl_80064498:
/* 80064498 000613F8 93 FD 00 0C */ stw r31, 0xc(r29)
/* 8006449C 000613FC 93 DD 00 08 */ stw r30, 8(r29)
lbl_800644A0:
/* 800644A0 00061400 80 01 00 34 */ lwz r0, 0x34(r1)
/* 800644A4 00061404 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 800644A8 00061408 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 800644AC 0006140C 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 800644B0 00061410 7C 08 03 A6 */ mtlr r0
/* 800644B4 00061414 38 21 00 30 */ addi r1, r1, 0x30
/* 800644B8 00061418 4E 80 00 20 */ blr
.global sub_800644bc
sub_800644bc:
/* 800644BC 0006141C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800644C0 00061420 7C 08 02 A6 */ mflr r0
/* 800644C4 00061424 90 01 00 14 */ stw r0, 0x14(r1)
/* 800644C8 00061428 93 E1 00 0C */ stw r31, 0xc(r1)
/* 800644CC 0006142C 7C 7F 1B 78 */ mr r31, r3
/* 800644D0 00061430 93 C1 00 08 */ stw r30, 8(r1)
/* 800644D4 00061434 7C 9E 23 78 */ mr r30, r4
/* 800644D8 00061438 48 00 00 10 */ b lbl_800644E8
lbl_800644DC:
/* 800644DC 0006143C 7F E3 FB 78 */ mr r3, r31
/* 800644E0 00061440 4B FF 9A 05 */ bl sub_8005dee4
/* 800644E4 00061444 3B FF 00 4C */ addi r31, r31, 0x4c
lbl_800644E8:
/* 800644E8 00061448 7C 1F F0 40 */ cmplw r31, r30
/* 800644EC 0006144C 40 82 FF F0 */ bne lbl_800644DC
/* 800644F0 00061450 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800644F4 00061454 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 800644F8 00061458 83 C1 00 08 */ lwz r30, 8(r1)
/* 800644FC 0006145C 7C 08 03 A6 */ mtlr r0
/* 80064500 00061460 38 21 00 10 */ addi r1, r1, 0x10
/* 80064504 00061464 4E 80 00 20 */ blr
.global sub_80064508
sub_80064508:
/* 80064508 00061468 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8006450C 0006146C 7C 08 02 A6 */ mflr r0
/* 80064510 00061470 90 01 00 24 */ stw r0, 0x24(r1)
/* 80064514 00061474 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80064518 00061478 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8006451C 0006147C 7C BE 2B 78 */ mr r30, r5
/* 80064520 00061480 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80064524 00061484 7C 9D 23 78 */ mr r29, r4
/* 80064528 00061488 83 E3 00 00 */ lwz r31, 0(r3)
/* 8006452C 0006148C 48 00 00 18 */ b lbl_80064544
lbl_80064530:
/* 80064530 00061490 7F C3 F3 78 */ mr r3, r30
/* 80064534 00061494 7F E4 FB 78 */ mr r4, r31
/* 80064538 00061498 4B FF A2 9D */ bl sub_8005e7d4
/* 8006453C 0006149C 3B DE 00 4C */ addi r30, r30, 0x4c
/* 80064540 000614A0 3B FF 00 4C */ addi r31, r31, 0x4c
lbl_80064544:
/* 80064544 000614A4 80 1D 00 00 */ lwz r0, 0(r29)
/* 80064548 000614A8 7C 1F 00 40 */ cmplw r31, r0
/* 8006454C 000614AC 40 82 FF E4 */ bne lbl_80064530
/* 80064550 000614B0 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80064554 000614B4 7F C3 F3 78 */ mr r3, r30
/* 80064558 000614B8 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8006455C 000614BC 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80064560 000614C0 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80064564 000614C4 7C 08 03 A6 */ mtlr r0
/* 80064568 000614C8 38 21 00 20 */ addi r1, r1, 0x20
/* 8006456C 000614CC 4E 80 00 20 */ blr
.global "reserve__Q24rstl72vector<Q24rstl28pair<Q24rstl11auto_ptr<c>,i>,Q24rstl17rmemory_allocator>Fi"
"reserve__Q24rstl72vector<Q24rstl28pair<Q24rstl11auto_ptr<c>,i>,Q24rstl17rmemory_allocator>Fi":
/* 80064570 000614D0 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80064574 000614D4 7C 08 02 A6 */ mflr r0
/* 80064578 000614D8 90 01 00 34 */ stw r0, 0x34(r1)
/* 8006457C 000614DC BF 61 00 1C */ stmw r27, 0x1c(r1)
/* 80064580 000614E0 7C 9F 23 78 */ mr r31, r4
/* 80064584 000614E4 7C 7E 1B 78 */ mr r30, r3
/* 80064588 000614E8 80 03 00 08 */ lwz r0, 8(r3)
/* 8006458C 000614EC 7C 1F 00 00 */ cmpw r31, r0
/* 80064590 000614F0 40 81 00 E4 */ ble lbl_80064674
/* 80064594 000614F4 1C 7F 00 0C */ mulli r3, r31, 0xc
/* 80064598 000614F8 2C 03 00 00 */ cmpwi r3, 0
/* 8006459C 000614FC 40 82 00 0C */ bne lbl_800645A8
/* 800645A0 00061500 3B A0 00 00 */ li r29, 0
/* 800645A4 00061504 48 00 00 18 */ b lbl_800645BC
lbl_800645A8:
/* 800645A8 00061508 3C 80 80 3D */ lis r4, lbl_803CCFAC@ha
/* 800645AC 0006150C 38 A0 00 00 */ li r5, 0
/* 800645B0 00061510 38 84 CF AC */ addi r4, r4, lbl_803CCFAC@l
/* 800645B4 00061514 48 2B 12 65 */ bl __nwa__FUlPCcPCc
/* 800645B8 00061518 7C 7D 1B 78 */ mr r29, r3
lbl_800645BC:
/* 800645BC 0006151C 80 1E 00 04 */ lwz r0, 4(r30)
/* 800645C0 00061520 7F A5 EB 78 */ mr r5, r29
/* 800645C4 00061524 80 DE 00 0C */ lwz r6, 0xc(r30)
/* 800645C8 00061528 38 60 00 00 */ li r3, 0
/* 800645CC 0006152C 1C 00 00 0C */ mulli r0, r0, 0xc
/* 800645D0 00061530 90 C1 00 10 */ stw r6, 0x10(r1)
/* 800645D4 00061534 7C 86 02 14 */ add r4, r6, r0
/* 800645D8 00061538 90 C1 00 14 */ stw r6, 0x14(r1)
/* 800645DC 0006153C 90 81 00 08 */ stw r4, 8(r1)
/* 800645E0 00061540 90 81 00 0C */ stw r4, 0xc(r1)
/* 800645E4 00061544 48 00 00 30 */ b lbl_80064614
lbl_800645E8:
/* 800645E8 00061548 28 05 00 00 */ cmplwi r5, 0
/* 800645EC 0006154C 41 82 00 20 */ beq lbl_8006460C
/* 800645F0 00061550 88 06 00 00 */ lbz r0, 0(r6)
/* 800645F4 00061554 98 05 00 00 */ stb r0, 0(r5)
/* 800645F8 00061558 80 06 00 04 */ lwz r0, 4(r6)
/* 800645FC 0006155C 90 05 00 04 */ stw r0, 4(r5)
/* 80064600 00061560 98 66 00 00 */ stb r3, 0(r6)
/* 80064604 00061564 80 06 00 08 */ lwz r0, 8(r6)
/* 80064608 00061568 90 05 00 08 */ stw r0, 8(r5)
lbl_8006460C:
/* 8006460C 0006156C 38 A5 00 0C */ addi r5, r5, 0xc
/* 80064610 00061570 38 C6 00 0C */ addi r6, r6, 0xc
lbl_80064614:
/* 80064614 00061574 7C 06 20 40 */ cmplw r6, r4
/* 80064618 00061578 40 82 FF D0 */ bne lbl_800645E8
/* 8006461C 0006157C 80 1E 00 04 */ lwz r0, 4(r30)
/* 80064620 00061580 83 7E 00 0C */ lwz r27, 0xc(r30)
/* 80064624 00061584 1C 00 00 0C */ mulli r0, r0, 0xc
/* 80064628 00061588 7F 9B 02 14 */ add r28, r27, r0
/* 8006462C 0006158C 48 00 00 28 */ b lbl_80064654
lbl_80064630:
/* 80064630 00061590 28 1B 00 00 */ cmplwi r27, 0
/* 80064634 00061594 41 82 00 1C */ beq lbl_80064650
/* 80064638 00061598 41 82 00 18 */ beq lbl_80064650
/* 8006463C 0006159C 88 1B 00 00 */ lbz r0, 0(r27)
/* 80064640 000615A0 28 00 00 00 */ cmplwi r0, 0
/* 80064644 000615A4 41 82 00 0C */ beq lbl_80064650
/* 80064648 000615A8 80 7B 00 04 */ lwz r3, 4(r27)
/* 8006464C 000615AC 48 2B 12 E5 */ bl Free__7CMemoryFPCv
lbl_80064650:
/* 80064650 000615B0 3B 7B 00 0C */ addi r27, r27, 0xc
lbl_80064654:
/* 80064654 000615B4 7C 1B E0 40 */ cmplw r27, r28
/* 80064658 000615B8 40 82 FF D8 */ bne lbl_80064630
/* 8006465C 000615BC 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 80064660 000615C0 28 03 00 00 */ cmplwi r3, 0
/* 80064664 000615C4 41 82 00 08 */ beq lbl_8006466C
/* 80064668 000615C8 48 2B 12 C9 */ bl Free__7CMemoryFPCv
lbl_8006466C:
/* 8006466C 000615CC 93 BE 00 0C */ stw r29, 0xc(r30)
/* 80064670 000615D0 93 FE 00 08 */ stw r31, 8(r30)
lbl_80064674:
/* 80064674 000615D4 BB 61 00 1C */ lmw r27, 0x1c(r1)
/* 80064678 000615D8 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8006467C 000615DC 7C 08 03 A6 */ mtlr r0
/* 80064680 000615E0 38 21 00 30 */ addi r1, r1, 0x30
/* 80064684 000615E4 4E 80 00 20 */ blr
.global "pop_front__Q24rstl65list<Q24rstl23auto_ptr<11CDvdRequest>,Q24rstl17rmemory_allocator>Fv"
"pop_front__Q24rstl65list<Q24rstl23auto_ptr<11CDvdRequest>,Q24rstl17rmemory_allocator>Fv":
/* 80064688 000615E8 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8006468C 000615EC 7C 08 02 A6 */ mflr r0
/* 80064690 000615F0 90 01 00 24 */ stw r0, 0x24(r1)
/* 80064694 000615F4 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80064698 000615F8 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8006469C 000615FC 7C 9E 23 78 */ mr r30, r4
/* 800646A0 00061600 93 A1 00 14 */ stw r29, 0x14(r1)
/* 800646A4 00061604 7C 7D 1B 78 */ mr r29, r3
/* 800646A8 00061608 80 03 00 04 */ lwz r0, 4(r3)
/* 800646AC 0006160C 83 E4 00 04 */ lwz r31, 4(r4)
/* 800646B0 00061610 7C 1E 00 40 */ cmplw r30, r0
/* 800646B4 00061614 40 82 00 08 */ bne lbl_800646BC
/* 800646B8 00061618 93 FD 00 04 */ stw r31, 4(r29)
lbl_800646BC:
/* 800646BC 0006161C 80 1E 00 04 */ lwz r0, 4(r30)
/* 800646C0 00061620 34 9E 00 08 */ addic. r4, r30, 8
/* 800646C4 00061624 80 7E 00 00 */ lwz r3, 0(r30)
/* 800646C8 00061628 90 03 00 04 */ stw r0, 4(r3)
/* 800646CC 0006162C 80 1E 00 00 */ lwz r0, 0(r30)
/* 800646D0 00061630 80 7E 00 04 */ lwz r3, 4(r30)
/* 800646D4 00061634 90 03 00 00 */ stw r0, 0(r3)
/* 800646D8 00061638 41 82 00 30 */ beq lbl_80064708
/* 800646DC 0006163C 88 04 00 00 */ lbz r0, 0(r4)
/* 800646E0 00061640 28 00 00 00 */ cmplwi r0, 0
/* 800646E4 00061644 41 82 00 24 */ beq lbl_80064708
/* 800646E8 00061648 80 64 00 04 */ lwz r3, 4(r4)
/* 800646EC 0006164C 28 03 00 00 */ cmplwi r3, 0
/* 800646F0 00061650 41 82 00 18 */ beq lbl_80064708
/* 800646F4 00061654 81 83 00 00 */ lwz r12, 0(r3)
/* 800646F8 00061658 38 80 00 01 */ li r4, 1
/* 800646FC 0006165C 81 8C 00 08 */ lwz r12, 8(r12)
/* 80064700 00061660 7D 89 03 A6 */ mtctr r12
/* 80064704 00061664 4E 80 04 21 */ bctrl
lbl_80064708:
/* 80064708 00061668 28 1E 00 00 */ cmplwi r30, 0
/* 8006470C 0006166C 41 82 00 0C */ beq lbl_80064718
/* 80064710 00061670 7F C3 F3 78 */ mr r3, r30
/* 80064714 00061674 48 2B 12 1D */ bl Free__7CMemoryFPCv
lbl_80064718:
/* 80064718 00061678 80 9D 00 14 */ lwz r4, 0x14(r29)
/* 8006471C 0006167C 7F E3 FB 78 */ mr r3, r31
/* 80064720 00061680 38 04 FF FF */ addi r0, r4, -1
/* 80064724 00061684 90 1D 00 14 */ stw r0, 0x14(r29)
/* 80064728 00061688 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8006472C 0006168C 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80064730 00061690 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80064734 00061694 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80064738 00061698 7C 08 03 A6 */ mtlr r0
/* 8006473C 0006169C 38 21 00 20 */ addi r1, r1, 0x20
/* 80064740 000616A0 4E 80 00 20 */ blr
.global sub_80064744
sub_80064744:
/* 80064744 000616A4 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80064748 000616A8 7C 08 02 A6 */ mflr r0
/* 8006474C 000616AC 90 01 00 24 */ stw r0, 0x24(r1)
/* 80064750 000616B0 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80064754 000616B4 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80064758 000616B8 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8006475C 000616BC 7C 9D 23 78 */ mr r29, r4
/* 80064760 000616C0 93 81 00 10 */ stw r28, 0x10(r1)
/* 80064764 000616C4 7C 7C 1B 79 */ or. r28, r3, r3
/* 80064768 000616C8 41 82 00 74 */ beq lbl_800647DC
/* 8006476C 000616CC 83 FC 00 04 */ lwz r31, 4(r28)
/* 80064770 000616D0 48 00 00 50 */ b lbl_800647C0
lbl_80064774:
/* 80064774 000616D4 7F FE FB 78 */ mr r30, r31
/* 80064778 000616D8 83 FF 00 04 */ lwz r31, 4(r31)
/* 8006477C 000616DC 34 7E 00 08 */ addic. r3, r30, 8
/* 80064780 000616E0 41 82 00 30 */ beq lbl_800647B0
/* 80064784 000616E4 88 03 00 00 */ lbz r0, 0(r3)
/* 80064788 000616E8 28 00 00 00 */ cmplwi r0, 0
/* 8006478C 000616EC 41 82 00 24 */ beq lbl_800647B0
/* 80064790 000616F0 80 63 00 04 */ lwz r3, 4(r3)
/* 80064794 000616F4 28 03 00 00 */ cmplwi r3, 0
/* 80064798 000616F8 41 82 00 18 */ beq lbl_800647B0
/* 8006479C 000616FC 81 83 00 00 */ lwz r12, 0(r3)
/* 800647A0 00061700 38 80 00 01 */ li r4, 1
/* 800647A4 00061704 81 8C 00 08 */ lwz r12, 8(r12)
/* 800647A8 00061708 7D 89 03 A6 */ mtctr r12
/* 800647AC 0006170C 4E 80 04 21 */ bctrl
lbl_800647B0:
/* 800647B0 00061710 28 1E 00 00 */ cmplwi r30, 0
/* 800647B4 00061714 41 82 00 0C */ beq lbl_800647C0
/* 800647B8 00061718 7F C3 F3 78 */ mr r3, r30
/* 800647BC 0006171C 48 2B 11 75 */ bl Free__7CMemoryFPCv
lbl_800647C0:
/* 800647C0 00061720 80 1C 00 08 */ lwz r0, 8(r28)
/* 800647C4 00061724 7C 1F 00 40 */ cmplw r31, r0
/* 800647C8 00061728 40 82 FF AC */ bne lbl_80064774
/* 800647CC 0006172C 7F A0 07 35 */ extsh. r0, r29
/* 800647D0 00061730 40 81 00 0C */ ble lbl_800647DC
/* 800647D4 00061734 7F 83 E3 78 */ mr r3, r28
/* 800647D8 00061738 48 2B 11 59 */ bl Free__7CMemoryFPCv
lbl_800647DC:
/* 800647DC 0006173C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800647E0 00061740 7F 83 E3 78 */ mr r3, r28
/* 800647E4 00061744 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 800647E8 00061748 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 800647EC 0006174C 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 800647F0 00061750 83 81 00 10 */ lwz r28, 0x10(r1)
/* 800647F4 00061754 7C 08 03 A6 */ mtlr r0
/* 800647F8 00061758 38 21 00 20 */ addi r1, r1, 0x20
/* 800647FC 0006175C 4E 80 00 20 */ blr