prime/asm/MetroidPrime/Tweaks/CTweakPlayerRes.s

1133 lines
54 KiB
ArmAsm

.include "macros.inc"
.section .data
.global lbl_803E4CF8
lbl_803E4CF8:
# ROM: 0x3E1CF8
.4byte 0
.4byte 0
.4byte __dt__15CTweakPlayerResFv
.4byte 0
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global GetCinematicBeamResId__15CTweakPlayerResCFQ212CPlayerState7EBeamId
GetCinematicBeamResId__15CTweakPlayerResCFQ212CPlayerState7EBeamId:
/* 801AC210 001A9170 2C 04 00 00 */ cmpwi r4, 0
/* 801AC214 001A9174 41 80 00 0C */ blt lbl_801AC220
/* 801AC218 001A9178 2C 04 00 04 */ cmpwi r4, 4
/* 801AC21C 001A917C 40 81 00 0C */ ble lbl_801AC228
lbl_801AC220:
/* 801AC220 001A9180 80 63 00 DC */ lwz r3, 0xdc(r3)
/* 801AC224 001A9184 4E 80 00 20 */ blr
lbl_801AC228:
/* 801AC228 001A9188 54 80 10 3A */ slwi r0, r4, 2
/* 801AC22C 001A918C 7C 63 02 14 */ add r3, r3, r0
/* 801AC230 001A9190 80 63 00 DC */ lwz r3, 0xdc(r3)
/* 801AC234 001A9194 4E 80 00 20 */ blr
.global GetBallTransitionBeamResId__15CTweakPlayerResCFQ212CPlayerState7EBeamId
GetBallTransitionBeamResId__15CTweakPlayerResCFQ212CPlayerState7EBeamId:
/* 801AC238 001A9198 2C 04 00 00 */ cmpwi r4, 0
/* 801AC23C 001A919C 41 80 00 0C */ blt lbl_801AC248
/* 801AC240 001A91A0 2C 04 00 04 */ cmpwi r4, 4
/* 801AC244 001A91A4 40 81 00 0C */ ble lbl_801AC250
lbl_801AC248:
/* 801AC248 001A91A8 80 63 00 C8 */ lwz r3, 0xc8(r3)
/* 801AC24C 001A91AC 4E 80 00 20 */ blr
lbl_801AC250:
/* 801AC250 001A91B0 54 80 10 3A */ slwi r0, r4, 2
/* 801AC254 001A91B4 7C 63 02 14 */ add r3, r3, r0
/* 801AC258 001A91B8 80 63 00 C8 */ lwz r3, 0xc8(r3)
/* 801AC25C 001A91BC 4E 80 00 20 */ blr
.global __ct__15CTweakPlayerResFR12CInputStream
__ct__15CTweakPlayerResFR12CInputStream:
/* 801AC260 001A91C0 94 21 FE 70 */ stwu r1, -0x190(r1)
/* 801AC264 001A91C4 7C 08 02 A6 */ mflr r0
/* 801AC268 001A91C8 3C A0 80 3E */ lis r5, lbl_803D9CC4@ha
/* 801AC26C 001A91CC 90 01 01 94 */ stw r0, 0x194(r1)
/* 801AC270 001A91D0 38 05 9C C4 */ addi r0, r5, lbl_803D9CC4@l
/* 801AC274 001A91D4 38 A1 00 2C */ addi r5, r1, 0x2c
/* 801AC278 001A91D8 93 E1 01 8C */ stw r31, 0x18c(r1)
/* 801AC27C 001A91DC 7C 9F 23 78 */ mr r31, r4
/* 801AC280 001A91E0 93 C1 01 88 */ stw r30, 0x188(r1)
/* 801AC284 001A91E4 7C 7E 1B 78 */ mr r30, r3
/* 801AC288 001A91E8 3C 60 80 3E */ lis r3, lbl_803E4CF8@ha
/* 801AC28C 001A91EC 93 A1 01 84 */ stw r29, 0x184(r1)
/* 801AC290 001A91F0 93 81 01 80 */ stw r28, 0x180(r1)
/* 801AC294 001A91F4 90 1E 00 00 */ stw r0, 0(r30)
/* 801AC298 001A91F8 38 03 4C F8 */ addi r0, r3, lbl_803E4CF8@l
/* 801AC29C 001A91FC 38 61 00 E4 */ addi r3, r1, 0xe4
/* 801AC2A0 001A9200 90 1E 00 00 */ stw r0, 0(r30)
/* 801AC2A4 001A9204 48 19 20 55 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator"
/* 801AC2A8 001A9208 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13)
/* 801AC2AC 001A920C 80 81 00 E4 */ lwz r4, 0xe4(r1)
/* 801AC2B0 001A9210 81 83 00 00 */ lwz r12, 0(r3)
/* 801AC2B4 001A9214 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 801AC2B8 001A9218 7D 89 03 A6 */ mtctr r12
/* 801AC2BC 001A921C 4E 80 04 21 */ bctrl
/* 801AC2C0 001A9220 80 03 00 04 */ lwz r0, 4(r3)
/* 801AC2C4 001A9224 38 61 00 E4 */ addi r3, r1, 0xe4
/* 801AC2C8 001A9228 90 1E 00 04 */ stw r0, 4(r30)
/* 801AC2CC 001A922C 48 19 18 15 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 801AC2D0 001A9230 7F E4 FB 78 */ mr r4, r31
/* 801AC2D4 001A9234 38 61 00 D4 */ addi r3, r1, 0xd4
/* 801AC2D8 001A9238 38 A1 00 28 */ addi r5, r1, 0x28
/* 801AC2DC 001A923C 48 19 20 1D */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator"
/* 801AC2E0 001A9240 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13)
/* 801AC2E4 001A9244 80 81 00 D4 */ lwz r4, 0xd4(r1)
/* 801AC2E8 001A9248 81 83 00 00 */ lwz r12, 0(r3)
/* 801AC2EC 001A924C 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 801AC2F0 001A9250 7D 89 03 A6 */ mtctr r12
/* 801AC2F4 001A9254 4E 80 04 21 */ bctrl
/* 801AC2F8 001A9258 80 03 00 04 */ lwz r0, 4(r3)
/* 801AC2FC 001A925C 38 61 00 D4 */ addi r3, r1, 0xd4
/* 801AC300 001A9260 90 1E 00 08 */ stw r0, 8(r30)
/* 801AC304 001A9264 48 19 17 DD */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 801AC308 001A9268 7F E4 FB 78 */ mr r4, r31
/* 801AC30C 001A926C 38 61 00 C4 */ addi r3, r1, 0xc4
/* 801AC310 001A9270 38 A1 00 24 */ addi r5, r1, 0x24
/* 801AC314 001A9274 48 19 1F E5 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator"
/* 801AC318 001A9278 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13)
/* 801AC31C 001A927C 80 81 00 C4 */ lwz r4, 0xc4(r1)
/* 801AC320 001A9280 81 83 00 00 */ lwz r12, 0(r3)
/* 801AC324 001A9284 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 801AC328 001A9288 7D 89 03 A6 */ mtctr r12
/* 801AC32C 001A928C 4E 80 04 21 */ bctrl
/* 801AC330 001A9290 80 03 00 04 */ lwz r0, 4(r3)
/* 801AC334 001A9294 38 61 00 C4 */ addi r3, r1, 0xc4
/* 801AC338 001A9298 90 1E 00 0C */ stw r0, 0xc(r30)
/* 801AC33C 001A929C 48 19 17 A5 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 801AC340 001A92A0 7F E4 FB 78 */ mr r4, r31
/* 801AC344 001A92A4 38 61 00 B4 */ addi r3, r1, 0xb4
/* 801AC348 001A92A8 38 A1 00 20 */ addi r5, r1, 0x20
/* 801AC34C 001A92AC 48 19 1F AD */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator"
/* 801AC350 001A92B0 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13)
/* 801AC354 001A92B4 80 81 00 B4 */ lwz r4, 0xb4(r1)
/* 801AC358 001A92B8 81 83 00 00 */ lwz r12, 0(r3)
/* 801AC35C 001A92BC 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 801AC360 001A92C0 7D 89 03 A6 */ mtctr r12
/* 801AC364 001A92C4 4E 80 04 21 */ bctrl
/* 801AC368 001A92C8 80 03 00 04 */ lwz r0, 4(r3)
/* 801AC36C 001A92CC 38 61 00 B4 */ addi r3, r1, 0xb4
/* 801AC370 001A92D0 90 1E 00 10 */ stw r0, 0x10(r30)
/* 801AC374 001A92D4 48 19 17 6D */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 801AC378 001A92D8 7F E4 FB 78 */ mr r4, r31
/* 801AC37C 001A92DC 38 61 00 A4 */ addi r3, r1, 0xa4
/* 801AC380 001A92E0 38 A1 00 1C */ addi r5, r1, 0x1c
/* 801AC384 001A92E4 48 19 1F 75 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator"
/* 801AC388 001A92E8 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13)
/* 801AC38C 001A92EC 80 81 00 A4 */ lwz r4, 0xa4(r1)
/* 801AC390 001A92F0 81 83 00 00 */ lwz r12, 0(r3)
/* 801AC394 001A92F4 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 801AC398 001A92F8 7D 89 03 A6 */ mtctr r12
/* 801AC39C 001A92FC 4E 80 04 21 */ bctrl
/* 801AC3A0 001A9300 80 03 00 04 */ lwz r0, 4(r3)
/* 801AC3A4 001A9304 38 61 00 A4 */ addi r3, r1, 0xa4
/* 801AC3A8 001A9308 90 1E 00 14 */ stw r0, 0x14(r30)
/* 801AC3AC 001A930C 48 19 17 35 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 801AC3B0 001A9310 7F E4 FB 78 */ mr r4, r31
/* 801AC3B4 001A9314 38 61 00 94 */ addi r3, r1, 0x94
/* 801AC3B8 001A9318 38 A1 00 18 */ addi r5, r1, 0x18
/* 801AC3BC 001A931C 48 19 1F 3D */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator"
/* 801AC3C0 001A9320 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13)
/* 801AC3C4 001A9324 80 81 00 94 */ lwz r4, 0x94(r1)
/* 801AC3C8 001A9328 81 83 00 00 */ lwz r12, 0(r3)
/* 801AC3CC 001A932C 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 801AC3D0 001A9330 7D 89 03 A6 */ mtctr r12
/* 801AC3D4 001A9334 4E 80 04 21 */ bctrl
/* 801AC3D8 001A9338 80 03 00 04 */ lwz r0, 4(r3)
/* 801AC3DC 001A933C 38 61 00 94 */ addi r3, r1, 0x94
/* 801AC3E0 001A9340 90 1E 00 18 */ stw r0, 0x18(r30)
/* 801AC3E4 001A9344 48 19 16 FD */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 801AC3E8 001A9348 7F E4 FB 78 */ mr r4, r31
/* 801AC3EC 001A934C 38 61 00 84 */ addi r3, r1, 0x84
/* 801AC3F0 001A9350 38 A1 00 14 */ addi r5, r1, 0x14
/* 801AC3F4 001A9354 48 19 1F 05 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator"
/* 801AC3F8 001A9358 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13)
/* 801AC3FC 001A935C 80 81 00 84 */ lwz r4, 0x84(r1)
/* 801AC400 001A9360 81 83 00 00 */ lwz r12, 0(r3)
/* 801AC404 001A9364 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 801AC408 001A9368 7D 89 03 A6 */ mtctr r12
/* 801AC40C 001A936C 4E 80 04 21 */ bctrl
/* 801AC410 001A9370 80 03 00 04 */ lwz r0, 4(r3)
/* 801AC414 001A9374 38 61 00 84 */ addi r3, r1, 0x84
/* 801AC418 001A9378 90 1E 00 1C */ stw r0, 0x1c(r30)
/* 801AC41C 001A937C 48 19 16 C5 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 801AC420 001A9380 7F E4 FB 78 */ mr r4, r31
/* 801AC424 001A9384 38 61 01 4C */ addi r3, r1, 0x14c
/* 801AC428 001A9388 48 00 07 F1 */ bl sub_801acc18
/* 801AC42C 001A938C 80 01 01 4C */ lwz r0, 0x14c(r1)
/* 801AC430 001A9390 38 9E 00 24 */ addi r4, r30, 0x24
/* 801AC434 001A9394 38 61 01 50 */ addi r3, r1, 0x150
/* 801AC438 001A9398 90 1E 00 20 */ stw r0, 0x20(r30)
/* 801AC43C 001A939C 80 1E 00 20 */ lwz r0, 0x20(r30)
/* 801AC440 001A93A0 7C 09 03 A6 */ mtctr r0
/* 801AC444 001A93A4 2C 00 00 00 */ cmpwi r0, 0
/* 801AC448 001A93A8 40 81 00 20 */ ble lbl_801AC468
lbl_801AC44C:
/* 801AC44C 001A93AC 28 04 00 00 */ cmplwi r4, 0
/* 801AC450 001A93B0 41 82 00 0C */ beq lbl_801AC45C
/* 801AC454 001A93B4 80 03 00 00 */ lwz r0, 0(r3)
/* 801AC458 001A93B8 90 04 00 00 */ stw r0, 0(r4)
lbl_801AC45C:
/* 801AC45C 001A93BC 38 84 00 04 */ addi r4, r4, 4
/* 801AC460 001A93C0 38 63 00 04 */ addi r3, r3, 4
/* 801AC464 001A93C4 42 00 FF E8 */ bdnz lbl_801AC44C
lbl_801AC468:
/* 801AC468 001A93C8 80 A1 01 4C */ lwz r5, 0x14c(r1)
/* 801AC46C 001A93CC 38 60 00 00 */ li r3, 0
/* 801AC470 001A93D0 2C 05 00 00 */ cmpwi r5, 0
/* 801AC474 001A93D4 40 81 00 40 */ ble lbl_801AC4B4
/* 801AC478 001A93D8 2C 05 00 08 */ cmpwi r5, 8
/* 801AC47C 001A93DC 38 85 FF F8 */ addi r4, r5, -8
/* 801AC480 001A93E0 40 81 00 20 */ ble lbl_801AC4A0
/* 801AC484 001A93E4 38 04 00 07 */ addi r0, r4, 7
/* 801AC488 001A93E8 54 00 E8 FE */ srwi r0, r0, 3
/* 801AC48C 001A93EC 7C 09 03 A6 */ mtctr r0
/* 801AC490 001A93F0 2C 04 00 00 */ cmpwi r4, 0
/* 801AC494 001A93F4 40 81 00 0C */ ble lbl_801AC4A0
lbl_801AC498:
/* 801AC498 001A93F8 38 63 00 08 */ addi r3, r3, 8
/* 801AC49C 001A93FC 42 00 FF FC */ bdnz lbl_801AC498
lbl_801AC4A0:
/* 801AC4A0 001A9400 7C 03 28 50 */ subf r0, r3, r5
/* 801AC4A4 001A9404 7C 09 03 A6 */ mtctr r0
/* 801AC4A8 001A9408 7C 03 28 00 */ cmpw r3, r5
/* 801AC4AC 001A940C 40 80 00 08 */ bge lbl_801AC4B4
lbl_801AC4B0:
/* 801AC4B0 001A9410 42 00 00 00 */ bdnz lbl_801AC4B0
lbl_801AC4B4:
/* 801AC4B4 001A9414 38 00 00 00 */ li r0, 0
/* 801AC4B8 001A9418 7F E4 FB 78 */ mr r4, r31
/* 801AC4BC 001A941C 90 01 01 4C */ stw r0, 0x14c(r1)
/* 801AC4C0 001A9420 38 61 01 24 */ addi r3, r1, 0x124
/* 801AC4C4 001A9424 48 00 07 55 */ bl sub_801acc18
/* 801AC4C8 001A9428 80 01 01 24 */ lwz r0, 0x124(r1)
/* 801AC4CC 001A942C 38 9E 00 4C */ addi r4, r30, 0x4c
/* 801AC4D0 001A9430 38 61 01 28 */ addi r3, r1, 0x128
/* 801AC4D4 001A9434 90 1E 00 48 */ stw r0, 0x48(r30)
/* 801AC4D8 001A9438 80 1E 00 48 */ lwz r0, 0x48(r30)
/* 801AC4DC 001A943C 7C 09 03 A6 */ mtctr r0
/* 801AC4E0 001A9440 2C 00 00 00 */ cmpwi r0, 0
/* 801AC4E4 001A9444 40 81 00 20 */ ble lbl_801AC504
lbl_801AC4E8:
/* 801AC4E8 001A9448 28 04 00 00 */ cmplwi r4, 0
/* 801AC4EC 001A944C 41 82 00 0C */ beq lbl_801AC4F8
/* 801AC4F0 001A9450 80 03 00 00 */ lwz r0, 0(r3)
/* 801AC4F4 001A9454 90 04 00 00 */ stw r0, 0(r4)
lbl_801AC4F8:
/* 801AC4F8 001A9458 38 84 00 04 */ addi r4, r4, 4
/* 801AC4FC 001A945C 38 63 00 04 */ addi r3, r3, 4
/* 801AC500 001A9460 42 00 FF E8 */ bdnz lbl_801AC4E8
lbl_801AC504:
/* 801AC504 001A9464 80 A1 01 24 */ lwz r5, 0x124(r1)
/* 801AC508 001A9468 38 60 00 00 */ li r3, 0
/* 801AC50C 001A946C 2C 05 00 00 */ cmpwi r5, 0
/* 801AC510 001A9470 40 81 00 40 */ ble lbl_801AC550
/* 801AC514 001A9474 2C 05 00 08 */ cmpwi r5, 8
/* 801AC518 001A9478 38 85 FF F8 */ addi r4, r5, -8
/* 801AC51C 001A947C 40 81 00 20 */ ble lbl_801AC53C
/* 801AC520 001A9480 38 04 00 07 */ addi r0, r4, 7
/* 801AC524 001A9484 54 00 E8 FE */ srwi r0, r0, 3
/* 801AC528 001A9488 7C 09 03 A6 */ mtctr r0
/* 801AC52C 001A948C 2C 04 00 00 */ cmpwi r4, 0
/* 801AC530 001A9490 40 81 00 0C */ ble lbl_801AC53C
lbl_801AC534:
/* 801AC534 001A9494 38 63 00 08 */ addi r3, r3, 8
/* 801AC538 001A9498 42 00 FF FC */ bdnz lbl_801AC534
lbl_801AC53C:
/* 801AC53C 001A949C 7C 03 28 50 */ subf r0, r3, r5
/* 801AC540 001A94A0 7C 09 03 A6 */ mtctr r0
/* 801AC544 001A94A4 7C 03 28 00 */ cmpw r3, r5
/* 801AC548 001A94A8 40 80 00 08 */ bge lbl_801AC550
lbl_801AC54C:
/* 801AC54C 001A94AC 42 00 00 00 */ bdnz lbl_801AC54C
lbl_801AC550:
/* 801AC550 001A94B0 38 00 00 00 */ li r0, 0
/* 801AC554 001A94B4 7F E4 FB 78 */ mr r4, r31
/* 801AC558 001A94B8 90 01 01 24 */ stw r0, 0x124(r1)
/* 801AC55C 001A94BC 38 61 00 78 */ addi r3, r1, 0x78
/* 801AC560 001A94C0 48 00 05 79 */ bl sub_801acad8
/* 801AC564 001A94C4 80 01 00 78 */ lwz r0, 0x78(r1)
/* 801AC568 001A94C8 38 9E 00 74 */ addi r4, r30, 0x74
/* 801AC56C 001A94CC 38 61 00 7C */ addi r3, r1, 0x7c
/* 801AC570 001A94D0 90 1E 00 70 */ stw r0, 0x70(r30)
/* 801AC574 001A94D4 80 1E 00 70 */ lwz r0, 0x70(r30)
/* 801AC578 001A94D8 7C 09 03 A6 */ mtctr r0
/* 801AC57C 001A94DC 2C 00 00 00 */ cmpwi r0, 0
/* 801AC580 001A94E0 40 81 00 20 */ ble lbl_801AC5A0
lbl_801AC584:
/* 801AC584 001A94E4 28 04 00 00 */ cmplwi r4, 0
/* 801AC588 001A94E8 41 82 00 0C */ beq lbl_801AC594
/* 801AC58C 001A94EC 80 03 00 00 */ lwz r0, 0(r3)
/* 801AC590 001A94F0 90 04 00 00 */ stw r0, 0(r4)
lbl_801AC594:
/* 801AC594 001A94F4 38 84 00 04 */ addi r4, r4, 4
/* 801AC598 001A94F8 38 63 00 04 */ addi r3, r3, 4
/* 801AC59C 001A94FC 42 00 FF E8 */ bdnz lbl_801AC584
lbl_801AC5A0:
/* 801AC5A0 001A9500 80 A1 00 78 */ lwz r5, 0x78(r1)
/* 801AC5A4 001A9504 38 60 00 00 */ li r3, 0
/* 801AC5A8 001A9508 2C 05 00 00 */ cmpwi r5, 0
/* 801AC5AC 001A950C 40 81 00 40 */ ble lbl_801AC5EC
/* 801AC5B0 001A9510 2C 05 00 08 */ cmpwi r5, 8
/* 801AC5B4 001A9514 38 85 FF F8 */ addi r4, r5, -8
/* 801AC5B8 001A9518 40 81 00 20 */ ble lbl_801AC5D8
/* 801AC5BC 001A951C 38 04 00 07 */ addi r0, r4, 7
/* 801AC5C0 001A9520 54 00 E8 FE */ srwi r0, r0, 3
/* 801AC5C4 001A9524 7C 09 03 A6 */ mtctr r0
/* 801AC5C8 001A9528 2C 04 00 00 */ cmpwi r4, 0
/* 801AC5CC 001A952C 40 81 00 0C */ ble lbl_801AC5D8
lbl_801AC5D0:
/* 801AC5D0 001A9530 38 63 00 08 */ addi r3, r3, 8
/* 801AC5D4 001A9534 42 00 FF FC */ bdnz lbl_801AC5D0
lbl_801AC5D8:
/* 801AC5D8 001A9538 7C 03 28 50 */ subf r0, r3, r5
/* 801AC5DC 001A953C 7C 09 03 A6 */ mtctr r0
/* 801AC5E0 001A9540 7C 03 28 00 */ cmpw r3, r5
/* 801AC5E4 001A9544 40 80 00 08 */ bge lbl_801AC5EC
lbl_801AC5E8:
/* 801AC5E8 001A9548 42 00 00 00 */ bdnz lbl_801AC5E8
lbl_801AC5EC:
/* 801AC5EC 001A954C 38 00 00 00 */ li r0, 0
/* 801AC5F0 001A9550 7F E4 FB 78 */ mr r4, r31
/* 801AC5F4 001A9554 90 01 00 78 */ stw r0, 0x78(r1)
/* 801AC5F8 001A9558 38 61 00 6C */ addi r3, r1, 0x6c
/* 801AC5FC 001A955C 48 00 04 DD */ bl sub_801acad8
/* 801AC600 001A9560 80 01 00 6C */ lwz r0, 0x6c(r1)
/* 801AC604 001A9564 38 9E 00 80 */ addi r4, r30, 0x80
/* 801AC608 001A9568 38 61 00 70 */ addi r3, r1, 0x70
/* 801AC60C 001A956C 90 1E 00 7C */ stw r0, 0x7c(r30)
/* 801AC610 001A9570 80 1E 00 7C */ lwz r0, 0x7c(r30)
/* 801AC614 001A9574 7C 09 03 A6 */ mtctr r0
/* 801AC618 001A9578 2C 00 00 00 */ cmpwi r0, 0
/* 801AC61C 001A957C 40 81 00 20 */ ble lbl_801AC63C
lbl_801AC620:
/* 801AC620 001A9580 28 04 00 00 */ cmplwi r4, 0
/* 801AC624 001A9584 41 82 00 0C */ beq lbl_801AC630
/* 801AC628 001A9588 80 03 00 00 */ lwz r0, 0(r3)
/* 801AC62C 001A958C 90 04 00 00 */ stw r0, 0(r4)
lbl_801AC630:
/* 801AC630 001A9590 38 84 00 04 */ addi r4, r4, 4
/* 801AC634 001A9594 38 63 00 04 */ addi r3, r3, 4
/* 801AC638 001A9598 42 00 FF E8 */ bdnz lbl_801AC620
lbl_801AC63C:
/* 801AC63C 001A959C 80 A1 00 6C */ lwz r5, 0x6c(r1)
/* 801AC640 001A95A0 38 60 00 00 */ li r3, 0
/* 801AC644 001A95A4 2C 05 00 00 */ cmpwi r5, 0
/* 801AC648 001A95A8 40 81 00 40 */ ble lbl_801AC688
/* 801AC64C 001A95AC 2C 05 00 08 */ cmpwi r5, 8
/* 801AC650 001A95B0 38 85 FF F8 */ addi r4, r5, -8
/* 801AC654 001A95B4 40 81 00 20 */ ble lbl_801AC674
/* 801AC658 001A95B8 38 04 00 07 */ addi r0, r4, 7
/* 801AC65C 001A95BC 54 00 E8 FE */ srwi r0, r0, 3
/* 801AC660 001A95C0 7C 09 03 A6 */ mtctr r0
/* 801AC664 001A95C4 2C 04 00 00 */ cmpwi r4, 0
/* 801AC668 001A95C8 40 81 00 0C */ ble lbl_801AC674
lbl_801AC66C:
/* 801AC66C 001A95CC 38 63 00 08 */ addi r3, r3, 8
/* 801AC670 001A95D0 42 00 FF FC */ bdnz lbl_801AC66C
lbl_801AC674:
/* 801AC674 001A95D4 7C 03 28 50 */ subf r0, r3, r5
/* 801AC678 001A95D8 7C 09 03 A6 */ mtctr r0
/* 801AC67C 001A95DC 7C 03 28 00 */ cmpw r3, r5
/* 801AC680 001A95E0 40 80 00 08 */ bge lbl_801AC688
lbl_801AC684:
/* 801AC684 001A95E4 42 00 00 00 */ bdnz lbl_801AC684
lbl_801AC688:
/* 801AC688 001A95E8 38 00 00 00 */ li r0, 0
/* 801AC68C 001A95EC 7F E4 FB 78 */ mr r4, r31
/* 801AC690 001A95F0 90 01 00 6C */ stw r0, 0x6c(r1)
/* 801AC694 001A95F4 38 61 00 60 */ addi r3, r1, 0x60
/* 801AC698 001A95F8 48 00 04 41 */ bl sub_801acad8
/* 801AC69C 001A95FC 80 01 00 60 */ lwz r0, 0x60(r1)
/* 801AC6A0 001A9600 38 9E 00 8C */ addi r4, r30, 0x8c
/* 801AC6A4 001A9604 38 61 00 64 */ addi r3, r1, 0x64
/* 801AC6A8 001A9608 90 1E 00 88 */ stw r0, 0x88(r30)
/* 801AC6AC 001A960C 80 1E 00 88 */ lwz r0, 0x88(r30)
/* 801AC6B0 001A9610 7C 09 03 A6 */ mtctr r0
/* 801AC6B4 001A9614 2C 00 00 00 */ cmpwi r0, 0
/* 801AC6B8 001A9618 40 81 00 20 */ ble lbl_801AC6D8
lbl_801AC6BC:
/* 801AC6BC 001A961C 28 04 00 00 */ cmplwi r4, 0
/* 801AC6C0 001A9620 41 82 00 0C */ beq lbl_801AC6CC
/* 801AC6C4 001A9624 80 03 00 00 */ lwz r0, 0(r3)
/* 801AC6C8 001A9628 90 04 00 00 */ stw r0, 0(r4)
lbl_801AC6CC:
/* 801AC6CC 001A962C 38 84 00 04 */ addi r4, r4, 4
/* 801AC6D0 001A9630 38 63 00 04 */ addi r3, r3, 4
/* 801AC6D4 001A9634 42 00 FF E8 */ bdnz lbl_801AC6BC
lbl_801AC6D8:
/* 801AC6D8 001A9638 80 A1 00 60 */ lwz r5, 0x60(r1)
/* 801AC6DC 001A963C 38 60 00 00 */ li r3, 0
/* 801AC6E0 001A9640 2C 05 00 00 */ cmpwi r5, 0
/* 801AC6E4 001A9644 40 81 00 40 */ ble lbl_801AC724
/* 801AC6E8 001A9648 2C 05 00 08 */ cmpwi r5, 8
/* 801AC6EC 001A964C 38 85 FF F8 */ addi r4, r5, -8
/* 801AC6F0 001A9650 40 81 00 20 */ ble lbl_801AC710
/* 801AC6F4 001A9654 38 04 00 07 */ addi r0, r4, 7
/* 801AC6F8 001A9658 54 00 E8 FE */ srwi r0, r0, 3
/* 801AC6FC 001A965C 7C 09 03 A6 */ mtctr r0
/* 801AC700 001A9660 2C 04 00 00 */ cmpwi r4, 0
/* 801AC704 001A9664 40 81 00 0C */ ble lbl_801AC710
lbl_801AC708:
/* 801AC708 001A9668 38 63 00 08 */ addi r3, r3, 8
/* 801AC70C 001A966C 42 00 FF FC */ bdnz lbl_801AC708
lbl_801AC710:
/* 801AC710 001A9670 7C 03 28 50 */ subf r0, r3, r5
/* 801AC714 001A9674 7C 09 03 A6 */ mtctr r0
/* 801AC718 001A9678 7C 03 28 00 */ cmpw r3, r5
/* 801AC71C 001A967C 40 80 00 08 */ bge lbl_801AC724
lbl_801AC720:
/* 801AC720 001A9680 42 00 00 00 */ bdnz lbl_801AC720
lbl_801AC724:
/* 801AC724 001A9684 38 00 00 00 */ li r0, 0
/* 801AC728 001A9688 7F E4 FB 78 */ mr r4, r31
/* 801AC72C 001A968C 90 01 00 60 */ stw r0, 0x60(r1)
/* 801AC730 001A9690 38 61 00 54 */ addi r3, r1, 0x54
/* 801AC734 001A9694 48 00 03 A5 */ bl sub_801acad8
/* 801AC738 001A9698 80 01 00 54 */ lwz r0, 0x54(r1)
/* 801AC73C 001A969C 38 9E 00 98 */ addi r4, r30, 0x98
/* 801AC740 001A96A0 38 61 00 58 */ addi r3, r1, 0x58
/* 801AC744 001A96A4 90 1E 00 94 */ stw r0, 0x94(r30)
/* 801AC748 001A96A8 80 1E 00 94 */ lwz r0, 0x94(r30)
/* 801AC74C 001A96AC 7C 09 03 A6 */ mtctr r0
/* 801AC750 001A96B0 2C 00 00 00 */ cmpwi r0, 0
/* 801AC754 001A96B4 40 81 00 20 */ ble lbl_801AC774
lbl_801AC758:
/* 801AC758 001A96B8 28 04 00 00 */ cmplwi r4, 0
/* 801AC75C 001A96BC 41 82 00 0C */ beq lbl_801AC768
/* 801AC760 001A96C0 80 03 00 00 */ lwz r0, 0(r3)
/* 801AC764 001A96C4 90 04 00 00 */ stw r0, 0(r4)
lbl_801AC768:
/* 801AC768 001A96C8 38 84 00 04 */ addi r4, r4, 4
/* 801AC76C 001A96CC 38 63 00 04 */ addi r3, r3, 4
/* 801AC770 001A96D0 42 00 FF E8 */ bdnz lbl_801AC758
lbl_801AC774:
/* 801AC774 001A96D4 80 A1 00 54 */ lwz r5, 0x54(r1)
/* 801AC778 001A96D8 38 60 00 00 */ li r3, 0
/* 801AC77C 001A96DC 2C 05 00 00 */ cmpwi r5, 0
/* 801AC780 001A96E0 40 81 00 40 */ ble lbl_801AC7C0
/* 801AC784 001A96E4 2C 05 00 08 */ cmpwi r5, 8
/* 801AC788 001A96E8 38 85 FF F8 */ addi r4, r5, -8
/* 801AC78C 001A96EC 40 81 00 20 */ ble lbl_801AC7AC
/* 801AC790 001A96F0 38 04 00 07 */ addi r0, r4, 7
/* 801AC794 001A96F4 54 00 E8 FE */ srwi r0, r0, 3
/* 801AC798 001A96F8 7C 09 03 A6 */ mtctr r0
/* 801AC79C 001A96FC 2C 04 00 00 */ cmpwi r4, 0
/* 801AC7A0 001A9700 40 81 00 0C */ ble lbl_801AC7AC
lbl_801AC7A4:
/* 801AC7A4 001A9704 38 63 00 08 */ addi r3, r3, 8
/* 801AC7A8 001A9708 42 00 FF FC */ bdnz lbl_801AC7A4
lbl_801AC7AC:
/* 801AC7AC 001A970C 7C 03 28 50 */ subf r0, r3, r5
/* 801AC7B0 001A9710 7C 09 03 A6 */ mtctr r0
/* 801AC7B4 001A9714 7C 03 28 00 */ cmpw r3, r5
/* 801AC7B8 001A9718 40 80 00 08 */ bge lbl_801AC7C0
lbl_801AC7BC:
/* 801AC7BC 001A971C 42 00 00 00 */ bdnz lbl_801AC7BC
lbl_801AC7C0:
/* 801AC7C0 001A9720 38 00 00 00 */ li r0, 0
/* 801AC7C4 001A9724 7F E4 FB 78 */ mr r4, r31
/* 801AC7C8 001A9728 90 01 00 54 */ stw r0, 0x54(r1)
/* 801AC7CC 001A972C 38 61 00 48 */ addi r3, r1, 0x48
/* 801AC7D0 001A9730 48 00 03 09 */ bl sub_801acad8
/* 801AC7D4 001A9734 80 01 00 48 */ lwz r0, 0x48(r1)
/* 801AC7D8 001A9738 38 9E 00 A4 */ addi r4, r30, 0xa4
/* 801AC7DC 001A973C 38 61 00 4C */ addi r3, r1, 0x4c
/* 801AC7E0 001A9740 90 1E 00 A0 */ stw r0, 0xa0(r30)
/* 801AC7E4 001A9744 80 1E 00 A0 */ lwz r0, 0xa0(r30)
/* 801AC7E8 001A9748 7C 09 03 A6 */ mtctr r0
/* 801AC7EC 001A974C 2C 00 00 00 */ cmpwi r0, 0
/* 801AC7F0 001A9750 40 81 00 20 */ ble lbl_801AC810
lbl_801AC7F4:
/* 801AC7F4 001A9754 28 04 00 00 */ cmplwi r4, 0
/* 801AC7F8 001A9758 41 82 00 0C */ beq lbl_801AC804
/* 801AC7FC 001A975C 80 03 00 00 */ lwz r0, 0(r3)
/* 801AC800 001A9760 90 04 00 00 */ stw r0, 0(r4)
lbl_801AC804:
/* 801AC804 001A9764 38 84 00 04 */ addi r4, r4, 4
/* 801AC808 001A9768 38 63 00 04 */ addi r3, r3, 4
/* 801AC80C 001A976C 42 00 FF E8 */ bdnz lbl_801AC7F4
lbl_801AC810:
/* 801AC810 001A9770 80 A1 00 48 */ lwz r5, 0x48(r1)
/* 801AC814 001A9774 38 60 00 00 */ li r3, 0
/* 801AC818 001A9778 2C 05 00 00 */ cmpwi r5, 0
/* 801AC81C 001A977C 40 81 00 40 */ ble lbl_801AC85C
/* 801AC820 001A9780 2C 05 00 08 */ cmpwi r5, 8
/* 801AC824 001A9784 38 85 FF F8 */ addi r4, r5, -8
/* 801AC828 001A9788 40 81 00 20 */ ble lbl_801AC848
/* 801AC82C 001A978C 38 04 00 07 */ addi r0, r4, 7
/* 801AC830 001A9790 54 00 E8 FE */ srwi r0, r0, 3
/* 801AC834 001A9794 7C 09 03 A6 */ mtctr r0
/* 801AC838 001A9798 2C 04 00 00 */ cmpwi r4, 0
/* 801AC83C 001A979C 40 81 00 0C */ ble lbl_801AC848
lbl_801AC840:
/* 801AC840 001A97A0 38 63 00 08 */ addi r3, r3, 8
/* 801AC844 001A97A4 42 00 FF FC */ bdnz lbl_801AC840
lbl_801AC848:
/* 801AC848 001A97A8 7C 03 28 50 */ subf r0, r3, r5
/* 801AC84C 001A97AC 7C 09 03 A6 */ mtctr r0
/* 801AC850 001A97B0 7C 03 28 00 */ cmpw r3, r5
/* 801AC854 001A97B4 40 80 00 08 */ bge lbl_801AC85C
lbl_801AC858:
/* 801AC858 001A97B8 42 00 00 00 */ bdnz lbl_801AC858
lbl_801AC85C:
/* 801AC85C 001A97BC 38 00 00 00 */ li r0, 0
/* 801AC860 001A97C0 7F E4 FB 78 */ mr r4, r31
/* 801AC864 001A97C4 90 01 00 48 */ stw r0, 0x48(r1)
/* 801AC868 001A97C8 38 61 00 3C */ addi r3, r1, 0x3c
/* 801AC86C 001A97CC 48 00 02 6D */ bl sub_801acad8
/* 801AC870 001A97D0 80 01 00 3C */ lwz r0, 0x3c(r1)
/* 801AC874 001A97D4 38 9E 00 B0 */ addi r4, r30, 0xb0
/* 801AC878 001A97D8 38 61 00 40 */ addi r3, r1, 0x40
/* 801AC87C 001A97DC 90 1E 00 AC */ stw r0, 0xac(r30)
/* 801AC880 001A97E0 80 1E 00 AC */ lwz r0, 0xac(r30)
/* 801AC884 001A97E4 7C 09 03 A6 */ mtctr r0
/* 801AC888 001A97E8 2C 00 00 00 */ cmpwi r0, 0
/* 801AC88C 001A97EC 40 81 00 20 */ ble lbl_801AC8AC
lbl_801AC890:
/* 801AC890 001A97F0 28 04 00 00 */ cmplwi r4, 0
/* 801AC894 001A97F4 41 82 00 0C */ beq lbl_801AC8A0
/* 801AC898 001A97F8 80 03 00 00 */ lwz r0, 0(r3)
/* 801AC89C 001A97FC 90 04 00 00 */ stw r0, 0(r4)
lbl_801AC8A0:
/* 801AC8A0 001A9800 38 84 00 04 */ addi r4, r4, 4
/* 801AC8A4 001A9804 38 63 00 04 */ addi r3, r3, 4
/* 801AC8A8 001A9808 42 00 FF E8 */ bdnz lbl_801AC890
lbl_801AC8AC:
/* 801AC8AC 001A980C 80 A1 00 3C */ lwz r5, 0x3c(r1)
/* 801AC8B0 001A9810 38 60 00 00 */ li r3, 0
/* 801AC8B4 001A9814 2C 05 00 00 */ cmpwi r5, 0
/* 801AC8B8 001A9818 40 81 00 40 */ ble lbl_801AC8F8
/* 801AC8BC 001A981C 2C 05 00 08 */ cmpwi r5, 8
/* 801AC8C0 001A9820 38 85 FF F8 */ addi r4, r5, -8
/* 801AC8C4 001A9824 40 81 00 20 */ ble lbl_801AC8E4
/* 801AC8C8 001A9828 38 04 00 07 */ addi r0, r4, 7
/* 801AC8CC 001A982C 54 00 E8 FE */ srwi r0, r0, 3
/* 801AC8D0 001A9830 7C 09 03 A6 */ mtctr r0
/* 801AC8D4 001A9834 2C 04 00 00 */ cmpwi r4, 0
/* 801AC8D8 001A9838 40 81 00 0C */ ble lbl_801AC8E4
lbl_801AC8DC:
/* 801AC8DC 001A983C 38 63 00 08 */ addi r3, r3, 8
/* 801AC8E0 001A9840 42 00 FF FC */ bdnz lbl_801AC8DC
lbl_801AC8E4:
/* 801AC8E4 001A9844 7C 03 28 50 */ subf r0, r3, r5
/* 801AC8E8 001A9848 7C 09 03 A6 */ mtctr r0
/* 801AC8EC 001A984C 7C 03 28 00 */ cmpw r3, r5
/* 801AC8F0 001A9850 40 80 00 08 */ bge lbl_801AC8F8
lbl_801AC8F4:
/* 801AC8F4 001A9854 42 00 00 00 */ bdnz lbl_801AC8F4
lbl_801AC8F8:
/* 801AC8F8 001A9858 38 00 00 00 */ li r0, 0
/* 801AC8FC 001A985C 7F E4 FB 78 */ mr r4, r31
/* 801AC900 001A9860 90 01 00 3C */ stw r0, 0x3c(r1)
/* 801AC904 001A9864 38 61 00 30 */ addi r3, r1, 0x30
/* 801AC908 001A9868 48 00 01 D1 */ bl sub_801acad8
/* 801AC90C 001A986C 80 01 00 30 */ lwz r0, 0x30(r1)
/* 801AC910 001A9870 38 9E 00 BC */ addi r4, r30, 0xbc
/* 801AC914 001A9874 38 61 00 34 */ addi r3, r1, 0x34
/* 801AC918 001A9878 90 1E 00 B8 */ stw r0, 0xb8(r30)
/* 801AC91C 001A987C 80 1E 00 B8 */ lwz r0, 0xb8(r30)
/* 801AC920 001A9880 7C 09 03 A6 */ mtctr r0
/* 801AC924 001A9884 2C 00 00 00 */ cmpwi r0, 0
/* 801AC928 001A9888 40 81 00 20 */ ble lbl_801AC948
lbl_801AC92C:
/* 801AC92C 001A988C 28 04 00 00 */ cmplwi r4, 0
/* 801AC930 001A9890 41 82 00 0C */ beq lbl_801AC93C
/* 801AC934 001A9894 80 03 00 00 */ lwz r0, 0(r3)
/* 801AC938 001A9898 90 04 00 00 */ stw r0, 0(r4)
lbl_801AC93C:
/* 801AC93C 001A989C 38 84 00 04 */ addi r4, r4, 4
/* 801AC940 001A98A0 38 63 00 04 */ addi r3, r3, 4
/* 801AC944 001A98A4 42 00 FF E8 */ bdnz lbl_801AC92C
lbl_801AC948:
/* 801AC948 001A98A8 80 A1 00 30 */ lwz r5, 0x30(r1)
/* 801AC94C 001A98AC 38 60 00 00 */ li r3, 0
/* 801AC950 001A98B0 2C 05 00 00 */ cmpwi r5, 0
/* 801AC954 001A98B4 40 81 00 40 */ ble lbl_801AC994
/* 801AC958 001A98B8 2C 05 00 08 */ cmpwi r5, 8
/* 801AC95C 001A98BC 38 85 FF F8 */ addi r4, r5, -8
/* 801AC960 001A98C0 40 81 00 20 */ ble lbl_801AC980
/* 801AC964 001A98C4 38 04 00 07 */ addi r0, r4, 7
/* 801AC968 001A98C8 54 00 E8 FE */ srwi r0, r0, 3
/* 801AC96C 001A98CC 7C 09 03 A6 */ mtctr r0
/* 801AC970 001A98D0 2C 04 00 00 */ cmpwi r4, 0
/* 801AC974 001A98D4 40 81 00 0C */ ble lbl_801AC980
lbl_801AC978:
/* 801AC978 001A98D8 38 63 00 08 */ addi r3, r3, 8
/* 801AC97C 001A98DC 42 00 FF FC */ bdnz lbl_801AC978
lbl_801AC980:
/* 801AC980 001A98E0 7C 03 28 50 */ subf r0, r3, r5
/* 801AC984 001A98E4 7C 09 03 A6 */ mtctr r0
/* 801AC988 001A98E8 7C 03 28 00 */ cmpw r3, r5
/* 801AC98C 001A98EC 40 80 00 08 */ bge lbl_801AC994
lbl_801AC990:
/* 801AC990 001A98F0 42 00 00 00 */ bdnz lbl_801AC990
lbl_801AC994:
/* 801AC994 001A98F4 38 00 00 00 */ li r0, 0
/* 801AC998 001A98F8 C0 02 A8 70 */ lfs f0, lbl_805AC590@sda21(r2)
/* 801AC99C 001A98FC 90 01 00 30 */ stw r0, 0x30(r1)
/* 801AC9A0 001A9900 38 7E 00 C8 */ addi r3, r30, 0xc8
/* 801AC9A4 001A9904 38 80 00 00 */ li r4, 0
/* 801AC9A8 001A9908 38 A0 00 14 */ li r5, 0x14
/* 801AC9AC 001A990C 90 1E 00 C4 */ stw r0, 0xc4(r30)
/* 801AC9B0 001A9910 D0 1E 00 F0 */ stfs f0, 0xf0(r30)
/* 801AC9B4 001A9914 4B E5 69 F5 */ bl memset
/* 801AC9B8 001A9918 38 7E 00 DC */ addi r3, r30, 0xdc
/* 801AC9BC 001A991C 38 80 00 00 */ li r4, 0
/* 801AC9C0 001A9920 38 A0 00 14 */ li r5, 0x14
/* 801AC9C4 001A9924 4B E5 69 E5 */ bl memset
/* 801AC9C8 001A9928 7F E4 FB 78 */ mr r4, r31
/* 801AC9CC 001A992C 38 61 01 14 */ addi r3, r1, 0x114
/* 801AC9D0 001A9930 38 A1 00 10 */ addi r5, r1, 0x10
/* 801AC9D4 001A9934 48 19 19 25 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator"
/* 801AC9D8 001A9938 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13)
/* 801AC9DC 001A993C 80 81 01 14 */ lwz r4, 0x114(r1)
/* 801AC9E0 001A9940 81 83 00 00 */ lwz r12, 0(r3)
/* 801AC9E4 001A9944 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 801AC9E8 001A9948 7D 89 03 A6 */ mtctr r12
/* 801AC9EC 001A994C 4E 80 04 21 */ bctrl
/* 801AC9F0 001A9950 80 03 00 04 */ lwz r0, 4(r3)
/* 801AC9F4 001A9954 3B 80 00 00 */ li r28, 0
/* 801AC9F8 001A9958 3B A0 00 00 */ li r29, 0
/* 801AC9FC 001A995C 90 1E 00 C4 */ stw r0, 0xc4(r30)
lbl_801ACA00:
/* 801ACA00 001A9960 7F E4 FB 78 */ mr r4, r31
/* 801ACA04 001A9964 38 61 01 04 */ addi r3, r1, 0x104
/* 801ACA08 001A9968 38 A1 00 0C */ addi r5, r1, 0xc
/* 801ACA0C 001A996C 48 19 18 ED */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator"
/* 801ACA10 001A9970 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13)
/* 801ACA14 001A9974 80 81 01 04 */ lwz r4, 0x104(r1)
/* 801ACA18 001A9978 81 83 00 00 */ lwz r12, 0(r3)
/* 801ACA1C 001A997C 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 801ACA20 001A9980 7D 89 03 A6 */ mtctr r12
/* 801ACA24 001A9984 4E 80 04 21 */ bctrl
/* 801ACA28 001A9988 80 83 00 04 */ lwz r4, 4(r3)
/* 801ACA2C 001A998C 38 1D 00 C8 */ addi r0, r29, 0xc8
/* 801ACA30 001A9990 38 61 01 04 */ addi r3, r1, 0x104
/* 801ACA34 001A9994 7C 9E 01 2E */ stwx r4, r30, r0
/* 801ACA38 001A9998 48 19 10 A9 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 801ACA3C 001A999C 3B 9C 00 01 */ addi r28, r28, 1
/* 801ACA40 001A99A0 3B BD 00 04 */ addi r29, r29, 4
/* 801ACA44 001A99A4 2C 1C 00 05 */ cmpwi r28, 5
/* 801ACA48 001A99A8 41 80 FF B8 */ blt lbl_801ACA00
/* 801ACA4C 001A99AC 3B 80 00 00 */ li r28, 0
/* 801ACA50 001A99B0 3B A0 00 00 */ li r29, 0
lbl_801ACA54:
/* 801ACA54 001A99B4 7F E4 FB 78 */ mr r4, r31
/* 801ACA58 001A99B8 38 61 00 F4 */ addi r3, r1, 0xf4
/* 801ACA5C 001A99BC 38 A1 00 08 */ addi r5, r1, 8
/* 801ACA60 001A99C0 48 19 18 99 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator"
/* 801ACA64 001A99C4 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13)
/* 801ACA68 001A99C8 80 81 00 F4 */ lwz r4, 0xf4(r1)
/* 801ACA6C 001A99CC 81 83 00 00 */ lwz r12, 0(r3)
/* 801ACA70 001A99D0 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 801ACA74 001A99D4 7D 89 03 A6 */ mtctr r12
/* 801ACA78 001A99D8 4E 80 04 21 */ bctrl
/* 801ACA7C 001A99DC 80 83 00 04 */ lwz r4, 4(r3)
/* 801ACA80 001A99E0 38 1D 00 DC */ addi r0, r29, 0xdc
/* 801ACA84 001A99E4 38 61 00 F4 */ addi r3, r1, 0xf4
/* 801ACA88 001A99E8 7C 9E 01 2E */ stwx r4, r30, r0
/* 801ACA8C 001A99EC 48 19 10 55 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 801ACA90 001A99F0 3B 9C 00 01 */ addi r28, r28, 1
/* 801ACA94 001A99F4 3B BD 00 04 */ addi r29, r29, 4
/* 801ACA98 001A99F8 2C 1C 00 05 */ cmpwi r28, 5
/* 801ACA9C 001A99FC 41 80 FF B8 */ blt lbl_801ACA54
/* 801ACAA0 001A9A00 7F E3 FB 78 */ mr r3, r31
/* 801ACAA4 001A9A04 48 19 21 85 */ bl ReadFloat__12CInputStreamFv
/* 801ACAA8 001A9A08 D0 3E 00 F0 */ stfs f1, 0xf0(r30)
/* 801ACAAC 001A9A0C 38 61 01 14 */ addi r3, r1, 0x114
/* 801ACAB0 001A9A10 48 19 10 31 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 801ACAB4 001A9A14 80 01 01 94 */ lwz r0, 0x194(r1)
/* 801ACAB8 001A9A18 7F C3 F3 78 */ mr r3, r30
/* 801ACABC 001A9A1C 83 E1 01 8C */ lwz r31, 0x18c(r1)
/* 801ACAC0 001A9A20 83 C1 01 88 */ lwz r30, 0x188(r1)
/* 801ACAC4 001A9A24 83 A1 01 84 */ lwz r29, 0x184(r1)
/* 801ACAC8 001A9A28 83 81 01 80 */ lwz r28, 0x180(r1)
/* 801ACACC 001A9A2C 7C 08 03 A6 */ mtlr r0
/* 801ACAD0 001A9A30 38 21 01 90 */ addi r1, r1, 0x190
/* 801ACAD4 001A9A34 4E 80 00 20 */ blr
.global sub_801acad8
sub_801acad8:
/* 801ACAD8 001A9A38 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 801ACADC 001A9A3C 7C 08 02 A6 */ mflr r0
/* 801ACAE0 001A9A40 90 01 00 44 */ stw r0, 0x44(r1)
/* 801ACAE4 001A9A44 38 00 00 00 */ li r0, 0
/* 801ACAE8 001A9A48 93 E1 00 3C */ stw r31, 0x3c(r1)
/* 801ACAEC 001A9A4C 3B E1 00 20 */ addi r31, r1, 0x20
/* 801ACAF0 001A9A50 93 C1 00 38 */ stw r30, 0x38(r1)
/* 801ACAF4 001A9A54 3B C0 00 00 */ li r30, 0
/* 801ACAF8 001A9A58 93 A1 00 34 */ stw r29, 0x34(r1)
/* 801ACAFC 001A9A5C 7C 9D 23 78 */ mr r29, r4
/* 801ACB00 001A9A60 93 81 00 30 */ stw r28, 0x30(r1)
/* 801ACB04 001A9A64 7C 7C 1B 78 */ mr r28, r3
/* 801ACB08 001A9A68 90 01 00 1C */ stw r0, 0x1c(r1)
lbl_801ACB0C:
/* 801ACB0C 001A9A6C 7F A4 EB 78 */ mr r4, r29
/* 801ACB10 001A9A70 38 61 00 0C */ addi r3, r1, 0xc
/* 801ACB14 001A9A74 38 A1 00 08 */ addi r5, r1, 8
/* 801ACB18 001A9A78 48 19 17 E1 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator"
/* 801ACB1C 001A9A7C 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13)
/* 801ACB20 001A9A80 80 81 00 0C */ lwz r4, 0xc(r1)
/* 801ACB24 001A9A84 81 83 00 00 */ lwz r12, 0(r3)
/* 801ACB28 001A9A88 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 801ACB2C 001A9A8C 7D 89 03 A6 */ mtctr r12
/* 801ACB30 001A9A90 4E 80 04 21 */ bctrl
/* 801ACB34 001A9A94 80 01 00 1C */ lwz r0, 0x1c(r1)
/* 801ACB38 001A9A98 80 63 00 04 */ lwz r3, 4(r3)
/* 801ACB3C 001A9A9C 54 00 10 3A */ slwi r0, r0, 2
/* 801ACB40 001A9AA0 7C 9F 02 15 */ add. r4, r31, r0
/* 801ACB44 001A9AA4 41 82 00 08 */ beq lbl_801ACB4C
/* 801ACB48 001A9AA8 90 64 00 00 */ stw r3, 0(r4)
lbl_801ACB4C:
/* 801ACB4C 001A9AAC 80 81 00 1C */ lwz r4, 0x1c(r1)
/* 801ACB50 001A9AB0 38 61 00 0C */ addi r3, r1, 0xc
/* 801ACB54 001A9AB4 38 04 00 01 */ addi r0, r4, 1
/* 801ACB58 001A9AB8 90 01 00 1C */ stw r0, 0x1c(r1)
/* 801ACB5C 001A9ABC 48 19 0F 85 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 801ACB60 001A9AC0 3B DE 00 01 */ addi r30, r30, 1
/* 801ACB64 001A9AC4 2C 1E 00 02 */ cmpwi r30, 2
/* 801ACB68 001A9AC8 41 80 FF A4 */ blt lbl_801ACB0C
/* 801ACB6C 001A9ACC 80 01 00 1C */ lwz r0, 0x1c(r1)
/* 801ACB70 001A9AD0 38 7C 00 04 */ addi r3, r28, 4
/* 801ACB74 001A9AD4 90 1C 00 00 */ stw r0, 0(r28)
/* 801ACB78 001A9AD8 80 1C 00 00 */ lwz r0, 0(r28)
/* 801ACB7C 001A9ADC 7C 09 03 A6 */ mtctr r0
/* 801ACB80 001A9AE0 2C 00 00 00 */ cmpwi r0, 0
/* 801ACB84 001A9AE4 40 81 00 20 */ ble lbl_801ACBA4
lbl_801ACB88:
/* 801ACB88 001A9AE8 28 03 00 00 */ cmplwi r3, 0
/* 801ACB8C 001A9AEC 41 82 00 0C */ beq lbl_801ACB98
/* 801ACB90 001A9AF0 80 1F 00 00 */ lwz r0, 0(r31)
/* 801ACB94 001A9AF4 90 03 00 00 */ stw r0, 0(r3)
lbl_801ACB98:
/* 801ACB98 001A9AF8 38 63 00 04 */ addi r3, r3, 4
/* 801ACB9C 001A9AFC 3B FF 00 04 */ addi r31, r31, 4
/* 801ACBA0 001A9B00 42 00 FF E8 */ bdnz lbl_801ACB88
lbl_801ACBA4:
/* 801ACBA4 001A9B04 80 A1 00 1C */ lwz r5, 0x1c(r1)
/* 801ACBA8 001A9B08 38 60 00 00 */ li r3, 0
/* 801ACBAC 001A9B0C 2C 05 00 00 */ cmpwi r5, 0
/* 801ACBB0 001A9B10 40 81 00 40 */ ble lbl_801ACBF0
/* 801ACBB4 001A9B14 2C 05 00 08 */ cmpwi r5, 8
/* 801ACBB8 001A9B18 38 85 FF F8 */ addi r4, r5, -8
/* 801ACBBC 001A9B1C 40 81 00 20 */ ble lbl_801ACBDC
/* 801ACBC0 001A9B20 38 04 00 07 */ addi r0, r4, 7
/* 801ACBC4 001A9B24 54 00 E8 FE */ srwi r0, r0, 3
/* 801ACBC8 001A9B28 7C 09 03 A6 */ mtctr r0
/* 801ACBCC 001A9B2C 2C 04 00 00 */ cmpwi r4, 0
/* 801ACBD0 001A9B30 40 81 00 0C */ ble lbl_801ACBDC
lbl_801ACBD4:
/* 801ACBD4 001A9B34 38 63 00 08 */ addi r3, r3, 8
/* 801ACBD8 001A9B38 42 00 FF FC */ bdnz lbl_801ACBD4
lbl_801ACBDC:
/* 801ACBDC 001A9B3C 7C 03 28 50 */ subf r0, r3, r5
/* 801ACBE0 001A9B40 7C 09 03 A6 */ mtctr r0
/* 801ACBE4 001A9B44 7C 03 28 00 */ cmpw r3, r5
/* 801ACBE8 001A9B48 40 80 00 08 */ bge lbl_801ACBF0
lbl_801ACBEC:
/* 801ACBEC 001A9B4C 42 00 00 00 */ bdnz lbl_801ACBEC
lbl_801ACBF0:
/* 801ACBF0 001A9B50 38 00 00 00 */ li r0, 0
/* 801ACBF4 001A9B54 83 E1 00 3C */ lwz r31, 0x3c(r1)
/* 801ACBF8 001A9B58 90 01 00 1C */ stw r0, 0x1c(r1)
/* 801ACBFC 001A9B5C 80 01 00 44 */ lwz r0, 0x44(r1)
/* 801ACC00 001A9B60 83 C1 00 38 */ lwz r30, 0x38(r1)
/* 801ACC04 001A9B64 83 A1 00 34 */ lwz r29, 0x34(r1)
/* 801ACC08 001A9B68 83 81 00 30 */ lwz r28, 0x30(r1)
/* 801ACC0C 001A9B6C 7C 08 03 A6 */ mtlr r0
/* 801ACC10 001A9B70 38 21 00 40 */ addi r1, r1, 0x40
/* 801ACC14 001A9B74 4E 80 00 20 */ blr
.global sub_801acc18
sub_801acc18:
/* 801ACC18 001A9B78 94 21 FF A0 */ stwu r1, -0x60(r1)
/* 801ACC1C 001A9B7C 7C 08 02 A6 */ mflr r0
/* 801ACC20 001A9B80 90 01 00 64 */ stw r0, 0x64(r1)
/* 801ACC24 001A9B84 38 00 00 00 */ li r0, 0
/* 801ACC28 001A9B88 93 E1 00 5C */ stw r31, 0x5c(r1)
/* 801ACC2C 001A9B8C 3B E1 00 20 */ addi r31, r1, 0x20
/* 801ACC30 001A9B90 93 C1 00 58 */ stw r30, 0x58(r1)
/* 801ACC34 001A9B94 3B C0 00 00 */ li r30, 0
/* 801ACC38 001A9B98 93 A1 00 54 */ stw r29, 0x54(r1)
/* 801ACC3C 001A9B9C 7C 9D 23 78 */ mr r29, r4
/* 801ACC40 001A9BA0 93 81 00 50 */ stw r28, 0x50(r1)
/* 801ACC44 001A9BA4 7C 7C 1B 78 */ mr r28, r3
/* 801ACC48 001A9BA8 90 01 00 1C */ stw r0, 0x1c(r1)
lbl_801ACC4C:
/* 801ACC4C 001A9BAC 7F A4 EB 78 */ mr r4, r29
/* 801ACC50 001A9BB0 38 61 00 0C */ addi r3, r1, 0xc
/* 801ACC54 001A9BB4 38 A1 00 08 */ addi r5, r1, 8
/* 801ACC58 001A9BB8 48 19 16 A1 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator"
/* 801ACC5C 001A9BBC 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13)
/* 801ACC60 001A9BC0 80 81 00 0C */ lwz r4, 0xc(r1)
/* 801ACC64 001A9BC4 81 83 00 00 */ lwz r12, 0(r3)
/* 801ACC68 001A9BC8 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 801ACC6C 001A9BCC 7D 89 03 A6 */ mtctr r12
/* 801ACC70 001A9BD0 4E 80 04 21 */ bctrl
/* 801ACC74 001A9BD4 80 01 00 1C */ lwz r0, 0x1c(r1)
/* 801ACC78 001A9BD8 80 63 00 04 */ lwz r3, 4(r3)
/* 801ACC7C 001A9BDC 54 00 10 3A */ slwi r0, r0, 2
/* 801ACC80 001A9BE0 7C 9F 02 15 */ add. r4, r31, r0
/* 801ACC84 001A9BE4 41 82 00 08 */ beq lbl_801ACC8C
/* 801ACC88 001A9BE8 90 64 00 00 */ stw r3, 0(r4)
lbl_801ACC8C:
/* 801ACC8C 001A9BEC 80 81 00 1C */ lwz r4, 0x1c(r1)
/* 801ACC90 001A9BF0 38 61 00 0C */ addi r3, r1, 0xc
/* 801ACC94 001A9BF4 38 04 00 01 */ addi r0, r4, 1
/* 801ACC98 001A9BF8 90 01 00 1C */ stw r0, 0x1c(r1)
/* 801ACC9C 001A9BFC 48 19 0E 45 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 801ACCA0 001A9C00 3B DE 00 01 */ addi r30, r30, 1
/* 801ACCA4 001A9C04 2C 1E 00 09 */ cmpwi r30, 9
/* 801ACCA8 001A9C08 41 80 FF A4 */ blt lbl_801ACC4C
/* 801ACCAC 001A9C0C 80 01 00 1C */ lwz r0, 0x1c(r1)
/* 801ACCB0 001A9C10 38 7C 00 04 */ addi r3, r28, 4
/* 801ACCB4 001A9C14 90 1C 00 00 */ stw r0, 0(r28)
/* 801ACCB8 001A9C18 80 1C 00 00 */ lwz r0, 0(r28)
/* 801ACCBC 001A9C1C 7C 09 03 A6 */ mtctr r0
/* 801ACCC0 001A9C20 2C 00 00 00 */ cmpwi r0, 0
/* 801ACCC4 001A9C24 40 81 00 20 */ ble lbl_801ACCE4
lbl_801ACCC8:
/* 801ACCC8 001A9C28 28 03 00 00 */ cmplwi r3, 0
/* 801ACCCC 001A9C2C 41 82 00 0C */ beq lbl_801ACCD8
/* 801ACCD0 001A9C30 80 1F 00 00 */ lwz r0, 0(r31)
/* 801ACCD4 001A9C34 90 03 00 00 */ stw r0, 0(r3)
lbl_801ACCD8:
/* 801ACCD8 001A9C38 38 63 00 04 */ addi r3, r3, 4
/* 801ACCDC 001A9C3C 3B FF 00 04 */ addi r31, r31, 4
/* 801ACCE0 001A9C40 42 00 FF E8 */ bdnz lbl_801ACCC8
lbl_801ACCE4:
/* 801ACCE4 001A9C44 80 A1 00 1C */ lwz r5, 0x1c(r1)
/* 801ACCE8 001A9C48 38 60 00 00 */ li r3, 0
/* 801ACCEC 001A9C4C 2C 05 00 00 */ cmpwi r5, 0
/* 801ACCF0 001A9C50 40 81 00 40 */ ble lbl_801ACD30
/* 801ACCF4 001A9C54 2C 05 00 08 */ cmpwi r5, 8
/* 801ACCF8 001A9C58 38 85 FF F8 */ addi r4, r5, -8
/* 801ACCFC 001A9C5C 40 81 00 20 */ ble lbl_801ACD1C
/* 801ACD00 001A9C60 38 04 00 07 */ addi r0, r4, 7
/* 801ACD04 001A9C64 54 00 E8 FE */ srwi r0, r0, 3
/* 801ACD08 001A9C68 7C 09 03 A6 */ mtctr r0
/* 801ACD0C 001A9C6C 2C 04 00 00 */ cmpwi r4, 0
/* 801ACD10 001A9C70 40 81 00 0C */ ble lbl_801ACD1C
lbl_801ACD14:
/* 801ACD14 001A9C74 38 63 00 08 */ addi r3, r3, 8
/* 801ACD18 001A9C78 42 00 FF FC */ bdnz lbl_801ACD14
lbl_801ACD1C:
/* 801ACD1C 001A9C7C 7C 03 28 50 */ subf r0, r3, r5
/* 801ACD20 001A9C80 7C 09 03 A6 */ mtctr r0
/* 801ACD24 001A9C84 7C 03 28 00 */ cmpw r3, r5
/* 801ACD28 001A9C88 40 80 00 08 */ bge lbl_801ACD30
lbl_801ACD2C:
/* 801ACD2C 001A9C8C 42 00 00 00 */ bdnz lbl_801ACD2C
lbl_801ACD30:
/* 801ACD30 001A9C90 38 00 00 00 */ li r0, 0
/* 801ACD34 001A9C94 83 E1 00 5C */ lwz r31, 0x5c(r1)
/* 801ACD38 001A9C98 90 01 00 1C */ stw r0, 0x1c(r1)
/* 801ACD3C 001A9C9C 80 01 00 64 */ lwz r0, 0x64(r1)
/* 801ACD40 001A9CA0 83 C1 00 58 */ lwz r30, 0x58(r1)
/* 801ACD44 001A9CA4 83 A1 00 54 */ lwz r29, 0x54(r1)
/* 801ACD48 001A9CA8 83 81 00 50 */ lwz r28, 0x50(r1)
/* 801ACD4C 001A9CAC 7C 08 03 A6 */ mtlr r0
/* 801ACD50 001A9CB0 38 21 00 60 */ addi r1, r1, 0x60
/* 801ACD54 001A9CB4 4E 80 00 20 */ blr
.global __dt__15CTweakPlayerResFv
__dt__15CTweakPlayerResFv:
/* 801ACD58 001A9CB8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 801ACD5C 001A9CBC 7C 08 02 A6 */ mflr r0
/* 801ACD60 001A9CC0 90 01 00 14 */ stw r0, 0x14(r1)
/* 801ACD64 001A9CC4 93 E1 00 0C */ stw r31, 0xc(r1)
/* 801ACD68 001A9CC8 7C 7F 1B 79 */ or. r31, r3, r3
/* 801ACD6C 001A9CCC 41 82 03 70 */ beq lbl_801AD0DC
/* 801ACD70 001A9CD0 3C 60 80 3E */ lis r3, lbl_803E4CF8@ha
/* 801ACD74 001A9CD4 34 1F 00 B8 */ addic. r0, r31, 0xb8
/* 801ACD78 001A9CD8 38 03 4C F8 */ addi r0, r3, lbl_803E4CF8@l
/* 801ACD7C 001A9CDC 90 1F 00 00 */ stw r0, 0(r31)
/* 801ACD80 001A9CE0 41 82 00 58 */ beq lbl_801ACDD8
/* 801ACD84 001A9CE4 80 DF 00 B8 */ lwz r6, 0xb8(r31)
/* 801ACD88 001A9CE8 38 60 00 00 */ li r3, 0
/* 801ACD8C 001A9CEC 2C 06 00 00 */ cmpwi r6, 0
/* 801ACD90 001A9CF0 40 81 00 40 */ ble lbl_801ACDD0
/* 801ACD94 001A9CF4 2C 06 00 08 */ cmpwi r6, 8
/* 801ACD98 001A9CF8 38 A6 FF F8 */ addi r5, r6, -8
/* 801ACD9C 001A9CFC 40 81 00 20 */ ble lbl_801ACDBC
/* 801ACDA0 001A9D00 38 05 00 07 */ addi r0, r5, 7
/* 801ACDA4 001A9D04 54 00 E8 FE */ srwi r0, r0, 3
/* 801ACDA8 001A9D08 7C 09 03 A6 */ mtctr r0
/* 801ACDAC 001A9D0C 2C 05 00 00 */ cmpwi r5, 0
/* 801ACDB0 001A9D10 40 81 00 0C */ ble lbl_801ACDBC
lbl_801ACDB4:
/* 801ACDB4 001A9D14 38 63 00 08 */ addi r3, r3, 8
/* 801ACDB8 001A9D18 42 00 FF FC */ bdnz lbl_801ACDB4
lbl_801ACDBC:
/* 801ACDBC 001A9D1C 7C 03 30 50 */ subf r0, r3, r6
/* 801ACDC0 001A9D20 7C 09 03 A6 */ mtctr r0
/* 801ACDC4 001A9D24 7C 03 30 00 */ cmpw r3, r6
/* 801ACDC8 001A9D28 40 80 00 08 */ bge lbl_801ACDD0
lbl_801ACDCC:
/* 801ACDCC 001A9D2C 42 00 00 00 */ bdnz lbl_801ACDCC
lbl_801ACDD0:
/* 801ACDD0 001A9D30 38 00 00 00 */ li r0, 0
/* 801ACDD4 001A9D34 90 1F 00 B8 */ stw r0, 0xb8(r31)
lbl_801ACDD8:
/* 801ACDD8 001A9D38 34 1F 00 AC */ addic. r0, r31, 0xac
/* 801ACDDC 001A9D3C 41 82 00 58 */ beq lbl_801ACE34
/* 801ACDE0 001A9D40 80 DF 00 AC */ lwz r6, 0xac(r31)
/* 801ACDE4 001A9D44 38 60 00 00 */ li r3, 0
/* 801ACDE8 001A9D48 2C 06 00 00 */ cmpwi r6, 0
/* 801ACDEC 001A9D4C 40 81 00 40 */ ble lbl_801ACE2C
/* 801ACDF0 001A9D50 2C 06 00 08 */ cmpwi r6, 8
/* 801ACDF4 001A9D54 38 A6 FF F8 */ addi r5, r6, -8
/* 801ACDF8 001A9D58 40 81 00 20 */ ble lbl_801ACE18
/* 801ACDFC 001A9D5C 38 05 00 07 */ addi r0, r5, 7
/* 801ACE00 001A9D60 54 00 E8 FE */ srwi r0, r0, 3
/* 801ACE04 001A9D64 7C 09 03 A6 */ mtctr r0
/* 801ACE08 001A9D68 2C 05 00 00 */ cmpwi r5, 0
/* 801ACE0C 001A9D6C 40 81 00 0C */ ble lbl_801ACE18
lbl_801ACE10:
/* 801ACE10 001A9D70 38 63 00 08 */ addi r3, r3, 8
/* 801ACE14 001A9D74 42 00 FF FC */ bdnz lbl_801ACE10
lbl_801ACE18:
/* 801ACE18 001A9D78 7C 03 30 50 */ subf r0, r3, r6
/* 801ACE1C 001A9D7C 7C 09 03 A6 */ mtctr r0
/* 801ACE20 001A9D80 7C 03 30 00 */ cmpw r3, r6
/* 801ACE24 001A9D84 40 80 00 08 */ bge lbl_801ACE2C
lbl_801ACE28:
/* 801ACE28 001A9D88 42 00 00 00 */ bdnz lbl_801ACE28
lbl_801ACE2C:
/* 801ACE2C 001A9D8C 38 00 00 00 */ li r0, 0
/* 801ACE30 001A9D90 90 1F 00 AC */ stw r0, 0xac(r31)
lbl_801ACE34:
/* 801ACE34 001A9D94 34 1F 00 A0 */ addic. r0, r31, 0xa0
/* 801ACE38 001A9D98 41 82 00 58 */ beq lbl_801ACE90
/* 801ACE3C 001A9D9C 80 DF 00 A0 */ lwz r6, 0xa0(r31)
/* 801ACE40 001A9DA0 38 60 00 00 */ li r3, 0
/* 801ACE44 001A9DA4 2C 06 00 00 */ cmpwi r6, 0
/* 801ACE48 001A9DA8 40 81 00 40 */ ble lbl_801ACE88
/* 801ACE4C 001A9DAC 2C 06 00 08 */ cmpwi r6, 8
/* 801ACE50 001A9DB0 38 A6 FF F8 */ addi r5, r6, -8
/* 801ACE54 001A9DB4 40 81 00 20 */ ble lbl_801ACE74
/* 801ACE58 001A9DB8 38 05 00 07 */ addi r0, r5, 7
/* 801ACE5C 001A9DBC 54 00 E8 FE */ srwi r0, r0, 3
/* 801ACE60 001A9DC0 7C 09 03 A6 */ mtctr r0
/* 801ACE64 001A9DC4 2C 05 00 00 */ cmpwi r5, 0
/* 801ACE68 001A9DC8 40 81 00 0C */ ble lbl_801ACE74
lbl_801ACE6C:
/* 801ACE6C 001A9DCC 38 63 00 08 */ addi r3, r3, 8
/* 801ACE70 001A9DD0 42 00 FF FC */ bdnz lbl_801ACE6C
lbl_801ACE74:
/* 801ACE74 001A9DD4 7C 03 30 50 */ subf r0, r3, r6
/* 801ACE78 001A9DD8 7C 09 03 A6 */ mtctr r0
/* 801ACE7C 001A9DDC 7C 03 30 00 */ cmpw r3, r6
/* 801ACE80 001A9DE0 40 80 00 08 */ bge lbl_801ACE88
lbl_801ACE84:
/* 801ACE84 001A9DE4 42 00 00 00 */ bdnz lbl_801ACE84
lbl_801ACE88:
/* 801ACE88 001A9DE8 38 00 00 00 */ li r0, 0
/* 801ACE8C 001A9DEC 90 1F 00 A0 */ stw r0, 0xa0(r31)
lbl_801ACE90:
/* 801ACE90 001A9DF0 34 1F 00 94 */ addic. r0, r31, 0x94
/* 801ACE94 001A9DF4 41 82 00 58 */ beq lbl_801ACEEC
/* 801ACE98 001A9DF8 80 DF 00 94 */ lwz r6, 0x94(r31)
/* 801ACE9C 001A9DFC 38 60 00 00 */ li r3, 0
/* 801ACEA0 001A9E00 2C 06 00 00 */ cmpwi r6, 0
/* 801ACEA4 001A9E04 40 81 00 40 */ ble lbl_801ACEE4
/* 801ACEA8 001A9E08 2C 06 00 08 */ cmpwi r6, 8
/* 801ACEAC 001A9E0C 38 A6 FF F8 */ addi r5, r6, -8
/* 801ACEB0 001A9E10 40 81 00 20 */ ble lbl_801ACED0
/* 801ACEB4 001A9E14 38 05 00 07 */ addi r0, r5, 7
/* 801ACEB8 001A9E18 54 00 E8 FE */ srwi r0, r0, 3
/* 801ACEBC 001A9E1C 7C 09 03 A6 */ mtctr r0
/* 801ACEC0 001A9E20 2C 05 00 00 */ cmpwi r5, 0
/* 801ACEC4 001A9E24 40 81 00 0C */ ble lbl_801ACED0
lbl_801ACEC8:
/* 801ACEC8 001A9E28 38 63 00 08 */ addi r3, r3, 8
/* 801ACECC 001A9E2C 42 00 FF FC */ bdnz lbl_801ACEC8
lbl_801ACED0:
/* 801ACED0 001A9E30 7C 03 30 50 */ subf r0, r3, r6
/* 801ACED4 001A9E34 7C 09 03 A6 */ mtctr r0
/* 801ACED8 001A9E38 7C 03 30 00 */ cmpw r3, r6
/* 801ACEDC 001A9E3C 40 80 00 08 */ bge lbl_801ACEE4
lbl_801ACEE0:
/* 801ACEE0 001A9E40 42 00 00 00 */ bdnz lbl_801ACEE0
lbl_801ACEE4:
/* 801ACEE4 001A9E44 38 00 00 00 */ li r0, 0
/* 801ACEE8 001A9E48 90 1F 00 94 */ stw r0, 0x94(r31)
lbl_801ACEEC:
/* 801ACEEC 001A9E4C 34 1F 00 88 */ addic. r0, r31, 0x88
/* 801ACEF0 001A9E50 41 82 00 58 */ beq lbl_801ACF48
/* 801ACEF4 001A9E54 80 DF 00 88 */ lwz r6, 0x88(r31)
/* 801ACEF8 001A9E58 38 60 00 00 */ li r3, 0
/* 801ACEFC 001A9E5C 2C 06 00 00 */ cmpwi r6, 0
/* 801ACF00 001A9E60 40 81 00 40 */ ble lbl_801ACF40
/* 801ACF04 001A9E64 2C 06 00 08 */ cmpwi r6, 8
/* 801ACF08 001A9E68 38 A6 FF F8 */ addi r5, r6, -8
/* 801ACF0C 001A9E6C 40 81 00 20 */ ble lbl_801ACF2C
/* 801ACF10 001A9E70 38 05 00 07 */ addi r0, r5, 7
/* 801ACF14 001A9E74 54 00 E8 FE */ srwi r0, r0, 3
/* 801ACF18 001A9E78 7C 09 03 A6 */ mtctr r0
/* 801ACF1C 001A9E7C 2C 05 00 00 */ cmpwi r5, 0
/* 801ACF20 001A9E80 40 81 00 0C */ ble lbl_801ACF2C
lbl_801ACF24:
/* 801ACF24 001A9E84 38 63 00 08 */ addi r3, r3, 8
/* 801ACF28 001A9E88 42 00 FF FC */ bdnz lbl_801ACF24
lbl_801ACF2C:
/* 801ACF2C 001A9E8C 7C 03 30 50 */ subf r0, r3, r6
/* 801ACF30 001A9E90 7C 09 03 A6 */ mtctr r0
/* 801ACF34 001A9E94 7C 03 30 00 */ cmpw r3, r6
/* 801ACF38 001A9E98 40 80 00 08 */ bge lbl_801ACF40
lbl_801ACF3C:
/* 801ACF3C 001A9E9C 42 00 00 00 */ bdnz lbl_801ACF3C
lbl_801ACF40:
/* 801ACF40 001A9EA0 38 00 00 00 */ li r0, 0
/* 801ACF44 001A9EA4 90 1F 00 88 */ stw r0, 0x88(r31)
lbl_801ACF48:
/* 801ACF48 001A9EA8 34 1F 00 7C */ addic. r0, r31, 0x7c
/* 801ACF4C 001A9EAC 41 82 00 58 */ beq lbl_801ACFA4
/* 801ACF50 001A9EB0 80 DF 00 7C */ lwz r6, 0x7c(r31)
/* 801ACF54 001A9EB4 38 60 00 00 */ li r3, 0
/* 801ACF58 001A9EB8 2C 06 00 00 */ cmpwi r6, 0
/* 801ACF5C 001A9EBC 40 81 00 40 */ ble lbl_801ACF9C
/* 801ACF60 001A9EC0 2C 06 00 08 */ cmpwi r6, 8
/* 801ACF64 001A9EC4 38 A6 FF F8 */ addi r5, r6, -8
/* 801ACF68 001A9EC8 40 81 00 20 */ ble lbl_801ACF88
/* 801ACF6C 001A9ECC 38 05 00 07 */ addi r0, r5, 7
/* 801ACF70 001A9ED0 54 00 E8 FE */ srwi r0, r0, 3
/* 801ACF74 001A9ED4 7C 09 03 A6 */ mtctr r0
/* 801ACF78 001A9ED8 2C 05 00 00 */ cmpwi r5, 0
/* 801ACF7C 001A9EDC 40 81 00 0C */ ble lbl_801ACF88
lbl_801ACF80:
/* 801ACF80 001A9EE0 38 63 00 08 */ addi r3, r3, 8
/* 801ACF84 001A9EE4 42 00 FF FC */ bdnz lbl_801ACF80
lbl_801ACF88:
/* 801ACF88 001A9EE8 7C 03 30 50 */ subf r0, r3, r6
/* 801ACF8C 001A9EEC 7C 09 03 A6 */ mtctr r0
/* 801ACF90 001A9EF0 7C 03 30 00 */ cmpw r3, r6
/* 801ACF94 001A9EF4 40 80 00 08 */ bge lbl_801ACF9C
lbl_801ACF98:
/* 801ACF98 001A9EF8 42 00 00 00 */ bdnz lbl_801ACF98
lbl_801ACF9C:
/* 801ACF9C 001A9EFC 38 00 00 00 */ li r0, 0
/* 801ACFA0 001A9F00 90 1F 00 7C */ stw r0, 0x7c(r31)
lbl_801ACFA4:
/* 801ACFA4 001A9F04 34 1F 00 70 */ addic. r0, r31, 0x70
/* 801ACFA8 001A9F08 41 82 00 58 */ beq lbl_801AD000
/* 801ACFAC 001A9F0C 80 DF 00 70 */ lwz r6, 0x70(r31)
/* 801ACFB0 001A9F10 38 60 00 00 */ li r3, 0
/* 801ACFB4 001A9F14 2C 06 00 00 */ cmpwi r6, 0
/* 801ACFB8 001A9F18 40 81 00 40 */ ble lbl_801ACFF8
/* 801ACFBC 001A9F1C 2C 06 00 08 */ cmpwi r6, 8
/* 801ACFC0 001A9F20 38 A6 FF F8 */ addi r5, r6, -8
/* 801ACFC4 001A9F24 40 81 00 20 */ ble lbl_801ACFE4
/* 801ACFC8 001A9F28 38 05 00 07 */ addi r0, r5, 7
/* 801ACFCC 001A9F2C 54 00 E8 FE */ srwi r0, r0, 3
/* 801ACFD0 001A9F30 7C 09 03 A6 */ mtctr r0
/* 801ACFD4 001A9F34 2C 05 00 00 */ cmpwi r5, 0
/* 801ACFD8 001A9F38 40 81 00 0C */ ble lbl_801ACFE4
lbl_801ACFDC:
/* 801ACFDC 001A9F3C 38 63 00 08 */ addi r3, r3, 8
/* 801ACFE0 001A9F40 42 00 FF FC */ bdnz lbl_801ACFDC
lbl_801ACFE4:
/* 801ACFE4 001A9F44 7C 03 30 50 */ subf r0, r3, r6
/* 801ACFE8 001A9F48 7C 09 03 A6 */ mtctr r0
/* 801ACFEC 001A9F4C 7C 03 30 00 */ cmpw r3, r6
/* 801ACFF0 001A9F50 40 80 00 08 */ bge lbl_801ACFF8
lbl_801ACFF4:
/* 801ACFF4 001A9F54 42 00 00 00 */ bdnz lbl_801ACFF4
lbl_801ACFF8:
/* 801ACFF8 001A9F58 38 00 00 00 */ li r0, 0
/* 801ACFFC 001A9F5C 90 1F 00 70 */ stw r0, 0x70(r31)
lbl_801AD000:
/* 801AD000 001A9F60 34 1F 00 48 */ addic. r0, r31, 0x48
/* 801AD004 001A9F64 41 82 00 58 */ beq lbl_801AD05C
/* 801AD008 001A9F68 80 DF 00 48 */ lwz r6, 0x48(r31)
/* 801AD00C 001A9F6C 38 60 00 00 */ li r3, 0
/* 801AD010 001A9F70 2C 06 00 00 */ cmpwi r6, 0
/* 801AD014 001A9F74 40 81 00 40 */ ble lbl_801AD054
/* 801AD018 001A9F78 2C 06 00 08 */ cmpwi r6, 8
/* 801AD01C 001A9F7C 38 A6 FF F8 */ addi r5, r6, -8
/* 801AD020 001A9F80 40 81 00 20 */ ble lbl_801AD040
/* 801AD024 001A9F84 38 05 00 07 */ addi r0, r5, 7
/* 801AD028 001A9F88 54 00 E8 FE */ srwi r0, r0, 3
/* 801AD02C 001A9F8C 7C 09 03 A6 */ mtctr r0
/* 801AD030 001A9F90 2C 05 00 00 */ cmpwi r5, 0
/* 801AD034 001A9F94 40 81 00 0C */ ble lbl_801AD040
lbl_801AD038:
/* 801AD038 001A9F98 38 63 00 08 */ addi r3, r3, 8
/* 801AD03C 001A9F9C 42 00 FF FC */ bdnz lbl_801AD038
lbl_801AD040:
/* 801AD040 001A9FA0 7C 03 30 50 */ subf r0, r3, r6
/* 801AD044 001A9FA4 7C 09 03 A6 */ mtctr r0
/* 801AD048 001A9FA8 7C 03 30 00 */ cmpw r3, r6
/* 801AD04C 001A9FAC 40 80 00 08 */ bge lbl_801AD054
lbl_801AD050:
/* 801AD050 001A9FB0 42 00 00 00 */ bdnz lbl_801AD050
lbl_801AD054:
/* 801AD054 001A9FB4 38 00 00 00 */ li r0, 0
/* 801AD058 001A9FB8 90 1F 00 48 */ stw r0, 0x48(r31)
lbl_801AD05C:
/* 801AD05C 001A9FBC 34 1F 00 20 */ addic. r0, r31, 0x20
/* 801AD060 001A9FC0 41 82 00 58 */ beq lbl_801AD0B8
/* 801AD064 001A9FC4 80 DF 00 20 */ lwz r6, 0x20(r31)
/* 801AD068 001A9FC8 38 60 00 00 */ li r3, 0
/* 801AD06C 001A9FCC 2C 06 00 00 */ cmpwi r6, 0
/* 801AD070 001A9FD0 40 81 00 40 */ ble lbl_801AD0B0
/* 801AD074 001A9FD4 2C 06 00 08 */ cmpwi r6, 8
/* 801AD078 001A9FD8 38 A6 FF F8 */ addi r5, r6, -8
/* 801AD07C 001A9FDC 40 81 00 20 */ ble lbl_801AD09C
/* 801AD080 001A9FE0 38 05 00 07 */ addi r0, r5, 7
/* 801AD084 001A9FE4 54 00 E8 FE */ srwi r0, r0, 3
/* 801AD088 001A9FE8 7C 09 03 A6 */ mtctr r0
/* 801AD08C 001A9FEC 2C 05 00 00 */ cmpwi r5, 0
/* 801AD090 001A9FF0 40 81 00 0C */ ble lbl_801AD09C
lbl_801AD094:
/* 801AD094 001A9FF4 38 63 00 08 */ addi r3, r3, 8
/* 801AD098 001A9FF8 42 00 FF FC */ bdnz lbl_801AD094
lbl_801AD09C:
/* 801AD09C 001A9FFC 7C 03 30 50 */ subf r0, r3, r6
/* 801AD0A0 001AA000 7C 09 03 A6 */ mtctr r0
/* 801AD0A4 001AA004 7C 03 30 00 */ cmpw r3, r6
/* 801AD0A8 001AA008 40 80 00 08 */ bge lbl_801AD0B0
lbl_801AD0AC:
/* 801AD0AC 001AA00C 42 00 00 00 */ bdnz lbl_801AD0AC
lbl_801AD0B0:
/* 801AD0B0 001AA010 38 00 00 00 */ li r0, 0
/* 801AD0B4 001AA014 90 1F 00 20 */ stw r0, 0x20(r31)
lbl_801AD0B8:
/* 801AD0B8 001AA018 28 1F 00 00 */ cmplwi r31, 0
/* 801AD0BC 001AA01C 41 82 00 10 */ beq lbl_801AD0CC
/* 801AD0C0 001AA020 3C 60 80 3E */ lis r3, lbl_803D9CC4@ha
/* 801AD0C4 001AA024 38 03 9C C4 */ addi r0, r3, lbl_803D9CC4@l
/* 801AD0C8 001AA028 90 1F 00 00 */ stw r0, 0(r31)
lbl_801AD0CC:
/* 801AD0CC 001AA02C 7C 80 07 35 */ extsh. r0, r4
/* 801AD0D0 001AA030 40 81 00 0C */ ble lbl_801AD0DC
/* 801AD0D4 001AA034 7F E3 FB 78 */ mr r3, r31
/* 801AD0D8 001AA038 48 00 00 1D */ bl "__dl__29TOneStatic<15CTweakPlayerRes>FPv"
lbl_801AD0DC:
/* 801AD0DC 001AA03C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 801AD0E0 001AA040 7F E3 FB 78 */ mr r3, r31
/* 801AD0E4 001AA044 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 801AD0E8 001AA048 7C 08 03 A6 */ mtlr r0
/* 801AD0EC 001AA04C 38 21 00 10 */ addi r1, r1, 0x10
/* 801AD0F0 001AA050 4E 80 00 20 */ blr
.global "__dl__29TOneStatic<15CTweakPlayerRes>FPv"
"__dl__29TOneStatic<15CTweakPlayerRes>FPv":
/* 801AD0F4 001AA054 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 801AD0F8 001AA058 7C 08 02 A6 */ mflr r0
/* 801AD0FC 001AA05C 90 01 00 14 */ stw r0, 0x14(r1)
/* 801AD100 001AA060 4B E8 9D 25 */ bl "ReferenceCount__29TOneStatic<15CTweakPlayerRes>Fv"
/* 801AD104 001AA064 80 83 00 00 */ lwz r4, 0(r3)
/* 801AD108 001AA068 38 04 FF FF */ addi r0, r4, -1
/* 801AD10C 001AA06C 90 03 00 00 */ stw r0, 0(r3)
/* 801AD110 001AA070 80 01 00 14 */ lwz r0, 0x14(r1)
/* 801AD114 001AA074 7C 08 03 A6 */ mtlr r0
/* 801AD118 001AA078 38 21 00 10 */ addi r1, r1, 0x10
/* 801AD11C 001AA07C 4E 80 00 20 */ blr