Finish splitting Kyoto, split WorldFormat, Weapons, MetaRender, Collision, GuiSys, Basics, and start Animation

Former-commit-id: 64057eede7
This commit is contained in:
Phillip Stephens 2022-04-15 00:32:53 -07:00
parent 5ccc4c5dab
commit 2365e4f31e
119 changed files with 325605 additions and 13 deletions

View File

@ -0,0 +1,469 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global FAnimCharacterSet__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer
FAnimCharacterSet__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer:
/* 802D80B8 002D5018 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802D80BC 002D501C 7C 08 02 A6 */ mflr r0
/* 802D80C0 002D5020 3C 80 80 3D */ lis r4, lbl_803D6D30@ha
/* 802D80C4 002D5024 90 01 00 14 */ stw r0, 0x14(r1)
/* 802D80C8 002D5028 38 84 6D 30 */ addi r4, r4, lbl_803D6D30@l
/* 802D80CC 002D502C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802D80D0 002D5030 7C BF 2B 78 */ mr r31, r5
/* 802D80D4 002D5034 38 A0 00 00 */ li r5, 0
/* 802D80D8 002D5038 93 C1 00 08 */ stw r30, 8(r1)
/* 802D80DC 002D503C 7C 7E 1B 78 */ mr r30, r3
/* 802D80E0 002D5040 38 60 00 78 */ li r3, 0x78
/* 802D80E4 002D5044 48 03 D7 89 */ bl __nw__FUlPCcPCc
/* 802D80E8 002D5048 7C 64 1B 79 */ or. r4, r3, r3
/* 802D80EC 002D504C 41 82 00 10 */ beq lbl_802D80FC
/* 802D80F0 002D5050 7F E4 FB 78 */ mr r4, r31
/* 802D80F4 002D5054 48 00 05 AD */ bl __ct__17CAnimCharacterSetFR12CInputStream
/* 802D80F8 002D5058 7C 64 1B 78 */ mr r4, r3
lbl_802D80FC:
/* 802D80FC 002D505C 7F C3 F3 78 */ mr r3, r30
/* 802D8100 002D5060 48 00 00 1D */ bl sub_802d811c
/* 802D8104 002D5064 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802D8108 002D5068 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802D810C 002D506C 83 C1 00 08 */ lwz r30, 8(r1)
/* 802D8110 002D5070 7C 08 03 A6 */ mtlr r0
/* 802D8114 002D5074 38 21 00 10 */ addi r1, r1, 0x10
/* 802D8118 002D5078 4E 80 00 20 */ blr
.global sub_802d811c
sub_802d811c:
/* 802D811C 002D507C 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 802D8120 002D5080 7C 08 02 A6 */ mflr r0
/* 802D8124 002D5084 90 01 00 24 */ stw r0, 0x24(r1)
/* 802D8128 002D5088 7C 04 00 D0 */ neg r0, r4
/* 802D812C 002D508C 7C 00 23 78 */ or r0, r0, r4
/* 802D8130 002D5090 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 802D8134 002D5094 54 00 0F FE */ srwi r0, r0, 0x1f
/* 802D8138 002D5098 7C 7F 1B 78 */ mr r31, r3
/* 802D813C 002D509C 38 61 00 08 */ addi r3, r1, 8
/* 802D8140 002D50A0 90 81 00 14 */ stw r4, 0x14(r1)
/* 802D8144 002D50A4 38 81 00 10 */ addi r4, r1, 0x10
/* 802D8148 002D50A8 98 01 00 10 */ stb r0, 0x10(r1)
/* 802D814C 002D50AC 48 00 04 29 */ bl sub_802d8574
/* 802D8150 002D50B0 80 61 00 0C */ lwz r3, 0xc(r1)
/* 802D8154 002D50B4 38 00 00 00 */ li r0, 0
/* 802D8158 002D50B8 98 01 00 08 */ stb r0, 8(r1)
/* 802D815C 002D50BC 7C 03 00 D0 */ neg r0, r3
/* 802D8160 002D50C0 7C 00 1B 78 */ or r0, r0, r3
/* 802D8164 002D50C4 54 00 0F FE */ srwi r0, r0, 0x1f
/* 802D8168 002D50C8 98 1F 00 00 */ stb r0, 0(r31)
/* 802D816C 002D50CC 90 7F 00 04 */ stw r3, 4(r31)
/* 802D8170 002D50D0 88 01 00 08 */ lbz r0, 8(r1)
/* 802D8174 002D50D4 28 00 00 00 */ cmplwi r0, 0
/* 802D8178 002D50D8 41 82 00 24 */ beq lbl_802D819C
/* 802D817C 002D50DC 80 61 00 0C */ lwz r3, 0xc(r1)
/* 802D8180 002D50E0 28 03 00 00 */ cmplwi r3, 0
/* 802D8184 002D50E4 41 82 00 18 */ beq lbl_802D819C
/* 802D8188 002D50E8 81 83 00 00 */ lwz r12, 0(r3)
/* 802D818C 002D50EC 38 80 00 01 */ li r4, 1
/* 802D8190 002D50F0 81 8C 00 08 */ lwz r12, 8(r12)
/* 802D8194 002D50F4 7D 89 03 A6 */ mtctr r12
/* 802D8198 002D50F8 4E 80 04 21 */ bctrl
lbl_802D819C:
/* 802D819C 002D50FC 38 61 00 10 */ addi r3, r1, 0x10
/* 802D81A0 002D5100 38 80 FF FF */ li r4, -1
/* 802D81A4 002D5104 48 00 04 99 */ bl sub_802d863c
/* 802D81A8 002D5108 80 01 00 24 */ lwz r0, 0x24(r1)
/* 802D81AC 002D510C 7F E3 FB 78 */ mr r3, r31
/* 802D81B0 002D5110 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 802D81B4 002D5114 7C 08 03 A6 */ mtlr r0
/* 802D81B8 002D5118 38 21 00 20 */ addi r1, r1, 0x20
/* 802D81BC 002D511C 4E 80 00 20 */ blr
.global sub_802d81c0
sub_802d81c0:
/* 802D81C0 002D5120 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802D81C4 002D5124 7C 08 02 A6 */ mflr r0
/* 802D81C8 002D5128 90 01 00 14 */ stw r0, 0x14(r1)
/* 802D81CC 002D512C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802D81D0 002D5130 7C 9F 23 78 */ mr r31, r4
/* 802D81D4 002D5134 93 C1 00 08 */ stw r30, 8(r1)
/* 802D81D8 002D5138 7C 7E 1B 79 */ or. r30, r3, r3
/* 802D81DC 002D513C 41 82 00 58 */ beq lbl_802D8234
/* 802D81E0 002D5140 3C 60 80 3F */ lis r3, lbl_803ECBD0@ha
/* 802D81E4 002D5144 38 03 CB D0 */ addi r0, r3, lbl_803ECBD0@l
/* 802D81E8 002D5148 90 1E 00 00 */ stw r0, 0(r30)
/* 802D81EC 002D514C 80 7E 00 04 */ lwz r3, 4(r30)
/* 802D81F0 002D5150 28 03 00 00 */ cmplwi r3, 0
/* 802D81F4 002D5154 41 82 00 0C */ beq lbl_802D8200
/* 802D81F8 002D5158 38 80 00 01 */ li r4, 1
/* 802D81FC 002D515C 48 00 00 55 */ bl sub_802d8250
lbl_802D8200:
/* 802D8200 002D5160 28 1E 00 00 */ cmplwi r30, 0
/* 802D8204 002D5164 41 82 00 20 */ beq lbl_802D8224
/* 802D8208 002D5168 3C 60 80 3E */ lis r3, lbl_803D8D78@ha
/* 802D820C 002D516C 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l
/* 802D8210 002D5170 90 1E 00 00 */ stw r0, 0(r30)
/* 802D8214 002D5174 41 82 00 10 */ beq lbl_802D8224
/* 802D8218 002D5178 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha
/* 802D821C 002D517C 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l
/* 802D8220 002D5180 90 1E 00 00 */ stw r0, 0(r30)
lbl_802D8224:
/* 802D8224 002D5184 7F E0 07 35 */ extsh. r0, r31
/* 802D8228 002D5188 40 81 00 0C */ ble lbl_802D8234
/* 802D822C 002D518C 7F C3 F3 78 */ mr r3, r30
/* 802D8230 002D5190 48 03 D7 01 */ bl Free__7CMemoryFPCv
lbl_802D8234:
/* 802D8234 002D5194 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802D8238 002D5198 7F C3 F3 78 */ mr r3, r30
/* 802D823C 002D519C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802D8240 002D51A0 83 C1 00 08 */ lwz r30, 8(r1)
/* 802D8244 002D51A4 7C 08 03 A6 */ mtlr r0
/* 802D8248 002D51A8 38 21 00 10 */ addi r1, r1, 0x10
/* 802D824C 002D51AC 4E 80 00 20 */ blr
.global sub_802d8250
sub_802d8250:
/* 802D8250 002D51B0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802D8254 002D51B4 7C 08 02 A6 */ mflr r0
/* 802D8258 002D51B8 90 01 00 14 */ stw r0, 0x14(r1)
/* 802D825C 002D51BC 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802D8260 002D51C0 7C 9F 23 78 */ mr r31, r4
/* 802D8264 002D51C4 93 C1 00 08 */ stw r30, 8(r1)
/* 802D8268 002D51C8 7C 7E 1B 79 */ or. r30, r3, r3
/* 802D826C 002D51CC 41 82 00 2C */ beq lbl_802D8298
/* 802D8270 002D51D0 38 7E 00 18 */ addi r3, r30, 0x18
/* 802D8274 002D51D4 38 80 FF FF */ li r4, -1
/* 802D8278 002D51D8 48 00 01 ED */ bl sub_802d8464
/* 802D827C 002D51DC 38 7E 00 04 */ addi r3, r30, 4
/* 802D8280 002D51E0 38 80 FF FF */ li r4, -1
/* 802D8284 002D51E4 48 00 00 31 */ bl sub_802d82b4
/* 802D8288 002D51E8 7F E0 07 35 */ extsh. r0, r31
/* 802D828C 002D51EC 40 81 00 0C */ ble lbl_802D8298
/* 802D8290 002D51F0 7F C3 F3 78 */ mr r3, r30
/* 802D8294 002D51F4 48 03 D6 9D */ bl Free__7CMemoryFPCv
lbl_802D8298:
/* 802D8298 002D51F8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802D829C 002D51FC 7F C3 F3 78 */ mr r3, r30
/* 802D82A0 002D5200 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802D82A4 002D5204 83 C1 00 08 */ lwz r30, 8(r1)
/* 802D82A8 002D5208 7C 08 03 A6 */ mtlr r0
/* 802D82AC 002D520C 38 21 00 10 */ addi r1, r1, 0x10
/* 802D82B0 002D5210 4E 80 00 20 */ blr
.global sub_802d82b4
sub_802d82b4:
/* 802D82B4 002D5214 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802D82B8 002D5218 7C 08 02 A6 */ mflr r0
/* 802D82BC 002D521C 90 01 00 14 */ stw r0, 0x14(r1)
/* 802D82C0 002D5220 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802D82C4 002D5224 7C 9F 23 78 */ mr r31, r4
/* 802D82C8 002D5228 93 C1 00 08 */ stw r30, 8(r1)
/* 802D82CC 002D522C 7C 7E 1B 79 */ or. r30, r3, r3
/* 802D82D0 002D5230 41 82 00 20 */ beq lbl_802D82F0
/* 802D82D4 002D5234 38 7E 00 04 */ addi r3, r30, 4
/* 802D82D8 002D5238 38 80 FF FF */ li r4, -1
/* 802D82DC 002D523C 48 00 00 31 */ bl sub_802d830c
/* 802D82E0 002D5240 7F E0 07 35 */ extsh. r0, r31
/* 802D82E4 002D5244 40 81 00 0C */ ble lbl_802D82F0
/* 802D82E8 002D5248 7F C3 F3 78 */ mr r3, r30
/* 802D82EC 002D524C 48 03 D6 45 */ bl Free__7CMemoryFPCv
lbl_802D82F0:
/* 802D82F0 002D5250 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802D82F4 002D5254 7F C3 F3 78 */ mr r3, r30
/* 802D82F8 002D5258 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802D82FC 002D525C 83 C1 00 08 */ lwz r30, 8(r1)
/* 802D8300 002D5260 7C 08 03 A6 */ mtlr r0
/* 802D8304 002D5264 38 21 00 10 */ addi r1, r1, 0x10
/* 802D8308 002D5268 4E 80 00 20 */ blr
.global sub_802d830c
sub_802d830c:
/* 802D830C 002D526C 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 802D8310 002D5270 7C 08 02 A6 */ mflr r0
/* 802D8314 002D5274 90 01 00 24 */ stw r0, 0x24(r1)
/* 802D8318 002D5278 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 802D831C 002D527C 7C 9F 23 78 */ mr r31, r4
/* 802D8320 002D5280 93 C1 00 18 */ stw r30, 0x18(r1)
/* 802D8324 002D5284 7C 7E 1B 79 */ or. r30, r3, r3
/* 802D8328 002D5288 41 82 00 54 */ beq lbl_802D837C
/* 802D832C 002D528C 80 1E 00 04 */ lwz r0, 4(r30)
/* 802D8330 002D5290 38 61 00 14 */ addi r3, r1, 0x14
/* 802D8334 002D5294 80 BE 00 0C */ lwz r5, 0xc(r30)
/* 802D8338 002D5298 38 81 00 0C */ addi r4, r1, 0xc
/* 802D833C 002D529C 1C 00 00 C4 */ mulli r0, r0, 0xc4
/* 802D8340 002D52A0 7C A5 02 14 */ add r5, r5, r0
/* 802D8344 002D52A4 90 A1 00 0C */ stw r5, 0xc(r1)
/* 802D8348 002D52A8 80 1E 00 0C */ lwz r0, 0xc(r30)
/* 802D834C 002D52AC 90 A1 00 08 */ stw r5, 8(r1)
/* 802D8350 002D52B0 90 01 00 10 */ stw r0, 0x10(r1)
/* 802D8354 002D52B4 90 01 00 14 */ stw r0, 0x14(r1)
/* 802D8358 002D52B8 48 00 00 41 */ bl sub_802d8398
/* 802D835C 002D52BC 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 802D8360 002D52C0 28 03 00 00 */ cmplwi r3, 0
/* 802D8364 002D52C4 41 82 00 08 */ beq lbl_802D836C
/* 802D8368 002D52C8 48 03 D5 C9 */ bl Free__7CMemoryFPCv
lbl_802D836C:
/* 802D836C 002D52CC 7F E0 07 35 */ extsh. r0, r31
/* 802D8370 002D52D0 40 81 00 0C */ ble lbl_802D837C
/* 802D8374 002D52D4 7F C3 F3 78 */ mr r3, r30
/* 802D8378 002D52D8 48 03 D5 B9 */ bl Free__7CMemoryFPCv
lbl_802D837C:
/* 802D837C 002D52DC 80 01 00 24 */ lwz r0, 0x24(r1)
/* 802D8380 002D52E0 7F C3 F3 78 */ mr r3, r30
/* 802D8384 002D52E4 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 802D8388 002D52E8 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 802D838C 002D52EC 7C 08 03 A6 */ mtlr r0
/* 802D8390 002D52F0 38 21 00 20 */ addi r1, r1, 0x20
/* 802D8394 002D52F4 4E 80 00 20 */ blr
.global sub_802d8398
sub_802d8398:
/* 802D8398 002D52F8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802D839C 002D52FC 7C 08 02 A6 */ mflr r0
/* 802D83A0 002D5300 90 01 00 14 */ stw r0, 0x14(r1)
/* 802D83A4 002D5304 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802D83A8 002D5308 93 C1 00 08 */ stw r30, 8(r1)
/* 802D83AC 002D530C 7C 9E 23 78 */ mr r30, r4
/* 802D83B0 002D5310 83 E3 00 00 */ lwz r31, 0(r3)
/* 802D83B4 002D5314 48 00 00 10 */ b lbl_802D83C4
lbl_802D83B8:
/* 802D83B8 002D5318 7F E3 FB 78 */ mr r3, r31
/* 802D83BC 002D531C 48 00 00 2D */ bl sub_802d83e8
/* 802D83C0 002D5320 3B FF 00 C4 */ addi r31, r31, 0xc4
lbl_802D83C4:
/* 802D83C4 002D5324 80 1E 00 00 */ lwz r0, 0(r30)
/* 802D83C8 002D5328 7C 1F 00 40 */ cmplw r31, r0
/* 802D83CC 002D532C 40 82 FF EC */ bne lbl_802D83B8
/* 802D83D0 002D5330 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802D83D4 002D5334 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802D83D8 002D5338 83 C1 00 08 */ lwz r30, 8(r1)
/* 802D83DC 002D533C 7C 08 03 A6 */ mtlr r0
/* 802D83E0 002D5340 38 21 00 10 */ addi r1, r1, 0x10
/* 802D83E4 002D5344 4E 80 00 20 */ blr
.global sub_802d83e8
sub_802d83e8:
/* 802D83E8 002D5348 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802D83EC 002D534C 7C 08 02 A6 */ mflr r0
/* 802D83F0 002D5350 38 80 FF FF */ li r4, -1
/* 802D83F4 002D5354 90 01 00 14 */ stw r0, 0x14(r1)
/* 802D83F8 002D5358 48 00 00 15 */ bl __dt__13CAnimationSetFv
/* 802D83FC 002D535C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802D8400 002D5360 7C 08 03 A6 */ mtlr r0
/* 802D8404 002D5364 38 21 00 10 */ addi r1, r1, 0x10
/* 802D8408 002D5368 4E 80 00 20 */ blr
.global __dt__13CAnimationSetFv
__dt__13CAnimationSetFv:
/* 802D840C 002D536C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802D8410 002D5370 7C 08 02 A6 */ mflr r0
/* 802D8414 002D5374 90 01 00 14 */ stw r0, 0x14(r1)
/* 802D8418 002D5378 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802D841C 002D537C 7C 9F 23 78 */ mr r31, r4
/* 802D8420 002D5380 93 C1 00 08 */ stw r30, 8(r1)
/* 802D8424 002D5384 7C 7E 1B 79 */ or. r30, r3, r3
/* 802D8428 002D5388 41 82 00 20 */ beq lbl_802D8448
/* 802D842C 002D538C 38 7E 00 04 */ addi r3, r30, 4
/* 802D8430 002D5390 38 80 FF FF */ li r4, -1
/* 802D8434 002D5394 4B D5 6A 91 */ bl __dt__14CCharacterInfoFv
/* 802D8438 002D5398 7F E0 07 35 */ extsh. r0, r31
/* 802D843C 002D539C 40 81 00 0C */ ble lbl_802D8448
/* 802D8440 002D53A0 7F C3 F3 78 */ mr r3, r30
/* 802D8444 002D53A4 48 03 D4 ED */ bl Free__7CMemoryFPCv
lbl_802D8448:
/* 802D8448 002D53A8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802D844C 002D53AC 7F C3 F3 78 */ mr r3, r30
/* 802D8450 002D53B0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802D8454 002D53B4 83 C1 00 08 */ lwz r30, 8(r1)
/* 802D8458 002D53B8 7C 08 03 A6 */ mtlr r0
/* 802D845C 002D53BC 38 21 00 10 */ addi r1, r1, 0x10
/* 802D8460 002D53C0 4E 80 00 20 */ blr
.global sub_802d8464
sub_802d8464:
/* 802D8464 002D53C4 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 802D8468 002D53C8 7C 08 02 A6 */ mflr r0
/* 802D846C 002D53CC 90 01 00 34 */ stw r0, 0x34(r1)
/* 802D8470 002D53D0 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 802D8474 002D53D4 7C 9F 23 78 */ mr r31, r4
/* 802D8478 002D53D8 93 C1 00 28 */ stw r30, 0x28(r1)
/* 802D847C 002D53DC 7C 7E 1B 79 */ or. r30, r3, r3
/* 802D8480 002D53E0 41 82 00 D8 */ beq lbl_802D8558
/* 802D8484 002D53E4 34 1E 00 50 */ addic. r0, r30, 0x50
/* 802D8488 002D53E8 41 82 00 44 */ beq lbl_802D84CC
/* 802D848C 002D53EC 80 1E 00 54 */ lwz r0, 0x54(r30)
/* 802D8490 002D53F0 80 7E 00 5C */ lwz r3, 0x5c(r30)
/* 802D8494 002D53F4 54 00 18 38 */ slwi r0, r0, 3
/* 802D8498 002D53F8 7C 03 02 14 */ add r0, r3, r0
/* 802D849C 002D53FC 90 61 00 1C */ stw r3, 0x1c(r1)
/* 802D84A0 002D5400 7C 64 1B 78 */ mr r4, r3
/* 802D84A4 002D5404 90 01 00 24 */ stw r0, 0x24(r1)
/* 802D84A8 002D5408 90 01 00 20 */ stw r0, 0x20(r1)
/* 802D84AC 002D540C 90 61 00 18 */ stw r3, 0x18(r1)
/* 802D84B0 002D5410 48 00 00 08 */ b lbl_802D84B8
lbl_802D84B4:
/* 802D84B4 002D5414 38 84 00 08 */ addi r4, r4, 8
lbl_802D84B8:
/* 802D84B8 002D5418 7C 04 00 40 */ cmplw r4, r0
/* 802D84BC 002D541C 40 82 FF F8 */ bne lbl_802D84B4
/* 802D84C0 002D5420 28 03 00 00 */ cmplwi r3, 0
/* 802D84C4 002D5424 41 82 00 08 */ beq lbl_802D84CC
/* 802D84C8 002D5428 48 03 D4 69 */ bl Free__7CMemoryFPCv
lbl_802D84CC:
/* 802D84CC 002D542C 38 7E 00 40 */ addi r3, r30, 0x40
/* 802D84D0 002D5430 38 80 FF FF */ li r4, -1
/* 802D84D4 002D5434 4B FF F2 89 */ bl "__dt__Q24rstl52vector<15CHalfTransition,Q24rstl17rmemory_allocator>Fv"
/* 802D84D8 002D5438 34 1E 00 28 */ addic. r0, r30, 0x28
/* 802D84DC 002D543C 41 82 00 44 */ beq lbl_802D8520
/* 802D84E0 002D5440 80 1E 00 2C */ lwz r0, 0x2c(r30)
/* 802D84E4 002D5444 80 7E 00 34 */ lwz r3, 0x34(r30)
/* 802D84E8 002D5448 1C 00 00 0C */ mulli r0, r0, 0xc
/* 802D84EC 002D544C 90 61 00 0C */ stw r3, 0xc(r1)
/* 802D84F0 002D5450 7C 64 1B 78 */ mr r4, r3
/* 802D84F4 002D5454 7C 03 02 14 */ add r0, r3, r0
/* 802D84F8 002D5458 90 61 00 08 */ stw r3, 8(r1)
/* 802D84FC 002D545C 90 01 00 14 */ stw r0, 0x14(r1)
/* 802D8500 002D5460 90 01 00 10 */ stw r0, 0x10(r1)
/* 802D8504 002D5464 48 00 00 08 */ b lbl_802D850C
lbl_802D8508:
/* 802D8508 002D5468 38 84 00 0C */ addi r4, r4, 0xc
lbl_802D850C:
/* 802D850C 002D546C 7C 04 00 40 */ cmplw r4, r0
/* 802D8510 002D5470 40 82 FF F8 */ bne lbl_802D8508
/* 802D8514 002D5474 28 03 00 00 */ cmplwi r3, 0
/* 802D8518 002D5478 41 82 00 08 */ beq lbl_802D8520
/* 802D851C 002D547C 48 03 D4 15 */ bl Free__7CMemoryFPCv
lbl_802D8520:
/* 802D8520 002D5480 34 1E 00 24 */ addic. r0, r30, 0x24
/* 802D8524 002D5484 41 82 00 0C */ beq lbl_802D8530
/* 802D8528 002D5488 38 7E 00 24 */ addi r3, r30, 0x24
/* 802D852C 002D548C 4B D5 BD 69 */ bl __dt__17CMetaTransFactoryFv
lbl_802D8530:
/* 802D8530 002D5490 38 7E 00 14 */ addi r3, r30, 0x14
/* 802D8534 002D5494 38 80 FF FF */ li r4, -1
/* 802D8538 002D5498 4B FF F2 D9 */ bl sub_802d7810
/* 802D853C 002D549C 38 7E 00 04 */ addi r3, r30, 4
/* 802D8540 002D54A0 38 80 FF FF */ li r4, -1
/* 802D8544 002D54A4 4B FF F4 F5 */ bl sub_802d7a38
/* 802D8548 002D54A8 7F E0 07 35 */ extsh. r0, r31
/* 802D854C 002D54AC 40 81 00 0C */ ble lbl_802D8558
/* 802D8550 002D54B0 7F C3 F3 78 */ mr r3, r30
/* 802D8554 002D54B4 48 03 D3 DD */ bl Free__7CMemoryFPCv
lbl_802D8558:
/* 802D8558 002D54B8 80 01 00 34 */ lwz r0, 0x34(r1)
/* 802D855C 002D54BC 7F C3 F3 78 */ mr r3, r30
/* 802D8560 002D54C0 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 802D8564 002D54C4 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 802D8568 002D54C8 7C 08 03 A6 */ mtlr r0
/* 802D856C 002D54CC 38 21 00 30 */ addi r1, r1, 0x30
/* 802D8570 002D54D0 4E 80 00 20 */ blr
.global sub_802d8574
sub_802d8574:
/* 802D8574 002D54D4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802D8578 002D54D8 7C 08 02 A6 */ mflr r0
/* 802D857C 002D54DC 90 01 00 14 */ stw r0, 0x14(r1)
/* 802D8580 002D54E0 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802D8584 002D54E4 7C 7F 1B 78 */ mr r31, r3
/* 802D8588 002D54E8 48 00 00 19 */ bl sub_802d85a0
/* 802D858C 002D54EC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802D8590 002D54F0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802D8594 002D54F4 7C 08 03 A6 */ mtlr r0
/* 802D8598 002D54F8 38 21 00 10 */ addi r1, r1, 0x10
/* 802D859C 002D54FC 4E 80 00 20 */ blr
.global sub_802d85a0
sub_802d85a0:
/* 802D85A0 002D5500 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802D85A4 002D5504 7C 08 02 A6 */ mflr r0
/* 802D85A8 002D5508 3C A0 80 3D */ lis r5, lbl_803D6D30@ha
/* 802D85AC 002D550C 90 01 00 14 */ stw r0, 0x14(r1)
/* 802D85B0 002D5510 38 05 6D 30 */ addi r0, r5, lbl_803D6D30@l
/* 802D85B4 002D5514 38 A0 00 00 */ li r5, 0
/* 802D85B8 002D5518 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802D85BC 002D551C 7C 9F 23 78 */ mr r31, r4
/* 802D85C0 002D5520 7C 04 03 78 */ mr r4, r0
/* 802D85C4 002D5524 93 C1 00 08 */ stw r30, 8(r1)
/* 802D85C8 002D5528 7C 7E 1B 78 */ mr r30, r3
/* 802D85CC 002D552C 38 60 00 08 */ li r3, 8
/* 802D85D0 002D5530 48 03 D2 9D */ bl __nw__FUlPCcPCc
/* 802D85D4 002D5534 28 03 00 00 */ cmplwi r3, 0
/* 802D85D8 002D5538 41 82 00 38 */ beq lbl_802D8610
/* 802D85DC 002D553C 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha
/* 802D85E0 002D5540 3C A0 80 3E */ lis r5, lbl_803D8D78@ha
/* 802D85E4 002D5544 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l
/* 802D85E8 002D5548 3C 80 80 3F */ lis r4, lbl_803ECBD0@ha
/* 802D85EC 002D554C 90 03 00 00 */ stw r0, 0(r3)
/* 802D85F0 002D5550 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l
/* 802D85F4 002D5554 38 A0 00 00 */ li r5, 0
/* 802D85F8 002D5558 38 04 CB D0 */ addi r0, r4, lbl_803ECBD0@l
/* 802D85FC 002D555C 90 C3 00 00 */ stw r6, 0(r3)
/* 802D8600 002D5560 98 BF 00 00 */ stb r5, 0(r31)
/* 802D8604 002D5564 80 9F 00 04 */ lwz r4, 4(r31)
/* 802D8608 002D5568 90 83 00 04 */ stw r4, 4(r3)
/* 802D860C 002D556C 90 03 00 00 */ stw r0, 0(r3)
lbl_802D8610:
/* 802D8610 002D5570 7C 03 00 D0 */ neg r0, r3
/* 802D8614 002D5574 7C 00 1B 78 */ or r0, r0, r3
/* 802D8618 002D5578 54 00 0F FE */ srwi r0, r0, 0x1f
/* 802D861C 002D557C 98 1E 00 00 */ stb r0, 0(r30)
/* 802D8620 002D5580 90 7E 00 04 */ stw r3, 4(r30)
/* 802D8624 002D5584 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802D8628 002D5588 83 C1 00 08 */ lwz r30, 8(r1)
/* 802D862C 002D558C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802D8630 002D5590 7C 08 03 A6 */ mtlr r0
/* 802D8634 002D5594 38 21 00 10 */ addi r1, r1, 0x10
/* 802D8638 002D5598 4E 80 00 20 */ blr
.global sub_802d863c
sub_802d863c:
/* 802D863C 002D559C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802D8640 002D55A0 7C 08 02 A6 */ mflr r0
/* 802D8644 002D55A4 90 01 00 14 */ stw r0, 0x14(r1)
/* 802D8648 002D55A8 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802D864C 002D55AC 7C 9F 23 78 */ mr r31, r4
/* 802D8650 002D55B0 93 C1 00 08 */ stw r30, 8(r1)
/* 802D8654 002D55B4 7C 7E 1B 79 */ or. r30, r3, r3
/* 802D8658 002D55B8 41 82 00 2C */ beq lbl_802D8684
/* 802D865C 002D55BC 88 1E 00 00 */ lbz r0, 0(r30)
/* 802D8660 002D55C0 28 00 00 00 */ cmplwi r0, 0
/* 802D8664 002D55C4 41 82 00 10 */ beq lbl_802D8674
/* 802D8668 002D55C8 80 7E 00 04 */ lwz r3, 4(r30)
/* 802D866C 002D55CC 38 80 00 01 */ li r4, 1
/* 802D8670 002D55D0 4B FF FB E1 */ bl sub_802d8250
lbl_802D8674:
/* 802D8674 002D55D4 7F E0 07 35 */ extsh. r0, r31
/* 802D8678 002D55D8 40 81 00 0C */ ble lbl_802D8684
/* 802D867C 002D55DC 7F C3 F3 78 */ mr r3, r30
/* 802D8680 002D55E0 48 03 D2 B1 */ bl Free__7CMemoryFPCv
lbl_802D8684:
/* 802D8684 002D55E4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802D8688 002D55E8 7F C3 F3 78 */ mr r3, r30
/* 802D868C 002D55EC 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802D8690 002D55F0 83 C1 00 08 */ lwz r30, 8(r1)
/* 802D8694 002D55F4 7C 08 03 A6 */ mtlr r0
/* 802D8698 002D55F8 38 21 00 10 */ addi r1, r1, 0x10
/* 802D869C 002D55FC 4E 80 00 20 */ blr
.global __ct__17CAnimCharacterSetFR12CInputStream
__ct__17CAnimCharacterSetFR12CInputStream:
/* 802D86A0 002D5600 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802D86A4 002D5604 7C 08 02 A6 */ mflr r0
/* 802D86A8 002D5608 90 01 00 14 */ stw r0, 0x14(r1)
/* 802D86AC 002D560C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802D86B0 002D5610 7C 9F 23 78 */ mr r31, r4
/* 802D86B4 002D5614 93 C1 00 08 */ stw r30, 8(r1)
/* 802D86B8 002D5618 7C 7E 1B 78 */ mr r30, r3
/* 802D86BC 002D561C 7F E3 FB 78 */ mr r3, r31
/* 802D86C0 002D5620 48 06 65 F1 */ bl ReadShort__12CInputStreamFv
/* 802D86C4 002D5624 B0 7E 00 00 */ sth r3, 0(r30)
/* 802D86C8 002D5628 7F E4 FB 78 */ mr r4, r31
/* 802D86CC 002D562C 38 7E 00 04 */ addi r3, r30, 4
/* 802D86D0 002D5630 48 00 6E 05 */ bl __ct__13CCharacterSetFR12CInputStream
/* 802D86D4 002D5634 7F E4 FB 78 */ mr r4, r31
/* 802D86D8 002D5638 38 7E 00 18 */ addi r3, r30, 0x18
/* 802D86DC 002D563C 4B FF ED 25 */ bl __ct__13CAnimationSetFR12CInputStream
/* 802D86E0 002D5640 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802D86E4 002D5644 7F C3 F3 78 */ mr r3, r30
/* 802D86E8 002D5648 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802D86EC 002D564C 83 C1 00 08 */ lwz r30, 8(r1)
/* 802D86F0 002D5650 7C 08 03 A6 */ mtlr r0
/* 802D86F4 002D5654 38 21 00 10 */ addi r1, r1, 0x10
/* 802D86F8 002D5658 4E 80 00 20 */ blr

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,33 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global __ct__10CAnimationFR12CInputStream
__ct__10CAnimationFR12CInputStream:
/* 802D6D84 002D3CE4 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 802D6D88 002D3CE8 7C 08 02 A6 */ mflr r0
/* 802D6D8C 002D3CEC 90 01 00 24 */ stw r0, 0x24(r1)
/* 802D6D90 002D3CF0 38 A1 00 08 */ addi r5, r1, 8
/* 802D6D94 002D3CF4 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 802D6D98 002D3CF8 7C 9F 23 78 */ mr r31, r4
/* 802D6D9C 002D3CFC 93 C1 00 18 */ stw r30, 0x18(r1)
/* 802D6DA0 002D3D00 7C 7E 1B 78 */ mr r30, r3
/* 802D6DA4 002D3D04 48 06 75 55 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator"
/* 802D6DA8 002D3D08 7F E4 FB 78 */ mr r4, r31
/* 802D6DAC 002D3D0C 38 61 00 0C */ addi r3, r1, 0xc
/* 802D6DB0 002D3D10 48 00 92 2D */ bl CreateMetaAnim__16CMetaAnimFactoryFR12CInputStream
/* 802D6DB4 002D3D14 80 01 00 0C */ lwz r0, 0xc(r1)
/* 802D6DB8 002D3D18 38 61 00 0C */ addi r3, r1, 0xc
/* 802D6DBC 002D3D1C 90 1E 00 10 */ stw r0, 0x10(r30)
/* 802D6DC0 002D3D20 80 BE 00 10 */ lwz r5, 0x10(r30)
/* 802D6DC4 002D3D24 80 85 00 04 */ lwz r4, 4(r5)
/* 802D6DC8 002D3D28 38 04 00 01 */ addi r0, r4, 1
/* 802D6DCC 002D3D2C 90 05 00 04 */ stw r0, 4(r5)
/* 802D6DD0 002D3D30 4B D5 A1 61 */ bl sub_80030f30
/* 802D6DD4 002D3D34 80 01 00 24 */ lwz r0, 0x24(r1)
/* 802D6DD8 002D3D38 7F C3 F3 78 */ mr r3, r30
/* 802D6DDC 002D3D3C 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 802D6DE0 002D3D40 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 802D6DE4 002D3D44 7C 08 03 A6 */ mtlr r0
/* 802D6DE8 002D3D48 38 21 00 20 */ addi r1, r1, 0x20
/* 802D6DEC 002D3D4C 4E 80 00 20 */ blr

View File

@ -0,0 +1,94 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global "NonConstCopy__28TToken<18CAnimationDatabase>CFv"
"NonConstCopy__28TToken<18CAnimationDatabase>CFv":
/* 802D6DF0 002D3D50 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802D6DF4 002D3D54 7C 08 02 A6 */ mflr r0
/* 802D6DF8 002D3D58 90 01 00 14 */ stw r0, 0x14(r1)
/* 802D6DFC 002D3D5C 48 06 A0 AD */ bl __ct__6CTokenFRC6CToken
/* 802D6E00 002D3D60 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802D6E04 002D3D64 7C 08 03 A6 */ mtlr r0
/* 802D6E08 002D3D68 38 21 00 10 */ addi r1, r1, 0x10
/* 802D6E0C 002D3D6C 4E 80 00 20 */ blr
.global GetMetaAnimation__17CAnimationManagerCFUi
GetMetaAnimation__17CAnimationManagerCFUi:
/* 802D6E10 002D3D70 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 802D6E14 002D3D74 7C 08 02 A6 */ mflr r0
/* 802D6E18 002D3D78 90 01 00 24 */ stw r0, 0x24(r1)
/* 802D6E1C 002D3D7C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 802D6E20 002D3D80 7C BF 2B 78 */ mr r31, r5
/* 802D6E24 002D3D84 93 C1 00 18 */ stw r30, 0x18(r1)
/* 802D6E28 002D3D88 7C 7E 1B 78 */ mr r30, r3
/* 802D6E2C 002D3D8C 38 61 00 08 */ addi r3, r1, 8
/* 802D6E30 002D3D90 4B FF FF C1 */ bl "NonConstCopy__28TToken<18CAnimationDatabase>CFv"
/* 802D6E34 002D3D94 38 61 00 08 */ addi r3, r1, 8
/* 802D6E38 002D3D98 48 06 9F D5 */ bl GetObj__6CTokenFv
/* 802D6E3C 002D3D9C 80 63 00 04 */ lwz r3, 4(r3)
/* 802D6E40 002D3DA0 7F E4 FB 78 */ mr r4, r31
/* 802D6E44 002D3DA4 81 83 00 00 */ lwz r12, 0(r3)
/* 802D6E48 002D3DA8 81 8C 00 08 */ lwz r12, 8(r12)
/* 802D6E4C 002D3DAC 7D 89 03 A6 */ mtctr r12
/* 802D6E50 002D3DB0 4E 80 04 21 */ bctrl
/* 802D6E54 002D3DB4 80 03 00 00 */ lwz r0, 0(r3)
/* 802D6E58 002D3DB8 38 61 00 08 */ addi r3, r1, 8
/* 802D6E5C 002D3DBC 38 80 00 00 */ li r4, 0
/* 802D6E60 002D3DC0 90 1E 00 00 */ stw r0, 0(r30)
/* 802D6E64 002D3DC4 80 DE 00 00 */ lwz r6, 0(r30)
/* 802D6E68 002D3DC8 80 A6 00 04 */ lwz r5, 4(r6)
/* 802D6E6C 002D3DCC 38 05 00 01 */ addi r0, r5, 1
/* 802D6E70 002D3DD0 90 06 00 04 */ stw r0, 4(r6)
/* 802D6E74 002D3DD4 48 06 9F CD */ bl __dt__6CTokenFv
/* 802D6E78 002D3DD8 80 01 00 24 */ lwz r0, 0x24(r1)
/* 802D6E7C 002D3DDC 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 802D6E80 002D3DE0 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 802D6E84 002D3DE4 7C 08 03 A6 */ mtlr r0
/* 802D6E88 002D3DE8 38 21 00 20 */ addi r1, r1, 0x20
/* 802D6E8C 002D3DEC 4E 80 00 20 */ blr
.global GetAnimationTree__17CAnimationManagerCFUiRC24CMetaAnimTreeBuildOrders
GetAnimationTree__17CAnimationManagerCFUiRC24CMetaAnimTreeBuildOrders:
/* 802D6E90 002D3DF0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 802D6E94 002D3DF4 7C 08 02 A6 */ mflr r0
/* 802D6E98 002D3DF8 90 01 00 24 */ stw r0, 0x24(r1)
/* 802D6E9C 002D3DFC 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 802D6EA0 002D3E00 7C BF 2B 78 */ mr r31, r5
/* 802D6EA4 002D3E04 93 C1 00 18 */ stw r30, 0x18(r1)
/* 802D6EA8 002D3E08 7C DE 33 78 */ mr r30, r6
/* 802D6EAC 002D3E0C 93 A1 00 14 */ stw r29, 0x14(r1)
/* 802D6EB0 002D3E10 7C 9D 23 78 */ mr r29, r4
/* 802D6EB4 002D3E14 93 81 00 10 */ stw r28, 0x10(r1)
/* 802D6EB8 002D3E18 7C 7C 1B 78 */ mr r28, r3
/* 802D6EBC 002D3E1C 38 61 00 08 */ addi r3, r1, 8
/* 802D6EC0 002D3E20 4B FF FF 31 */ bl "NonConstCopy__28TToken<18CAnimationDatabase>CFv"
/* 802D6EC4 002D3E24 38 61 00 08 */ addi r3, r1, 8
/* 802D6EC8 002D3E28 48 06 9F 45 */ bl GetObj__6CTokenFv
/* 802D6ECC 002D3E2C 80 63 00 04 */ lwz r3, 4(r3)
/* 802D6ED0 002D3E30 7F E4 FB 78 */ mr r4, r31
/* 802D6ED4 002D3E34 81 83 00 00 */ lwz r12, 0(r3)
/* 802D6ED8 002D3E38 81 8C 00 08 */ lwz r12, 8(r12)
/* 802D6EDC 002D3E3C 7D 89 03 A6 */ mtctr r12
/* 802D6EE0 002D3E40 4E 80 04 21 */ bctrl
/* 802D6EE4 002D3E44 7C 7F 1B 78 */ mr r31, r3
/* 802D6EE8 002D3E48 38 61 00 08 */ addi r3, r1, 8
/* 802D6EEC 002D3E4C 38 80 00 00 */ li r4, 0
/* 802D6EF0 002D3E50 48 06 9F 51 */ bl __dt__6CTokenFv
/* 802D6EF4 002D3E54 80 9F 00 00 */ lwz r4, 0(r31)
/* 802D6EF8 002D3E58 7F 83 E3 78 */ mr r3, r28
/* 802D6EFC 002D3E5C 7F C6 F3 78 */ mr r6, r30
/* 802D6F00 002D3E60 38 BD 00 08 */ addi r5, r29, 8
/* 802D6F04 002D3E64 80 84 00 00 */ lwz r4, 0(r4)
/* 802D6F08 002D3E68 81 84 00 00 */ lwz r12, 0(r4)
/* 802D6F0C 002D3E6C 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 802D6F10 002D3E70 7D 89 03 A6 */ mtctr r12
/* 802D6F14 002D3E74 4E 80 04 21 */ bctrl
/* 802D6F18 002D3E78 80 01 00 24 */ lwz r0, 0x24(r1)
/* 802D6F1C 002D3E7C 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 802D6F20 002D3E80 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 802D6F24 002D3E84 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 802D6F28 002D3E88 83 81 00 10 */ lwz r28, 0x10(r1)
/* 802D6F2C 002D3E8C 7C 08 03 A6 */ mtlr r0
/* 802D6F30 002D3E90 38 21 00 20 */ addi r1, r1, 0x20
/* 802D6F34 002D3E94 4E 80 00 20 */ blr

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,116 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global __dt__15CSequenceHelperFv
__dt__15CSequenceHelperFv:
/* 802D9C34 002D6B94 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 802D9C38 002D6B98 7C 08 02 A6 */ mflr r0
/* 802D9C3C 002D6B9C 90 01 00 24 */ stw r0, 0x24(r1)
/* 802D9C40 002D6BA0 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 802D9C44 002D6BA4 7C 9F 23 78 */ mr r31, r4
/* 802D9C48 002D6BA8 93 C1 00 18 */ stw r30, 0x18(r1)
/* 802D9C4C 002D6BAC 7C 7E 1B 79 */ or. r30, r3, r3
/* 802D9C50 002D6BB0 41 82 00 98 */ beq lbl_802D9CE8
/* 802D9C54 002D6BB4 34 1E 00 20 */ addic. r0, r30, 0x20
/* 802D9C58 002D6BB8 41 82 00 40 */ beq lbl_802D9C98
/* 802D9C5C 002D6BBC 80 7E 00 2C */ lwz r3, 0x2c(r30)
/* 802D9C60 002D6BC0 80 1E 00 24 */ lwz r0, 0x24(r30)
/* 802D9C64 002D6BC4 90 61 00 0C */ stw r3, 0xc(r1)
/* 802D9C68 002D6BC8 7C 83 02 14 */ add r4, r3, r0
/* 802D9C6C 002D6BCC 7C 03 20 50 */ subf r0, r3, r4
/* 802D9C70 002D6BD0 90 81 00 14 */ stw r4, 0x14(r1)
/* 802D9C74 002D6BD4 90 81 00 10 */ stw r4, 0x10(r1)
/* 802D9C78 002D6BD8 90 61 00 08 */ stw r3, 8(r1)
/* 802D9C7C 002D6BDC 7C 09 03 A6 */ mtctr r0
/* 802D9C80 002D6BE0 7C 03 20 40 */ cmplw r3, r4
/* 802D9C84 002D6BE4 41 82 00 08 */ beq lbl_802D9C8C
lbl_802D9C88:
/* 802D9C88 002D6BE8 42 00 00 00 */ bdnz lbl_802D9C88
lbl_802D9C8C:
/* 802D9C8C 002D6BEC 28 03 00 00 */ cmplwi r3, 0
/* 802D9C90 002D6BF0 41 82 00 08 */ beq lbl_802D9C98
/* 802D9C94 002D6BF4 48 03 BC 9D */ bl Free__7CMemoryFPCv
lbl_802D9C98:
/* 802D9C98 002D6BF8 38 7E 00 10 */ addi r3, r30, 0x10
/* 802D9C9C 002D6BFC 38 80 FF FF */ li r4, -1
/* 802D9CA0 002D6C00 48 00 00 65 */ bl sub_802d9d04
/* 802D9CA4 002D6C04 28 1E 00 00 */ cmplwi r30, 0
/* 802D9CA8 002D6C08 41 82 00 30 */ beq lbl_802D9CD8
/* 802D9CAC 002D6C0C 34 1E 00 08 */ addic. r0, r30, 8
/* 802D9CB0 002D6C10 41 82 00 14 */ beq lbl_802D9CC4
/* 802D9CB4 002D6C14 34 1E 00 08 */ addic. r0, r30, 8
/* 802D9CB8 002D6C18 41 82 00 0C */ beq lbl_802D9CC4
/* 802D9CBC 002D6C1C 38 7E 00 08 */ addi r3, r30, 8
/* 802D9CC0 002D6C20 4B D5 7A 69 */ bl sub_80031728
lbl_802D9CC4:
/* 802D9CC4 002D6C24 28 1E 00 00 */ cmplwi r30, 0
/* 802D9CC8 002D6C28 41 82 00 10 */ beq lbl_802D9CD8
/* 802D9CCC 002D6C2C 7F C3 F3 78 */ mr r3, r30
/* 802D9CD0 002D6C30 38 80 00 00 */ li r4, 0
/* 802D9CD4 002D6C34 48 06 71 6D */ bl __dt__6CTokenFv
lbl_802D9CD8:
/* 802D9CD8 002D6C38 7F E0 07 35 */ extsh. r0, r31
/* 802D9CDC 002D6C3C 40 81 00 0C */ ble lbl_802D9CE8
/* 802D9CE0 002D6C40 7F C3 F3 78 */ mr r3, r30
/* 802D9CE4 002D6C44 48 03 BC 4D */ bl Free__7CMemoryFPCv
lbl_802D9CE8:
/* 802D9CE8 002D6C48 80 01 00 24 */ lwz r0, 0x24(r1)
/* 802D9CEC 002D6C4C 7F C3 F3 78 */ mr r3, r30
/* 802D9CF0 002D6C50 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 802D9CF4 002D6C54 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 802D9CF8 002D6C58 7C 08 03 A6 */ mtlr r0
/* 802D9CFC 002D6C5C 38 21 00 20 */ addi r1, r1, 0x20
/* 802D9D00 002D6C60 4E 80 00 20 */ blr
.global sub_802d9d04
sub_802d9d04:
/* 802D9D04 002D6C64 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 802D9D08 002D6C68 7C 08 02 A6 */ mflr r0
/* 802D9D0C 002D6C6C 90 01 00 34 */ stw r0, 0x34(r1)
/* 802D9D10 002D6C70 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 802D9D14 002D6C74 93 C1 00 28 */ stw r30, 0x28(r1)
/* 802D9D18 002D6C78 93 A1 00 24 */ stw r29, 0x24(r1)
/* 802D9D1C 002D6C7C 7C 9D 23 78 */ mr r29, r4
/* 802D9D20 002D6C80 93 81 00 20 */ stw r28, 0x20(r1)
/* 802D9D24 002D6C84 7C 7C 1B 79 */ or. r28, r3, r3
/* 802D9D28 002D6C88 41 82 00 68 */ beq lbl_802D9D90
/* 802D9D2C 002D6C8C 80 1C 00 04 */ lwz r0, 4(r28)
/* 802D9D30 002D6C90 83 DC 00 0C */ lwz r30, 0xc(r28)
/* 802D9D34 002D6C94 54 00 10 3A */ slwi r0, r0, 2
/* 802D9D38 002D6C98 7F FE 02 14 */ add r31, r30, r0
/* 802D9D3C 002D6C9C 93 C1 00 10 */ stw r30, 0x10(r1)
/* 802D9D40 002D6CA0 93 E1 00 08 */ stw r31, 8(r1)
/* 802D9D44 002D6CA4 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802D9D48 002D6CA8 93 C1 00 14 */ stw r30, 0x14(r1)
/* 802D9D4C 002D6CAC 48 00 00 1C */ b lbl_802D9D68
lbl_802D9D50:
/* 802D9D50 002D6CB0 28 1E 00 00 */ cmplwi r30, 0
/* 802D9D54 002D6CB4 41 82 00 10 */ beq lbl_802D9D64
/* 802D9D58 002D6CB8 41 82 00 0C */ beq lbl_802D9D64
/* 802D9D5C 002D6CBC 7F C3 F3 78 */ mr r3, r30
/* 802D9D60 002D6CC0 4B D5 72 41 */ bl sub_80030fa0
lbl_802D9D64:
/* 802D9D64 002D6CC4 3B DE 00 04 */ addi r30, r30, 4
lbl_802D9D68:
/* 802D9D68 002D6CC8 7C 1E F8 40 */ cmplw r30, r31
/* 802D9D6C 002D6CCC 40 82 FF E4 */ bne lbl_802D9D50
/* 802D9D70 002D6CD0 80 7C 00 0C */ lwz r3, 0xc(r28)
/* 802D9D74 002D6CD4 28 03 00 00 */ cmplwi r3, 0
/* 802D9D78 002D6CD8 41 82 00 08 */ beq lbl_802D9D80
/* 802D9D7C 002D6CDC 48 03 BB B5 */ bl Free__7CMemoryFPCv
lbl_802D9D80:
/* 802D9D80 002D6CE0 7F A0 07 35 */ extsh. r0, r29
/* 802D9D84 002D6CE4 40 81 00 0C */ ble lbl_802D9D90
/* 802D9D88 002D6CE8 7F 83 E3 78 */ mr r3, r28
/* 802D9D8C 002D6CEC 48 03 BB A5 */ bl Free__7CMemoryFPCv
lbl_802D9D90:
/* 802D9D90 002D6CF0 80 01 00 34 */ lwz r0, 0x34(r1)
/* 802D9D94 002D6CF4 7F 83 E3 78 */ mr r3, r28
/* 802D9D98 002D6CF8 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 802D9D9C 002D6CFC 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 802D9DA0 002D6D00 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 802D9DA4 002D6D04 83 81 00 20 */ lwz r28, 0x20(r1)
/* 802D9DA8 002D6D08 7C 08 03 A6 */ mtlr r0
/* 802D9DAC 002D6D0C 38 21 00 30 */ addi r1, r1, 0x30
/* 802D9DB0 002D6D10 4E 80 00 20 */ blr

52
asm/Basics/CBasics.s Normal file
View File

@ -0,0 +1,52 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global Stringize__7CBasicsFPCce
Stringize__7CBasicsFPCce:
/* 802D61B0 002D3110 94 21 FF 70 */ stwu r1, -0x90(r1)
/* 802D61B4 002D3114 7C 08 02 A6 */ mflr r0
/* 802D61B8 002D3118 90 01 00 94 */ stw r0, 0x94(r1)
/* 802D61BC 002D311C 93 E1 00 8C */ stw r31, 0x8c(r1)
/* 802D61C0 002D3120 93 C1 00 88 */ stw r30, 0x88(r1)
/* 802D61C4 002D3124 93 A1 00 84 */ stw r29, 0x84(r1)
/* 802D61C8 002D3128 40 86 00 24 */ bne cr1, lbl_802D61EC
/* 802D61CC 002D312C D8 21 00 28 */ stfd f1, 0x28(r1)
/* 802D61D0 002D3130 D8 41 00 30 */ stfd f2, 0x30(r1)
/* 802D61D4 002D3134 D8 61 00 38 */ stfd f3, 0x38(r1)
/* 802D61D8 002D3138 D8 81 00 40 */ stfd f4, 0x40(r1)
/* 802D61DC 002D313C D8 A1 00 48 */ stfd f5, 0x48(r1)
/* 802D61E0 002D3140 D8 C1 00 50 */ stfd f6, 0x50(r1)
/* 802D61E4 002D3144 D8 E1 00 58 */ stfd f7, 0x58(r1)
/* 802D61E8 002D3148 D9 01 00 60 */ stfd f8, 0x60(r1)
lbl_802D61EC:
/* 802D61EC 002D314C 3B E1 00 98 */ addi r31, r1, 0x98
/* 802D61F0 002D3150 39 81 00 08 */ addi r12, r1, 8
/* 802D61F4 002D3154 3F C0 01 00 */ lis r30, 0x100
/* 802D61F8 002D3158 3D 60 80 48 */ lis r11, lbl_804795A0@ha
/* 802D61FC 002D315C 90 81 00 0C */ stw r4, 0xc(r1)
/* 802D6200 002D3160 3B A1 00 68 */ addi r29, r1, 0x68
/* 802D6204 002D3164 38 0B 95 A0 */ addi r0, r11, lbl_804795A0@l
/* 802D6208 002D3168 7C 64 1B 78 */ mr r4, r3
/* 802D620C 002D316C 90 61 00 08 */ stw r3, 8(r1)
/* 802D6210 002D3170 7C 03 03 78 */ mr r3, r0
/* 802D6214 002D3174 90 A1 00 10 */ stw r5, 0x10(r1)
/* 802D6218 002D3178 7F A5 EB 78 */ mr r5, r29
/* 802D621C 002D317C 90 C1 00 14 */ stw r6, 0x14(r1)
/* 802D6220 002D3180 90 E1 00 18 */ stw r7, 0x18(r1)
/* 802D6224 002D3184 91 01 00 1C */ stw r8, 0x1c(r1)
/* 802D6228 002D3188 91 21 00 20 */ stw r9, 0x20(r1)
/* 802D622C 002D318C 91 41 00 24 */ stw r10, 0x24(r1)
/* 802D6230 002D3190 93 C1 00 68 */ stw r30, 0x68(r1)
/* 802D6234 002D3194 93 E1 00 6C */ stw r31, 0x6c(r1)
/* 802D6238 002D3198 91 81 00 70 */ stw r12, 0x70(r1)
/* 802D623C 002D319C 48 0B 7B 81 */ bl vsprintf
/* 802D6240 002D31A0 80 01 00 94 */ lwz r0, 0x94(r1)
/* 802D6244 002D31A4 3C 60 80 48 */ lis r3, lbl_804795A0@ha
/* 802D6248 002D31A8 83 E1 00 8C */ lwz r31, 0x8c(r1)
/* 802D624C 002D31AC 38 63 95 A0 */ addi r3, r3, lbl_804795A0@l
/* 802D6250 002D31B0 83 C1 00 88 */ lwz r30, 0x88(r1)
/* 802D6254 002D31B4 83 A1 00 84 */ lwz r29, 0x84(r1)
/* 802D6258 002D31B8 7C 08 03 A6 */ mtlr r0
/* 802D625C 002D31BC 38 21 00 90 */ addi r1, r1, 0x90
/* 802D6260 002D31C0 4E 80 00 20 */ blr

View File

@ -0,0 +1,35 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global Init__7CBasicsFv
Init__7CBasicsFv:
/* 802D6354 002D32B4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802D6358 002D32B8 7C 08 02 A6 */ mflr r0
/* 802D635C 002D32BC 90 01 00 14 */ stw r0, 0x14(r1)
/* 802D6360 002D32C0 88 0D A6 80 */ lbz r0, lbl_805A9240@sda21(r13)
/* 802D6364 002D32C4 28 00 00 00 */ cmplwi r0, 0
/* 802D6368 002D32C8 40 82 00 48 */ bne lbl_802D63B0
/* 802D636C 002D32CC 48 0A 75 3D */ bl OSInit
/* 802D6370 002D32D0 38 60 00 04 */ li r3, 4
/* 802D6374 002D32D4 64 63 00 04 */ oris r3, r3, 4
/* 802D6378 002D32D8 7C 72 E3 A6 */ mtspr 0x392, r3
/* 802D637C 002D32DC 38 60 00 05 */ li r3, 5
/* 802D6380 002D32E0 64 63 00 05 */ oris r3, r3, 5
/* 802D6384 002D32E4 7C 73 E3 A6 */ mtspr 0x393, r3
/* 802D6388 002D32E8 38 60 00 06 */ li r3, 6
/* 802D638C 002D32EC 64 63 00 06 */ oris r3, r3, 6
/* 802D6390 002D32F0 7C 74 E3 A6 */ mtspr 0x394, r3
/* 802D6394 002D32F4 38 60 00 07 */ li r3, 7
/* 802D6398 002D32F8 64 63 00 07 */ oris r3, r3, 7
/* 802D639C 002D32FC 7C 75 E3 A6 */ mtspr 0x395, r3
/* 802D63A0 002D3300 48 09 B8 05 */ bl DVDInit
/* 802D63A4 002D3304 4B FF FF 15 */ bl InitGlobalTimer__10CStopwatchFv
/* 802D63A8 002D3308 38 00 00 01 */ li r0, 1
/* 802D63AC 002D330C 98 0D A6 80 */ stb r0, lbl_805A9240@sda21(r13)
lbl_802D63B0:
/* 802D63B0 002D3310 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802D63B4 002D3314 88 6D A6 80 */ lbz r3, lbl_805A9240@sda21(r13)
/* 802D63B8 002D3318 7C 08 03 A6 */ mtlr r0
/* 802D63BC 002D331C 38 21 00 10 */ addi r1, r1, 0x10
/* 802D63C0 002D3320 4E 80 00 20 */ blr

View File

@ -0,0 +1,19 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global GetTypeText__10CCallStackCFv
GetTypeText__10CCallStackCFv:
/* 802D63C4 002D3324 80 63 00 04 */ lwz r3, 4(r3)
/* 802D63C8 002D3328 4E 80 00 20 */ blr
.global GetFileAndLineText__10CCallStackCFv
GetFileAndLineText__10CCallStackCFv:
/* 802D63CC 002D332C 80 63 00 00 */ lwz r3, 0(r3)
/* 802D63D0 002D3330 4E 80 00 20 */ blr
.global __ct__10CCallStackFUiPCcPCc
__ct__10CCallStackFUiPCcPCc:
/* 802D63D4 002D3334 90 A3 00 00 */ stw r5, 0(r3)
/* 802D63D8 002D3338 90 C3 00 04 */ stw r6, 4(r3)
/* 802D63DC 002D333C 4E 80 00 20 */ blr

243
asm/Basics/COsContext.s Normal file
View File

@ -0,0 +1,243 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global sub_802d63e0
sub_802d63e0:
/* 802D63E0 002D3340 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802D63E4 002D3344 7C 08 02 A6 */ mflr r0
/* 802D63E8 002D3348 90 01 00 14 */ stw r0, 0x14(r1)
/* 802D63EC 002D334C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802D63F0 002D3350 93 C1 00 08 */ stw r30, 8(r1)
/* 802D63F4 002D3354 7C 7E 1B 78 */ mr r30, r3
/* 802D63F8 002D3358 7C 83 23 78 */ mr r3, r4
/* 802D63FC 002D335C 38 80 00 20 */ li r4, 0x20
/* 802D6400 002D3360 48 0A 83 B1 */ bl OSAllocFromArenaLo
/* 802D6404 002D3364 7C 7F 1B 78 */ mr r31, r3
/* 802D6408 002D3368 48 0A 83 91 */ bl OSGetArenaLo
/* 802D640C 002D336C 90 7E 00 20 */ stw r3, 0x20(r30)
/* 802D6410 002D3370 48 0A 83 89 */ bl OSGetArenaLo
/* 802D6414 002D3374 90 7E 00 18 */ stw r3, 0x18(r30)
/* 802D6418 002D3378 48 0A 83 79 */ bl OSGetArenaHi
/* 802D641C 002D337C 90 7E 00 1C */ stw r3, 0x1c(r30)
/* 802D6420 002D3380 7F E3 FB 78 */ mr r3, r31
/* 802D6424 002D3384 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802D6428 002D3388 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802D642C 002D338C 83 C1 00 08 */ lwz r30, 8(r1)
/* 802D6430 002D3390 7C 08 03 A6 */ mtlr r0
/* 802D6434 002D3394 38 21 00 10 */ addi r1, r1, 0x10
/* 802D6438 002D3398 4E 80 00 20 */ blr
.global OpenWindow__10COsContextFPCciiiib
OpenWindow__10COsContextFPCciiiib:
/* 802D643C 002D339C 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 802D6440 002D33A0 7C 08 02 A6 */ mflr r0
/* 802D6444 002D33A4 90 01 00 24 */ stw r0, 0x24(r1)
/* 802D6448 002D33A8 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 802D644C 002D33AC 7C 7F 1B 78 */ mr r31, r3
/* 802D6450 002D33B0 93 C1 00 18 */ stw r30, 0x18(r1)
/* 802D6454 002D33B4 93 A1 00 14 */ stw r29, 0x14(r1)
/* 802D6458 002D33B8 7D 1D 43 78 */ mr r29, r8
/* 802D645C 002D33BC 93 81 00 10 */ stw r28, 0x10(r1)
/* 802D6460 002D33C0 7C FC 3B 78 */ mr r28, r7
/* 802D6464 002D33C4 48 0B 17 79 */ bl VIInit
/* 802D6468 002D33C8 48 0B 30 71 */ bl VIGetTvFormat
/* 802D646C 002D33CC 2C 03 00 01 */ cmpwi r3, 1
/* 802D6470 002D33D0 41 82 00 38 */ beq lbl_802D64A8
/* 802D6474 002D33D4 40 80 00 10 */ bge lbl_802D6484
/* 802D6478 002D33D8 2C 03 00 00 */ cmpwi r3, 0
/* 802D647C 002D33DC 40 80 00 14 */ bge lbl_802D6490
/* 802D6480 002D33E0 48 00 00 54 */ b lbl_802D64D4
lbl_802D6484:
/* 802D6484 002D33E4 2C 03 00 03 */ cmpwi r3, 3
/* 802D6488 002D33E8 40 80 00 4C */ bge lbl_802D64D4
/* 802D648C 002D33EC 48 00 00 34 */ b lbl_802D64C0
lbl_802D6490:
/* 802D6490 002D33F0 3C 60 80 3F */ lis r3, lbl_803F08E0@ha
/* 802D6494 002D33F4 38 00 00 01 */ li r0, 1
/* 802D6498 002D33F8 38 63 08 E0 */ addi r3, r3, lbl_803F08E0@l
/* 802D649C 002D33FC 90 1F 00 10 */ stw r0, 0x10(r31)
/* 802D64A0 002D3400 7C 7E 1B 78 */ mr r30, r3
/* 802D64A4 002D3404 48 00 00 30 */ b lbl_802D64D4
lbl_802D64A8:
/* 802D64A8 002D3408 3C 60 80 3F */ lis r3, lbl_803F0958@ha
/* 802D64AC 002D340C 38 00 00 02 */ li r0, 2
/* 802D64B0 002D3410 38 63 09 58 */ addi r3, r3, lbl_803F0958@l
/* 802D64B4 002D3414 90 1F 00 10 */ stw r0, 0x10(r31)
/* 802D64B8 002D3418 7C 7E 1B 78 */ mr r30, r3
/* 802D64BC 002D341C 48 00 00 18 */ b lbl_802D64D4
lbl_802D64C0:
/* 802D64C0 002D3420 3C 60 80 3F */ lis r3, lbl_803F091C@ha
/* 802D64C4 002D3424 38 00 00 03 */ li r0, 3
/* 802D64C8 002D3428 38 63 09 1C */ addi r3, r3, lbl_803F091C@l
/* 802D64CC 002D342C 90 1F 00 10 */ stw r0, 0x10(r31)
/* 802D64D0 002D3430 7C 7E 1B 78 */ mr r30, r3
lbl_802D64D4:
/* 802D64D4 002D3434 2C 1C 00 00 */ cmpwi r28, 0
/* 802D64D8 002D3438 40 81 00 08 */ ble lbl_802D64E0
/* 802D64DC 002D343C B3 9F 00 3E */ sth r28, 0x3e(r31)
lbl_802D64E0:
/* 802D64E0 002D3440 2C 1D 00 00 */ cmpwi r29, 0
/* 802D64E4 002D3444 40 81 00 08 */ ble lbl_802D64EC
/* 802D64E8 002D3448 B3 BF 00 40 */ sth r29, 0x40(r31)
lbl_802D64EC:
/* 802D64EC 002D344C 7F C3 F3 78 */ mr r3, r30
/* 802D64F0 002D3450 38 9F 00 30 */ addi r4, r31, 0x30
/* 802D64F4 002D3454 38 A0 00 00 */ li r5, 0
/* 802D64F8 002D3458 38 C0 00 10 */ li r6, 0x10
/* 802D64FC 002D345C 48 0A 27 09 */ bl GXAdjustForOverscan
/* 802D6500 002D3460 A0 1F 00 3A */ lhz r0, 0x3a(r31)
/* 802D6504 002D3464 38 80 00 20 */ li r4, 0x20
/* 802D6508 002D3468 90 1F 00 08 */ stw r0, 8(r31)
/* 802D650C 002D346C A0 1F 00 3C */ lhz r0, 0x3c(r31)
/* 802D6510 002D3470 90 1F 00 0C */ stw r0, 0xc(r31)
/* 802D6514 002D3474 A0 1F 00 3E */ lhz r0, 0x3e(r31)
/* 802D6518 002D3478 90 1F 00 00 */ stw r0, 0(r31)
/* 802D651C 002D347C A0 1F 00 40 */ lhz r0, 0x40(r31)
/* 802D6520 002D3480 90 1F 00 04 */ stw r0, 4(r31)
/* 802D6524 002D3484 A0 7F 00 34 */ lhz r3, 0x34(r31)
/* 802D6528 002D3488 A0 1F 00 38 */ lhz r0, 0x38(r31)
/* 802D652C 002D348C 38 63 00 0F */ addi r3, r3, 0xf
/* 802D6530 002D3490 54 63 04 36 */ rlwinm r3, r3, 0, 0x10, 0x1b
/* 802D6534 002D3494 7C 03 01 D6 */ mullw r0, r3, r0
/* 802D6538 002D3498 54 00 08 3C */ slwi r0, r0, 1
/* 802D653C 002D349C 90 1F 00 2C */ stw r0, 0x2c(r31)
/* 802D6540 002D34A0 80 7F 00 2C */ lwz r3, 0x2c(r31)
/* 802D6544 002D34A4 48 0A 82 6D */ bl OSAllocFromArenaLo
/* 802D6548 002D34A8 90 7F 00 24 */ stw r3, 0x24(r31)
/* 802D654C 002D34AC 38 80 00 20 */ li r4, 0x20
/* 802D6550 002D34B0 80 7F 00 2C */ lwz r3, 0x2c(r31)
/* 802D6554 002D34B4 48 0A 82 5D */ bl OSAllocFromArenaLo
/* 802D6558 002D34B8 90 7F 00 28 */ stw r3, 0x28(r31)
/* 802D655C 002D34BC 48 0A 82 3D */ bl OSGetArenaLo
/* 802D6560 002D34C0 90 7F 00 20 */ stw r3, 0x20(r31)
/* 802D6564 002D34C4 48 0A 82 35 */ bl OSGetArenaLo
/* 802D6568 002D34C8 90 7F 00 18 */ stw r3, 0x18(r31)
/* 802D656C 002D34CC 48 0A 82 25 */ bl OSGetArenaHi
/* 802D6570 002D34D0 90 7F 00 1C */ stw r3, 0x1c(r31)
/* 802D6574 002D34D4 A0 7F 00 3E */ lhz r3, 0x3e(r31)
/* 802D6578 002D34D8 38 03 00 14 */ addi r0, r3, 0x14
/* 802D657C 002D34DC B0 1F 00 3E */ sth r0, 0x3e(r31)
/* 802D6580 002D34E0 A0 7F 00 3A */ lhz r3, 0x3a(r31)
/* 802D6584 002D34E4 38 03 FF F6 */ addi r0, r3, -10
/* 802D6588 002D34E8 B0 1F 00 3A */ sth r0, 0x3a(r31)
/* 802D658C 002D34EC 88 0D A0 98 */ lbz r0, lbl_805A8C58@sda21(r13)
/* 802D6590 002D34F0 28 00 00 00 */ cmplwi r0, 0
/* 802D6594 002D34F4 41 82 00 3C */ beq lbl_802D65D0
/* 802D6598 002D34F8 38 60 00 02 */ li r3, 2
/* 802D659C 002D34FC 38 00 00 00 */ li r0, 0
/* 802D65A0 002D3500 90 7F 00 30 */ stw r3, 0x30(r31)
/* 802D65A4 002D3504 38 7F 00 62 */ addi r3, r31, 0x62
/* 802D65A8 002D3508 38 81 00 08 */ addi r4, r1, 8
/* 802D65AC 002D350C 38 A0 00 07 */ li r5, 7
/* 802D65B0 002D3510 90 1F 00 44 */ stw r0, 0x44(r31)
/* 802D65B4 002D3514 80 E2 C5 68 */ lwz r7, lbl_805AE288@sda21(r2)
/* 802D65B8 002D3518 A0 C2 C5 6C */ lhz r6, lbl_805AE28C@sda21(r2)
/* 802D65BC 002D351C 88 02 C5 6E */ lbz r0, lbl_805AE28E@sda21(r2)
/* 802D65C0 002D3520 90 E1 00 08 */ stw r7, 8(r1)
/* 802D65C4 002D3524 B0 C1 00 0C */ sth r6, 0xc(r1)
/* 802D65C8 002D3528 98 01 00 0E */ stb r0, 0xe(r1)
/* 802D65CC 002D352C 4B D2 CE C5 */ bl memcpy
lbl_802D65D0:
/* 802D65D0 002D3530 38 7F 00 30 */ addi r3, r31, 0x30
/* 802D65D4 002D3534 48 0B 1F 81 */ bl VIConfigure
/* 802D65D8 002D3538 48 0B 2B 39 */ bl VIFlush
/* 802D65DC 002D353C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 802D65E0 002D3540 38 60 FF FF */ li r3, -1
/* 802D65E4 002D3544 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 802D65E8 002D3548 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 802D65EC 002D354C 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 802D65F0 002D3550 83 81 00 10 */ lwz r28, 0x10(r1)
/* 802D65F4 002D3554 7C 08 03 A6 */ mtlr r0
/* 802D65F8 002D3558 38 21 00 20 */ addi r1, r1, 0x20
/* 802D65FC 002D355C 4E 80 00 20 */ blr
.global GetOsKeyState__10COsContextCFi
GetOsKeyState__10COsContextCFi:
/* 802D6600 002D3560 90 A3 00 00 */ stw r5, 0(r3)
/* 802D6604 002D3564 38 80 00 00 */ li r4, 0
/* 802D6608 002D3568 A8 03 00 04 */ lha r0, 4(r3)
/* 802D660C 002D356C 50 80 7C 20 */ rlwimi r0, r4, 0xf, 0x10, 0x10
/* 802D6610 002D3570 B0 03 00 04 */ sth r0, 4(r3)
/* 802D6614 002D3574 A8 03 00 04 */ lha r0, 4(r3)
/* 802D6618 002D3578 50 80 74 62 */ rlwimi r0, r4, 0xe, 0x11, 0x11
/* 802D661C 002D357C B0 03 00 04 */ sth r0, 4(r3)
/* 802D6620 002D3580 A8 03 00 04 */ lha r0, 4(r3)
/* 802D6624 002D3584 50 80 6C A4 */ rlwimi r0, r4, 0xd, 0x12, 0x12
/* 802D6628 002D3588 B0 03 00 04 */ sth r0, 4(r3)
/* 802D662C 002D358C A8 03 00 04 */ lha r0, 4(r3)
/* 802D6630 002D3590 50 80 64 E6 */ rlwimi r0, r4, 0xc, 0x13, 0x13
/* 802D6634 002D3594 B0 03 00 04 */ sth r0, 4(r3)
/* 802D6638 002D3598 4E 80 00 20 */ blr
.global Update__10COsContextFv
Update__10COsContextFv:
/* 802D663C 002D359C 38 60 00 01 */ li r3, 1
/* 802D6640 002D35A0 4E 80 00 20 */ blr
.global __dt__10COsContextFv
__dt__10COsContextFv:
/* 802D6644 002D35A4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802D6648 002D35A8 7C 08 02 A6 */ mflr r0
/* 802D664C 002D35AC 90 01 00 14 */ stw r0, 0x14(r1)
/* 802D6650 002D35B0 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802D6654 002D35B4 7C 7F 1B 79 */ or. r31, r3, r3
/* 802D6658 002D35B8 41 82 00 10 */ beq lbl_802D6668
/* 802D665C 002D35BC 7C 80 07 35 */ extsh. r0, r4
/* 802D6660 002D35C0 40 81 00 08 */ ble lbl_802D6668
/* 802D6664 002D35C4 48 03 F2 CD */ bl Free__7CMemoryFPCv
lbl_802D6668:
/* 802D6668 002D35C8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802D666C 002D35CC 7F E3 FB 78 */ mr r3, r31
/* 802D6670 002D35D0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802D6674 002D35D4 7C 08 03 A6 */ mtlr r0
/* 802D6678 002D35D8 38 21 00 10 */ addi r1, r1, 0x10
/* 802D667C 002D35DC 4E 80 00 20 */ blr
.global __ct__10COsContextFbb
__ct__10COsContextFbb:
/* 802D6680 002D35E0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802D6684 002D35E4 7C 08 02 A6 */ mflr r0
/* 802D6688 002D35E8 90 01 00 14 */ stw r0, 0x14(r1)
/* 802D668C 002D35EC 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802D6690 002D35F0 7C 7F 1B 78 */ mr r31, r3
/* 802D6694 002D35F4 4B FF FC C1 */ bl Init__7CBasicsFv
/* 802D6698 002D35F8 48 0A 70 85 */ bl OSGetConsoleType
/* 802D669C 002D35FC 3C 80 10 00 */ lis r4, 0x1000
/* 802D66A0 002D3600 7C 03 20 00 */ cmpw r3, r4
/* 802D66A4 002D3604 41 82 00 58 */ beq lbl_802D66FC
/* 802D66A8 002D3608 40 80 00 10 */ bge lbl_802D66B8
/* 802D66AC 002D360C 2C 03 00 01 */ cmpwi r3, 1
/* 802D66B0 002D3610 41 82 00 28 */ beq lbl_802D66D8
/* 802D66B4 002D3614 48 00 00 50 */ b lbl_802D6704
lbl_802D66B8:
/* 802D66B8 002D3618 38 04 00 04 */ addi r0, r4, 4
/* 802D66BC 002D361C 7C 03 00 00 */ cmpw r3, r0
/* 802D66C0 002D3620 41 82 00 24 */ beq lbl_802D66E4
/* 802D66C4 002D3624 41 80 00 40 */ blt lbl_802D6704
/* 802D66C8 002D3628 38 04 00 07 */ addi r0, r4, 7
/* 802D66CC 002D362C 7C 03 00 00 */ cmpw r3, r0
/* 802D66D0 002D3630 40 80 00 34 */ bge lbl_802D6704
/* 802D66D4 002D3634 48 00 00 1C */ b lbl_802D66F0
lbl_802D66D8:
/* 802D66D8 002D3638 38 00 00 03 */ li r0, 3
/* 802D66DC 002D363C 90 1F 00 14 */ stw r0, 0x14(r31)
/* 802D66E0 002D3640 48 00 00 24 */ b lbl_802D6704
lbl_802D66E4:
/* 802D66E4 002D3644 38 00 00 01 */ li r0, 1
/* 802D66E8 002D3648 90 1F 00 14 */ stw r0, 0x14(r31)
/* 802D66EC 002D364C 48 00 00 18 */ b lbl_802D6704
lbl_802D66F0:
/* 802D66F0 002D3650 38 00 00 02 */ li r0, 2
/* 802D66F4 002D3654 90 1F 00 14 */ stw r0, 0x14(r31)
/* 802D66F8 002D3658 48 00 00 0C */ b lbl_802D6704
lbl_802D66FC:
/* 802D66FC 002D365C 38 00 00 00 */ li r0, 0
/* 802D6700 002D3660 90 1F 00 14 */ stw r0, 0x14(r31)
lbl_802D6704:
/* 802D6704 002D3664 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802D6708 002D3668 7F E3 FB 78 */ mr r3, r31
/* 802D670C 002D366C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802D6710 002D3670 7C 08 03 A6 */ mtlr r0
/* 802D6714 002D3674 38 21 00 10 */ addi r1, r1, 0x10
/* 802D6718 002D3678 4E 80 00 20 */ blr

View File

@ -0,0 +1,78 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global Initialize__Q210CStopwatch7CSWDataFv
Initialize__Q210CStopwatch7CSWDataFv:
/* 802D671C 002D367C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802D6720 002D3680 7C 08 02 A6 */ mflr r0
/* 802D6724 002D3684 3C 80 00 0F */ lis r4, 0x000F4240@ha
/* 802D6728 002D3688 3C A0 80 00 */ lis r5, 0x800000F8@ha
/* 802D672C 002D368C 90 01 00 14 */ stw r0, 0x14(r1)
/* 802D6730 002D3690 38 00 00 00 */ li r0, 0
/* 802D6734 002D3694 38 C4 42 40 */ addi r6, r4, 0x000F4240@l
/* 802D6738 002D3698 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802D673C 002D369C 7C 7F 1B 78 */ mr r31, r3
/* 802D6740 002D36A0 80 A5 00 F8 */ lwz r5, 0x800000F8@l(r5)
/* 802D6744 002D36A4 54 A3 F0 BE */ srwi r3, r5, 2
/* 802D6748 002D36A8 38 A0 00 00 */ li r5, 0
/* 802D674C 002D36AC 90 7F 00 04 */ stw r3, 4(r31)
/* 802D6750 002D36B0 90 1F 00 00 */ stw r0, 0(r31)
/* 802D6754 002D36B4 80 7F 00 00 */ lwz r3, 0(r31)
/* 802D6758 002D36B8 80 9F 00 04 */ lwz r4, 4(r31)
/* 802D675C 002D36BC 48 0B 34 71 */ bl __div2i
/* 802D6760 002D36C0 90 9F 00 0C */ stw r4, 0xc(r31)
/* 802D6764 002D36C4 90 7F 00 08 */ stw r3, 8(r31)
/* 802D6768 002D36C8 80 7F 00 00 */ lwz r3, 0(r31)
/* 802D676C 002D36CC 80 9F 00 04 */ lwz r4, 4(r31)
/* 802D6770 002D36D0 48 0B 37 F5 */ bl __cvt_sll_flt
/* 802D6774 002D36D4 C0 02 C5 70 */ lfs f0, lbl_805AE290@sda21(r2)
/* 802D6778 002D36D8 38 60 00 01 */ li r3, 1
/* 802D677C 002D36DC EC 00 08 24 */ fdivs f0, f0, f1
/* 802D6780 002D36E0 D0 1F 00 10 */ stfs f0, 0x10(r31)
/* 802D6784 002D36E4 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802D6788 002D36E8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802D678C 002D36EC 7C 08 03 A6 */ mtlr r0
/* 802D6790 002D36F0 38 21 00 10 */ addi r1, r1, 0x10
/* 802D6794 002D36F4 4E 80 00 20 */ blr
.global Wait__Q210CStopwatch7CSWDataCFf
Wait__Q210CStopwatch7CSWDataCFf:
/* 802D6798 002D36F8 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 802D679C 002D36FC 7C 08 02 A6 */ mflr r0
/* 802D67A0 002D3700 3C 60 80 00 */ lis r3, 0x800000F8@ha
/* 802D67A4 002D3704 C8 42 C5 78 */ lfd f2, lbl_805AE298@sda21(r2)
/* 802D67A8 002D3708 90 01 00 34 */ stw r0, 0x34(r1)
/* 802D67AC 002D370C 3C 00 43 30 */ lis r0, 0x4330
/* 802D67B0 002D3710 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 802D67B4 002D3714 93 C1 00 28 */ stw r30, 0x28(r1)
/* 802D67B8 002D3718 80 63 00 F8 */ lwz r3, 0x800000F8@l(r3)
/* 802D67BC 002D371C 90 01 00 18 */ stw r0, 0x18(r1)
/* 802D67C0 002D3720 54 60 F0 BE */ srwi r0, r3, 2
/* 802D67C4 002D3724 90 01 00 1C */ stw r0, 0x1c(r1)
/* 802D67C8 002D3728 C8 01 00 18 */ lfd f0, 0x18(r1)
/* 802D67CC 002D372C EC 00 10 28 */ fsubs f0, f0, f2
/* 802D67D0 002D3730 EC 21 00 32 */ fmuls f1, f1, f0
/* 802D67D4 002D3734 48 0B 38 45 */ bl __cvt_dbl_usll
/* 802D67D8 002D3738 7C 9E 23 78 */ mr r30, r4
/* 802D67DC 002D373C 7C 7F 1B 78 */ mr r31, r3
/* 802D67E0 002D3740 48 0A EB C9 */ bl OSGetTime
/* 802D67E4 002D3744 7F DE 20 14 */ addc r30, r30, r4
/* 802D67E8 002D3748 7F FF 19 14 */ adde r31, r31, r3
lbl_802D67EC:
/* 802D67EC 002D374C 48 0A EB BD */ bl OSGetTime
/* 802D67F0 002D3750 90 81 00 14 */ stw r4, 0x14(r1)
/* 802D67F4 002D3754 90 61 00 10 */ stw r3, 0x10(r1)
/* 802D67F8 002D3758 80 61 00 10 */ lwz r3, 0x10(r1)
/* 802D67FC 002D375C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802D6800 002D3760 7C 1E 00 10 */ subfc r0, r30, r0
/* 802D6804 002D3764 90 01 00 08 */ stw r0, 8(r1)
/* 802D6808 002D3768 80 01 00 08 */ lwz r0, 8(r1)
/* 802D680C 002D376C 2C 00 00 00 */ cmpwi r0, 0
/* 802D6810 002D3770 41 80 FF DC */ blt lbl_802D67EC
/* 802D6814 002D3774 80 01 00 34 */ lwz r0, 0x34(r1)
/* 802D6818 002D3778 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 802D681C 002D377C 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 802D6820 002D3780 7C 08 03 A6 */ mtlr r0
/* 802D6824 002D3784 38 21 00 30 */ addi r1, r1, 0x30
/* 802D6828 002D3788 4E 80 00 20 */ blr

78
asm/Basics/CStopwatch.s Normal file
View File

@ -0,0 +1,78 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global GetGlobalTimerObj__10CStopwatchFv
GetGlobalTimerObj__10CStopwatchFv:
/* 802D6264 002D31C4 38 6D A6 78 */ addi r3, r13, lbl_805A9238@sda21
/* 802D6268 002D31C8 4E 80 00 20 */ blr
.global Wait__10CStopwatchFf
Wait__10CStopwatchFf:
/* 802D626C 002D31CC 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802D6270 002D31D0 7C 08 02 A6 */ mflr r0
/* 802D6274 002D31D4 FC 40 0A 10 */ fabs f2, f1
/* 802D6278 002D31D8 C8 02 C5 58 */ lfd f0, lbl_805AE278@sda21(r2)
/* 802D627C 002D31DC 90 01 00 14 */ stw r0, 0x14(r1)
/* 802D6280 002D31E0 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 802D6284 002D31E4 40 80 00 18 */ bge lbl_802D629C
/* 802D6288 002D31E8 3C 60 80 5A */ lis r3, mData__10CStopwatch@ha
/* 802D628C 002D31EC C0 22 C5 60 */ lfs f1, lbl_805AE280@sda21(r2)
/* 802D6290 002D31F0 38 63 FD 30 */ addi r3, r3, mData__10CStopwatch@l
/* 802D6294 002D31F4 48 00 05 05 */ bl Wait__Q210CStopwatch7CSWDataCFf
/* 802D6298 002D31F8 48 00 00 10 */ b lbl_802D62A8
lbl_802D629C:
/* 802D629C 002D31FC 3C 60 80 5A */ lis r3, mData__10CStopwatch@ha
/* 802D62A0 002D3200 38 63 FD 30 */ addi r3, r3, mData__10CStopwatch@l
/* 802D62A4 002D3204 48 00 04 F5 */ bl Wait__Q210CStopwatch7CSWDataCFf
lbl_802D62A8:
/* 802D62A8 002D3208 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802D62AC 002D320C 7C 08 03 A6 */ mtlr r0
/* 802D62B0 002D3210 38 21 00 10 */ addi r1, r1, 0x10
/* 802D62B4 002D3214 4E 80 00 20 */ blr
.global InitGlobalTimer__10CStopwatchFv
InitGlobalTimer__10CStopwatchFv:
/* 802D62B8 002D3218 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802D62BC 002D321C 7C 08 02 A6 */ mflr r0
/* 802D62C0 002D3220 3C 60 80 5A */ lis r3, lbl_805A0004@ha
/* 802D62C4 002D3224 38 80 00 00 */ li r4, 0
/* 802D62C8 002D3228 90 01 00 14 */ stw r0, 0x14(r1)
/* 802D62CC 002D322C 84 03 FD 30 */ lwzu r0, -0x2d0(r3)
/* 802D62D0 002D3230 80 A3 00 04 */ lwz r5, lbl_805A0004@l(r3)
/* 802D62D4 002D3234 7C 00 22 78 */ xor r0, r0, r4
/* 802D62D8 002D3238 7C A4 22 78 */ xor r4, r5, r4
/* 802D62DC 002D323C 7C 80 03 79 */ or. r0, r4, r0
/* 802D62E0 002D3240 40 82 00 08 */ bne lbl_802D62E8
/* 802D62E4 002D3244 48 00 04 39 */ bl Initialize__Q210CStopwatch7CSWDataFv
lbl_802D62E8:
/* 802D62E8 002D3248 48 0A F0 C1 */ bl OSGetTime
/* 802D62EC 002D324C 90 6D A6 78 */ stw r3, lbl_805A9238@sda21(r13)
/* 802D62F0 002D3250 38 60 00 01 */ li r3, 1
/* 802D62F4 002D3254 90 8D A6 7C */ stw r4, lbl_805A923C@sda21(r13)
/* 802D62F8 002D3258 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802D62FC 002D325C 7C 08 03 A6 */ mtlr r0
/* 802D6300 002D3260 38 21 00 10 */ addi r1, r1, 0x10
/* 802D6304 002D3264 4E 80 00 20 */ blr
.global __sinit_CStopwatch_cpp
__sinit_CStopwatch_cpp:
/* 802D6308 002D3268 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802D630C 002D326C 7C 08 02 A6 */ mflr r0
/* 802D6310 002D3270 3C 60 80 5A */ lis r3, mData__10CStopwatch@ha
/* 802D6314 002D3274 C0 02 C5 60 */ lfs f0, lbl_805AE280@sda21(r2)
/* 802D6318 002D3278 90 01 00 14 */ stw r0, 0x14(r1)
/* 802D631C 002D327C 38 63 FD 30 */ addi r3, r3, mData__10CStopwatch@l
/* 802D6320 002D3280 38 00 00 00 */ li r0, 0
/* 802D6324 002D3284 90 03 00 04 */ stw r0, 4(r3)
/* 802D6328 002D3288 90 03 00 00 */ stw r0, 0(r3)
/* 802D632C 002D328C 90 03 00 0C */ stw r0, 0xc(r3)
/* 802D6330 002D3290 90 03 00 08 */ stw r0, 8(r3)
/* 802D6334 002D3294 D0 03 00 10 */ stfs f0, 0x10(r3)
/* 802D6338 002D3298 48 0A F0 71 */ bl OSGetTime
/* 802D633C 002D329C 90 8D A6 7C */ stw r4, lbl_805A923C@sda21(r13)
/* 802D6340 002D32A0 90 6D A6 78 */ stw r3, lbl_805A9238@sda21(r13)
/* 802D6344 002D32A4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802D6348 002D32A8 7C 08 03 A6 */ mtlr r0
/* 802D634C 002D32AC 38 21 00 10 */ addi r1, r1, 0x10
/* 802D6350 002D32B0 4E 80 00 20 */ blr

370
asm/Basics/RAssertDolphin.s Normal file
View File

@ -0,0 +1,370 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global rs_debugger_printf__FPCce
rs_debugger_printf__FPCce:
/* 802D682C 002D378C 94 21 FC B0 */ stwu r1, -0x350(r1)
/* 802D6830 002D3790 7C 08 02 A6 */ mflr r0
/* 802D6834 002D3794 90 01 03 54 */ stw r0, 0x354(r1)
/* 802D6838 002D3798 93 E1 03 4C */ stw r31, 0x34c(r1)
/* 802D683C 002D379C 93 C1 03 48 */ stw r30, 0x348(r1)
/* 802D6840 002D37A0 93 A1 03 44 */ stw r29, 0x344(r1)
/* 802D6844 002D37A4 40 86 00 24 */ bne cr1, lbl_802D6868
/* 802D6848 002D37A8 D8 21 00 28 */ stfd f1, 0x28(r1)
/* 802D684C 002D37AC D8 41 00 30 */ stfd f2, 0x30(r1)
/* 802D6850 002D37B0 D8 61 00 38 */ stfd f3, 0x38(r1)
/* 802D6854 002D37B4 D8 81 00 40 */ stfd f4, 0x40(r1)
/* 802D6858 002D37B8 D8 A1 00 48 */ stfd f5, 0x48(r1)
/* 802D685C 002D37BC D8 C1 00 50 */ stfd f6, 0x50(r1)
/* 802D6860 002D37C0 D8 E1 00 58 */ stfd f7, 0x58(r1)
/* 802D6864 002D37C4 D9 01 00 60 */ stfd f8, 0x60(r1)
lbl_802D6868:
/* 802D6868 002D37C8 3B E1 03 58 */ addi r31, r1, 0x358
/* 802D686C 002D37CC 39 81 00 08 */ addi r12, r1, 8
/* 802D6870 002D37D0 3F C0 01 00 */ lis r30, 0x100
/* 802D6874 002D37D4 3D 60 80 48 */ lis r11, lbl_804797A0@ha
/* 802D6878 002D37D8 90 81 00 0C */ stw r4, 0xc(r1)
/* 802D687C 002D37DC 3B A1 00 68 */ addi r29, r1, 0x68
/* 802D6880 002D37E0 38 0B 97 A0 */ addi r0, r11, lbl_804797A0@l
/* 802D6884 002D37E4 7C 64 1B 78 */ mr r4, r3
/* 802D6888 002D37E8 90 61 00 08 */ stw r3, 8(r1)
/* 802D688C 002D37EC 7C 03 03 78 */ mr r3, r0
/* 802D6890 002D37F0 90 A1 00 10 */ stw r5, 0x10(r1)
/* 802D6894 002D37F4 7F A5 EB 78 */ mr r5, r29
/* 802D6898 002D37F8 90 C1 00 14 */ stw r6, 0x14(r1)
/* 802D689C 002D37FC 90 E1 00 18 */ stw r7, 0x18(r1)
/* 802D68A0 002D3800 91 01 00 1C */ stw r8, 0x1c(r1)
/* 802D68A4 002D3804 91 21 00 20 */ stw r9, 0x20(r1)
/* 802D68A8 002D3808 91 41 00 24 */ stw r10, 0x24(r1)
/* 802D68AC 002D380C 93 C1 00 68 */ stw r30, 0x68(r1)
/* 802D68B0 002D3810 93 E1 00 6C */ stw r31, 0x6c(r1)
/* 802D68B4 002D3814 91 81 00 70 */ stw r12, 0x70(r1)
/* 802D68B8 002D3818 48 0B 75 05 */ bl vsprintf
/* 802D68BC 002D381C 90 6D A6 8C */ stw r3, lbl_805A924C@sda21(r13)
/* 802D68C0 002D3820 38 61 00 78 */ addi r3, r1, 0x78
/* 802D68C4 002D3824 48 0A 8B C1 */ bl OSSaveContext
/* 802D68C8 002D3828 3C 60 D1 DD */ lis r3, 0xD1DD0D1E@ha
/* 802D68CC 002D382C 38 81 00 78 */ addi r4, r1, 0x78
/* 802D68D0 002D3830 38 C3 0D 1E */ addi r6, r3, 0xD1DD0D1E@l
/* 802D68D4 002D3834 38 60 00 FF */ li r3, 0xff
/* 802D68D8 002D3838 38 A0 00 00 */ li r5, 0
/* 802D68DC 002D383C 48 00 00 7D */ bl sub_802d6958
/* 802D68E0 002D3840 80 01 03 54 */ lwz r0, 0x354(r1)
/* 802D68E4 002D3844 83 E1 03 4C */ lwz r31, 0x34c(r1)
/* 802D68E8 002D3848 83 C1 03 48 */ lwz r30, 0x348(r1)
/* 802D68EC 002D384C 83 A1 03 44 */ lwz r29, 0x344(r1)
/* 802D68F0 002D3850 7C 08 03 A6 */ mtlr r0
/* 802D68F4 002D3854 38 21 03 50 */ addi r1, r1, 0x350
/* 802D68F8 002D3858 4E 80 00 20 */ blr
.global SetErrorHandlers
SetErrorHandlers:
/* 802D68FC 002D385C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802D6900 002D3860 7C 08 02 A6 */ mflr r0
/* 802D6904 002D3864 3C 80 80 2D */ lis r4, sub_802d6958@ha
/* 802D6908 002D3868 38 60 00 02 */ li r3, 2
/* 802D690C 002D386C 90 01 00 14 */ stw r0, 0x14(r1)
/* 802D6910 002D3870 38 84 69 58 */ addi r4, r4, sub_802d6958@l
/* 802D6914 002D3874 48 0A 92 45 */ bl OSSetErrorHandler
/* 802D6918 002D3878 3C 80 80 2D */ lis r4, sub_802d6958@ha
/* 802D691C 002D387C 38 60 00 03 */ li r3, 3
/* 802D6920 002D3880 38 84 69 58 */ addi r4, r4, sub_802d6958@l
/* 802D6924 002D3884 48 0A 92 35 */ bl OSSetErrorHandler
/* 802D6928 002D3888 3C 80 80 2D */ lis r4, sub_802d6958@ha
/* 802D692C 002D388C 38 60 00 05 */ li r3, 5
/* 802D6930 002D3890 38 84 69 58 */ addi r4, r4, sub_802d6958@l
/* 802D6934 002D3894 48 0A 92 25 */ bl OSSetErrorHandler
/* 802D6938 002D3898 3C 80 80 2D */ lis r4, sub_802d6958@ha
/* 802D693C 002D389C 38 60 00 0F */ li r3, 0xf
/* 802D6940 002D38A0 38 84 69 58 */ addi r4, r4, sub_802d6958@l
/* 802D6944 002D38A4 48 0A 92 15 */ bl OSSetErrorHandler
/* 802D6948 002D38A8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802D694C 002D38AC 7C 08 03 A6 */ mtlr r0
/* 802D6950 002D38B0 38 21 00 10 */ addi r1, r1, 0x10
/* 802D6954 002D38B4 4E 80 00 20 */ blr
.global sub_802d6958
sub_802d6958:
/* 802D6958 002D38B8 94 21 FF 90 */ stwu r1, -0x70(r1)
/* 802D695C 002D38BC 7C 08 02 A6 */ mflr r0
/* 802D6960 002D38C0 90 01 00 74 */ stw r0, 0x74(r1)
/* 802D6964 002D38C4 54 60 04 3E */ clrlwi r0, r3, 0x10
/* 802D6968 002D38C8 28 00 00 0F */ cmplwi r0, 0xf
/* 802D696C 002D38CC BE E1 00 4C */ stmw r23, 0x4c(r1)
/* 802D6970 002D38D0 7C 7A 1B 78 */ mr r26, r3
/* 802D6974 002D38D4 7C 9B 23 78 */ mr r27, r4
/* 802D6978 002D38D8 7C BC 2B 78 */ mr r28, r5
/* 802D697C 002D38DC 7C DD 33 78 */ mr r29, r6
/* 802D6980 002D38E0 40 82 00 1C */ bne lbl_802D699C
/* 802D6984 002D38E4 57 80 06 F7 */ rlwinm. r0, r28, 0, 0x1b, 0x1b
/* 802D6988 002D38E8 40 82 03 E8 */ bne lbl_802D6D70
/* 802D698C 002D38EC 3C 00 01 80 */ lis r0, 0x180
/* 802D6990 002D38F0 7C 1D 00 40 */ cmplw r29, r0
/* 802D6994 002D38F4 40 81 00 08 */ ble lbl_802D699C
/* 802D6998 002D38F8 48 00 03 D8 */ b lbl_802D6D70
lbl_802D699C:
/* 802D699C 002D38FC 38 60 00 03 */ li r3, 3
/* 802D69A0 002D3900 38 80 00 00 */ li r4, 0
/* 802D69A4 002D3904 38 A0 00 00 */ li r5, 0
/* 802D69A8 002D3908 38 C0 00 03 */ li r6, 3
/* 802D69AC 002D390C 48 0A C1 11 */ bl OSProtectRange
/* 802D69B0 002D3910 3A E0 00 00 */ li r23, 0
/* 802D69B4 002D3914 38 60 00 00 */ li r3, 0
/* 802D69B8 002D3918 38 80 00 00 */ li r4, 0
/* 802D69BC 002D391C 48 0B 02 21 */ bl sub_80386bdc
/* 802D69C0 002D3920 38 60 00 01 */ li r3, 1
/* 802D69C4 002D3924 48 0B 28 E9 */ bl VISetBlack
/* 802D69C8 002D3928 48 0B 27 49 */ bl VIFlush
/* 802D69CC 002D392C 48 00 00 74 */ b lbl_802D6A40
lbl_802D69D0:
/* 802D69D0 002D3930 38 61 00 14 */ addi r3, r1, 0x14
/* 802D69D4 002D3934 48 0A FD A5 */ bl PADRead
/* 802D69D8 002D3938 88 01 00 2A */ lbz r0, 0x2a(r1)
/* 802D69DC 002D393C 7C 00 07 75 */ extsb. r0, r0
/* 802D69E0 002D3940 40 82 00 60 */ bne lbl_802D6A40
/* 802D69E4 002D3944 A0 81 00 20 */ lhz r4, 0x20(r1)
/* 802D69E8 002D3948 80 62 C5 88 */ lwz r3, lbl_805AE2A8@sda21(r2)
/* 802D69EC 002D394C 70 80 0C 10 */ andi. r0, r4, 0xc10
/* 802D69F0 002D3950 90 61 00 10 */ stw r3, 0x10(r1)
/* 802D69F4 002D3954 2C 00 0C 10 */ cmpwi r0, 0xc10
/* 802D69F8 002D3958 40 82 00 44 */ bne lbl_802D6A3C
/* 802D69FC 002D395C 54 80 07 3F */ clrlwi. r0, r4, 0x1c
/* 802D6A00 002D3960 41 82 00 40 */ beq lbl_802D6A40
/* 802D6A04 002D3964 38 61 00 10 */ addi r3, r1, 0x10
/* 802D6A08 002D3968 7C 63 BA 14 */ add r3, r3, r23
/* 802D6A0C 002D396C 88 03 00 00 */ lbz r0, 0(r3)
/* 802D6A10 002D3970 7C 80 00 39 */ and. r0, r4, r0
/* 802D6A14 002D3974 41 82 00 0C */ beq lbl_802D6A20
/* 802D6A18 002D3978 3A F7 00 01 */ addi r23, r23, 1
/* 802D6A1C 002D397C 48 00 00 24 */ b lbl_802D6A40
lbl_802D6A20:
/* 802D6A20 002D3980 28 17 00 00 */ cmplwi r23, 0
/* 802D6A24 002D3984 41 82 00 1C */ beq lbl_802D6A40
/* 802D6A28 002D3988 88 03 FF FF */ lbz r0, -1(r3)
/* 802D6A2C 002D398C 7C 80 00 39 */ and. r0, r4, r0
/* 802D6A30 002D3990 40 82 00 10 */ bne lbl_802D6A40
/* 802D6A34 002D3994 3A E0 00 00 */ li r23, 0
/* 802D6A38 002D3998 48 00 00 08 */ b lbl_802D6A40
lbl_802D6A3C:
/* 802D6A3C 002D399C 3A E0 00 00 */ li r23, 0
lbl_802D6A40:
/* 802D6A40 002D39A0 28 17 00 04 */ cmplwi r23, 4
/* 802D6A44 002D39A4 41 80 FF 8C */ blt lbl_802D69D0
/* 802D6A48 002D39A8 38 60 00 00 */ li r3, 0
/* 802D6A4C 002D39AC 48 0B 28 61 */ bl VISetBlack
/* 802D6A50 002D39B0 48 0B 26 C1 */ bl VIFlush
/* 802D6A54 002D39B4 3C 60 80 3D */ lis r3, lbl_803D6AB8@ha
/* 802D6A58 002D39B8 57 5F 04 3E */ clrlwi r31, r26, 0x10
/* 802D6A5C 002D39BC 38 63 6A B8 */ addi r3, r3, lbl_803D6AB8@l
/* 802D6A60 002D39C0 7F E4 FB 78 */ mr r4, r31
/* 802D6A64 002D39C4 4C C6 31 82 */ crclr 6
/* 802D6A68 002D39C8 48 0A 8F 45 */ bl OSReport
/* 802D6A6C 002D39CC 3C 60 80 3D */ lis r3, lbl_803D6AB8@ha
/* 802D6A70 002D39D0 80 82 82 88 */ lwz r4, lbl_805A9FA8@sda21(r2)
/* 802D6A74 002D39D4 38 63 6A B8 */ addi r3, r3, lbl_803D6AB8@l
/* 802D6A78 002D39D8 38 63 00 25 */ addi r3, r3, 0x25
/* 802D6A7C 002D39DC 4C C6 31 82 */ crclr 6
/* 802D6A80 002D39E0 48 0A 8F 2D */ bl OSReport
/* 802D6A84 002D39E4 3C 60 80 3D */ lis r3, lbl_803D6AB8@ha
/* 802D6A88 002D39E8 7F 64 DB 78 */ mr r4, r27
/* 802D6A8C 002D39EC 38 63 6A B8 */ addi r3, r3, lbl_803D6AB8@l
/* 802D6A90 002D39F0 38 63 00 29 */ addi r3, r3, 0x29
/* 802D6A94 002D39F4 4C C6 31 82 */ crclr 6
/* 802D6A98 002D39F8 48 0A 8F 15 */ bl OSReport
/* 802D6A9C 002D39FC 3C 60 80 3D */ lis r3, lbl_803D6AB8@ha
/* 802D6AA0 002D3A00 7F 79 DB 78 */ mr r25, r27
/* 802D6AA4 002D3A04 3B 03 6A B8 */ addi r24, r3, lbl_803D6AB8@l
/* 802D6AA8 002D3A08 3A E0 00 00 */ li r23, 0
lbl_802D6AAC:
/* 802D6AAC 002D3A0C 81 19 00 40 */ lwz r8, 0x40(r25)
/* 802D6AB0 002D3A10 7E E4 BB 78 */ mr r4, r23
/* 802D6AB4 002D3A14 80 B9 00 00 */ lwz r5, 0(r25)
/* 802D6AB8 002D3A18 38 78 00 6D */ addi r3, r24, 0x6d
/* 802D6ABC 002D3A1C 7D 09 43 78 */ mr r9, r8
/* 802D6AC0 002D3A20 38 F7 00 10 */ addi r7, r23, 0x10
/* 802D6AC4 002D3A24 7C A6 2B 78 */ mr r6, r5
/* 802D6AC8 002D3A28 4C C6 31 82 */ crclr 6
/* 802D6ACC 002D3A2C 48 0A 8E E1 */ bl OSReport
/* 802D6AD0 002D3A30 3A F7 00 01 */ addi r23, r23, 1
/* 802D6AD4 002D3A34 3B 39 00 04 */ addi r25, r25, 4
/* 802D6AD8 002D3A38 28 17 00 10 */ cmplwi r23, 0x10
/* 802D6ADC 002D3A3C 41 80 FF D0 */ blt lbl_802D6AAC
/* 802D6AE0 002D3A40 3C 60 80 3D */ lis r3, lbl_803D6AB8@ha
/* 802D6AE4 002D3A44 80 9B 00 84 */ lwz r4, 0x84(r27)
/* 802D6AE8 002D3A48 38 63 6A B8 */ addi r3, r3, lbl_803D6AB8@l
/* 802D6AEC 002D3A4C 80 BB 00 80 */ lwz r5, 0x80(r27)
/* 802D6AF0 002D3A50 38 63 00 9D */ addi r3, r3, 0x9d
/* 802D6AF4 002D3A54 4C C6 31 82 */ crclr 6
/* 802D6AF8 002D3A58 48 0A 8E B5 */ bl OSReport
/* 802D6AFC 002D3A5C 3C 60 80 3D */ lis r3, lbl_803D6AB8@ha
/* 802D6B00 002D3A60 80 9B 01 98 */ lwz r4, 0x198(r27)
/* 802D6B04 002D3A64 38 63 6A B8 */ addi r3, r3, lbl_803D6AB8@l
/* 802D6B08 002D3A68 80 BB 01 9C */ lwz r5, 0x19c(r27)
/* 802D6B0C 002D3A6C 38 63 00 CC */ addi r3, r3, 0xcc
/* 802D6B10 002D3A70 4C C6 31 82 */ crclr 6
/* 802D6B14 002D3A74 48 0A 8E 99 */ bl OSReport
/* 802D6B18 002D3A78 3C 60 80 3D */ lis r3, lbl_803D6AB8@ha
/* 802D6B1C 002D3A7C 7F 84 E3 78 */ mr r4, r28
/* 802D6B20 002D3A80 38 63 6A B8 */ addi r3, r3, lbl_803D6AB8@l
/* 802D6B24 002D3A84 7F A5 EB 78 */ mr r5, r29
/* 802D6B28 002D3A88 38 63 00 FB */ addi r3, r3, 0xfb
/* 802D6B2C 002D3A8C 4C C6 31 82 */ crclr 6
/* 802D6B30 002D3A90 48 0A 8E 7D */ bl OSReport
/* 802D6B34 002D3A94 83 0D A6 8C */ lwz r24, lbl_805A924C@sda21(r13)
/* 802D6B38 002D3A98 2C 18 00 00 */ cmpwi r24, 0
/* 802D6B3C 002D3A9C 41 82 00 2C */ beq lbl_802D6B68
/* 802D6B40 002D3AA0 3C 80 80 48 */ lis r4, lbl_804797A0@ha
/* 802D6B44 002D3AA4 3C 60 80 3D */ lis r3, lbl_803D6AB8@ha
/* 802D6B48 002D3AA8 38 04 97 A0 */ addi r0, r4, lbl_804797A0@l
/* 802D6B4C 002D3AAC 38 83 6A B8 */ addi r4, r3, lbl_803D6AB8@l
/* 802D6B50 002D3AB0 7C 60 C2 14 */ add r3, r0, r24
/* 802D6B54 002D3AB4 38 84 01 2A */ addi r4, r4, 0x12a
/* 802D6B58 002D3AB8 4C C6 31 82 */ crclr 6
/* 802D6B5C 002D3ABC 48 0B 71 81 */ bl sprintf
/* 802D6B60 002D3AC0 7F 18 1A 14 */ add r24, r24, r3
/* 802D6B64 002D3AC4 48 00 00 28 */ b lbl_802D6B8C
lbl_802D6B68:
/* 802D6B68 002D3AC8 3C 80 80 3D */ lis r4, lbl_803D6AB8@ha
/* 802D6B6C 002D3ACC 3C 60 80 48 */ lis r3, lbl_804797A0@ha
/* 802D6B70 002D3AD0 38 84 6A B8 */ addi r4, r4, lbl_803D6AB8@l
/* 802D6B74 002D3AD4 7F E5 FB 78 */ mr r5, r31
/* 802D6B78 002D3AD8 38 63 97 A0 */ addi r3, r3, lbl_804797A0@l
/* 802D6B7C 002D3ADC 38 84 01 39 */ addi r4, r4, 0x139
/* 802D6B80 002D3AE0 4C C6 31 82 */ crclr 6
/* 802D6B84 002D3AE4 48 0B 71 59 */ bl sprintf
/* 802D6B88 002D3AE8 7F 18 1A 14 */ add r24, r24, r3
lbl_802D6B8C:
/* 802D6B8C 002D3AEC 3C 80 80 48 */ lis r4, lbl_804797A0@ha
/* 802D6B90 002D3AF0 3C 60 80 3D */ lis r3, lbl_803D6AB8@ha
/* 802D6B94 002D3AF4 38 04 97 A0 */ addi r0, r4, lbl_804797A0@l
/* 802D6B98 002D3AF8 80 A2 82 88 */ lwz r5, lbl_805A9FA8@sda21(r2)
/* 802D6B9C 002D3AFC 38 83 6A B8 */ addi r4, r3, lbl_803D6AB8@l
/* 802D6BA0 002D3B00 7C 60 C2 14 */ add r3, r0, r24
/* 802D6BA4 002D3B04 38 84 00 25 */ addi r4, r4, 0x25
/* 802D6BA8 002D3B08 4C C6 31 82 */ crclr 6
/* 802D6BAC 002D3B0C 48 0B 71 31 */ bl sprintf
/* 802D6BB0 002D3B10 3C A0 80 48 */ lis r5, lbl_804797A0@ha
/* 802D6BB4 002D3B14 3C 80 80 3D */ lis r4, lbl_803D6AB8@ha
/* 802D6BB8 002D3B18 38 84 6A B8 */ addi r4, r4, lbl_803D6AB8@l
/* 802D6BBC 002D3B1C 7F D8 1A 14 */ add r30, r24, r3
/* 802D6BC0 002D3B20 38 05 97 A0 */ addi r0, r5, lbl_804797A0@l
/* 802D6BC4 002D3B24 80 BB 01 98 */ lwz r5, 0x198(r27)
/* 802D6BC8 002D3B28 7F A6 EB 78 */ mr r6, r29
/* 802D6BCC 002D3B2C 38 84 01 54 */ addi r4, r4, 0x154
/* 802D6BD0 002D3B30 7C 60 F2 14 */ add r3, r0, r30
/* 802D6BD4 002D3B34 4C C6 31 82 */ crclr 6
/* 802D6BD8 002D3B38 48 0B 71 05 */ bl sprintf
/* 802D6BDC 002D3B3C 57 40 04 3E */ clrlwi r0, r26, 0x10
/* 802D6BE0 002D3B40 7F DE 1A 14 */ add r30, r30, r3
/* 802D6BE4 002D3B44 28 00 00 0F */ cmplwi r0, 0xf
/* 802D6BE8 002D3B48 40 82 00 2C */ bne lbl_802D6C14
/* 802D6BEC 002D3B4C 3C 80 80 48 */ lis r4, lbl_804797A0@ha
/* 802D6BF0 002D3B50 3C 60 80 3D */ lis r3, lbl_803D6AB8@ha
/* 802D6BF4 002D3B54 38 04 97 A0 */ addi r0, r4, lbl_804797A0@l
/* 802D6BF8 002D3B58 7F 85 E3 78 */ mr r5, r28
/* 802D6BFC 002D3B5C 38 83 6A B8 */ addi r4, r3, lbl_803D6AB8@l
/* 802D6C00 002D3B60 7C 60 F2 14 */ add r3, r0, r30
/* 802D6C04 002D3B64 38 84 01 6E */ addi r4, r4, 0x16e
/* 802D6C08 002D3B68 4C C6 31 82 */ crclr 6
/* 802D6C0C 002D3B6C 48 0B 70 D1 */ bl sprintf
/* 802D6C10 002D3B70 7F DE 1A 14 */ add r30, r30, r3
lbl_802D6C14:
/* 802D6C14 002D3B74 3C 80 80 48 */ lis r4, lbl_804797A0@ha
/* 802D6C18 002D3B78 3C 60 80 3D */ lis r3, lbl_803D6AB8@ha
/* 802D6C1C 002D3B7C 38 04 97 A0 */ addi r0, r4, lbl_804797A0@l
/* 802D6C20 002D3B80 38 83 6A B8 */ addi r4, r3, lbl_803D6AB8@l
/* 802D6C24 002D3B84 7C 60 F2 14 */ add r3, r0, r30
/* 802D6C28 002D3B88 38 84 01 74 */ addi r4, r4, 0x174
/* 802D6C2C 002D3B8C 4C C6 31 82 */ crclr 6
/* 802D6C30 002D3B90 48 0B 70 AD */ bl sprintf
/* 802D6C34 002D3B94 3C 80 80 3D */ lis r4, lbl_803D6AB8@ha
/* 802D6C38 002D3B98 7F DE 1A 14 */ add r30, r30, r3
/* 802D6C3C 002D3B9C 38 64 6A B8 */ addi r3, r4, lbl_803D6AB8@l
/* 802D6C40 002D3BA0 38 63 01 77 */ addi r3, r3, 0x177
/* 802D6C44 002D3BA4 4C C6 31 82 */ crclr 6
/* 802D6C48 002D3BA8 48 0A 8D 65 */ bl OSReport
/* 802D6C4C 002D3BAC 3C A0 80 00 */ lis r5, 0x80000400@ha
/* 802D6C50 002D3BB0 3C 80 80 3D */ lis r4, lbl_803D6AB8@ha
/* 802D6C54 002D3BB4 3C 60 80 48 */ lis r3, lbl_804797A0@ha
/* 802D6C58 002D3BB8 83 FB 00 04 */ lwz r31, 4(r27)
/* 802D6C5C 002D3BBC 3B 05 04 00 */ addi r24, r5, 0x80000400@l
/* 802D6C60 002D3BC0 3B 84 6A B8 */ addi r28, r4, lbl_803D6AB8@l
/* 802D6C64 002D3BC4 3B 43 97 A0 */ addi r26, r3, lbl_804797A0@l
/* 802D6C68 002D3BC8 3A E0 00 00 */ li r23, 0
/* 802D6C6C 002D3BCC 3F 20 81 80 */ lis r25, 0x8180
/* 802D6C70 002D3BD0 48 00 00 94 */ b lbl_802D6D04
lbl_802D6C74:
/* 802D6C74 002D3BD4 7C 1F C0 40 */ cmplw r31, r24
/* 802D6C78 002D3BD8 40 81 00 48 */ ble lbl_802D6CC0
/* 802D6C7C 002D3BDC 7C 1F C8 40 */ cmplw r31, r25
/* 802D6C80 002D3BE0 40 80 00 40 */ bge lbl_802D6CC0
/* 802D6C84 002D3BE4 80 BF 00 00 */ lwz r5, 0(r31)
/* 802D6C88 002D3BE8 7F E4 FB 78 */ mr r4, r31
/* 802D6C8C 002D3BEC 80 DF 00 04 */ lwz r6, 4(r31)
/* 802D6C90 002D3BF0 38 7C 01 9D */ addi r3, r28, 0x19d
/* 802D6C94 002D3BF4 4C C6 31 82 */ crclr 6
/* 802D6C98 002D3BF8 48 0A 8D 15 */ bl OSReport
/* 802D6C9C 002D3BFC 80 DF 00 00 */ lwz r6, 0(r31)
/* 802D6CA0 002D3C00 7F E5 FB 78 */ mr r5, r31
/* 802D6CA4 002D3C04 80 FF 00 04 */ lwz r7, 4(r31)
/* 802D6CA8 002D3C08 7C 7A F2 14 */ add r3, r26, r30
/* 802D6CAC 002D3C0C 38 9C 01 B9 */ addi r4, r28, 0x1b9
/* 802D6CB0 002D3C10 4C C6 31 82 */ crclr 6
/* 802D6CB4 002D3C14 48 0B 70 29 */ bl sprintf
/* 802D6CB8 002D3C18 7F DE 1A 14 */ add r30, r30, r3
/* 802D6CBC 002D3C1C 48 00 00 44 */ b lbl_802D6D00
lbl_802D6CC0:
/* 802D6CC0 002D3C20 3C 60 80 3D */ lis r3, lbl_803D6AB8@ha
/* 802D6CC4 002D3C24 7F E4 FB 78 */ mr r4, r31
/* 802D6CC8 002D3C28 38 63 6A B8 */ addi r3, r3, lbl_803D6AB8@l
/* 802D6CCC 002D3C2C 38 63 01 D0 */ addi r3, r3, 0x1d0
/* 802D6CD0 002D3C30 4C C6 31 82 */ crclr 6
/* 802D6CD4 002D3C34 48 0A 8C D9 */ bl OSReport
/* 802D6CD8 002D3C38 3C 80 80 48 */ lis r4, lbl_804797A0@ha
/* 802D6CDC 002D3C3C 3C 60 80 3D */ lis r3, lbl_803D6AB8@ha
/* 802D6CE0 002D3C40 38 04 97 A0 */ addi r0, r4, lbl_804797A0@l
/* 802D6CE4 002D3C44 7F E5 FB 78 */ mr r5, r31
/* 802D6CE8 002D3C48 38 83 6A B8 */ addi r4, r3, lbl_803D6AB8@l
/* 802D6CEC 002D3C4C 7C 60 F2 14 */ add r3, r0, r30
/* 802D6CF0 002D3C50 38 84 01 E3 */ addi r4, r4, 0x1e3
/* 802D6CF4 002D3C54 4C C6 31 82 */ crclr 6
/* 802D6CF8 002D3C58 48 0B 6F E5 */ bl sprintf
/* 802D6CFC 002D3C5C 48 00 00 28 */ b lbl_802D6D24
lbl_802D6D00:
/* 802D6D00 002D3C60 83 FF 00 00 */ lwz r31, 0(r31)
lbl_802D6D04:
/* 802D6D04 002D3C64 28 1F 00 00 */ cmplwi r31, 0
/* 802D6D08 002D3C68 41 82 00 1C */ beq lbl_802D6D24
/* 802D6D0C 002D3C6C 3C 1F 00 01 */ addis r0, r31, 1
/* 802D6D10 002D3C70 28 00 FF FF */ cmplwi r0, 0xffff
/* 802D6D14 002D3C74 41 82 00 10 */ beq lbl_802D6D24
/* 802D6D18 002D3C78 28 17 00 10 */ cmplwi r23, 0x10
/* 802D6D1C 002D3C7C 3A F7 00 01 */ addi r23, r23, 1
/* 802D6D20 002D3C80 41 80 FF 54 */ blt lbl_802D6C74
lbl_802D6D24:
/* 802D6D24 002D3C84 3C 60 80 3D */ lis r3, lbl_803D6AB8@ha
/* 802D6D28 002D3C88 80 9B 01 98 */ lwz r4, 0x198(r27)
/* 802D6D2C 002D3C8C 38 63 6A B8 */ addi r3, r3, lbl_803D6AB8@l
/* 802D6D30 002D3C90 7F A5 EB 78 */ mr r5, r29
/* 802D6D34 002D3C94 38 63 01 F4 */ addi r3, r3, 0x1f4
/* 802D6D38 002D3C98 4C C6 31 82 */ crclr 6
/* 802D6D3C 002D3C9C 48 0A 8C 71 */ bl OSReport
/* 802D6D40 002D3CA0 88 0D A6 88 */ lbz r0, lbl_805A9248@sda21(r13)
/* 802D6D44 002D3CA4 28 00 00 00 */ cmplwi r0, 0
/* 802D6D48 002D3CA8 40 82 00 28 */ bne lbl_802D6D70
/* 802D6D4C 002D3CAC 80 82 C5 80 */ lwz r4, lbl_805AE2A0@sda21(r2)
/* 802D6D50 002D3CB0 3C 60 80 48 */ lis r3, lbl_804797A0@ha
/* 802D6D54 002D3CB4 80 02 C5 84 */ lwz r0, lbl_805AE2A4@sda21(r2)
/* 802D6D58 002D3CB8 38 A3 97 A0 */ addi r5, r3, lbl_804797A0@l
/* 802D6D5C 002D3CBC 90 81 00 08 */ stw r4, 8(r1)
/* 802D6D60 002D3CC0 38 61 00 0C */ addi r3, r1, 0xc
/* 802D6D64 002D3CC4 38 81 00 08 */ addi r4, r1, 8
/* 802D6D68 002D3CC8 90 01 00 0C */ stw r0, 0xc(r1)
/* 802D6D6C 002D3CCC 48 0A 97 C5 */ bl OSFatal
lbl_802D6D70:
/* 802D6D70 002D3CD0 BA E1 00 4C */ lmw r23, 0x4c(r1)
/* 802D6D74 002D3CD4 80 01 00 74 */ lwz r0, 0x74(r1)
/* 802D6D78 002D3CD8 7C 08 03 A6 */ mtlr r0
/* 802D6D7C 002D3CDC 38 21 00 70 */ addi r1, r1, 0x70
/* 802D6D80 002D3CE0 4E 80 00 20 */ blr

View File

@ -0,0 +1,809 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global GetTableIndex__16CCollidableAABoxCFv
GetTableIndex__16CCollidableAABoxCFv:
/* 802CD4C8 002CA428 80 6D 9B 28 */ lwz r3, lbl_805A86E8@sda21(r13)
/* 802CD4CC 002CA42C 4E 80 00 20 */ blr
.global GetPrimType__16CCollidableAABoxCFv
GetPrimType__16CCollidableAABoxCFv:
/* 802CD4D0 002CA430 3C 60 41 41 */ lis r3, 0x41414258@ha
/* 802CD4D4 002CA434 38 63 42 58 */ addi r3, r3, 0x41414258@l
/* 802CD4D8 002CA438 4E 80 00 20 */ blr
.global Transform__16CCollidableAABoxCFRC12CTransform4f
Transform__16CCollidableAABoxCFRC12CTransform4f:
/* 802CD4DC 002CA43C 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 802CD4E0 002CA440 7C 08 02 A6 */ mflr r0
/* 802CD4E4 002CA444 90 01 00 24 */ stw r0, 0x24(r1)
/* 802CD4E8 002CA448 C0 45 00 2C */ lfs f2, 0x2c(r5)
/* 802CD4EC 002CA44C C0 04 00 18 */ lfs f0, 0x18(r4)
/* 802CD4F0 002CA450 C0 24 00 24 */ lfs f1, 0x24(r4)
/* 802CD4F4 002CA454 EC 60 10 2A */ fadds f3, f0, f2
/* 802CD4F8 002CA458 C0 E5 00 1C */ lfs f7, 0x1c(r5)
/* 802CD4FC 002CA45C EC 81 10 2A */ fadds f4, f1, f2
/* 802CD500 002CA460 C0 04 00 20 */ lfs f0, 0x20(r4)
/* 802CD504 002CA464 C0 C5 00 0C */ lfs f6, 0xc(r5)
/* 802CD508 002CA468 38 A1 00 08 */ addi r5, r1, 8
/* 802CD50C 002CA46C EC A0 38 2A */ fadds f5, f0, f7
/* 802CD510 002CA470 C0 44 00 1C */ lfs f2, 0x1c(r4)
/* 802CD514 002CA474 C0 24 00 14 */ lfs f1, 0x14(r4)
/* 802CD518 002CA478 C0 04 00 10 */ lfs f0, 0x10(r4)
/* 802CD51C 002CA47C EC 42 30 2A */ fadds f2, f2, f6
/* 802CD520 002CA480 EC 21 38 2A */ fadds f1, f1, f7
/* 802CD524 002CA484 EC 00 30 2A */ fadds f0, f0, f6
/* 802CD528 002CA488 D0 A1 00 0C */ stfs f5, 0xc(r1)
/* 802CD52C 002CA48C 38 81 00 14 */ addi r4, r1, 0x14
/* 802CD530 002CA490 D0 41 00 08 */ stfs f2, 8(r1)
/* 802CD534 002CA494 D0 81 00 10 */ stfs f4, 0x10(r1)
/* 802CD538 002CA498 D0 01 00 14 */ stfs f0, 0x14(r1)
/* 802CD53C 002CA49C D0 21 00 18 */ stfs f1, 0x18(r1)
/* 802CD540 002CA4A0 D0 61 00 1C */ stfs f3, 0x1c(r1)
/* 802CD544 002CA4A4 48 06 AF C5 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f
/* 802CD548 002CA4A8 80 01 00 24 */ lwz r0, 0x24(r1)
/* 802CD54C 002CA4AC 7C 08 03 A6 */ mtlr r0
/* 802CD550 002CA4B0 38 21 00 20 */ addi r1, r1, 0x20
/* 802CD554 002CA4B4 4E 80 00 20 */ blr
.global CalculateAABox__16CCollidableAABoxCFRC12CTransform4f
CalculateAABox__16CCollidableAABoxCFRC12CTransform4f:
/* 802CD558 002CA4B8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802CD55C 002CA4BC 7C 08 02 A6 */ mflr r0
/* 802CD560 002CA4C0 90 01 00 14 */ stw r0, 0x14(r1)
/* 802CD564 002CA4C4 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802CD568 002CA4C8 7C 7F 1B 78 */ mr r31, r3
/* 802CD56C 002CA4CC 4B FF FF 71 */ bl Transform__16CCollidableAABoxCFRC12CTransform4f
/* 802CD570 002CA4D0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802CD574 002CA4D4 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802CD578 002CA4D8 7C 08 03 A6 */ mtlr r0
/* 802CD57C 002CA4DC 38 21 00 10 */ addi r1, r1, 0x10
/* 802CD580 002CA4E0 4E 80 00 20 */ blr
.global CalculateLocalAABox__16CCollidableAABoxCFv
CalculateLocalAABox__16CCollidableAABoxCFv:
/* 802CD584 002CA4E4 C0 04 00 10 */ lfs f0, 0x10(r4)
/* 802CD588 002CA4E8 D0 03 00 00 */ stfs f0, 0(r3)
/* 802CD58C 002CA4EC C0 04 00 14 */ lfs f0, 0x14(r4)
/* 802CD590 002CA4F0 D0 03 00 04 */ stfs f0, 4(r3)
/* 802CD594 002CA4F4 C0 04 00 18 */ lfs f0, 0x18(r4)
/* 802CD598 002CA4F8 D0 03 00 08 */ stfs f0, 8(r3)
/* 802CD59C 002CA4FC C0 04 00 1C */ lfs f0, 0x1c(r4)
/* 802CD5A0 002CA500 D0 03 00 0C */ stfs f0, 0xc(r3)
/* 802CD5A4 002CA504 C0 04 00 20 */ lfs f0, 0x20(r4)
/* 802CD5A8 002CA508 D0 03 00 10 */ stfs f0, 0x10(r3)
/* 802CD5AC 002CA50C C0 04 00 24 */ lfs f0, 0x24(r4)
/* 802CD5B0 002CA510 D0 03 00 14 */ stfs f0, 0x14(r3)
/* 802CD5B4 002CA514 4E 80 00 20 */ blr
.global CastRayInternal__16CCollidableAABoxCFRC25CInternalRayCastStructure
CastRayInternal__16CCollidableAABoxCFRC25CInternalRayCastStructure:
/* 802CD5B8 002CA518 94 21 FE 80 */ stwu r1, -0x180(r1)
/* 802CD5BC 002CA51C 7C 08 02 A6 */ mflr r0
/* 802CD5C0 002CA520 90 01 01 84 */ stw r0, 0x184(r1)
/* 802CD5C4 002CA524 DB E1 01 70 */ stfd f31, 0x170(r1)
/* 802CD5C8 002CA528 F3 E1 01 78 */ psq_st f31, 376(r1), 0, qr0
/* 802CD5CC 002CA52C DB C1 01 60 */ stfd f30, 0x160(r1)
/* 802CD5D0 002CA530 F3 C1 01 68 */ psq_st f30, 360(r1), 0, qr0
/* 802CD5D4 002CA534 DB A1 01 50 */ stfd f29, 0x150(r1)
/* 802CD5D8 002CA538 F3 A1 01 58 */ psq_st f29, 344(r1), 0, qr0
/* 802CD5DC 002CA53C DB 81 01 40 */ stfd f28, 0x140(r1)
/* 802CD5E0 002CA540 F3 81 01 48 */ psq_st f28, 328(r1), 0, qr0
/* 802CD5E4 002CA544 93 E1 01 3C */ stw r31, 0x13c(r1)
/* 802CD5E8 002CA548 93 C1 01 38 */ stw r30, 0x138(r1)
/* 802CD5EC 002CA54C 93 A1 01 34 */ stw r29, 0x134(r1)
/* 802CD5F0 002CA550 93 81 01 30 */ stw r28, 0x130(r1)
/* 802CD5F4 002CA554 7C 9C 23 78 */ mr r28, r4
/* 802CD5F8 002CA558 7C 7F 1B 78 */ mr r31, r3
/* 802CD5FC 002CA55C 7F 83 E3 78 */ mr r3, r28
/* 802CD600 002CA560 7C BD 2B 78 */ mr r29, r5
/* 802CD604 002CA564 81 9C 00 00 */ lwz r12, 0(r28)
/* 802CD608 002CA568 83 C5 00 6C */ lwz r30, 0x6c(r5)
/* 802CD60C 002CA56C 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 802CD610 002CA570 7D 89 03 A6 */ mtctr r12
/* 802CD614 002CA574 4E 80 04 21 */ bctrl
/* 802CD618 002CA578 7C 64 1B 78 */ mr r4, r3
/* 802CD61C 002CA57C 7F C3 F3 78 */ mr r3, r30
/* 802CD620 002CA580 48 00 7D 2D */ bl Passes__15CMaterialFilterCFRC13CMaterialList
/* 802CD624 002CA584 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 802CD628 002CA588 40 82 00 64 */ bne lbl_802CD68C
/* 802CD62C 002CA58C C0 22 C4 80 */ lfs f1, lbl_805AE1A0@sda21(r2)
/* 802CD630 002CA590 38 61 00 24 */ addi r3, r1, 0x24
/* 802CD634 002CA594 C0 02 C4 84 */ lfs f0, lbl_805AE1A4@sda21(r2)
/* 802CD638 002CA598 D0 3F 00 00 */ stfs f1, 0(r31)
/* 802CD63C 002CA59C D0 3F 00 04 */ stfs f1, 4(r31)
/* 802CD640 002CA5A0 D0 3F 00 08 */ stfs f1, 8(r31)
/* 802CD644 002CA5A4 D0 3F 00 0C */ stfs f1, 0xc(r31)
/* 802CD648 002CA5A8 D0 01 00 24 */ stfs f0, 0x24(r1)
/* 802CD64C 002CA5AC D0 21 00 28 */ stfs f1, 0x28(r1)
/* 802CD650 002CA5B0 D0 21 00 2C */ stfs f1, 0x2c(r1)
/* 802CD654 002CA5B4 48 04 72 A5 */ bl Normalize__9CVector3fFv
/* 802CD658 002CA5B8 C0 21 00 24 */ lfs f1, 0x24(r1)
/* 802CD65C 002CA5BC 38 00 00 00 */ li r0, 0
/* 802CD660 002CA5C0 C0 02 C4 80 */ lfs f0, lbl_805AE1A0@sda21(r2)
/* 802CD664 002CA5C4 D0 3F 00 10 */ stfs f1, 0x10(r31)
/* 802CD668 002CA5C8 C0 21 00 28 */ lfs f1, 0x28(r1)
/* 802CD66C 002CA5CC D0 3F 00 14 */ stfs f1, 0x14(r31)
/* 802CD670 002CA5D0 C0 21 00 2C */ lfs f1, 0x2c(r1)
/* 802CD674 002CA5D4 D0 3F 00 18 */ stfs f1, 0x18(r31)
/* 802CD678 002CA5D8 D0 1F 00 1C */ stfs f0, 0x1c(r31)
/* 802CD67C 002CA5DC 98 1F 00 20 */ stb r0, 0x20(r31)
/* 802CD680 002CA5E0 90 1F 00 2C */ stw r0, 0x2c(r31)
/* 802CD684 002CA5E4 90 1F 00 28 */ stw r0, 0x28(r31)
/* 802CD688 002CA5E8 48 00 02 7C */ b lbl_802CD904
lbl_802CD68C:
/* 802CD68C 002CA5EC 38 61 01 00 */ addi r3, r1, 0x100
/* 802CD690 002CA5F0 38 9D 00 3C */ addi r4, r29, 0x3c
/* 802CD694 002CA5F4 48 04 54 E1 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 802CD698 002CA5F8 38 61 00 6C */ addi r3, r1, 0x6c
/* 802CD69C 002CA5FC 38 9D 00 3C */ addi r4, r29, 0x3c
/* 802CD6A0 002CA600 48 04 55 FD */ bl GetQuickInverse__12CTransform4fCFv
/* 802CD6A4 002CA604 38 61 00 D0 */ addi r3, r1, 0xd0
/* 802CD6A8 002CA608 38 81 00 6C */ addi r4, r1, 0x6c
/* 802CD6AC 002CA60C 48 04 54 C9 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 802CD6B0 002CA610 7F A5 EB 78 */ mr r5, r29
/* 802CD6B4 002CA614 38 61 00 3C */ addi r3, r1, 0x3c
/* 802CD6B8 002CA618 38 81 00 D0 */ addi r4, r1, 0xd0
/* 802CD6BC 002CA61C 48 04 54 2D */ bl __ml__12CTransform4fCFRC9CVector3f
/* 802CD6C0 002CA620 C0 41 00 3C */ lfs f2, 0x3c(r1)
/* 802CD6C4 002CA624 38 61 00 30 */ addi r3, r1, 0x30
/* 802CD6C8 002CA628 C0 21 00 40 */ lfs f1, 0x40(r1)
/* 802CD6CC 002CA62C 38 81 00 D0 */ addi r4, r1, 0xd0
/* 802CD6D0 002CA630 C0 01 00 44 */ lfs f0, 0x44(r1)
/* 802CD6D4 002CA634 38 BD 00 2C */ addi r5, r29, 0x2c
/* 802CD6D8 002CA638 D0 41 00 60 */ stfs f2, 0x60(r1)
/* 802CD6DC 002CA63C D0 21 00 64 */ stfs f1, 0x64(r1)
/* 802CD6E0 002CA640 D0 01 00 68 */ stfs f0, 0x68(r1)
/* 802CD6E4 002CA644 48 04 53 9D */ bl Rotate__12CTransform4fCFRC9CVector3f
/* 802CD6E8 002CA648 C0 41 00 30 */ lfs f2, 0x30(r1)
/* 802CD6EC 002CA64C 38 7C 00 10 */ addi r3, r28, 0x10
/* 802CD6F0 002CA650 C0 21 00 34 */ lfs f1, 0x34(r1)
/* 802CD6F4 002CA654 38 81 00 60 */ addi r4, r1, 0x60
/* 802CD6F8 002CA658 C0 01 00 38 */ lfs f0, 0x38(r1)
/* 802CD6FC 002CA65C 38 A1 00 54 */ addi r5, r1, 0x54
/* 802CD700 002CA660 D0 41 00 54 */ stfs f2, 0x54(r1)
/* 802CD704 002CA664 38 C1 00 14 */ addi r6, r1, 0x14
/* 802CD708 002CA668 C3 FD 00 38 */ lfs f31, 0x38(r29)
/* 802CD70C 002CA66C 38 E1 00 10 */ addi r7, r1, 0x10
/* 802CD710 002CA670 D0 21 00 58 */ stfs f1, 0x58(r1)
/* 802CD714 002CA674 39 01 00 0C */ addi r8, r1, 0xc
/* 802CD718 002CA678 39 21 00 08 */ addi r9, r1, 8
/* 802CD71C 002CA67C D0 01 00 5C */ stfs f0, 0x5c(r1)
/* 802CD720 002CA680 48 00 44 89 */ bl BoxLineTest__13CollisionUtilFRC6CAABoxRC9CVector3fRC9CVector3fRfRfRiRb
/* 802CD724 002CA684 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 802CD728 002CA688 41 82 00 24 */ beq lbl_802CD74C
/* 802CD72C 002CA68C C0 21 00 14 */ lfs f1, 0x14(r1)
/* 802CD730 002CA690 C0 02 C4 80 */ lfs f0, lbl_805AE1A0@sda21(r2)
/* 802CD734 002CA694 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 802CD738 002CA698 41 80 00 14 */ blt lbl_802CD74C
/* 802CD73C 002CA69C FC 1F 00 40 */ fcmpo cr0, f31, f0
/* 802CD740 002CA6A0 40 81 00 6C */ ble lbl_802CD7AC
/* 802CD744 002CA6A4 FC 01 F8 40 */ fcmpo cr0, f1, f31
/* 802CD748 002CA6A8 40 81 00 64 */ ble lbl_802CD7AC
lbl_802CD74C:
/* 802CD74C 002CA6AC C0 22 C4 80 */ lfs f1, lbl_805AE1A0@sda21(r2)
/* 802CD750 002CA6B0 38 61 00 18 */ addi r3, r1, 0x18
/* 802CD754 002CA6B4 C0 02 C4 84 */ lfs f0, lbl_805AE1A4@sda21(r2)
/* 802CD758 002CA6B8 D0 3F 00 00 */ stfs f1, 0(r31)
/* 802CD75C 002CA6BC D0 3F 00 04 */ stfs f1, 4(r31)
/* 802CD760 002CA6C0 D0 3F 00 08 */ stfs f1, 8(r31)
/* 802CD764 002CA6C4 D0 3F 00 0C */ stfs f1, 0xc(r31)
/* 802CD768 002CA6C8 D0 01 00 18 */ stfs f0, 0x18(r1)
/* 802CD76C 002CA6CC D0 21 00 1C */ stfs f1, 0x1c(r1)
/* 802CD770 002CA6D0 D0 21 00 20 */ stfs f1, 0x20(r1)
/* 802CD774 002CA6D4 48 04 71 85 */ bl Normalize__9CVector3fFv
/* 802CD778 002CA6D8 C0 21 00 18 */ lfs f1, 0x18(r1)
/* 802CD77C 002CA6DC 38 00 00 00 */ li r0, 0
/* 802CD780 002CA6E0 C0 02 C4 80 */ lfs f0, lbl_805AE1A0@sda21(r2)
/* 802CD784 002CA6E4 D0 3F 00 10 */ stfs f1, 0x10(r31)
/* 802CD788 002CA6E8 C0 21 00 1C */ lfs f1, 0x1c(r1)
/* 802CD78C 002CA6EC D0 3F 00 14 */ stfs f1, 0x14(r31)
/* 802CD790 002CA6F0 C0 21 00 20 */ lfs f1, 0x20(r1)
/* 802CD794 002CA6F4 D0 3F 00 18 */ stfs f1, 0x18(r31)
/* 802CD798 002CA6F8 D0 1F 00 1C */ stfs f0, 0x1c(r31)
/* 802CD79C 002CA6FC 98 1F 00 20 */ stb r0, 0x20(r31)
/* 802CD7A0 002CA700 90 1F 00 2C */ stw r0, 0x2c(r31)
/* 802CD7A4 002CA704 90 1F 00 28 */ stw r0, 0x28(r31)
/* 802CD7A8 002CA708 48 00 01 5C */ b lbl_802CD904
lbl_802CD7AC:
/* 802CD7AC 002CA70C 88 01 00 08 */ lbz r0, 8(r1)
/* 802CD7B0 002CA710 28 00 00 00 */ cmplwi r0, 0
/* 802CD7B4 002CA714 41 82 00 0C */ beq lbl_802CD7C0
/* 802CD7B8 002CA718 C0 62 C4 84 */ lfs f3, lbl_805AE1A4@sda21(r2)
/* 802CD7BC 002CA71C 48 00 00 08 */ b lbl_802CD7C4
lbl_802CD7C0:
/* 802CD7C0 002CA720 C0 62 C4 88 */ lfs f3, lbl_805AE1A8@sda21(r2)
lbl_802CD7C4:
/* 802CD7C4 002CA724 3C 60 80 5A */ lis r3, skZero3f@ha
/* 802CD7C8 002CA728 80 A1 00 0C */ lwz r5, 0xc(r1)
/* 802CD7CC 002CA72C 38 83 66 A0 */ addi r4, r3, skZero3f@l
/* 802CD7D0 002CA730 38 61 00 48 */ addi r3, r1, 0x48
/* 802CD7D4 002CA734 C0 44 00 00 */ lfs f2, 0(r4)
/* 802CD7D8 002CA738 54 A0 10 3A */ slwi r0, r5, 2
/* 802CD7DC 002CA73C C0 24 00 04 */ lfs f1, 4(r4)
/* 802CD7E0 002CA740 2C 05 00 00 */ cmpwi r5, 0
/* 802CD7E4 002CA744 C0 04 00 08 */ lfs f0, 8(r4)
/* 802CD7E8 002CA748 D0 41 00 48 */ stfs f2, 0x48(r1)
/* 802CD7EC 002CA74C D0 21 00 4C */ stfs f1, 0x4c(r1)
/* 802CD7F0 002CA750 D0 01 00 50 */ stfs f0, 0x50(r1)
/* 802CD7F4 002CA754 7C 63 05 2E */ stfsx f3, r3, r0
/* 802CD7F8 002CA758 C3 C1 00 48 */ lfs f30, 0x48(r1)
/* 802CD7FC 002CA75C C3 A1 00 4C */ lfs f29, 0x4c(r1)
/* 802CD800 002CA760 C3 81 00 50 */ lfs f28, 0x50(r1)
/* 802CD804 002CA764 41 82 00 10 */ beq lbl_802CD814
/* 802CD808 002CA768 7C 7C 02 14 */ add r3, r28, r0
/* 802CD80C 002CA76C C3 E3 00 10 */ lfs f31, 0x10(r3)
/* 802CD810 002CA770 48 00 00 10 */ b lbl_802CD820
lbl_802CD814:
/* 802CD814 002CA774 7C 7C 02 14 */ add r3, r28, r0
/* 802CD818 002CA778 C0 03 00 1C */ lfs f0, 0x1c(r3)
/* 802CD81C 002CA77C FF E0 00 50 */ fneg f31, f0
lbl_802CD820:
/* 802CD820 002CA780 7F 83 E3 78 */ mr r3, r28
/* 802CD824 002CA784 81 9C 00 00 */ lwz r12, 0(r28)
/* 802CD828 002CA788 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 802CD82C 002CA78C 7D 89 03 A6 */ mtctr r12
/* 802CD830 002CA790 4E 80 04 21 */ bctrl
/* 802CD834 002CA794 C0 C1 00 14 */ lfs f6, 0x14(r1)
/* 802CD838 002CA798 38 00 00 01 */ li r0, 1
/* 802CD83C 002CA79C C0 41 00 58 */ lfs f2, 0x58(r1)
/* 802CD840 002CA7A0 38 81 01 00 */ addi r4, r1, 0x100
/* 802CD844 002CA7A4 C0 21 00 5C */ lfs f1, 0x5c(r1)
/* 802CD848 002CA7A8 C0 01 00 54 */ lfs f0, 0x54(r1)
/* 802CD84C 002CA7AC EC 86 00 B2 */ fmuls f4, f6, f2
/* 802CD850 002CA7B0 C0 A1 00 64 */ lfs f5, 0x64(r1)
/* 802CD854 002CA7B4 EC 46 00 72 */ fmuls f2, f6, f1
/* 802CD858 002CA7B8 C0 61 00 68 */ lfs f3, 0x68(r1)
/* 802CD85C 002CA7BC EC 06 00 32 */ fmuls f0, f6, f0
/* 802CD860 002CA7C0 C0 21 00 60 */ lfs f1, 0x60(r1)
/* 802CD864 002CA7C4 EC 85 20 2A */ fadds f4, f5, f4
/* 802CD868 002CA7C8 D0 C1 00 A0 */ stfs f6, 0xa0(r1)
/* 802CD86C 002CA7CC EC 43 10 2A */ fadds f2, f3, f2
/* 802CD870 002CA7D0 EC 01 00 2A */ fadds f0, f1, f0
/* 802CD874 002CA7D4 D3 C1 00 B0 */ stfs f30, 0xb0(r1)
/* 802CD878 002CA7D8 D0 81 00 A8 */ stfs f4, 0xa8(r1)
/* 802CD87C 002CA7DC D0 01 00 A4 */ stfs f0, 0xa4(r1)
/* 802CD880 002CA7E0 D0 41 00 AC */ stfs f2, 0xac(r1)
/* 802CD884 002CA7E4 D3 A1 00 B4 */ stfs f29, 0xb4(r1)
/* 802CD888 002CA7E8 D3 81 00 B8 */ stfs f28, 0xb8(r1)
/* 802CD88C 002CA7EC D3 E1 00 BC */ stfs f31, 0xbc(r1)
/* 802CD890 002CA7F0 98 01 00 C0 */ stb r0, 0xc0(r1)
/* 802CD894 002CA7F4 80 03 00 00 */ lwz r0, 0(r3)
/* 802CD898 002CA7F8 80 A3 00 04 */ lwz r5, 4(r3)
/* 802CD89C 002CA7FC 38 61 00 A0 */ addi r3, r1, 0xa0
/* 802CD8A0 002CA800 90 A1 00 CC */ stw r5, 0xcc(r1)
/* 802CD8A4 002CA804 90 01 00 C8 */ stw r0, 0xc8(r1)
/* 802CD8A8 002CA808 4B FE 00 09 */ bl Transform__14CRayCastResultFRC12CTransform4f
/* 802CD8AC 002CA80C C0 01 00 A0 */ lfs f0, 0xa0(r1)
/* 802CD8B0 002CA810 D0 1F 00 00 */ stfs f0, 0(r31)
/* 802CD8B4 002CA814 C0 01 00 A4 */ lfs f0, 0xa4(r1)
/* 802CD8B8 002CA818 D0 1F 00 04 */ stfs f0, 4(r31)
/* 802CD8BC 002CA81C C0 01 00 A8 */ lfs f0, 0xa8(r1)
/* 802CD8C0 002CA820 D0 1F 00 08 */ stfs f0, 8(r31)
/* 802CD8C4 002CA824 C0 01 00 AC */ lfs f0, 0xac(r1)
/* 802CD8C8 002CA828 D0 1F 00 0C */ stfs f0, 0xc(r31)
/* 802CD8CC 002CA82C C0 01 00 B0 */ lfs f0, 0xb0(r1)
/* 802CD8D0 002CA830 D0 1F 00 10 */ stfs f0, 0x10(r31)
/* 802CD8D4 002CA834 C0 01 00 B4 */ lfs f0, 0xb4(r1)
/* 802CD8D8 002CA838 D0 1F 00 14 */ stfs f0, 0x14(r31)
/* 802CD8DC 002CA83C C0 01 00 B8 */ lfs f0, 0xb8(r1)
/* 802CD8E0 002CA840 D0 1F 00 18 */ stfs f0, 0x18(r31)
/* 802CD8E4 002CA844 C0 01 00 BC */ lfs f0, 0xbc(r1)
/* 802CD8E8 002CA848 D0 1F 00 1C */ stfs f0, 0x1c(r31)
/* 802CD8EC 002CA84C 88 01 00 C0 */ lbz r0, 0xc0(r1)
/* 802CD8F0 002CA850 98 1F 00 20 */ stb r0, 0x20(r31)
/* 802CD8F4 002CA854 80 01 00 C8 */ lwz r0, 0xc8(r1)
/* 802CD8F8 002CA858 80 61 00 CC */ lwz r3, 0xcc(r1)
/* 802CD8FC 002CA85C 90 7F 00 2C */ stw r3, 0x2c(r31)
/* 802CD900 002CA860 90 1F 00 28 */ stw r0, 0x28(r31)
lbl_802CD904:
/* 802CD904 002CA864 E3 E1 01 78 */ psq_l f31, 376(r1), 0, qr0
/* 802CD908 002CA868 CB E1 01 70 */ lfd f31, 0x170(r1)
/* 802CD90C 002CA86C E3 C1 01 68 */ psq_l f30, 360(r1), 0, qr0
/* 802CD910 002CA870 CB C1 01 60 */ lfd f30, 0x160(r1)
/* 802CD914 002CA874 E3 A1 01 58 */ psq_l f29, 344(r1), 0, qr0
/* 802CD918 002CA878 CB A1 01 50 */ lfd f29, 0x150(r1)
/* 802CD91C 002CA87C E3 81 01 48 */ psq_l f28, 328(r1), 0, qr0
/* 802CD920 002CA880 CB 81 01 40 */ lfd f28, 0x140(r1)
/* 802CD924 002CA884 83 E1 01 3C */ lwz r31, 0x13c(r1)
/* 802CD928 002CA888 83 C1 01 38 */ lwz r30, 0x138(r1)
/* 802CD92C 002CA88C 83 A1 01 34 */ lwz r29, 0x134(r1)
/* 802CD930 002CA890 80 01 01 84 */ lwz r0, 0x184(r1)
/* 802CD934 002CA894 83 81 01 30 */ lwz r28, 0x130(r1)
/* 802CD938 002CA898 7C 08 03 A6 */ mtlr r0
/* 802CD93C 002CA89C 38 21 01 80 */ addi r1, r1, 0x180
/* 802CD940 002CA8A0 4E 80 00 20 */ blr
.global CollideMovingSphere__16CCollidableAABoxFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo
CollideMovingSphere__16CCollidableAABoxFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo:
/* 802CD944 002CA8A4 94 21 FE F0 */ stwu r1, -0x110(r1)
/* 802CD948 002CA8A8 7C 08 02 A6 */ mflr r0
/* 802CD94C 002CA8AC 90 01 01 14 */ stw r0, 0x114(r1)
/* 802CD950 002CA8B0 BF 41 00 F8 */ stmw r26, 0xf8(r1)
/* 802CD954 002CA8B4 7C 7A 1B 78 */ mr r26, r3
/* 802CD958 002CA8B8 7C BC 2B 78 */ mr r28, r5
/* 802CD95C 002CA8BC 7C 9B 23 78 */ mr r27, r4
/* 802CD960 002CA8C0 7C DF 33 78 */ mr r31, r6
/* 802CD964 002CA8C4 38 BA 00 08 */ addi r5, r26, 8
/* 802CD968 002CA8C8 83 A3 00 00 */ lwz r29, 0(r3)
/* 802CD96C 002CA8CC 38 61 00 60 */ addi r3, r1, 0x60
/* 802CD970 002CA8D0 83 DA 00 38 */ lwz r30, 0x38(r26)
/* 802CD974 002CA8D4 81 9D 00 00 */ lwz r12, 0(r29)
/* 802CD978 002CA8D8 7F A4 EB 78 */ mr r4, r29
/* 802CD97C 002CA8DC 81 8C 00 14 */ lwz r12, 0x14(r12)
/* 802CD980 002CA8E0 7D 89 03 A6 */ mtctr r12
/* 802CD984 002CA8E4 4E 80 04 21 */ bctrl
/* 802CD988 002CA8E8 C0 A1 00 60 */ lfs f5, 0x60(r1)
/* 802CD98C 002CA8EC 7F C4 F3 78 */ mr r4, r30
/* 802CD990 002CA8F0 C0 81 00 64 */ lfs f4, 0x64(r1)
/* 802CD994 002CA8F4 38 61 00 28 */ addi r3, r1, 0x28
/* 802CD998 002CA8F8 C0 61 00 68 */ lfs f3, 0x68(r1)
/* 802CD99C 002CA8FC 38 BA 00 40 */ addi r5, r26, 0x40
/* 802CD9A0 002CA900 C0 41 00 6C */ lfs f2, 0x6c(r1)
/* 802CD9A4 002CA904 C0 21 00 70 */ lfs f1, 0x70(r1)
/* 802CD9A8 002CA908 C0 01 00 74 */ lfs f0, 0x74(r1)
/* 802CD9AC 002CA90C D0 A1 00 78 */ stfs f5, 0x78(r1)
/* 802CD9B0 002CA910 D0 81 00 7C */ stfs f4, 0x7c(r1)
/* 802CD9B4 002CA914 D0 61 00 80 */ stfs f3, 0x80(r1)
/* 802CD9B8 002CA918 D0 41 00 84 */ stfs f2, 0x84(r1)
/* 802CD9BC 002CA91C D0 21 00 88 */ stfs f1, 0x88(r1)
/* 802CD9C0 002CA920 D0 01 00 8C */ stfs f0, 0x8c(r1)
/* 802CD9C4 002CA924 48 00 69 91 */ bl Transform__17CCollidableSphereCFRC12CTransform4f
/* 802CD9C8 002CA928 C0 C1 00 28 */ lfs f6, 0x28(r1)
/* 802CD9CC 002CA92C 3C 60 80 5A */ lis r3, skZero3f@ha
/* 802CD9D0 002CA930 C0 A1 00 2C */ lfs f5, 0x2c(r1)
/* 802CD9D4 002CA934 39 03 66 A0 */ addi r8, r3, skZero3f@l
/* 802CD9D8 002CA938 C0 81 00 30 */ lfs f4, 0x30(r1)
/* 802CD9DC 002CA93C 38 61 00 50 */ addi r3, r1, 0x50
/* 802CD9E0 002CA940 C0 61 00 34 */ lfs f3, 0x34(r1)
/* 802CD9E4 002CA944 38 81 00 78 */ addi r4, r1, 0x78
/* 802CD9E8 002CA948 C0 5B 00 08 */ lfs f2, 8(r27)
/* 802CD9EC 002CA94C 38 A1 00 1C */ addi r5, r1, 0x1c
/* 802CD9F0 002CA950 C0 3B 00 04 */ lfs f1, 4(r27)
/* 802CD9F4 002CA954 38 C1 00 08 */ addi r6, r1, 8
/* 802CD9F8 002CA958 C0 1B 00 00 */ lfs f0, 0(r27)
/* 802CD9FC 002CA95C FC E0 10 50 */ fneg f7, f2
/* 802CDA00 002CA960 D0 C1 00 50 */ stfs f6, 0x50(r1)
/* 802CDA04 002CA964 FC 40 08 50 */ fneg f2, f1
/* 802CDA08 002CA968 FC 00 00 50 */ fneg f0, f0
/* 802CDA0C 002CA96C C0 C8 00 00 */ lfs f6, 0(r8)
/* 802CDA10 002CA970 D0 A1 00 54 */ stfs f5, 0x54(r1)
/* 802CDA14 002CA974 C0 A8 00 04 */ lfs f5, 4(r8)
/* 802CDA18 002CA978 38 E1 00 44 */ addi r7, r1, 0x44
/* 802CDA1C 002CA97C D0 81 00 58 */ stfs f4, 0x58(r1)
/* 802CDA20 002CA980 C0 88 00 08 */ lfs f4, 8(r8)
/* 802CDA24 002CA984 39 01 00 38 */ addi r8, r1, 0x38
/* 802CDA28 002CA988 D0 61 00 5C */ stfs f3, 0x5c(r1)
/* 802CDA2C 002CA98C C8 3C 00 00 */ lfd f1, 0(r28)
/* 802CDA30 002CA990 D8 21 00 08 */ stfd f1, 8(r1)
/* 802CDA34 002CA994 D0 C1 00 44 */ stfs f6, 0x44(r1)
/* 802CDA38 002CA998 D0 A1 00 48 */ stfs f5, 0x48(r1)
/* 802CDA3C 002CA99C D0 81 00 4C */ stfs f4, 0x4c(r1)
/* 802CDA40 002CA9A0 D0 C1 00 38 */ stfs f6, 0x38(r1)
/* 802CDA44 002CA9A4 D0 A1 00 3C */ stfs f5, 0x3c(r1)
/* 802CDA48 002CA9A8 D0 81 00 40 */ stfs f4, 0x40(r1)
/* 802CDA4C 002CA9AC D0 01 00 1C */ stfs f0, 0x1c(r1)
/* 802CDA50 002CA9B0 D0 41 00 20 */ stfs f2, 0x20(r1)
/* 802CDA54 002CA9B4 D0 E1 00 24 */ stfs f7, 0x24(r1)
/* 802CDA58 002CA9B8 48 00 2A 39 */ bl MovingSphereAABox__13CollisionUtilFRC7CSphereRC6CAABoxRC9CVector3fRdR9CVector3fR9CVector3f
/* 802CDA5C 002CA9BC 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 802CDA60 002CA9C0 41 82 01 78 */ beq lbl_802CDBD8
/* 802CDA64 002CA9C4 C8 E1 00 08 */ lfd f7, 8(r1)
/* 802CDA68 002CA9C8 C8 1C 00 00 */ lfd f0, 0(r28)
/* 802CDA6C 002CA9CC FC 07 00 40 */ fcmpo cr0, f7, f0
/* 802CDA70 002CA9D0 40 80 01 68 */ bge lbl_802CDBD8
/* 802CDA74 002CA9D4 C0 C1 00 5C */ lfs f6, 0x5c(r1)
/* 802CDA78 002CA9D8 7F C3 F3 78 */ mr r3, r30
/* 802CDA7C 002CA9DC C0 41 00 3C */ lfs f2, 0x3c(r1)
/* 802CDA80 002CA9E0 C0 21 00 40 */ lfs f1, 0x40(r1)
/* 802CDA84 002CA9E4 C0 01 00 38 */ lfs f0, 0x38(r1)
/* 802CDA88 002CA9E8 EC 86 00 B2 */ fmuls f4, f6, f2
/* 802CDA8C 002CA9EC C0 A1 00 54 */ lfs f5, 0x54(r1)
/* 802CDA90 002CA9F0 EC 46 00 72 */ fmuls f2, f6, f1
/* 802CDA94 002CA9F4 C0 61 00 58 */ lfs f3, 0x58(r1)
/* 802CDA98 002CA9F8 EC 06 00 32 */ fmuls f0, f6, f0
/* 802CDA9C 002CA9FC C0 21 00 50 */ lfs f1, 0x50(r1)
/* 802CDAA0 002CAA00 EC 85 20 28 */ fsubs f4, f5, f4
/* 802CDAA4 002CAA04 EC 43 10 28 */ fsubs f2, f3, f2
/* 802CDAA8 002CAA08 EC 01 00 28 */ fsubs f0, f1, f0
/* 802CDAAC 002CAA0C D0 81 00 48 */ stfs f4, 0x48(r1)
/* 802CDAB0 002CAA10 D0 01 00 44 */ stfs f0, 0x44(r1)
/* 802CDAB4 002CAA14 D0 41 00 4C */ stfs f2, 0x4c(r1)
/* 802CDAB8 002CAA18 D8 FC 00 00 */ stfd f7, 0(r28)
/* 802CDABC 002CAA1C C0 41 00 38 */ lfs f2, 0x38(r1)
/* 802CDAC0 002CAA20 C0 21 00 3C */ lfs f1, 0x3c(r1)
/* 802CDAC4 002CAA24 C0 01 00 40 */ lfs f0, 0x40(r1)
/* 802CDAC8 002CAA28 FC 40 10 50 */ fneg f2, f2
/* 802CDACC 002CAA2C FC 20 08 50 */ fneg f1, f1
/* 802CDAD0 002CAA30 FC 00 00 50 */ fneg f0, f0
/* 802CDAD4 002CAA34 D0 41 00 10 */ stfs f2, 0x10(r1)
/* 802CDAD8 002CAA38 D0 21 00 14 */ stfs f1, 0x14(r1)
/* 802CDADC 002CAA3C D0 01 00 18 */ stfs f0, 0x18(r1)
/* 802CDAE0 002CAA40 81 9E 00 00 */ lwz r12, 0(r30)
/* 802CDAE4 002CAA44 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 802CDAE8 002CAA48 7D 89 03 A6 */ mtctr r12
/* 802CDAEC 002CAA4C 4E 80 04 21 */ bctrl
/* 802CDAF0 002CAA50 7C 7E 1B 78 */ mr r30, r3
/* 802CDAF4 002CAA54 7F A3 EB 78 */ mr r3, r29
/* 802CDAF8 002CAA58 81 9D 00 00 */ lwz r12, 0(r29)
/* 802CDAFC 002CAA5C 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 802CDB00 002CAA60 7D 89 03 A6 */ mtctr r12
/* 802CDB04 002CAA64 4E 80 04 21 */ bctrl
/* 802CDB08 002CAA68 7C 65 1B 78 */ mr r5, r3
/* 802CDB0C 002CAA6C 7F C6 F3 78 */ mr r6, r30
/* 802CDB10 002CAA70 38 61 00 90 */ addi r3, r1, 0x90
/* 802CDB14 002CAA74 38 81 00 44 */ addi r4, r1, 0x44
/* 802CDB18 002CAA78 38 E1 00 10 */ addi r7, r1, 0x10
/* 802CDB1C 002CAA7C 48 00 09 2D */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f
/* 802CDB20 002CAA80 80 81 00 90 */ lwz r4, 0x90(r1)
/* 802CDB24 002CAA84 38 60 00 01 */ li r3, 1
/* 802CDB28 002CAA88 80 01 00 94 */ lwz r0, 0x94(r1)
/* 802CDB2C 002CAA8C 90 9F 00 00 */ stw r4, 0(r31)
/* 802CDB30 002CAA90 90 1F 00 04 */ stw r0, 4(r31)
/* 802CDB34 002CAA94 80 01 00 98 */ lwz r0, 0x98(r1)
/* 802CDB38 002CAA98 90 1F 00 08 */ stw r0, 8(r31)
/* 802CDB3C 002CAA9C 80 81 00 9C */ lwz r4, 0x9c(r1)
/* 802CDB40 002CAAA0 80 01 00 A0 */ lwz r0, 0xa0(r1)
/* 802CDB44 002CAAA4 90 9F 00 0C */ stw r4, 0xc(r31)
/* 802CDB48 002CAAA8 90 1F 00 10 */ stw r0, 0x10(r31)
/* 802CDB4C 002CAAAC 80 01 00 A4 */ lwz r0, 0xa4(r1)
/* 802CDB50 002CAAB0 90 1F 00 14 */ stw r0, 0x14(r31)
/* 802CDB54 002CAAB4 80 81 00 A8 */ lwz r4, 0xa8(r1)
/* 802CDB58 002CAAB8 80 01 00 AC */ lwz r0, 0xac(r1)
/* 802CDB5C 002CAABC 90 9F 00 18 */ stw r4, 0x18(r31)
/* 802CDB60 002CAAC0 90 1F 00 1C */ stw r0, 0x1c(r31)
/* 802CDB64 002CAAC4 80 01 00 B0 */ lwz r0, 0xb0(r1)
/* 802CDB68 002CAAC8 90 1F 00 20 */ stw r0, 0x20(r31)
/* 802CDB6C 002CAACC 80 81 00 B4 */ lwz r4, 0xb4(r1)
/* 802CDB70 002CAAD0 80 01 00 B8 */ lwz r0, 0xb8(r1)
/* 802CDB74 002CAAD4 90 9F 00 24 */ stw r4, 0x24(r31)
/* 802CDB78 002CAAD8 90 1F 00 28 */ stw r0, 0x28(r31)
/* 802CDB7C 002CAADC 80 01 00 BC */ lwz r0, 0xbc(r1)
/* 802CDB80 002CAAE0 90 1F 00 2C */ stw r0, 0x2c(r31)
/* 802CDB84 002CAAE4 88 01 00 C0 */ lbz r0, 0xc0(r1)
/* 802CDB88 002CAAE8 98 1F 00 30 */ stb r0, 0x30(r31)
/* 802CDB8C 002CAAEC 88 01 00 C1 */ lbz r0, 0xc1(r1)
/* 802CDB90 002CAAF0 98 1F 00 31 */ stb r0, 0x31(r31)
/* 802CDB94 002CAAF4 C8 01 00 C8 */ lfd f0, 0xc8(r1)
/* 802CDB98 002CAAF8 D8 1F 00 38 */ stfd f0, 0x38(r31)
/* 802CDB9C 002CAAFC C8 01 00 D0 */ lfd f0, 0xd0(r1)
/* 802CDBA0 002CAB00 D8 1F 00 40 */ stfd f0, 0x40(r31)
/* 802CDBA4 002CAB04 80 81 00 D8 */ lwz r4, 0xd8(r1)
/* 802CDBA8 002CAB08 80 01 00 DC */ lwz r0, 0xdc(r1)
/* 802CDBAC 002CAB0C 90 9F 00 48 */ stw r4, 0x48(r31)
/* 802CDBB0 002CAB10 90 1F 00 4C */ stw r0, 0x4c(r31)
/* 802CDBB4 002CAB14 80 01 00 E0 */ lwz r0, 0xe0(r1)
/* 802CDBB8 002CAB18 90 1F 00 50 */ stw r0, 0x50(r31)
/* 802CDBBC 002CAB1C 80 81 00 E4 */ lwz r4, 0xe4(r1)
/* 802CDBC0 002CAB20 80 01 00 E8 */ lwz r0, 0xe8(r1)
/* 802CDBC4 002CAB24 90 9F 00 54 */ stw r4, 0x54(r31)
/* 802CDBC8 002CAB28 90 1F 00 58 */ stw r0, 0x58(r31)
/* 802CDBCC 002CAB2C 80 01 00 EC */ lwz r0, 0xec(r1)
/* 802CDBD0 002CAB30 90 1F 00 5C */ stw r0, 0x5c(r31)
/* 802CDBD4 002CAB34 48 00 00 08 */ b lbl_802CDBDC
lbl_802CDBD8:
/* 802CDBD8 002CAB38 38 60 00 00 */ li r3, 0
lbl_802CDBDC:
/* 802CDBDC 002CAB3C BB 41 00 F8 */ lmw r26, 0xf8(r1)
/* 802CDBE0 002CAB40 80 01 01 14 */ lwz r0, 0x114(r1)
/* 802CDBE4 002CAB44 7C 08 03 A6 */ mtlr r0
/* 802CDBE8 002CAB48 38 21 01 10 */ addi r1, r1, 0x110
/* 802CDBEC 002CAB4C 4E 80 00 20 */ blr
.global CollideMovingAABox__16CCollidableAABoxFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo
CollideMovingAABox__16CCollidableAABoxFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo:
/* 802CDBF0 002CAB50 94 21 FE F0 */ stwu r1, -0x110(r1)
/* 802CDBF4 002CAB54 7C 08 02 A6 */ mflr r0
/* 802CDBF8 002CAB58 90 01 01 14 */ stw r0, 0x114(r1)
/* 802CDBFC 002CAB5C BF 41 00 F8 */ stmw r26, 0xf8(r1)
/* 802CDC00 002CAB60 7C 7A 1B 78 */ mr r26, r3
/* 802CDC04 002CAB64 7C BC 2B 78 */ mr r28, r5
/* 802CDC08 002CAB68 7C 9B 23 78 */ mr r27, r4
/* 802CDC0C 002CAB6C 7C DF 33 78 */ mr r31, r6
/* 802CDC10 002CAB70 38 BA 00 08 */ addi r5, r26, 8
/* 802CDC14 002CAB74 83 A3 00 00 */ lwz r29, 0(r3)
/* 802CDC18 002CAB78 83 C3 00 38 */ lwz r30, 0x38(r3)
/* 802CDC1C 002CAB7C 38 61 00 4C */ addi r3, r1, 0x4c
/* 802CDC20 002CAB80 7F A4 EB 78 */ mr r4, r29
/* 802CDC24 002CAB84 4B FF F8 B9 */ bl Transform__16CCollidableAABoxCFRC12CTransform4f
/* 802CDC28 002CAB88 C0 A1 00 4C */ lfs f5, 0x4c(r1)
/* 802CDC2C 002CAB8C 7F C4 F3 78 */ mr r4, r30
/* 802CDC30 002CAB90 C0 81 00 50 */ lfs f4, 0x50(r1)
/* 802CDC34 002CAB94 38 61 00 34 */ addi r3, r1, 0x34
/* 802CDC38 002CAB98 C0 61 00 54 */ lfs f3, 0x54(r1)
/* 802CDC3C 002CAB9C 38 BA 00 40 */ addi r5, r26, 0x40
/* 802CDC40 002CABA0 C0 41 00 58 */ lfs f2, 0x58(r1)
/* 802CDC44 002CABA4 C0 21 00 5C */ lfs f1, 0x5c(r1)
/* 802CDC48 002CABA8 C0 01 00 60 */ lfs f0, 0x60(r1)
/* 802CDC4C 002CABAC D0 A1 00 7C */ stfs f5, 0x7c(r1)
/* 802CDC50 002CABB0 D0 81 00 80 */ stfs f4, 0x80(r1)
/* 802CDC54 002CABB4 D0 61 00 84 */ stfs f3, 0x84(r1)
/* 802CDC58 002CABB8 D0 41 00 88 */ stfs f2, 0x88(r1)
/* 802CDC5C 002CABBC D0 21 00 8C */ stfs f1, 0x8c(r1)
/* 802CDC60 002CABC0 D0 01 00 90 */ stfs f0, 0x90(r1)
/* 802CDC64 002CABC4 4B FF F8 79 */ bl Transform__16CCollidableAABoxCFRC12CTransform4f
/* 802CDC68 002CABC8 3C 60 80 5A */ lis r3, skZero3f@ha
/* 802CDC6C 002CABCC C0 A1 00 34 */ lfs f5, 0x34(r1)
/* 802CDC70 002CABD0 38 83 66 A0 */ addi r4, r3, skZero3f@l
/* 802CDC74 002CABD4 C0 81 00 38 */ lfs f4, 0x38(r1)
/* 802CDC78 002CABD8 C0 C4 00 00 */ lfs f6, 0(r4)
/* 802CDC7C 002CABDC 7F 65 DB 78 */ mr r5, r27
/* 802CDC80 002CABE0 C0 E4 00 04 */ lfs f7, 4(r4)
/* 802CDC84 002CABE4 38 61 00 7C */ addi r3, r1, 0x7c
/* 802CDC88 002CABE8 C1 04 00 08 */ lfs f8, 8(r4)
/* 802CDC8C 002CABEC 38 81 00 64 */ addi r4, r1, 0x64
/* 802CDC90 002CABF0 C0 61 00 3C */ lfs f3, 0x3c(r1)
/* 802CDC94 002CABF4 38 C1 00 08 */ addi r6, r1, 8
/* 802CDC98 002CABF8 C0 41 00 40 */ lfs f2, 0x40(r1)
/* 802CDC9C 002CABFC 38 E1 00 28 */ addi r7, r1, 0x28
/* 802CDCA0 002CAC00 C0 21 00 44 */ lfs f1, 0x44(r1)
/* 802CDCA4 002CAC04 39 01 00 1C */ addi r8, r1, 0x1c
/* 802CDCA8 002CAC08 C0 01 00 48 */ lfs f0, 0x48(r1)
/* 802CDCAC 002CAC0C D0 A1 00 64 */ stfs f5, 0x64(r1)
/* 802CDCB0 002CAC10 D0 81 00 68 */ stfs f4, 0x68(r1)
/* 802CDCB4 002CAC14 D0 61 00 6C */ stfs f3, 0x6c(r1)
/* 802CDCB8 002CAC18 D0 41 00 70 */ stfs f2, 0x70(r1)
/* 802CDCBC 002CAC1C D0 21 00 74 */ stfs f1, 0x74(r1)
/* 802CDCC0 002CAC20 D0 01 00 78 */ stfs f0, 0x78(r1)
/* 802CDCC4 002CAC24 D0 C1 00 28 */ stfs f6, 0x28(r1)
/* 802CDCC8 002CAC28 D0 E1 00 2C */ stfs f7, 0x2c(r1)
/* 802CDCCC 002CAC2C D1 01 00 30 */ stfs f8, 0x30(r1)
/* 802CDCD0 002CAC30 D0 C1 00 1C */ stfs f6, 0x1c(r1)
/* 802CDCD4 002CAC34 D0 E1 00 20 */ stfs f7, 0x20(r1)
/* 802CDCD8 002CAC38 D1 01 00 24 */ stfs f8, 0x24(r1)
/* 802CDCDC 002CAC3C 48 00 3F D9 */ bl AABox_AABox_Moving__13CollisionUtilFRC6CAABoxRC6CAABoxRC9CVector3fRdR9CVector3fR9CVector3f
/* 802CDCE0 002CAC40 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 802CDCE4 002CAC44 41 82 01 48 */ beq lbl_802CDE2C
/* 802CDCE8 002CAC48 C8 21 00 08 */ lfd f1, 8(r1)
/* 802CDCEC 002CAC4C C8 02 C4 90 */ lfd f0, lbl_805AE1B0@sda21(r2)
/* 802CDCF0 002CAC50 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 802CDCF4 002CAC54 40 81 01 38 */ ble lbl_802CDE2C
/* 802CDCF8 002CAC58 C8 1C 00 00 */ lfd f0, 0(r28)
/* 802CDCFC 002CAC5C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 802CDD00 002CAC60 40 80 01 2C */ bge lbl_802CDE2C
/* 802CDD04 002CAC64 D8 3C 00 00 */ stfd f1, 0(r28)
/* 802CDD08 002CAC68 7F C3 F3 78 */ mr r3, r30
/* 802CDD0C 002CAC6C C0 41 00 1C */ lfs f2, 0x1c(r1)
/* 802CDD10 002CAC70 C0 21 00 20 */ lfs f1, 0x20(r1)
/* 802CDD14 002CAC74 C0 01 00 24 */ lfs f0, 0x24(r1)
/* 802CDD18 002CAC78 FC 40 10 50 */ fneg f2, f2
/* 802CDD1C 002CAC7C FC 20 08 50 */ fneg f1, f1
/* 802CDD20 002CAC80 FC 00 00 50 */ fneg f0, f0
/* 802CDD24 002CAC84 D0 41 00 10 */ stfs f2, 0x10(r1)
/* 802CDD28 002CAC88 D0 21 00 14 */ stfs f1, 0x14(r1)
/* 802CDD2C 002CAC8C D0 01 00 18 */ stfs f0, 0x18(r1)
/* 802CDD30 002CAC90 81 9E 00 00 */ lwz r12, 0(r30)
/* 802CDD34 002CAC94 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 802CDD38 002CAC98 7D 89 03 A6 */ mtctr r12
/* 802CDD3C 002CAC9C 4E 80 04 21 */ bctrl
/* 802CDD40 002CACA0 7C 7E 1B 78 */ mr r30, r3
/* 802CDD44 002CACA4 7F A3 EB 78 */ mr r3, r29
/* 802CDD48 002CACA8 81 9D 00 00 */ lwz r12, 0(r29)
/* 802CDD4C 002CACAC 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 802CDD50 002CACB0 7D 89 03 A6 */ mtctr r12
/* 802CDD54 002CACB4 4E 80 04 21 */ bctrl
/* 802CDD58 002CACB8 7C 65 1B 78 */ mr r5, r3
/* 802CDD5C 002CACBC 7F C6 F3 78 */ mr r6, r30
/* 802CDD60 002CACC0 38 61 00 98 */ addi r3, r1, 0x98
/* 802CDD64 002CACC4 38 81 00 28 */ addi r4, r1, 0x28
/* 802CDD68 002CACC8 38 E1 00 1C */ addi r7, r1, 0x1c
/* 802CDD6C 002CACCC 39 01 00 10 */ addi r8, r1, 0x10
/* 802CDD70 002CACD0 48 00 06 0D */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3fRC9CVector3f
/* 802CDD74 002CACD4 80 81 00 98 */ lwz r4, 0x98(r1)
/* 802CDD78 002CACD8 38 60 00 01 */ li r3, 1
/* 802CDD7C 002CACDC 80 01 00 9C */ lwz r0, 0x9c(r1)
/* 802CDD80 002CACE0 90 9F 00 00 */ stw r4, 0(r31)
/* 802CDD84 002CACE4 90 1F 00 04 */ stw r0, 4(r31)
/* 802CDD88 002CACE8 80 01 00 A0 */ lwz r0, 0xa0(r1)
/* 802CDD8C 002CACEC 90 1F 00 08 */ stw r0, 8(r31)
/* 802CDD90 002CACF0 80 81 00 A4 */ lwz r4, 0xa4(r1)
/* 802CDD94 002CACF4 80 01 00 A8 */ lwz r0, 0xa8(r1)
/* 802CDD98 002CACF8 90 9F 00 0C */ stw r4, 0xc(r31)
/* 802CDD9C 002CACFC 90 1F 00 10 */ stw r0, 0x10(r31)
/* 802CDDA0 002CAD00 80 01 00 AC */ lwz r0, 0xac(r1)
/* 802CDDA4 002CAD04 90 1F 00 14 */ stw r0, 0x14(r31)
/* 802CDDA8 002CAD08 80 81 00 B0 */ lwz r4, 0xb0(r1)
/* 802CDDAC 002CAD0C 80 01 00 B4 */ lwz r0, 0xb4(r1)
/* 802CDDB0 002CAD10 90 9F 00 18 */ stw r4, 0x18(r31)
/* 802CDDB4 002CAD14 90 1F 00 1C */ stw r0, 0x1c(r31)
/* 802CDDB8 002CAD18 80 01 00 B8 */ lwz r0, 0xb8(r1)
/* 802CDDBC 002CAD1C 90 1F 00 20 */ stw r0, 0x20(r31)
/* 802CDDC0 002CAD20 80 81 00 BC */ lwz r4, 0xbc(r1)
/* 802CDDC4 002CAD24 80 01 00 C0 */ lwz r0, 0xc0(r1)
/* 802CDDC8 002CAD28 90 9F 00 24 */ stw r4, 0x24(r31)
/* 802CDDCC 002CAD2C 90 1F 00 28 */ stw r0, 0x28(r31)
/* 802CDDD0 002CAD30 80 01 00 C4 */ lwz r0, 0xc4(r1)
/* 802CDDD4 002CAD34 90 1F 00 2C */ stw r0, 0x2c(r31)
/* 802CDDD8 002CAD38 88 01 00 C8 */ lbz r0, 0xc8(r1)
/* 802CDDDC 002CAD3C 98 1F 00 30 */ stb r0, 0x30(r31)
/* 802CDDE0 002CAD40 88 01 00 C9 */ lbz r0, 0xc9(r1)
/* 802CDDE4 002CAD44 98 1F 00 31 */ stb r0, 0x31(r31)
/* 802CDDE8 002CAD48 C8 01 00 D0 */ lfd f0, 0xd0(r1)
/* 802CDDEC 002CAD4C D8 1F 00 38 */ stfd f0, 0x38(r31)
/* 802CDDF0 002CAD50 C8 01 00 D8 */ lfd f0, 0xd8(r1)
/* 802CDDF4 002CAD54 D8 1F 00 40 */ stfd f0, 0x40(r31)
/* 802CDDF8 002CAD58 80 81 00 E0 */ lwz r4, 0xe0(r1)
/* 802CDDFC 002CAD5C 80 01 00 E4 */ lwz r0, 0xe4(r1)
/* 802CDE00 002CAD60 90 9F 00 48 */ stw r4, 0x48(r31)
/* 802CDE04 002CAD64 90 1F 00 4C */ stw r0, 0x4c(r31)
/* 802CDE08 002CAD68 80 01 00 E8 */ lwz r0, 0xe8(r1)
/* 802CDE0C 002CAD6C 90 1F 00 50 */ stw r0, 0x50(r31)
/* 802CDE10 002CAD70 80 81 00 EC */ lwz r4, 0xec(r1)
/* 802CDE14 002CAD74 80 01 00 F0 */ lwz r0, 0xf0(r1)
/* 802CDE18 002CAD78 90 9F 00 54 */ stw r4, 0x54(r31)
/* 802CDE1C 002CAD7C 90 1F 00 58 */ stw r0, 0x58(r31)
/* 802CDE20 002CAD80 80 01 00 F4 */ lwz r0, 0xf4(r1)
/* 802CDE24 002CAD84 90 1F 00 5C */ stw r0, 0x5c(r31)
/* 802CDE28 002CAD88 48 00 00 08 */ b lbl_802CDE30
lbl_802CDE2C:
/* 802CDE2C 002CAD8C 38 60 00 00 */ li r3, 0
lbl_802CDE30:
/* 802CDE30 002CAD90 BB 41 00 F8 */ lmw r26, 0xf8(r1)
/* 802CDE34 002CAD94 80 01 01 14 */ lwz r0, 0x114(r1)
/* 802CDE38 002CAD98 7C 08 03 A6 */ mtlr r0
/* 802CDE3C 002CAD9C 38 21 01 10 */ addi r1, r1, 0x110
/* 802CDE40 002CADA0 4E 80 00 20 */ blr
.global AABox_AABox__7CollideFRC27CInternalCollisionStructureR18CCollisionInfoList
AABox_AABox__7CollideFRC27CInternalCollisionStructureR18CCollisionInfoList:
/* 802CDE44 002CADA4 94 21 FF 80 */ stwu r1, -0x80(r1)
/* 802CDE48 002CADA8 7C 08 02 A6 */ mflr r0
/* 802CDE4C 002CADAC 90 01 00 84 */ stw r0, 0x84(r1)
/* 802CDE50 002CADB0 93 E1 00 7C */ stw r31, 0x7c(r1)
/* 802CDE54 002CADB4 93 C1 00 78 */ stw r30, 0x78(r1)
/* 802CDE58 002CADB8 93 A1 00 74 */ stw r29, 0x74(r1)
/* 802CDE5C 002CADBC 7C 9D 23 78 */ mr r29, r4
/* 802CDE60 002CADC0 93 81 00 70 */ stw r28, 0x70(r1)
/* 802CDE64 002CADC4 7C 7C 1B 78 */ mr r28, r3
/* 802CDE68 002CADC8 38 BC 00 08 */ addi r5, r28, 8
/* 802CDE6C 002CADCC 83 C3 00 00 */ lwz r30, 0(r3)
/* 802CDE70 002CADD0 38 61 00 20 */ addi r3, r1, 0x20
/* 802CDE74 002CADD4 83 FC 00 38 */ lwz r31, 0x38(r28)
/* 802CDE78 002CADD8 7F C4 F3 78 */ mr r4, r30
/* 802CDE7C 002CADDC 4B FF F6 61 */ bl Transform__16CCollidableAABoxCFRC12CTransform4f
/* 802CDE80 002CADE0 C0 A1 00 20 */ lfs f5, 0x20(r1)
/* 802CDE84 002CADE4 7F E4 FB 78 */ mr r4, r31
/* 802CDE88 002CADE8 C0 81 00 24 */ lfs f4, 0x24(r1)
/* 802CDE8C 002CADEC 38 61 00 08 */ addi r3, r1, 8
/* 802CDE90 002CADF0 C0 61 00 28 */ lfs f3, 0x28(r1)
/* 802CDE94 002CADF4 38 BC 00 40 */ addi r5, r28, 0x40
/* 802CDE98 002CADF8 C0 41 00 2C */ lfs f2, 0x2c(r1)
/* 802CDE9C 002CADFC C0 21 00 30 */ lfs f1, 0x30(r1)
/* 802CDEA0 002CAE00 C0 01 00 34 */ lfs f0, 0x34(r1)
/* 802CDEA4 002CAE04 D0 A1 00 50 */ stfs f5, 0x50(r1)
/* 802CDEA8 002CAE08 D0 81 00 54 */ stfs f4, 0x54(r1)
/* 802CDEAC 002CAE0C D0 61 00 58 */ stfs f3, 0x58(r1)
/* 802CDEB0 002CAE10 D0 41 00 5C */ stfs f2, 0x5c(r1)
/* 802CDEB4 002CAE14 D0 21 00 60 */ stfs f1, 0x60(r1)
/* 802CDEB8 002CAE18 D0 01 00 64 */ stfs f0, 0x64(r1)
/* 802CDEBC 002CAE1C 4B FF F6 21 */ bl Transform__16CCollidableAABoxCFRC12CTransform4f
/* 802CDEC0 002CAE20 C0 A1 00 08 */ lfs f5, 8(r1)
/* 802CDEC4 002CAE24 7F E3 FB 78 */ mr r3, r31
/* 802CDEC8 002CAE28 C0 81 00 0C */ lfs f4, 0xc(r1)
/* 802CDECC 002CAE2C C0 61 00 10 */ lfs f3, 0x10(r1)
/* 802CDED0 002CAE30 C0 41 00 14 */ lfs f2, 0x14(r1)
/* 802CDED4 002CAE34 C0 21 00 18 */ lfs f1, 0x18(r1)
/* 802CDED8 002CAE38 C0 01 00 1C */ lfs f0, 0x1c(r1)
/* 802CDEDC 002CAE3C D0 A1 00 38 */ stfs f5, 0x38(r1)
/* 802CDEE0 002CAE40 D0 81 00 3C */ stfs f4, 0x3c(r1)
/* 802CDEE4 002CAE44 D0 61 00 40 */ stfs f3, 0x40(r1)
/* 802CDEE8 002CAE48 D0 41 00 44 */ stfs f2, 0x44(r1)
/* 802CDEEC 002CAE4C D0 21 00 48 */ stfs f1, 0x48(r1)
/* 802CDEF0 002CAE50 D0 01 00 4C */ stfs f0, 0x4c(r1)
/* 802CDEF4 002CAE54 81 9F 00 00 */ lwz r12, 0(r31)
/* 802CDEF8 002CAE58 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 802CDEFC 002CAE5C 7D 89 03 A6 */ mtctr r12
/* 802CDF00 002CAE60 4E 80 04 21 */ bctrl
/* 802CDF04 002CAE64 7C 7F 1B 78 */ mr r31, r3
/* 802CDF08 002CAE68 7F C3 F3 78 */ mr r3, r30
/* 802CDF0C 002CAE6C 81 9E 00 00 */ lwz r12, 0(r30)
/* 802CDF10 002CAE70 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 802CDF14 002CAE74 7D 89 03 A6 */ mtctr r12
/* 802CDF18 002CAE78 4E 80 04 21 */ bctrl
/* 802CDF1C 002CAE7C 7C 64 1B 78 */ mr r4, r3
/* 802CDF20 002CAE80 7F E6 FB 78 */ mr r6, r31
/* 802CDF24 002CAE84 7F A7 EB 78 */ mr r7, r29
/* 802CDF28 002CAE88 38 61 00 50 */ addi r3, r1, 0x50
/* 802CDF2C 002CAE8C 38 A1 00 38 */ addi r5, r1, 0x38
/* 802CDF30 002CAE90 48 00 4B 91 */ bl AABoxAABoxIntersection__13CollisionUtilFRC6CAABoxRC13CMaterialListRC6CAABoxRC13CMaterialListR18CCollisionInfoList
/* 802CDF34 002CAE94 80 01 00 84 */ lwz r0, 0x84(r1)
/* 802CDF38 002CAE98 83 E1 00 7C */ lwz r31, 0x7c(r1)
/* 802CDF3C 002CAE9C 83 C1 00 78 */ lwz r30, 0x78(r1)
/* 802CDF40 002CAEA0 83 A1 00 74 */ lwz r29, 0x74(r1)
/* 802CDF44 002CAEA4 83 81 00 70 */ lwz r28, 0x70(r1)
/* 802CDF48 002CAEA8 7C 08 03 A6 */ mtlr r0
/* 802CDF4C 002CAEAC 38 21 00 80 */ addi r1, r1, 0x80
/* 802CDF50 002CAEB0 4E 80 00 20 */ blr
.global AABox_AABox_Bool__7CollideFRC27CInternalCollisionStructure
AABox_AABox_Bool__7CollideFRC27CInternalCollisionStructure:
/* 802CDF54 002CAEB4 94 21 FF 90 */ stwu r1, -0x70(r1)
/* 802CDF58 002CAEB8 7C 08 02 A6 */ mflr r0
/* 802CDF5C 002CAEBC 90 01 00 74 */ stw r0, 0x74(r1)
/* 802CDF60 002CAEC0 93 E1 00 6C */ stw r31, 0x6c(r1)
/* 802CDF64 002CAEC4 93 C1 00 68 */ stw r30, 0x68(r1)
/* 802CDF68 002CAEC8 7C 7E 1B 78 */ mr r30, r3
/* 802CDF6C 002CAECC 38 61 00 20 */ addi r3, r1, 0x20
/* 802CDF70 002CAED0 83 FE 00 38 */ lwz r31, 0x38(r30)
/* 802CDF74 002CAED4 38 BE 00 08 */ addi r5, r30, 8
/* 802CDF78 002CAED8 80 9E 00 00 */ lwz r4, 0(r30)
/* 802CDF7C 002CAEDC 4B FF F5 61 */ bl Transform__16CCollidableAABoxCFRC12CTransform4f
/* 802CDF80 002CAEE0 C0 A1 00 20 */ lfs f5, 0x20(r1)
/* 802CDF84 002CAEE4 7F E4 FB 78 */ mr r4, r31
/* 802CDF88 002CAEE8 C0 81 00 24 */ lfs f4, 0x24(r1)
/* 802CDF8C 002CAEEC 38 61 00 08 */ addi r3, r1, 8
/* 802CDF90 002CAEF0 C0 61 00 28 */ lfs f3, 0x28(r1)
/* 802CDF94 002CAEF4 38 BE 00 40 */ addi r5, r30, 0x40
/* 802CDF98 002CAEF8 C0 41 00 2C */ lfs f2, 0x2c(r1)
/* 802CDF9C 002CAEFC C0 21 00 30 */ lfs f1, 0x30(r1)
/* 802CDFA0 002CAF00 C0 01 00 34 */ lfs f0, 0x34(r1)
/* 802CDFA4 002CAF04 D0 A1 00 50 */ stfs f5, 0x50(r1)
/* 802CDFA8 002CAF08 D0 81 00 54 */ stfs f4, 0x54(r1)
/* 802CDFAC 002CAF0C D0 61 00 58 */ stfs f3, 0x58(r1)
/* 802CDFB0 002CAF10 D0 41 00 5C */ stfs f2, 0x5c(r1)
/* 802CDFB4 002CAF14 D0 21 00 60 */ stfs f1, 0x60(r1)
/* 802CDFB8 002CAF18 D0 01 00 64 */ stfs f0, 0x64(r1)
/* 802CDFBC 002CAF1C 4B FF F5 21 */ bl Transform__16CCollidableAABoxCFRC12CTransform4f
/* 802CDFC0 002CAF20 C0 A1 00 08 */ lfs f5, 8(r1)
/* 802CDFC4 002CAF24 38 61 00 50 */ addi r3, r1, 0x50
/* 802CDFC8 002CAF28 C0 81 00 0C */ lfs f4, 0xc(r1)
/* 802CDFCC 002CAF2C 38 81 00 38 */ addi r4, r1, 0x38
/* 802CDFD0 002CAF30 C0 61 00 10 */ lfs f3, 0x10(r1)
/* 802CDFD4 002CAF34 C0 41 00 14 */ lfs f2, 0x14(r1)
/* 802CDFD8 002CAF38 C0 21 00 18 */ lfs f1, 0x18(r1)
/* 802CDFDC 002CAF3C C0 01 00 1C */ lfs f0, 0x1c(r1)
/* 802CDFE0 002CAF40 D0 A1 00 38 */ stfs f5, 0x38(r1)
/* 802CDFE4 002CAF44 D0 81 00 3C */ stfs f4, 0x3c(r1)
/* 802CDFE8 002CAF48 D0 61 00 40 */ stfs f3, 0x40(r1)
/* 802CDFEC 002CAF4C D0 41 00 44 */ stfs f2, 0x44(r1)
/* 802CDFF0 002CAF50 D0 21 00 48 */ stfs f1, 0x48(r1)
/* 802CDFF4 002CAF54 D0 01 00 4C */ stfs f0, 0x4c(r1)
/* 802CDFF8 002CAF58 48 00 4E C5 */ bl AABoxAABoxIntersection__13CollisionUtilFRC6CAABoxRC6CAABox
/* 802CDFFC 002CAF5C 80 01 00 74 */ lwz r0, 0x74(r1)
/* 802CE000 002CAF60 83 E1 00 6C */ lwz r31, 0x6c(r1)
/* 802CE004 002CAF64 83 C1 00 68 */ lwz r30, 0x68(r1)
/* 802CE008 002CAF68 7C 08 03 A6 */ mtlr r0
/* 802CE00C 002CAF6C 38 21 00 70 */ addi r1, r1, 0x70
/* 802CE010 002CAF70 4E 80 00 20 */ blr
.global GetType__16CCollidableAABoxFv
GetType__16CCollidableAABoxFv:
/* 802CE014 002CAF74 3C A0 80 2D */ lis r5, SetStaticTableIndex__16CCollidableAABoxFUi@ha
/* 802CE018 002CAF78 3C 80 80 3D */ lis r4, lbl_803D69E8@ha
/* 802CE01C 002CAF7C 38 05 E0 30 */ addi r0, r5, SetStaticTableIndex__16CCollidableAABoxFUi@l
/* 802CE020 002CAF80 90 03 00 00 */ stw r0, 0(r3)
/* 802CE024 002CAF84 38 04 69 E8 */ addi r0, r4, lbl_803D69E8@l
/* 802CE028 002CAF88 90 03 00 04 */ stw r0, 4(r3)
/* 802CE02C 002CAF8C 4E 80 00 20 */ blr
.global SetStaticTableIndex__16CCollidableAABoxFUi
SetStaticTableIndex__16CCollidableAABoxFUi:
/* 802CE030 002CAF90 90 6D 9B 28 */ stw r3, lbl_805A86E8@sda21(r13)
/* 802CE034 002CAF94 4E 80 00 20 */ blr
.global __sinit_CCollidableAABox_cpp
__sinit_CCollidableAABox_cpp:
/* 802CE038 002CAF98 C0 42 C4 88 */ lfs f2, lbl_805AE1A8@sda21(r2)
/* 802CE03C 002CAF9C 3C 60 80 48 */ lis r3, lbl_80479498@ha
/* 802CE040 002CAFA0 C0 22 C4 80 */ lfs f1, lbl_805AE1A0@sda21(r2)
/* 802CE044 002CAFA4 D4 43 94 98 */ stfsu f2, lbl_80479498@l(r3)
/* 802CE048 002CAFA8 C0 02 C4 84 */ lfs f0, lbl_805AE1A4@sda21(r2)
/* 802CE04C 002CAFAC D0 23 00 04 */ stfs f1, 4(r3)
/* 802CE050 002CAFB0 D0 23 00 08 */ stfs f1, 8(r3)
/* 802CE054 002CAFB4 D0 03 00 0C */ stfs f0, 0xc(r3)
/* 802CE058 002CAFB8 D0 23 00 10 */ stfs f1, 0x10(r3)
/* 802CE05C 002CAFBC D0 23 00 14 */ stfs f1, 0x14(r3)
/* 802CE060 002CAFC0 D0 23 00 18 */ stfs f1, 0x18(r3)
/* 802CE064 002CAFC4 D0 43 00 1C */ stfs f2, 0x1c(r3)
/* 802CE068 002CAFC8 D0 23 00 20 */ stfs f1, 0x20(r3)
/* 802CE06C 002CAFCC D0 23 00 24 */ stfs f1, 0x24(r3)
/* 802CE070 002CAFD0 D0 03 00 28 */ stfs f0, 0x28(r3)
/* 802CE074 002CAFD4 D0 23 00 2C */ stfs f1, 0x2c(r3)
/* 802CE078 002CAFD8 D0 23 00 30 */ stfs f1, 0x30(r3)
/* 802CE07C 002CAFDC D0 23 00 34 */ stfs f1, 0x34(r3)
/* 802CE080 002CAFE0 D0 43 00 38 */ stfs f2, 0x38(r3)
/* 802CE084 002CAFE4 D0 23 00 3C */ stfs f1, 0x3c(r3)
/* 802CE088 002CAFE8 D0 23 00 40 */ stfs f1, 0x40(r3)
/* 802CE08C 002CAFEC D0 03 00 44 */ stfs f0, 0x44(r3)
/* 802CE090 002CAFF0 4E 80 00 20 */ blr

View File

@ -0,0 +1,18 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global GetType__27CCollidableCollisionSurfaceFv
GetType__27CCollidableCollisionSurfaceFv:
/* 802CE094 002CAFF4 3C A0 80 2D */ lis r5, SetStaticTableIndex__27CCollidableCollisionSurfaceFUi@ha
/* 802CE098 002CAFF8 3C 80 80 3D */ lis r4, lbl_803D6A00@ha
/* 802CE09C 002CAFFC 38 05 E0 B0 */ addi r0, r5, SetStaticTableIndex__27CCollidableCollisionSurfaceFUi@l
/* 802CE0A0 002CB000 90 03 00 00 */ stw r0, 0(r3)
/* 802CE0A4 002CB004 38 04 6A 00 */ addi r0, r4, lbl_803D6A00@l
/* 802CE0A8 002CB008 90 03 00 04 */ stw r0, 4(r3)
/* 802CE0AC 002CB00C 4E 80 00 20 */ blr
.global SetStaticTableIndex__27CCollidableCollisionSurfaceFUi
SetStaticTableIndex__27CCollidableCollisionSurfaceFUi:
/* 802CE0B0 002CB010 90 6D 9B 30 */ stw r3, lbl_805A86F0@sda21(r13)
/* 802CE0B4 002CB014 4E 80 00 20 */ blr

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,306 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global Swap__14CCollisionInfoFv
Swap__14CCollisionInfoFv:
/* 802CE0B8 002CB018 C0 03 00 48 */ lfs f0, 0x48(r3)
/* 802CE0BC 002CB01C C0 23 00 4C */ lfs f1, 0x4c(r3)
/* 802CE0C0 002CB020 FC 00 00 50 */ fneg f0, f0
/* 802CE0C4 002CB024 C0 43 00 50 */ lfs f2, 0x50(r3)
/* 802CE0C8 002CB028 FC 20 08 50 */ fneg f1, f1
/* 802CE0CC 002CB02C FC 40 10 50 */ fneg f2, f2
/* 802CE0D0 002CB030 D0 03 00 48 */ stfs f0, 0x48(r3)
/* 802CE0D4 002CB034 D0 23 00 4C */ stfs f1, 0x4c(r3)
/* 802CE0D8 002CB038 D0 43 00 50 */ stfs f2, 0x50(r3)
/* 802CE0DC 002CB03C C0 03 00 54 */ lfs f0, 0x54(r3)
/* 802CE0E0 002CB040 C0 23 00 58 */ lfs f1, 0x58(r3)
/* 802CE0E4 002CB044 FC 00 00 50 */ fneg f0, f0
/* 802CE0E8 002CB048 C0 43 00 5C */ lfs f2, 0x5c(r3)
/* 802CE0EC 002CB04C FC 20 08 50 */ fneg f1, f1
/* 802CE0F0 002CB050 FC 40 10 50 */ fneg f2, f2
/* 802CE0F4 002CB054 D0 03 00 54 */ stfs f0, 0x54(r3)
/* 802CE0F8 002CB058 D0 23 00 58 */ stfs f1, 0x58(r3)
/* 802CE0FC 002CB05C D0 43 00 5C */ stfs f2, 0x5c(r3)
/* 802CE100 002CB060 80 A3 00 38 */ lwz r5, 0x38(r3)
/* 802CE104 002CB064 80 C3 00 3C */ lwz r6, 0x3c(r3)
/* 802CE108 002CB068 80 03 00 40 */ lwz r0, 0x40(r3)
/* 802CE10C 002CB06C 80 83 00 44 */ lwz r4, 0x44(r3)
/* 802CE110 002CB070 90 83 00 3C */ stw r4, 0x3c(r3)
/* 802CE114 002CB074 90 03 00 38 */ stw r0, 0x38(r3)
/* 802CE118 002CB078 90 C3 00 44 */ stw r6, 0x44(r3)
/* 802CE11C 002CB07C 90 A3 00 40 */ stw r5, 0x40(r3)
/* 802CE120 002CB080 4E 80 00 20 */ blr
.global GetExtreme__14CCollisionInfoCFv
GetExtreme__14CCollisionInfoCFv:
/* 802CE124 002CB084 C0 24 00 00 */ lfs f1, 0(r4)
/* 802CE128 002CB088 C0 04 00 0C */ lfs f0, 0xc(r4)
/* 802CE12C 002CB08C C0 64 00 04 */ lfs f3, 4(r4)
/* 802CE130 002CB090 C0 44 00 10 */ lfs f2, 0x10(r4)
/* 802CE134 002CB094 EC 21 00 2A */ fadds f1, f1, f0
/* 802CE138 002CB098 C0 04 00 18 */ lfs f0, 0x18(r4)
/* 802CE13C 002CB09C EC A3 10 2A */ fadds f5, f3, f2
/* 802CE140 002CB0A0 C0 84 00 1C */ lfs f4, 0x1c(r4)
/* 802CE144 002CB0A4 C0 64 00 08 */ lfs f3, 8(r4)
/* 802CE148 002CB0A8 EC 21 00 2A */ fadds f1, f1, f0
/* 802CE14C 002CB0AC C0 44 00 14 */ lfs f2, 0x14(r4)
/* 802CE150 002CB0B0 C0 04 00 24 */ lfs f0, 0x24(r4)
/* 802CE154 002CB0B4 EC 63 10 2A */ fadds f3, f3, f2
/* 802CE158 002CB0B8 C0 44 00 20 */ lfs f2, 0x20(r4)
/* 802CE15C 002CB0BC EC A5 20 2A */ fadds f5, f5, f4
/* 802CE160 002CB0C0 C0 84 00 28 */ lfs f4, 0x28(r4)
/* 802CE164 002CB0C4 EC 01 00 2A */ fadds f0, f1, f0
/* 802CE168 002CB0C8 C0 24 00 2C */ lfs f1, 0x2c(r4)
/* 802CE16C 002CB0CC EC 43 10 2A */ fadds f2, f3, f2
/* 802CE170 002CB0D0 EC 65 20 2A */ fadds f3, f5, f4
/* 802CE174 002CB0D4 D0 03 00 00 */ stfs f0, 0(r3)
/* 802CE178 002CB0D8 EC 02 08 2A */ fadds f0, f2, f1
/* 802CE17C 002CB0DC D0 63 00 04 */ stfs f3, 4(r3)
/* 802CE180 002CB0E0 D0 03 00 08 */ stfs f0, 8(r3)
/* 802CE184 002CB0E4 4E 80 00 20 */ blr
.global __ct__14CCollisionInfoFQ214CCollisionInfo8EInvalid
__ct__14CCollisionInfoFQ214CCollisionInfo8EInvalid:
/* 802CE188 002CB0E8 C0 02 C4 98 */ lfs f0, lbl_805AE1B8@sda21(r2)
/* 802CE18C 002CB0EC 38 00 00 00 */ li r0, 0
/* 802CE190 002CB0F0 D0 03 00 00 */ stfs f0, 0(r3)
/* 802CE194 002CB0F4 D0 03 00 04 */ stfs f0, 4(r3)
/* 802CE198 002CB0F8 D0 03 00 08 */ stfs f0, 8(r3)
/* 802CE19C 002CB0FC D0 03 00 0C */ stfs f0, 0xc(r3)
/* 802CE1A0 002CB100 D0 03 00 10 */ stfs f0, 0x10(r3)
/* 802CE1A4 002CB104 D0 03 00 14 */ stfs f0, 0x14(r3)
/* 802CE1A8 002CB108 D0 03 00 18 */ stfs f0, 0x18(r3)
/* 802CE1AC 002CB10C D0 03 00 1C */ stfs f0, 0x1c(r3)
/* 802CE1B0 002CB110 D0 03 00 20 */ stfs f0, 0x20(r3)
/* 802CE1B4 002CB114 D0 03 00 24 */ stfs f0, 0x24(r3)
/* 802CE1B8 002CB118 D0 03 00 28 */ stfs f0, 0x28(r3)
/* 802CE1BC 002CB11C D0 03 00 2C */ stfs f0, 0x2c(r3)
/* 802CE1C0 002CB120 98 03 00 30 */ stb r0, 0x30(r3)
/* 802CE1C4 002CB124 98 03 00 31 */ stb r0, 0x31(r3)
/* 802CE1C8 002CB128 90 03 00 3C */ stw r0, 0x3c(r3)
/* 802CE1CC 002CB12C 90 03 00 38 */ stw r0, 0x38(r3)
/* 802CE1D0 002CB130 90 03 00 44 */ stw r0, 0x44(r3)
/* 802CE1D4 002CB134 90 03 00 40 */ stw r0, 0x40(r3)
/* 802CE1D8 002CB138 D0 03 00 48 */ stfs f0, 0x48(r3)
/* 802CE1DC 002CB13C D0 03 00 4C */ stfs f0, 0x4c(r3)
/* 802CE1E0 002CB140 D0 03 00 50 */ stfs f0, 0x50(r3)
/* 802CE1E4 002CB144 D0 03 00 54 */ stfs f0, 0x54(r3)
/* 802CE1E8 002CB148 D0 03 00 58 */ stfs f0, 0x58(r3)
/* 802CE1EC 002CB14C D0 03 00 5C */ stfs f0, 0x5c(r3)
/* 802CE1F0 002CB150 4E 80 00 20 */ blr
.global GetSwapped__14CCollisionInfoCFv
GetSwapped__14CCollisionInfoCFv:
/* 802CE1F4 002CB154 C0 04 00 00 */ lfs f0, 0(r4)
/* 802CE1F8 002CB158 D0 03 00 00 */ stfs f0, 0(r3)
/* 802CE1FC 002CB15C C0 04 00 04 */ lfs f0, 4(r4)
/* 802CE200 002CB160 D0 03 00 04 */ stfs f0, 4(r3)
/* 802CE204 002CB164 C0 04 00 08 */ lfs f0, 8(r4)
/* 802CE208 002CB168 D0 03 00 08 */ stfs f0, 8(r3)
/* 802CE20C 002CB16C C0 04 00 0C */ lfs f0, 0xc(r4)
/* 802CE210 002CB170 D0 03 00 0C */ stfs f0, 0xc(r3)
/* 802CE214 002CB174 C0 04 00 10 */ lfs f0, 0x10(r4)
/* 802CE218 002CB178 D0 03 00 10 */ stfs f0, 0x10(r3)
/* 802CE21C 002CB17C C0 04 00 14 */ lfs f0, 0x14(r4)
/* 802CE220 002CB180 D0 03 00 14 */ stfs f0, 0x14(r3)
/* 802CE224 002CB184 C0 04 00 18 */ lfs f0, 0x18(r4)
/* 802CE228 002CB188 D0 03 00 18 */ stfs f0, 0x18(r3)
/* 802CE22C 002CB18C C0 04 00 1C */ lfs f0, 0x1c(r4)
/* 802CE230 002CB190 D0 03 00 1C */ stfs f0, 0x1c(r3)
/* 802CE234 002CB194 C0 04 00 20 */ lfs f0, 0x20(r4)
/* 802CE238 002CB198 D0 03 00 20 */ stfs f0, 0x20(r3)
/* 802CE23C 002CB19C C0 04 00 24 */ lfs f0, 0x24(r4)
/* 802CE240 002CB1A0 D0 03 00 24 */ stfs f0, 0x24(r3)
/* 802CE244 002CB1A4 C0 04 00 28 */ lfs f0, 0x28(r4)
/* 802CE248 002CB1A8 D0 03 00 28 */ stfs f0, 0x28(r3)
/* 802CE24C 002CB1AC C0 04 00 2C */ lfs f0, 0x2c(r4)
/* 802CE250 002CB1B0 D0 03 00 2C */ stfs f0, 0x2c(r3)
/* 802CE254 002CB1B4 88 04 00 30 */ lbz r0, 0x30(r4)
/* 802CE258 002CB1B8 98 03 00 30 */ stb r0, 0x30(r3)
/* 802CE25C 002CB1BC 88 04 00 31 */ lbz r0, 0x31(r4)
/* 802CE260 002CB1C0 98 03 00 31 */ stb r0, 0x31(r3)
/* 802CE264 002CB1C4 80 04 00 40 */ lwz r0, 0x40(r4)
/* 802CE268 002CB1C8 80 A4 00 44 */ lwz r5, 0x44(r4)
/* 802CE26C 002CB1CC 90 A3 00 3C */ stw r5, 0x3c(r3)
/* 802CE270 002CB1D0 90 03 00 38 */ stw r0, 0x38(r3)
/* 802CE274 002CB1D4 80 04 00 38 */ lwz r0, 0x38(r4)
/* 802CE278 002CB1D8 80 A4 00 3C */ lwz r5, 0x3c(r4)
/* 802CE27C 002CB1DC 90 A3 00 44 */ stw r5, 0x44(r3)
/* 802CE280 002CB1E0 90 03 00 40 */ stw r0, 0x40(r3)
/* 802CE284 002CB1E4 C0 04 00 54 */ lfs f0, 0x54(r4)
/* 802CE288 002CB1E8 D0 03 00 48 */ stfs f0, 0x48(r3)
/* 802CE28C 002CB1EC C0 04 00 58 */ lfs f0, 0x58(r4)
/* 802CE290 002CB1F0 D0 03 00 4C */ stfs f0, 0x4c(r3)
/* 802CE294 002CB1F4 C0 04 00 5C */ lfs f0, 0x5c(r4)
/* 802CE298 002CB1F8 D0 03 00 50 */ stfs f0, 0x50(r3)
/* 802CE29C 002CB1FC C0 04 00 48 */ lfs f0, 0x48(r4)
/* 802CE2A0 002CB200 D0 03 00 54 */ stfs f0, 0x54(r3)
/* 802CE2A4 002CB204 C0 04 00 4C */ lfs f0, 0x4c(r4)
/* 802CE2A8 002CB208 D0 03 00 58 */ stfs f0, 0x58(r3)
/* 802CE2AC 002CB20C C0 04 00 50 */ lfs f0, 0x50(r4)
/* 802CE2B0 002CB210 D0 03 00 5C */ stfs f0, 0x5c(r3)
/* 802CE2B4 002CB214 4E 80 00 20 */ blr
.global __ct__14CCollisionInfoFRC6CAABoxRC13CMaterialListRC13CMaterialListRC9CVector3fRC9CVector3f
__ct__14CCollisionInfoFRC6CAABoxRC13CMaterialListRC13CMaterialListRC9CVector3fRC9CVector3f:
/* 802CE2B8 002CB218 C0 04 00 00 */ lfs f0, 0(r4)
/* 802CE2BC 002CB21C 38 00 00 01 */ li r0, 1
/* 802CE2C0 002CB220 C0 22 C4 98 */ lfs f1, lbl_805AE1B8@sda21(r2)
/* 802CE2C4 002CB224 D0 03 00 00 */ stfs f0, 0(r3)
/* 802CE2C8 002CB228 C0 04 00 04 */ lfs f0, 4(r4)
/* 802CE2CC 002CB22C D0 03 00 04 */ stfs f0, 4(r3)
/* 802CE2D0 002CB230 C0 04 00 08 */ lfs f0, 8(r4)
/* 802CE2D4 002CB234 D0 03 00 08 */ stfs f0, 8(r3)
/* 802CE2D8 002CB238 C0 44 00 0C */ lfs f2, 0xc(r4)
/* 802CE2DC 002CB23C C0 04 00 00 */ lfs f0, 0(r4)
/* 802CE2E0 002CB240 EC 02 00 28 */ fsubs f0, f2, f0
/* 802CE2E4 002CB244 D0 03 00 0C */ stfs f0, 0xc(r3)
/* 802CE2E8 002CB248 D0 23 00 10 */ stfs f1, 0x10(r3)
/* 802CE2EC 002CB24C D0 23 00 14 */ stfs f1, 0x14(r3)
/* 802CE2F0 002CB250 C0 04 00 04 */ lfs f0, 4(r4)
/* 802CE2F4 002CB254 C0 44 00 10 */ lfs f2, 0x10(r4)
/* 802CE2F8 002CB258 EC 02 00 28 */ fsubs f0, f2, f0
/* 802CE2FC 002CB25C D0 23 00 18 */ stfs f1, 0x18(r3)
/* 802CE300 002CB260 D0 03 00 1C */ stfs f0, 0x1c(r3)
/* 802CE304 002CB264 D0 23 00 20 */ stfs f1, 0x20(r3)
/* 802CE308 002CB268 C0 04 00 08 */ lfs f0, 8(r4)
/* 802CE30C 002CB26C C0 44 00 14 */ lfs f2, 0x14(r4)
/* 802CE310 002CB270 D0 23 00 24 */ stfs f1, 0x24(r3)
/* 802CE314 002CB274 EC 02 00 28 */ fsubs f0, f2, f0
/* 802CE318 002CB278 D0 23 00 28 */ stfs f1, 0x28(r3)
/* 802CE31C 002CB27C D0 03 00 2C */ stfs f0, 0x2c(r3)
/* 802CE320 002CB280 98 03 00 30 */ stb r0, 0x30(r3)
/* 802CE324 002CB284 98 03 00 31 */ stb r0, 0x31(r3)
/* 802CE328 002CB288 80 06 00 00 */ lwz r0, 0(r6)
/* 802CE32C 002CB28C 80 86 00 04 */ lwz r4, 4(r6)
/* 802CE330 002CB290 90 83 00 3C */ stw r4, 0x3c(r3)
/* 802CE334 002CB294 90 03 00 38 */ stw r0, 0x38(r3)
/* 802CE338 002CB298 80 05 00 00 */ lwz r0, 0(r5)
/* 802CE33C 002CB29C 80 85 00 04 */ lwz r4, 4(r5)
/* 802CE340 002CB2A0 90 83 00 44 */ stw r4, 0x44(r3)
/* 802CE344 002CB2A4 90 03 00 40 */ stw r0, 0x40(r3)
/* 802CE348 002CB2A8 C0 07 00 00 */ lfs f0, 0(r7)
/* 802CE34C 002CB2AC D0 03 00 48 */ stfs f0, 0x48(r3)
/* 802CE350 002CB2B0 C0 07 00 04 */ lfs f0, 4(r7)
/* 802CE354 002CB2B4 D0 03 00 4C */ stfs f0, 0x4c(r3)
/* 802CE358 002CB2B8 C0 07 00 08 */ lfs f0, 8(r7)
/* 802CE35C 002CB2BC D0 03 00 50 */ stfs f0, 0x50(r3)
/* 802CE360 002CB2C0 C0 08 00 00 */ lfs f0, 0(r8)
/* 802CE364 002CB2C4 D0 03 00 54 */ stfs f0, 0x54(r3)
/* 802CE368 002CB2C8 C0 08 00 04 */ lfs f0, 4(r8)
/* 802CE36C 002CB2CC D0 03 00 58 */ stfs f0, 0x58(r3)
/* 802CE370 002CB2D0 C0 08 00 08 */ lfs f0, 8(r8)
/* 802CE374 002CB2D4 D0 03 00 5C */ stfs f0, 0x5c(r3)
/* 802CE378 002CB2D8 4E 80 00 20 */ blr
.global __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3fRC9CVector3f
__ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3fRC9CVector3f:
/* 802CE37C 002CB2DC C0 04 00 00 */ lfs f0, 0(r4)
/* 802CE380 002CB2E0 3D 20 80 5A */ lis r9, skZero3f@ha
/* 802CE384 002CB2E4 39 49 66 A0 */ addi r10, r9, skZero3f@l
/* 802CE388 002CB2E8 39 20 00 01 */ li r9, 1
/* 802CE38C 002CB2EC D0 03 00 00 */ stfs f0, 0(r3)
/* 802CE390 002CB2F0 38 00 00 00 */ li r0, 0
/* 802CE394 002CB2F4 C0 04 00 04 */ lfs f0, 4(r4)
/* 802CE398 002CB2F8 D0 03 00 04 */ stfs f0, 4(r3)
/* 802CE39C 002CB2FC C0 04 00 08 */ lfs f0, 8(r4)
/* 802CE3A0 002CB300 D0 03 00 08 */ stfs f0, 8(r3)
/* 802CE3A4 002CB304 C0 0A 00 00 */ lfs f0, 0(r10)
/* 802CE3A8 002CB308 D0 03 00 0C */ stfs f0, 0xc(r3)
/* 802CE3AC 002CB30C C0 0A 00 04 */ lfs f0, 4(r10)
/* 802CE3B0 002CB310 D0 03 00 10 */ stfs f0, 0x10(r3)
/* 802CE3B4 002CB314 C0 0A 00 08 */ lfs f0, 8(r10)
/* 802CE3B8 002CB318 D0 03 00 14 */ stfs f0, 0x14(r3)
/* 802CE3BC 002CB31C C0 0A 00 00 */ lfs f0, 0(r10)
/* 802CE3C0 002CB320 D0 03 00 18 */ stfs f0, 0x18(r3)
/* 802CE3C4 002CB324 C0 0A 00 04 */ lfs f0, 4(r10)
/* 802CE3C8 002CB328 D0 03 00 1C */ stfs f0, 0x1c(r3)
/* 802CE3CC 002CB32C C0 0A 00 08 */ lfs f0, 8(r10)
/* 802CE3D0 002CB330 D0 03 00 20 */ stfs f0, 0x20(r3)
/* 802CE3D4 002CB334 C0 0A 00 00 */ lfs f0, 0(r10)
/* 802CE3D8 002CB338 D0 03 00 24 */ stfs f0, 0x24(r3)
/* 802CE3DC 002CB33C C0 0A 00 04 */ lfs f0, 4(r10)
/* 802CE3E0 002CB340 D0 03 00 28 */ stfs f0, 0x28(r3)
/* 802CE3E4 002CB344 C0 0A 00 08 */ lfs f0, 8(r10)
/* 802CE3E8 002CB348 D0 03 00 2C */ stfs f0, 0x2c(r3)
/* 802CE3EC 002CB34C 99 23 00 30 */ stb r9, 0x30(r3)
/* 802CE3F0 002CB350 98 03 00 31 */ stb r0, 0x31(r3)
/* 802CE3F4 002CB354 80 06 00 00 */ lwz r0, 0(r6)
/* 802CE3F8 002CB358 80 86 00 04 */ lwz r4, 4(r6)
/* 802CE3FC 002CB35C 90 83 00 3C */ stw r4, 0x3c(r3)
/* 802CE400 002CB360 90 03 00 38 */ stw r0, 0x38(r3)
/* 802CE404 002CB364 80 05 00 00 */ lwz r0, 0(r5)
/* 802CE408 002CB368 80 85 00 04 */ lwz r4, 4(r5)
/* 802CE40C 002CB36C 90 83 00 44 */ stw r4, 0x44(r3)
/* 802CE410 002CB370 90 03 00 40 */ stw r0, 0x40(r3)
/* 802CE414 002CB374 C0 07 00 00 */ lfs f0, 0(r7)
/* 802CE418 002CB378 D0 03 00 48 */ stfs f0, 0x48(r3)
/* 802CE41C 002CB37C C0 07 00 04 */ lfs f0, 4(r7)
/* 802CE420 002CB380 D0 03 00 4C */ stfs f0, 0x4c(r3)
/* 802CE424 002CB384 C0 07 00 08 */ lfs f0, 8(r7)
/* 802CE428 002CB388 D0 03 00 50 */ stfs f0, 0x50(r3)
/* 802CE42C 002CB38C C0 08 00 00 */ lfs f0, 0(r8)
/* 802CE430 002CB390 D0 03 00 54 */ stfs f0, 0x54(r3)
/* 802CE434 002CB394 C0 08 00 04 */ lfs f0, 4(r8)
/* 802CE438 002CB398 D0 03 00 58 */ stfs f0, 0x58(r3)
/* 802CE43C 002CB39C C0 08 00 08 */ lfs f0, 8(r8)
/* 802CE440 002CB3A0 D0 03 00 5C */ stfs f0, 0x5c(r3)
/* 802CE444 002CB3A4 4E 80 00 20 */ blr
.global __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f
__ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f:
/* 802CE448 002CB3A8 C0 04 00 00 */ lfs f0, 0(r4)
/* 802CE44C 002CB3AC 3D 00 80 5A */ lis r8, skZero3f@ha
/* 802CE450 002CB3B0 39 28 66 A0 */ addi r9, r8, skZero3f@l
/* 802CE454 002CB3B4 39 00 00 01 */ li r8, 1
/* 802CE458 002CB3B8 D0 03 00 00 */ stfs f0, 0(r3)
/* 802CE45C 002CB3BC 38 00 00 00 */ li r0, 0
/* 802CE460 002CB3C0 C0 04 00 04 */ lfs f0, 4(r4)
/* 802CE464 002CB3C4 D0 03 00 04 */ stfs f0, 4(r3)
/* 802CE468 002CB3C8 C0 04 00 08 */ lfs f0, 8(r4)
/* 802CE46C 002CB3CC D0 03 00 08 */ stfs f0, 8(r3)
/* 802CE470 002CB3D0 C0 09 00 00 */ lfs f0, 0(r9)
/* 802CE474 002CB3D4 D0 03 00 0C */ stfs f0, 0xc(r3)
/* 802CE478 002CB3D8 C0 09 00 04 */ lfs f0, 4(r9)
/* 802CE47C 002CB3DC D0 03 00 10 */ stfs f0, 0x10(r3)
/* 802CE480 002CB3E0 C0 09 00 08 */ lfs f0, 8(r9)
/* 802CE484 002CB3E4 D0 03 00 14 */ stfs f0, 0x14(r3)
/* 802CE488 002CB3E8 C0 09 00 00 */ lfs f0, 0(r9)
/* 802CE48C 002CB3EC D0 03 00 18 */ stfs f0, 0x18(r3)
/* 802CE490 002CB3F0 C0 09 00 04 */ lfs f0, 4(r9)
/* 802CE494 002CB3F4 D0 03 00 1C */ stfs f0, 0x1c(r3)
/* 802CE498 002CB3F8 C0 09 00 08 */ lfs f0, 8(r9)
/* 802CE49C 002CB3FC D0 03 00 20 */ stfs f0, 0x20(r3)
/* 802CE4A0 002CB400 C0 09 00 00 */ lfs f0, 0(r9)
/* 802CE4A4 002CB404 D0 03 00 24 */ stfs f0, 0x24(r3)
/* 802CE4A8 002CB408 C0 09 00 04 */ lfs f0, 4(r9)
/* 802CE4AC 002CB40C D0 03 00 28 */ stfs f0, 0x28(r3)
/* 802CE4B0 002CB410 C0 09 00 08 */ lfs f0, 8(r9)
/* 802CE4B4 002CB414 D0 03 00 2C */ stfs f0, 0x2c(r3)
/* 802CE4B8 002CB418 99 03 00 30 */ stb r8, 0x30(r3)
/* 802CE4BC 002CB41C 98 03 00 31 */ stb r0, 0x31(r3)
/* 802CE4C0 002CB420 80 06 00 00 */ lwz r0, 0(r6)
/* 802CE4C4 002CB424 80 86 00 04 */ lwz r4, 4(r6)
/* 802CE4C8 002CB428 90 83 00 3C */ stw r4, 0x3c(r3)
/* 802CE4CC 002CB42C 90 03 00 38 */ stw r0, 0x38(r3)
/* 802CE4D0 002CB430 80 05 00 00 */ lwz r0, 0(r5)
/* 802CE4D4 002CB434 80 85 00 04 */ lwz r4, 4(r5)
/* 802CE4D8 002CB438 90 83 00 44 */ stw r4, 0x44(r3)
/* 802CE4DC 002CB43C 90 03 00 40 */ stw r0, 0x40(r3)
/* 802CE4E0 002CB440 C0 07 00 00 */ lfs f0, 0(r7)
/* 802CE4E4 002CB444 D0 03 00 48 */ stfs f0, 0x48(r3)
/* 802CE4E8 002CB448 C0 07 00 04 */ lfs f0, 4(r7)
/* 802CE4EC 002CB44C D0 03 00 4C */ stfs f0, 0x4c(r3)
/* 802CE4F0 002CB450 C0 07 00 08 */ lfs f0, 8(r7)
/* 802CE4F4 002CB454 D0 03 00 50 */ stfs f0, 0x50(r3)
/* 802CE4F8 002CB458 C0 07 00 00 */ lfs f0, 0(r7)
/* 802CE4FC 002CB45C C0 27 00 04 */ lfs f1, 4(r7)
/* 802CE500 002CB460 C0 47 00 08 */ lfs f2, 8(r7)
/* 802CE504 002CB464 FC 00 00 50 */ fneg f0, f0
/* 802CE508 002CB468 FC 20 08 50 */ fneg f1, f1
/* 802CE50C 002CB46C FC 40 10 50 */ fneg f2, f2
/* 802CE510 002CB470 D0 03 00 54 */ stfs f0, 0x54(r3)
/* 802CE514 002CB474 D0 23 00 58 */ stfs f1, 0x58(r3)
/* 802CE518 002CB478 D0 43 00 5C */ stfs f2, 0x5c(r3)
/* 802CE51C 002CB47C 4E 80 00 20 */ blr

File diff suppressed because it is too large Load Diff

126
asm/Collision/CMRay.s Normal file
View File

@ -0,0 +1,126 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global GetInvUnscaledTransformRay__5CMRayCFRC12CTransform4f
GetInvUnscaledTransformRay__5CMRayCFRC12CTransform4f:
/* 802D5FE8 002D2F48 94 21 FF 70 */ stwu r1, -0x90(r1)
/* 802D5FEC 002D2F4C 7C 08 02 A6 */ mflr r0
/* 802D5FF0 002D2F50 90 01 00 94 */ stw r0, 0x94(r1)
/* 802D5FF4 002D2F54 93 E1 00 8C */ stw r31, 0x8c(r1)
/* 802D5FF8 002D2F58 7C 9F 23 78 */ mr r31, r4
/* 802D5FFC 002D2F5C 7C A4 2B 78 */ mr r4, r5
/* 802D6000 002D2F60 93 C1 00 88 */ stw r30, 0x88(r1)
/* 802D6004 002D2F64 7C 7E 1B 78 */ mr r30, r3
/* 802D6008 002D2F68 38 61 00 20 */ addi r3, r1, 0x20
/* 802D600C 002D2F6C 48 03 CC 91 */ bl GetQuickInverse__12CTransform4fCFv
/* 802D6010 002D2F70 38 61 00 50 */ addi r3, r1, 0x50
/* 802D6014 002D2F74 38 81 00 20 */ addi r4, r1, 0x20
/* 802D6018 002D2F78 48 03 CB 5D */ bl __ct__12CTransform4fFRC12CTransform4f
/* 802D601C 002D2F7C 38 61 00 08 */ addi r3, r1, 8
/* 802D6020 002D2F80 38 81 00 50 */ addi r4, r1, 0x50
/* 802D6024 002D2F84 38 BF 00 0C */ addi r5, r31, 0xc
/* 802D6028 002D2F88 48 03 CA C1 */ bl __ml__12CTransform4fCFRC9CVector3f
/* 802D602C 002D2F8C 7F E5 FB 78 */ mr r5, r31
/* 802D6030 002D2F90 38 61 00 14 */ addi r3, r1, 0x14
/* 802D6034 002D2F94 38 81 00 50 */ addi r4, r1, 0x50
/* 802D6038 002D2F98 48 03 CA B1 */ bl __ml__12CTransform4fCFRC9CVector3f
/* 802D603C 002D2F9C C0 3F 00 24 */ lfs f1, 0x24(r31)
/* 802D6040 002D2FA0 7F C3 F3 78 */ mr r3, r30
/* 802D6044 002D2FA4 C0 5F 00 28 */ lfs f2, 0x28(r31)
/* 802D6048 002D2FA8 38 81 00 14 */ addi r4, r1, 0x14
/* 802D604C 002D2FAC 38 A1 00 08 */ addi r5, r1, 8
/* 802D6050 002D2FB0 48 00 00 CD */ bl __ct__5CMRayFRC9CVector3fRC9CVector3fff
/* 802D6054 002D2FB4 80 01 00 94 */ lwz r0, 0x94(r1)
/* 802D6058 002D2FB8 83 E1 00 8C */ lwz r31, 0x8c(r1)
/* 802D605C 002D2FBC 83 C1 00 88 */ lwz r30, 0x88(r1)
/* 802D6060 002D2FC0 7C 08 03 A6 */ mtlr r0
/* 802D6064 002D2FC4 38 21 00 90 */ addi r1, r1, 0x90
/* 802D6068 002D2FC8 4E 80 00 20 */ blr
.global __ct__5CMRayFRC9CVector3fRC9CVector3ff
__ct__5CMRayFRC9CVector3fRC9CVector3ff:
/* 802D606C 002D2FCC C0 44 00 00 */ lfs f2, 0(r4)
/* 802D6070 002D2FD0 C0 02 C5 50 */ lfs f0, lbl_805AE270@sda21(r2)
/* 802D6074 002D2FD4 D0 43 00 00 */ stfs f2, 0(r3)
/* 802D6078 002D2FD8 EC 00 08 24 */ fdivs f0, f0, f1
/* 802D607C 002D2FDC C0 44 00 04 */ lfs f2, 4(r4)
/* 802D6080 002D2FE0 D0 43 00 04 */ stfs f2, 4(r3)
/* 802D6084 002D2FE4 C0 44 00 08 */ lfs f2, 8(r4)
/* 802D6088 002D2FE8 D0 43 00 08 */ stfs f2, 8(r3)
/* 802D608C 002D2FEC C0 45 00 00 */ lfs f2, 0(r5)
/* 802D6090 002D2FF0 C0 A5 00 04 */ lfs f5, 4(r5)
/* 802D6094 002D2FF4 EC 41 00 B2 */ fmuls f2, f1, f2
/* 802D6098 002D2FF8 C0 64 00 00 */ lfs f3, 0(r4)
/* 802D609C 002D2FFC C0 85 00 08 */ lfs f4, 8(r5)
/* 802D60A0 002D3000 EC C1 01 72 */ fmuls f6, f1, f5
/* 802D60A4 002D3004 C0 E4 00 04 */ lfs f7, 4(r4)
/* 802D60A8 002D3008 EC 43 10 2A */ fadds f2, f3, f2
/* 802D60AC 002D300C C0 A4 00 08 */ lfs f5, 8(r4)
/* 802D60B0 002D3010 EC 61 01 32 */ fmuls f3, f1, f4
/* 802D60B4 002D3014 EC 87 30 2A */ fadds f4, f7, f6
/* 802D60B8 002D3018 D0 43 00 0C */ stfs f2, 0xc(r3)
/* 802D60BC 002D301C EC 45 18 2A */ fadds f2, f5, f3
/* 802D60C0 002D3020 D0 83 00 10 */ stfs f4, 0x10(r3)
/* 802D60C4 002D3024 D0 43 00 14 */ stfs f2, 0x14(r3)
/* 802D60C8 002D3028 C0 63 00 0C */ lfs f3, 0xc(r3)
/* 802D60CC 002D302C C0 43 00 00 */ lfs f2, 0(r3)
/* 802D60D0 002D3030 C0 C3 00 10 */ lfs f6, 0x10(r3)
/* 802D60D4 002D3034 C0 A3 00 04 */ lfs f5, 4(r3)
/* 802D60D8 002D3038 EC 43 10 28 */ fsubs f2, f3, f2
/* 802D60DC 002D303C C0 83 00 14 */ lfs f4, 0x14(r3)
/* 802D60E0 002D3040 C0 63 00 08 */ lfs f3, 8(r3)
/* 802D60E4 002D3044 EC A6 28 28 */ fsubs f5, f6, f5
/* 802D60E8 002D3048 D0 43 00 18 */ stfs f2, 0x18(r3)
/* 802D60EC 002D304C EC 44 18 28 */ fsubs f2, f4, f3
/* 802D60F0 002D3050 D0 A3 00 1C */ stfs f5, 0x1c(r3)
/* 802D60F4 002D3054 D0 43 00 20 */ stfs f2, 0x20(r3)
/* 802D60F8 002D3058 D0 23 00 24 */ stfs f1, 0x24(r3)
/* 802D60FC 002D305C D0 03 00 28 */ stfs f0, 0x28(r3)
/* 802D6100 002D3060 C0 05 00 00 */ lfs f0, 0(r5)
/* 802D6104 002D3064 D0 03 00 2C */ stfs f0, 0x2c(r3)
/* 802D6108 002D3068 C0 05 00 04 */ lfs f0, 4(r5)
/* 802D610C 002D306C D0 03 00 30 */ stfs f0, 0x30(r3)
/* 802D6110 002D3070 C0 05 00 08 */ lfs f0, 8(r5)
/* 802D6114 002D3074 D0 03 00 34 */ stfs f0, 0x34(r3)
/* 802D6118 002D3078 4E 80 00 20 */ blr
.global __ct__5CMRayFRC9CVector3fRC9CVector3fff
__ct__5CMRayFRC9CVector3fRC9CVector3fff:
/* 802D611C 002D307C C0 04 00 00 */ lfs f0, 0(r4)
/* 802D6120 002D3080 D0 03 00 00 */ stfs f0, 0(r3)
/* 802D6124 002D3084 C0 04 00 04 */ lfs f0, 4(r4)
/* 802D6128 002D3088 D0 03 00 04 */ stfs f0, 4(r3)
/* 802D612C 002D308C C0 04 00 08 */ lfs f0, 8(r4)
/* 802D6130 002D3090 D0 03 00 08 */ stfs f0, 8(r3)
/* 802D6134 002D3094 C0 05 00 00 */ lfs f0, 0(r5)
/* 802D6138 002D3098 D0 03 00 0C */ stfs f0, 0xc(r3)
/* 802D613C 002D309C C0 05 00 04 */ lfs f0, 4(r5)
/* 802D6140 002D30A0 D0 03 00 10 */ stfs f0, 0x10(r3)
/* 802D6144 002D30A4 C0 05 00 08 */ lfs f0, 8(r5)
/* 802D6148 002D30A8 D0 03 00 14 */ stfs f0, 0x14(r3)
/* 802D614C 002D30AC C0 63 00 0C */ lfs f3, 0xc(r3)
/* 802D6150 002D30B0 C0 03 00 00 */ lfs f0, 0(r3)
/* 802D6154 002D30B4 C0 C3 00 10 */ lfs f6, 0x10(r3)
/* 802D6158 002D30B8 C0 A3 00 04 */ lfs f5, 4(r3)
/* 802D615C 002D30BC EC 03 00 28 */ fsubs f0, f3, f0
/* 802D6160 002D30C0 C0 83 00 14 */ lfs f4, 0x14(r3)
/* 802D6164 002D30C4 C0 63 00 08 */ lfs f3, 8(r3)
/* 802D6168 002D30C8 EC A6 28 28 */ fsubs f5, f6, f5
/* 802D616C 002D30CC D0 03 00 18 */ stfs f0, 0x18(r3)
/* 802D6170 002D30D0 EC 04 18 28 */ fsubs f0, f4, f3
/* 802D6174 002D30D4 D0 A3 00 1C */ stfs f5, 0x1c(r3)
/* 802D6178 002D30D8 D0 03 00 20 */ stfs f0, 0x20(r3)
/* 802D617C 002D30DC D0 23 00 24 */ stfs f1, 0x24(r3)
/* 802D6180 002D30E0 D0 43 00 28 */ stfs f2, 0x28(r3)
/* 802D6184 002D30E4 C0 63 00 28 */ lfs f3, 0x28(r3)
/* 802D6188 002D30E8 C0 03 00 18 */ lfs f0, 0x18(r3)
/* 802D618C 002D30EC C0 43 00 1C */ lfs f2, 0x1c(r3)
/* 802D6190 002D30F0 C0 23 00 20 */ lfs f1, 0x20(r3)
/* 802D6194 002D30F4 EC 03 00 32 */ fmuls f0, f3, f0
/* 802D6198 002D30F8 EC 43 00 B2 */ fmuls f2, f3, f2
/* 802D619C 002D30FC EC 23 00 72 */ fmuls f1, f3, f1
/* 802D61A0 002D3100 D0 03 00 2C */ stfs f0, 0x2c(r3)
/* 802D61A4 002D3104 D0 43 00 30 */ stfs f2, 0x30(r3)
/* 802D61A8 002D3108 D0 23 00 34 */ stfs f1, 0x34(r3)
/* 802D61AC 002D310C 4E 80 00 20 */ blr

View File

@ -0,0 +1,101 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global Passes__15CMaterialFilterCFRC13CMaterialList
Passes__15CMaterialFilterCFRC13CMaterialList:
/* 802D534C 002D22AC 80 03 00 10 */ lwz r0, 0x10(r3)
/* 802D5350 002D22B0 2C 00 00 02 */ cmpwi r0, 2
/* 802D5354 002D22B4 41 82 00 68 */ beq lbl_802D53BC
/* 802D5358 002D22B8 40 80 00 14 */ bge lbl_802D536C
/* 802D535C 002D22BC 2C 00 00 00 */ cmpwi r0, 0
/* 802D5360 002D22C0 41 82 00 18 */ beq lbl_802D5378
/* 802D5364 002D22C4 40 80 00 1C */ bge lbl_802D5380
/* 802D5368 002D22C8 48 00 00 FC */ b lbl_802D5464
lbl_802D536C:
/* 802D536C 002D22CC 2C 00 00 04 */ cmpwi r0, 4
/* 802D5370 002D22D0 40 80 00 F4 */ bge lbl_802D5464
/* 802D5374 002D22D4 48 00 00 7C */ b lbl_802D53F0
lbl_802D5378:
/* 802D5378 002D22D8 38 60 00 01 */ li r3, 1
/* 802D537C 002D22DC 4E 80 00 20 */ blr
lbl_802D5380:
/* 802D5380 002D22E0 80 C3 00 00 */ lwz r6, 0(r3)
/* 802D5384 002D22E4 38 A0 00 00 */ li r5, 0
/* 802D5388 002D22E8 80 04 00 00 */ lwz r0, 0(r4)
/* 802D538C 002D22EC 80 E3 00 04 */ lwz r7, 4(r3)
/* 802D5390 002D22F0 80 64 00 04 */ lwz r3, 4(r4)
/* 802D5394 002D22F4 7C C0 00 38 */ and r0, r6, r0
/* 802D5398 002D22F8 7C 00 2A 78 */ xor r0, r0, r5
/* 802D539C 002D22FC 7C E3 18 38 */ and r3, r7, r3
/* 802D53A0 002D2300 7C 63 2A 78 */ xor r3, r3, r5
/* 802D53A4 002D2304 7C 60 03 79 */ or. r0, r3, r0
/* 802D53A8 002D2308 41 82 00 0C */ beq lbl_802D53B4
/* 802D53AC 002D230C 38 60 00 01 */ li r3, 1
/* 802D53B0 002D2310 4E 80 00 20 */ blr
lbl_802D53B4:
/* 802D53B4 002D2314 38 60 00 00 */ li r3, 0
/* 802D53B8 002D2318 4E 80 00 20 */ blr
lbl_802D53BC:
/* 802D53BC 002D231C 80 A4 00 00 */ lwz r5, 0(r4)
/* 802D53C0 002D2320 38 00 00 00 */ li r0, 0
/* 802D53C4 002D2324 80 C3 00 08 */ lwz r6, 8(r3)
/* 802D53C8 002D2328 80 E3 00 0C */ lwz r7, 0xc(r3)
/* 802D53CC 002D232C 80 84 00 04 */ lwz r4, 4(r4)
/* 802D53D0 002D2330 7C C3 28 38 */ and r3, r6, r5
/* 802D53D4 002D2334 7C 63 02 78 */ xor r3, r3, r0
/* 802D53D8 002D2338 7C E4 20 38 */ and r4, r7, r4
/* 802D53DC 002D233C 7C 80 02 78 */ xor r0, r4, r0
/* 802D53E0 002D2340 7C 03 1B 78 */ or r3, r0, r3
/* 802D53E4 002D2344 7C 63 00 34 */ cntlzw r3, r3
/* 802D53E8 002D2348 54 63 D9 7E */ srwi r3, r3, 5
/* 802D53EC 002D234C 4E 80 00 20 */ blr
lbl_802D53F0:
/* 802D53F0 002D2350 80 03 00 00 */ lwz r0, 0(r3)
/* 802D53F4 002D2354 38 C0 00 00 */ li r6, 0
/* 802D53F8 002D2358 80 E4 00 00 */ lwz r7, 0(r4)
/* 802D53FC 002D235C 80 A3 00 04 */ lwz r5, 4(r3)
/* 802D5400 002D2360 81 04 00 04 */ lwz r8, 4(r4)
/* 802D5404 002D2364 7C 00 38 38 */ and r0, r0, r7
/* 802D5408 002D2368 7C 00 32 78 */ xor r0, r0, r6
/* 802D540C 002D236C 7C A4 40 38 */ and r4, r5, r8
/* 802D5410 002D2370 7C 84 32 78 */ xor r4, r4, r6
/* 802D5414 002D2374 7C 80 03 79 */ or. r0, r4, r0
/* 802D5418 002D2378 41 82 00 0C */ beq lbl_802D5424
/* 802D541C 002D237C 38 00 00 01 */ li r0, 1
/* 802D5420 002D2380 48 00 00 08 */ b lbl_802D5428
lbl_802D5424:
/* 802D5424 002D2384 7C C0 33 78 */ mr r0, r6
lbl_802D5428:
/* 802D5428 002D2388 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 802D542C 002D238C 41 82 00 30 */ beq lbl_802D545C
/* 802D5430 002D2390 80 A3 00 08 */ lwz r5, 8(r3)
/* 802D5434 002D2394 38 80 00 00 */ li r4, 0
/* 802D5438 002D2398 80 63 00 0C */ lwz r3, 0xc(r3)
/* 802D543C 002D239C 7C 80 FE 70 */ srawi r0, r4, 0x1f
/* 802D5440 002D23A0 7C A5 38 38 */ and r5, r5, r7
/* 802D5444 002D23A4 7C 63 40 38 */ and r3, r3, r8
/* 802D5448 002D23A8 7C 63 22 78 */ xor r3, r3, r4
/* 802D544C 002D23AC 7C A0 02 78 */ xor r0, r5, r0
/* 802D5450 002D23B0 7C 60 03 79 */ or. r0, r3, r0
/* 802D5454 002D23B4 40 82 00 08 */ bne lbl_802D545C
/* 802D5458 002D23B8 38 C0 00 01 */ li r6, 1
lbl_802D545C:
/* 802D545C 002D23BC 7C C3 33 78 */ mr r3, r6
/* 802D5460 002D23C0 4E 80 00 20 */ blr
lbl_802D5464:
/* 802D5464 002D23C4 38 60 00 01 */ li r3, 1
/* 802D5468 002D23C8 4E 80 00 20 */ blr
.global __sinit_CMaterialFilter_cpp
__sinit_CMaterialFilter_cpp:
/* 802D546C 002D23CC 3C 60 80 5A */ lis r3, lbl_8059FD18@ha
/* 802D5470 002D23D0 38 80 FF FF */ li r4, -1
/* 802D5474 002D23D4 38 63 FD 18 */ addi r3, r3, lbl_8059FD18@l
/* 802D5478 002D23D8 38 00 00 00 */ li r0, 0
/* 802D547C 002D23DC 90 83 00 04 */ stw r4, 4(r3)
/* 802D5480 002D23E0 90 03 00 00 */ stw r0, 0(r3)
/* 802D5484 002D23E4 90 03 00 0C */ stw r0, 0xc(r3)
/* 802D5488 002D23E8 90 03 00 08 */ stw r0, 8(r3)
/* 802D548C 002D23EC 90 03 00 10 */ stw r0, 0x10(r3)
/* 802D5490 002D23F0 4E 80 00 20 */ blr

View File

@ -0,0 +1,70 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global BitPosition__13CMaterialListFUx
BitPosition__13CMaterialListFUx:
/* 802CFC08 002CCB68 38 00 00 08 */ li r0, 8
/* 802CFC0C 002CCB6C 39 20 00 00 */ li r9, 0
/* 802CFC10 002CCB70 39 40 00 00 */ li r10, 0
/* 802CFC14 002CCB74 39 00 00 01 */ li r8, 1
/* 802CFC18 002CCB78 38 E0 00 00 */ li r7, 0
/* 802CFC1C 002CCB7C 7C 09 03 A6 */ mtctr r0
lbl_802CFC20:
/* 802CFC20 002CCB80 7C 86 40 38 */ and r6, r4, r8
/* 802CFC24 002CCB84 7C 65 38 38 */ and r5, r3, r7
/* 802CFC28 002CCB88 7C C6 3A 78 */ xor r6, r6, r7
/* 802CFC2C 002CCB8C 7C A5 3A 78 */ xor r5, r5, r7
/* 802CFC30 002CCB90 7C C5 2B 79 */ or. r5, r6, r5
/* 802CFC34 002CCB94 41 82 00 0C */ beq lbl_802CFC40
/* 802CFC38 002CCB98 7D 23 4B 78 */ mr r3, r9
/* 802CFC3C 002CCB9C 4E 80 00 20 */ blr
lbl_802CFC40:
/* 802CFC40 002CCBA0 54 84 F8 3E */ rotlwi r4, r4, 0x1f
/* 802CFC44 002CCBA4 54 60 F8 7E */ srwi r0, r3, 1
/* 802CFC48 002CCBA8 50 64 F8 00 */ rlwimi r4, r3, 0x1f, 0, 0
/* 802CFC4C 002CCBAC 39 29 00 01 */ addi r9, r9, 1
/* 802CFC50 002CCBB0 7C 86 40 38 */ and r6, r4, r8
/* 802CFC54 002CCBB4 7C 05 38 38 */ and r5, r0, r7
/* 802CFC58 002CCBB8 7C C6 3A 78 */ xor r6, r6, r7
/* 802CFC5C 002CCBBC 7C A5 3A 78 */ xor r5, r5, r7
/* 802CFC60 002CCBC0 7C C5 2B 79 */ or. r5, r6, r5
/* 802CFC64 002CCBC4 41 82 00 0C */ beq lbl_802CFC70
/* 802CFC68 002CCBC8 7D 23 4B 78 */ mr r3, r9
/* 802CFC6C 002CCBCC 4E 80 00 20 */ blr
lbl_802CFC70:
/* 802CFC70 002CCBD0 54 84 F8 3E */ rotlwi r4, r4, 0x1f
/* 802CFC74 002CCBD4 39 29 00 01 */ addi r9, r9, 1
/* 802CFC78 002CCBD8 50 04 F8 00 */ rlwimi r4, r0, 0x1f, 0, 0
/* 802CFC7C 002CCBDC 54 00 F8 7E */ srwi r0, r0, 1
/* 802CFC80 002CCBE0 7C 86 40 38 */ and r6, r4, r8
/* 802CFC84 002CCBE4 7C 05 38 38 */ and r5, r0, r7
/* 802CFC88 002CCBE8 7C C6 3A 78 */ xor r6, r6, r7
/* 802CFC8C 002CCBEC 7C A5 3A 78 */ xor r5, r5, r7
/* 802CFC90 002CCBF0 7C C5 2B 79 */ or. r5, r6, r5
/* 802CFC94 002CCBF4 41 82 00 0C */ beq lbl_802CFCA0
/* 802CFC98 002CCBF8 7D 23 4B 78 */ mr r3, r9
/* 802CFC9C 002CCBFC 4E 80 00 20 */ blr
lbl_802CFCA0:
/* 802CFCA0 002CCC00 54 84 F8 3E */ rotlwi r4, r4, 0x1f
/* 802CFCA4 002CCC04 39 29 00 01 */ addi r9, r9, 1
/* 802CFCA8 002CCC08 50 04 F8 00 */ rlwimi r4, r0, 0x1f, 0, 0
/* 802CFCAC 002CCC0C 54 00 F8 7E */ srwi r0, r0, 1
/* 802CFCB0 002CCC10 7C 86 40 38 */ and r6, r4, r8
/* 802CFCB4 002CCC14 7C 05 38 38 */ and r5, r0, r7
/* 802CFCB8 002CCC18 7C C6 3A 78 */ xor r6, r6, r7
/* 802CFCBC 002CCC1C 7C A5 3A 78 */ xor r5, r5, r7
/* 802CFCC0 002CCC20 7C C5 2B 79 */ or. r5, r6, r5
/* 802CFCC4 002CCC24 41 82 00 0C */ beq lbl_802CFCD0
/* 802CFCC8 002CCC28 7D 23 4B 78 */ mr r3, r9
/* 802CFCCC 002CCC2C 4E 80 00 20 */ blr
lbl_802CFCD0:
/* 802CFCD0 002CCC30 54 84 F8 3E */ rotlwi r4, r4, 0x1f
/* 802CFCD4 002CCC34 39 29 00 01 */ addi r9, r9, 1
/* 802CFCD8 002CCC38 50 04 F8 00 */ rlwimi r4, r0, 0x1f, 0, 0
/* 802CFCDC 002CCC3C 54 00 F8 7E */ srwi r0, r0, 1
/* 802CFCE0 002CCC40 7C 03 03 78 */ mr r3, r0
/* 802CFCE4 002CCC44 39 4A 00 03 */ addi r10, r10, 3
/* 802CFCE8 002CCC48 42 00 FF 38 */ bdnz lbl_802CFC20
/* 802CFCEC 002CCC4C 38 60 FF FF */ li r3, -1
/* 802CFCF0 002CCC50 4E 80 00 20 */ blr

769
asm/Collision/COBBox.s Normal file
View File

@ -0,0 +1,769 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global OBBIntersectsBox__6COBBoxCFRC6COBBox
OBBIntersectsBox__6COBBoxCFRC6COBBox:
/* 802D5494 002D23F4 94 21 FE 60 */ stwu r1, -0x1a0(r1)
/* 802D5498 002D23F8 DB E1 01 90 */ stfd f31, 0x190(r1)
/* 802D549C 002D23FC F3 E1 01 98 */ psq_st f31, 408(r1), 0, qr0
/* 802D54A0 002D2400 DB C1 01 80 */ stfd f30, 0x180(r1)
/* 802D54A4 002D2404 F3 C1 01 88 */ psq_st f30, 392(r1), 0, qr0
/* 802D54A8 002D2408 DB A1 01 70 */ stfd f29, 0x170(r1)
/* 802D54AC 002D240C F3 A1 01 78 */ psq_st f29, 376(r1), 0, qr0
/* 802D54B0 002D2410 DB 81 01 60 */ stfd f28, 0x160(r1)
/* 802D54B4 002D2414 F3 81 01 68 */ psq_st f28, 360(r1), 0, qr0
/* 802D54B8 002D2418 DB 61 01 50 */ stfd f27, 0x150(r1)
/* 802D54BC 002D241C F3 61 01 58 */ psq_st f27, 344(r1), 0, qr0
/* 802D54C0 002D2420 DB 41 01 40 */ stfd f26, 0x140(r1)
/* 802D54C4 002D2424 F3 41 01 48 */ psq_st f26, 328(r1), 0, qr0
/* 802D54C8 002D2428 DB 21 01 30 */ stfd f25, 0x130(r1)
/* 802D54CC 002D242C F3 21 01 38 */ psq_st f25, 312(r1), 0, qr0
/* 802D54D0 002D2430 DB 01 01 20 */ stfd f24, 0x120(r1)
/* 802D54D4 002D2434 F3 01 01 28 */ psq_st f24, 296(r1), 0, qr0
/* 802D54D8 002D2438 DA E1 01 10 */ stfd f23, 0x110(r1)
/* 802D54DC 002D243C F2 E1 01 18 */ psq_st f23, 280(r1), 0, qr0
/* 802D54E0 002D2440 DA C1 01 00 */ stfd f22, 0x100(r1)
/* 802D54E4 002D2444 F2 C1 01 08 */ psq_st f22, 264(r1), 0, qr0
/* 802D54E8 002D2448 DA A1 00 F0 */ stfd f21, 0xf0(r1)
/* 802D54EC 002D244C F2 A1 00 F8 */ psq_st f21, 248(r1), 0, qr0
/* 802D54F0 002D2450 DA 81 00 E0 */ stfd f20, 0xe0(r1)
/* 802D54F4 002D2454 F2 81 00 E8 */ psq_st f20, 232(r1), 0, qr0
/* 802D54F8 002D2458 DA 61 00 D0 */ stfd f19, 0xd0(r1)
/* 802D54FC 002D245C F2 61 00 D8 */ psq_st f19, 216(r1), 0, qr0
/* 802D5500 002D2460 DA 41 00 C0 */ stfd f18, 0xc0(r1)
/* 802D5504 002D2464 F2 41 00 C8 */ psq_st f18, 200(r1), 0, qr0
/* 802D5508 002D2468 DA 21 00 B0 */ stfd f17, 0xb0(r1)
/* 802D550C 002D246C F2 21 00 B8 */ psq_st f17, 184(r1), 0, qr0
/* 802D5510 002D2470 DA 01 00 A0 */ stfd f16, 0xa0(r1)
/* 802D5514 002D2474 F2 01 00 A8 */ psq_st f16, 168(r1), 0, qr0
/* 802D5518 002D2478 D9 E1 00 90 */ stfd f15, 0x90(r1)
/* 802D551C 002D247C F1 E1 00 98 */ psq_st f15, 152(r1), 0, qr0
/* 802D5520 002D2480 D9 C1 00 80 */ stfd f14, 0x80(r1)
/* 802D5524 002D2484 F1 C1 00 88 */ psq_st f14, 136(r1), 0, qr0
/* 802D5528 002D2488 C0 A3 00 10 */ lfs f5, 0x10(r3)
/* 802D552C 002D248C 38 E1 00 14 */ addi r7, r1, 0x14
/* 802D5530 002D2490 C1 64 00 10 */ lfs f11, 0x10(r4)
/* 802D5534 002D2494 39 03 00 30 */ addi r8, r3, 0x30
/* 802D5538 002D2498 FE C0 28 18 */ frsp f22, f5
/* 802D553C 002D249C C3 63 00 00 */ lfs f27, 0(r3)
/* 802D5540 002D24A0 C0 44 00 00 */ lfs f2, 0(r4)
/* 802D5544 002D24A4 FE A0 58 18 */ frsp f21, f11
/* 802D5548 002D24A8 C1 A4 00 14 */ lfs f13, 0x14(r4)
/* 802D554C 002D24AC FF 00 D8 18 */ frsp f24, f27
/* 802D5550 002D24B0 C0 C3 00 20 */ lfs f6, 0x20(r3)
/* 802D5554 002D24B4 EE 36 05 72 */ fmuls f17, f22, f21
/* 802D5558 002D24B8 C1 84 00 20 */ lfs f12, 0x20(r4)
/* 802D555C 002D24BC FE E0 10 18 */ frsp f23, f2
/* 802D5560 002D24C0 C0 24 00 04 */ lfs f1, 4(r4)
/* 802D5564 002D24C4 FE A0 68 18 */ frsp f21, f13
/* 802D5568 002D24C8 C2 64 00 18 */ lfs f19, 0x18(r4)
/* 802D556C 002D24CC EE 18 8D FA */ fmadds f16, f24, f23, f17
/* 802D5570 002D24D0 C0 E3 00 14 */ lfs f7, 0x14(r3)
/* 802D5574 002D24D4 EE 36 05 72 */ fmuls f17, f22, f21
/* 802D5578 002D24D8 C1 23 00 18 */ lfs f9, 0x18(r3)
/* 802D557C 002D24DC C2 44 00 24 */ lfs f18, 0x24(r4)
/* 802D5580 002D24E0 FF 40 30 18 */ frsp f26, f6
/* 802D5584 002D24E4 FF 20 60 18 */ frsp f25, f12
/* 802D5588 002D24E8 C0 04 00 08 */ lfs f0, 8(r4)
/* 802D558C 002D24EC C0 83 00 04 */ lfs f4, 4(r3)
/* 802D5590 002D24F0 FE E0 08 18 */ frsp f23, f1
/* 802D5594 002D24F4 C0 63 00 08 */ lfs f3, 8(r3)
/* 802D5598 002D24F8 FE A0 98 18 */ frsp f21, f19
/* 802D559C 002D24FC ED FA 86 7A */ fmadds f15, f26, f25, f16
/* 802D55A0 002D2500 C2 84 00 28 */ lfs f20, 0x28(r4)
/* 802D55A4 002D2504 EE 18 8D FA */ fmadds f16, f24, f23, f17
/* 802D55A8 002D2508 C1 03 00 24 */ lfs f8, 0x24(r3)
/* 802D55AC 002D250C C1 43 00 28 */ lfs f10, 0x28(r3)
/* 802D55B0 002D2510 FF 20 90 18 */ frsp f25, f18
/* 802D55B4 002D2514 D1 E1 00 14 */ stfs f15, 0x14(r1)
/* 802D55B8 002D2518 FE E0 00 18 */ frsp f23, f0
/* 802D55BC 002D251C ED FA 86 7A */ fmadds f15, f26, f25, f16
/* 802D55C0 002D2520 C2 03 00 1C */ lfs f16, 0x1c(r3)
/* 802D55C4 002D2524 C3 24 00 1C */ lfs f25, 0x1c(r4)
/* 802D55C8 002D2528 EE 36 05 72 */ fmuls f17, f22, f21
/* 802D55CC 002D252C C2 A3 00 0C */ lfs f21, 0xc(r3)
/* 802D55D0 002D2530 EF 99 80 28 */ fsubs f28, f25, f16
/* 802D55D4 002D2534 C2 C4 00 0C */ lfs f22, 0xc(r4)
/* 802D55D8 002D2538 FF 20 A0 18 */ frsp f25, f20
/* 802D55DC 002D253C C3 A3 00 2C */ lfs f29, 0x2c(r3)
/* 802D55E0 002D2540 EE 18 8D FA */ fmadds f16, f24, f23, f17
/* 802D55E4 002D2544 C2 E4 00 2C */ lfs f23, 0x2c(r4)
/* 802D55E8 002D2548 D1 E1 00 18 */ stfs f15, 0x18(r1)
/* 802D55EC 002D254C EF 16 A8 28 */ fsubs f24, f22, f21
/* 802D55F0 002D2550 EE DC 01 72 */ fmuls f22, f28, f5
/* 802D55F4 002D2554 38 64 00 30 */ addi r3, r4, 0x30
/* 802D55F8 002D2558 EE BC 01 F2 */ fmuls f21, f28, f7
/* 802D55FC 002D255C D3 61 00 5C */ stfs f27, 0x5c(r1)
/* 802D5600 002D2560 EE 3C 02 72 */ fmuls f17, f28, f9
/* 802D5604 002D2564 ED FA 86 7A */ fmadds f15, f26, f25, f16
/* 802D5608 002D2568 EE F7 E8 28 */ fsubs f23, f23, f29
/* 802D560C 002D256C D0 A1 00 60 */ stfs f5, 0x60(r1)
/* 802D5610 002D2570 EE D8 B6 FA */ fmadds f22, f24, f27, f22
/* 802D5614 002D2574 EE 18 A9 3A */ fmadds f16, f24, f4, f21
/* 802D5618 002D2578 D0 C1 00 64 */ stfs f6, 0x64(r1)
/* 802D561C 002D257C EC B8 88 FA */ fmadds f5, f24, f3, f17
/* 802D5620 002D2580 EE 37 B1 BA */ fmadds f17, f23, f6, f22
/* 802D5624 002D2584 D0 81 00 68 */ stfs f4, 0x68(r1)
/* 802D5628 002D2588 EC D7 82 3A */ fmadds f6, f23, f8, f16
/* 802D562C 002D258C EC B7 2A BA */ fmadds f5, f23, f10, f5
/* 802D5630 002D2590 D0 E1 00 6C */ stfs f7, 0x6c(r1)
/* 802D5634 002D2594 D1 01 00 70 */ stfs f8, 0x70(r1)
/* 802D5638 002D2598 D0 61 00 74 */ stfs f3, 0x74(r1)
/* 802D563C 002D259C D1 21 00 78 */ stfs f9, 0x78(r1)
/* 802D5640 002D25A0 D1 41 00 7C */ stfs f10, 0x7c(r1)
/* 802D5644 002D25A4 D0 41 00 38 */ stfs f2, 0x38(r1)
/* 802D5648 002D25A8 D1 61 00 3C */ stfs f11, 0x3c(r1)
/* 802D564C 002D25AC D1 81 00 40 */ stfs f12, 0x40(r1)
/* 802D5650 002D25B0 D0 21 00 44 */ stfs f1, 0x44(r1)
/* 802D5654 002D25B4 D1 A1 00 48 */ stfs f13, 0x48(r1)
/* 802D5658 002D25B8 D2 41 00 4C */ stfs f18, 0x4c(r1)
/* 802D565C 002D25BC D0 01 00 50 */ stfs f0, 0x50(r1)
/* 802D5660 002D25C0 D2 61 00 54 */ stfs f19, 0x54(r1)
/* 802D5664 002D25C4 D2 81 00 58 */ stfs f20, 0x58(r1)
/* 802D5668 002D25C8 D2 21 00 08 */ stfs f17, 8(r1)
/* 802D566C 002D25CC D0 C1 00 0C */ stfs f6, 0xc(r1)
/* 802D5670 002D25D0 D0 A1 00 10 */ stfs f5, 0x10(r1)
/* 802D5674 002D25D4 D1 E1 00 1C */ stfs f15, 0x1c(r1)
/* 802D5678 002D25D8 FE C0 38 18 */ frsp f22, f7
/* 802D567C 002D25DC FE A0 58 18 */ frsp f21, f11
/* 802D5680 002D25E0 FF 00 20 18 */ frsp f24, f4
/* 802D5684 002D25E4 FE E0 10 18 */ frsp f23, f2
/* 802D5688 002D25E8 EE 36 05 72 */ fmuls f17, f22, f21
/* 802D568C 002D25EC FE A0 68 18 */ frsp f21, f13
/* 802D5690 002D25F0 FF 40 40 18 */ frsp f26, f8
/* 802D5694 002D25F4 EE 18 8D FA */ fmadds f16, f24, f23, f17
/* 802D5698 002D25F8 FF 20 60 18 */ frsp f25, f12
/* 802D569C 002D25FC EE 36 05 72 */ fmuls f17, f22, f21
/* 802D56A0 002D2600 FE E0 08 18 */ frsp f23, f1
/* 802D56A4 002D2604 ED FA 86 7A */ fmadds f15, f26, f25, f16
/* 802D56A8 002D2608 FE A0 98 18 */ frsp f21, f19
/* 802D56AC 002D260C EE 18 8D FA */ fmadds f16, f24, f23, f17
/* 802D56B0 002D2610 FF 20 90 18 */ frsp f25, f18
/* 802D56B4 002D2614 D1 E7 00 0C */ stfs f15, 0xc(r7)
/* 802D56B8 002D2618 FE E0 00 18 */ frsp f23, f0
/* 802D56BC 002D261C EE 36 05 72 */ fmuls f17, f22, f21
/* 802D56C0 002D2620 ED FA 86 7A */ fmadds f15, f26, f25, f16
/* 802D56C4 002D2624 FF 20 A0 18 */ frsp f25, f20
/* 802D56C8 002D2628 EE 18 8D FA */ fmadds f16, f24, f23, f17
/* 802D56CC 002D262C D1 E7 00 10 */ stfs f15, 0x10(r7)
/* 802D56D0 002D2630 ED FA 86 7A */ fmadds f15, f26, f25, f16
/* 802D56D4 002D2634 D1 E7 00 14 */ stfs f15, 0x14(r7)
/* 802D56D8 002D2638 FE C0 48 18 */ frsp f22, f9
/* 802D56DC 002D263C 38 00 00 03 */ li r0, 3
/* 802D56E0 002D2640 FE A0 58 18 */ frsp f21, f11
/* 802D56E4 002D2644 7D 04 43 78 */ mr r4, r8
/* 802D56E8 002D2648 FF 00 18 18 */ frsp f24, f3
/* 802D56EC 002D264C 7C E5 3B 78 */ mr r5, r7
/* 802D56F0 002D2650 EE 36 05 72 */ fmuls f17, f22, f21
/* 802D56F4 002D2654 38 C1 00 08 */ addi r6, r1, 8
/* 802D56F8 002D2658 FE E0 10 18 */ frsp f23, f2
/* 802D56FC 002D265C C0 42 C5 40 */ lfs f2, lbl_805AE260@sda21(r2)
/* 802D5700 002D2660 FE A0 68 18 */ frsp f21, f13
/* 802D5704 002D2664 FF 40 50 18 */ frsp f26, f10
/* 802D5708 002D2668 EE 18 8D FA */ fmadds f16, f24, f23, f17
/* 802D570C 002D266C FF 20 60 18 */ frsp f25, f12
/* 802D5710 002D2670 EE 36 05 72 */ fmuls f17, f22, f21
/* 802D5714 002D2674 FE E0 08 18 */ frsp f23, f1
/* 802D5718 002D2678 ED FA 86 7A */ fmadds f15, f26, f25, f16
/* 802D571C 002D267C FE A0 98 18 */ frsp f21, f19
/* 802D5720 002D2680 EE 18 8D FA */ fmadds f16, f24, f23, f17
/* 802D5724 002D2684 FF 20 90 18 */ frsp f25, f18
/* 802D5728 002D2688 D1 E7 00 18 */ stfs f15, 0x18(r7)
/* 802D572C 002D268C FE E0 00 18 */ frsp f23, f0
/* 802D5730 002D2690 EE 36 05 72 */ fmuls f17, f22, f21
/* 802D5734 002D2694 ED FA 86 7A */ fmadds f15, f26, f25, f16
/* 802D5738 002D2698 FF 20 A0 18 */ frsp f25, f20
/* 802D573C 002D269C EE 18 8D FA */ fmadds f16, f24, f23, f17
/* 802D5740 002D26A0 D1 E7 00 1C */ stfs f15, 0x1c(r7)
/* 802D5744 002D26A4 ED FA 86 7A */ fmadds f15, f26, f25, f16
/* 802D5748 002D26A8 D1 E7 00 20 */ stfs f15, 0x20(r7)
/* 802D574C 002D26AC 7C 09 03 A6 */ mtctr r0
lbl_802D5750:
/* 802D5750 002D26B0 C0 25 00 04 */ lfs f1, 4(r5)
/* 802D5754 002D26B4 C0 05 00 00 */ lfs f0, 0(r5)
/* 802D5758 002D26B8 FC 80 0A 10 */ fabs f4, f1
/* 802D575C 002D26BC C0 25 00 08 */ lfs f1, 8(r5)
/* 802D5760 002D26C0 FC E0 02 10 */ fabs f7, f0
/* 802D5764 002D26C4 C0 06 00 00 */ lfs f0, 0(r6)
/* 802D5768 002D26C8 FD 00 0A 10 */ fabs f8, f1
/* 802D576C 002D26CC C0 63 00 04 */ lfs f3, 4(r3)
/* 802D5770 002D26D0 FC 20 20 18 */ frsp f1, f4
/* 802D5774 002D26D4 C0 A3 00 00 */ lfs f5, 0(r3)
/* 802D5778 002D26D8 FD 20 02 10 */ fabs f9, f0
/* 802D577C 002D26DC C0 C3 00 08 */ lfs f6, 8(r3)
/* 802D5780 002D26E0 FC 80 38 18 */ frsp f4, f7
/* 802D5784 002D26E4 C0 E4 00 00 */ lfs f7, 0(r4)
/* 802D5788 002D26E8 EC 03 00 72 */ fmuls f0, f3, f1
/* 802D578C 002D26EC FC 60 40 18 */ frsp f3, f8
/* 802D5790 002D26F0 FC 20 48 18 */ frsp f1, f9
/* 802D5794 002D26F4 EC 05 01 3A */ fmadds f0, f5, f4, f0
/* 802D5798 002D26F8 EC 06 00 FA */ fmadds f0, f6, f3, f0
/* 802D579C 002D26FC EC 07 00 2A */ fadds f0, f7, f0
/* 802D57A0 002D2700 EC 02 00 2A */ fadds f0, f2, f0
/* 802D57A4 002D2704 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 802D57A8 002D2708 40 81 00 0C */ ble lbl_802D57B4
/* 802D57AC 002D270C 38 60 00 00 */ li r3, 0
/* 802D57B0 002D2710 48 00 03 2C */ b lbl_802D5ADC
lbl_802D57B4:
/* 802D57B4 002D2714 38 84 00 04 */ addi r4, r4, 4
/* 802D57B8 002D2718 38 A5 00 0C */ addi r5, r5, 0xc
/* 802D57BC 002D271C 38 C6 00 04 */ addi r6, r6, 4
/* 802D57C0 002D2720 42 00 FF 90 */ bdnz lbl_802D5750
/* 802D57C4 002D2724 38 00 00 03 */ li r0, 3
/* 802D57C8 002D2728 7C 64 1B 78 */ mr r4, r3
/* 802D57CC 002D272C C0 A1 00 10 */ lfs f5, 0x10(r1)
/* 802D57D0 002D2730 C0 81 00 08 */ lfs f4, 8(r1)
/* 802D57D4 002D2734 C0 61 00 0C */ lfs f3, 0xc(r1)
/* 802D57D8 002D2738 C0 22 C5 40 */ lfs f1, lbl_805AE260@sda21(r2)
/* 802D57DC 002D273C 7C 09 03 A6 */ mtctr r0
lbl_802D57E0:
/* 802D57E0 002D2740 C0 07 00 0C */ lfs f0, 0xc(r7)
/* 802D57E4 002D2744 C0 E7 00 00 */ lfs f7, 0(r7)
/* 802D57E8 002D2748 FC 40 02 10 */ fabs f2, f0
/* 802D57EC 002D274C C1 07 00 18 */ lfs f8, 0x18(r7)
/* 802D57F0 002D2750 FC C0 3A 10 */ fabs f6, f7
/* 802D57F4 002D2754 C2 88 00 04 */ lfs f20, 4(r8)
/* 802D57F8 002D2758 FD 20 42 10 */ fabs f9, f8
/* 802D57FC 002D275C C2 68 00 00 */ lfs f19, 0(r8)
/* 802D5800 002D2760 FC 40 10 18 */ frsp f2, f2
/* 802D5804 002D2764 C2 48 00 08 */ lfs f18, 8(r8)
/* 802D5808 002D2768 EC 00 00 F2 */ fmuls f0, f0, f3
/* 802D580C 002D276C C1 44 00 00 */ lfs f10, 0(r4)
/* 802D5810 002D2770 FC C0 30 18 */ frsp f6, f6
/* 802D5814 002D2774 EC 54 00 B2 */ fmuls f2, f20, f2
/* 802D5818 002D2778 EC 07 01 3A */ fmadds f0, f7, f4, f0
/* 802D581C 002D277C FC E0 48 18 */ frsp f7, f9
/* 802D5820 002D2780 EC 53 11 BA */ fmadds f2, f19, f6, f2
/* 802D5824 002D2784 EC 08 01 7A */ fmadds f0, f8, f5, f0
/* 802D5828 002D2788 EC D2 11 FA */ fmadds f6, f18, f7, f2
/* 802D582C 002D278C FC 40 02 10 */ fabs f2, f0
/* 802D5830 002D2790 EC 06 50 2A */ fadds f0, f6, f10
/* 802D5834 002D2794 FC 40 10 18 */ frsp f2, f2
/* 802D5838 002D2798 EC 01 00 2A */ fadds f0, f1, f0
/* 802D583C 002D279C FC 02 00 40 */ fcmpo cr0, f2, f0
/* 802D5840 002D27A0 40 81 00 0C */ ble lbl_802D584C
/* 802D5844 002D27A4 38 60 00 00 */ li r3, 0
/* 802D5848 002D27A8 48 00 02 94 */ b lbl_802D5ADC
lbl_802D584C:
/* 802D584C 002D27AC 38 E7 00 04 */ addi r7, r7, 4
/* 802D5850 002D27B0 38 84 00 04 */ addi r4, r4, 4
/* 802D5854 002D27B4 42 00 FF 8C */ bdnz lbl_802D57E0
/* 802D5858 002D27B8 C2 A1 00 20 */ lfs f21, 0x20(r1)
/* 802D585C 002D27BC C3 21 00 18 */ lfs f25, 0x18(r1)
/* 802D5860 002D27C0 FC 00 AA 10 */ fabs f0, f21
/* 802D5864 002D27C4 C2 C1 00 2C */ lfs f22, 0x2c(r1)
/* 802D5868 002D27C8 FC 40 CA 10 */ fabs f2, f25
/* 802D586C 002D27CC C3 41 00 1C */ lfs f26, 0x1c(r1)
/* 802D5870 002D27D0 FC 20 B2 10 */ fabs f1, f22
/* 802D5874 002D27D4 C1 A1 00 0C */ lfs f13, 0xc(r1)
/* 802D5878 002D27D8 FF 00 00 18 */ frsp f24, f0
/* 802D587C 002D27DC C3 A3 00 08 */ lfs f29, 8(r3)
/* 802D5880 002D27E0 FC 60 D2 10 */ fabs f3, f26
/* 802D5884 002D27E4 C3 63 00 04 */ lfs f27, 4(r3)
/* 802D5888 002D27E8 FF C0 10 18 */ frsp f30, f2
/* 802D588C 002D27EC C3 E1 00 10 */ lfs f31, 0x10(r1)
/* 802D5890 002D27F0 EC 16 03 72 */ fmuls f0, f22, f13
/* 802D5894 002D27F4 C1 82 C5 40 */ lfs f12, lbl_805AE260@sda21(r2)
/* 802D5898 002D27F8 FE E0 08 18 */ frsp f23, f1
/* 802D589C 002D27FC EC 52 06 32 */ fmuls f2, f18, f24
/* 802D58A0 002D2800 EC 15 07 F8 */ fmsubs f0, f21, f31, f0
/* 802D58A4 002D2804 FF 80 18 18 */ frsp f28, f3
/* 802D58A8 002D2808 EC 3D 07 B2 */ fmuls f1, f29, f30
/* 802D58AC 002D280C FC 00 02 10 */ fabs f0, f0
/* 802D58B0 002D2810 EC 54 15 FA */ fmadds f2, f20, f23, f2
/* 802D58B4 002D2814 EC 7B 0F 3A */ fmadds f3, f27, f28, f1
/* 802D58B8 002D2818 FC 20 00 18 */ frsp f1, f0
/* 802D58BC 002D281C EC 02 18 2A */ fadds f0, f2, f3
/* 802D58C0 002D2820 EC 0C 00 2A */ fadds f0, f12, f0
/* 802D58C4 002D2824 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 802D58C8 002D2828 40 81 00 0C */ ble lbl_802D58D4
/* 802D58CC 002D282C 38 60 00 00 */ li r3, 0
/* 802D58D0 002D2830 48 00 02 0C */ b lbl_802D5ADC
lbl_802D58D4:
/* 802D58D4 002D2834 C1 61 00 24 */ lfs f11, 0x24(r1)
/* 802D58D8 002D2838 C0 E1 00 14 */ lfs f7, 0x14(r1)
/* 802D58DC 002D283C FC 00 5A 10 */ fabs f0, f11
/* 802D58E0 002D2840 C1 41 00 30 */ lfs f10, 0x30(r1)
/* 802D58E4 002D2844 FC 40 3A 10 */ fabs f2, f7
/* 802D58E8 002D2848 C0 C3 00 00 */ lfs f6, 0(r3)
/* 802D58EC 002D284C FC 20 52 10 */ fabs f1, f10
/* 802D58F0 002D2850 FD 00 00 18 */ frsp f8, f0
/* 802D58F4 002D2854 FC A0 10 18 */ frsp f5, f2
/* 802D58F8 002D2858 EC 0A 03 72 */ fmuls f0, f10, f13
/* 802D58FC 002D285C FD 20 08 18 */ frsp f9, f1
/* 802D5900 002D2860 EC 52 02 32 */ fmuls f2, f18, f8
/* 802D5904 002D2864 EC 3D 01 72 */ fmuls f1, f29, f5
/* 802D5908 002D2868 EC 0B 07 F8 */ fmsubs f0, f11, f31, f0
/* 802D590C 002D286C EC 54 12 7A */ fmadds f2, f20, f9, f2
/* 802D5910 002D2870 EC 66 0F 3A */ fmadds f3, f6, f28, f1
/* 802D5914 002D2874 FC 20 02 10 */ fabs f1, f0
/* 802D5918 002D2878 EC 02 18 2A */ fadds f0, f2, f3
/* 802D591C 002D287C FC 20 08 18 */ frsp f1, f1
/* 802D5920 002D2880 EC 0C 00 2A */ fadds f0, f12, f0
/* 802D5924 002D2884 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 802D5928 002D2888 40 81 00 0C */ ble lbl_802D5934
/* 802D592C 002D288C 38 60 00 00 */ li r3, 0
/* 802D5930 002D2890 48 00 01 AC */ b lbl_802D5ADC
lbl_802D5934:
/* 802D5934 002D2894 C0 81 00 28 */ lfs f4, 0x28(r1)
/* 802D5938 002D2898 EE 1B 01 72 */ fmuls f16, f27, f5
/* 802D593C 002D289C C0 61 00 34 */ lfs f3, 0x34(r1)
/* 802D5940 002D28A0 FC 20 22 10 */ fabs f1, f4
/* 802D5944 002D28A4 FC 40 1A 10 */ fabs f2, f3
/* 802D5948 002D28A8 EC 03 03 72 */ fmuls f0, f3, f13
/* 802D594C 002D28AC FC 20 08 18 */ frsp f1, f1
/* 802D5950 002D28B0 FC 40 10 18 */ frsp f2, f2
/* 802D5954 002D28B4 ED E4 07 F8 */ fmsubs f15, f4, f31, f0
/* 802D5958 002D28B8 EE 32 00 72 */ fmuls f17, f18, f1
/* 802D595C 002D28BC EC 06 87 BA */ fmadds f0, f6, f30, f16
/* 802D5960 002D28C0 FD E0 7A 10 */ fabs f15, f15
/* 802D5964 002D28C4 EE 14 88 BA */ fmadds f16, f20, f2, f17
/* 802D5968 002D28C8 FD E0 78 18 */ frsp f15, f15
/* 802D596C 002D28CC EC 10 00 2A */ fadds f0, f16, f0
/* 802D5970 002D28D0 EC 0C 00 2A */ fadds f0, f12, f0
/* 802D5974 002D28D4 FC 0F 00 40 */ fcmpo cr0, f15, f0
/* 802D5978 002D28D8 40 81 00 0C */ ble lbl_802D5984
/* 802D597C 002D28DC 38 60 00 00 */ li r3, 0
/* 802D5980 002D28E0 48 00 01 5C */ b lbl_802D5ADC
lbl_802D5984:
/* 802D5984 002D28E4 ED F2 01 72 */ fmuls f15, f18, f5
/* 802D5988 002D28E8 C0 01 00 08 */ lfs f0, 8(r1)
/* 802D598C 002D28EC EE 3D 02 32 */ fmuls f17, f29, f8
/* 802D5990 002D28F0 EE 07 07 F2 */ fmuls f16, f7, f31
/* 802D5994 002D28F4 ED F3 7D FA */ fmadds f15, f19, f23, f15
/* 802D5998 002D28F8 ED DB 88 7A */ fmadds f14, f27, f1, f17
/* 802D599C 002D28FC EE 36 80 38 */ fmsubs f17, f22, f0, f16
/* 802D59A0 002D2900 EE 0F 70 2A */ fadds f16, f15, f14
/* 802D59A4 002D2904 FD E0 8A 10 */ fabs f15, f17
/* 802D59A8 002D2908 EE 0C 80 2A */ fadds f16, f12, f16
/* 802D59AC 002D290C FE 20 78 18 */ frsp f17, f15
/* 802D59B0 002D2910 FC 11 80 40 */ fcmpo cr0, f17, f16
/* 802D59B4 002D2914 40 81 00 0C */ ble lbl_802D59C0
/* 802D59B8 002D2918 38 60 00 00 */ li r3, 0
/* 802D59BC 002D291C 48 00 01 20 */ b lbl_802D5ADC
lbl_802D59C0:
/* 802D59C0 002D2920 EE 12 07 B2 */ fmuls f16, f18, f30
/* 802D59C4 002D2924 EE 3D 06 32 */ fmuls f17, f29, f24
/* 802D59C8 002D2928 EE D9 07 F2 */ fmuls f22, f25, f31
/* 802D59CC 002D292C ED F3 82 7A */ fmadds f15, f19, f9, f16
/* 802D59D0 002D2930 EE 06 88 7A */ fmadds f16, f6, f1, f17
/* 802D59D4 002D2934 EE CA B0 38 */ fmsubs f22, f10, f0, f22
/* 802D59D8 002D2938 ED 4F 80 2A */ fadds f10, f15, f16
/* 802D59DC 002D293C FD E0 B2 10 */ fabs f15, f22
/* 802D59E0 002D2940 ED 4C 50 2A */ fadds f10, f12, f10
/* 802D59E4 002D2944 FE C0 78 18 */ frsp f22, f15
/* 802D59E8 002D2948 FC 16 50 40 */ fcmpo cr0, f22, f10
/* 802D59EC 002D294C 40 81 00 0C */ ble lbl_802D59F8
/* 802D59F0 002D2950 38 60 00 00 */ li r3, 0
/* 802D59F4 002D2954 48 00 00 E8 */ b lbl_802D5ADC
lbl_802D59F8:
/* 802D59F8 002D2958 EE D2 07 32 */ fmuls f22, f18, f28
/* 802D59FC 002D295C EE 5B 06 32 */ fmuls f18, f27, f24
/* 802D5A00 002D2960 ED 5A 07 F2 */ fmuls f10, f26, f31
/* 802D5A04 002D2964 ED F3 B0 BA */ fmadds f15, f19, f2, f22
/* 802D5A08 002D2968 EE 06 92 3A */ fmadds f16, f6, f8, f18
/* 802D5A0C 002D296C ED 43 50 38 */ fmsubs f10, f3, f0, f10
/* 802D5A10 002D2970 EC 6F 80 2A */ fadds f3, f15, f16
/* 802D5A14 002D2974 FD 40 52 10 */ fabs f10, f10
/* 802D5A18 002D2978 EC 6C 18 2A */ fadds f3, f12, f3
/* 802D5A1C 002D297C FD 40 50 18 */ frsp f10, f10
/* 802D5A20 002D2980 FC 0A 18 40 */ fcmpo cr0, f10, f3
/* 802D5A24 002D2984 40 81 00 0C */ ble lbl_802D5A30
/* 802D5A28 002D2988 38 60 00 00 */ li r3, 0
/* 802D5A2C 002D298C 48 00 00 B0 */ b lbl_802D5ADC
lbl_802D5A30:
/* 802D5A30 002D2990 ED 54 01 72 */ fmuls f10, f20, f5
/* 802D5A34 002D2994 EC BD 02 72 */ fmuls f5, f29, f9
/* 802D5A38 002D2998 EC 75 00 32 */ fmuls f3, f21, f0
/* 802D5A3C 002D299C ED 53 56 3A */ fmadds f10, f19, f24, f10
/* 802D5A40 002D29A0 ED FB 28 BA */ fmadds f15, f27, f2, f5
/* 802D5A44 002D29A4 EC A7 1B 78 */ fmsubs f5, f7, f13, f3
/* 802D5A48 002D29A8 EC 6A 78 2A */ fadds f3, f10, f15
/* 802D5A4C 002D29AC FC A0 2A 10 */ fabs f5, f5
/* 802D5A50 002D29B0 EC 6C 18 2A */ fadds f3, f12, f3
/* 802D5A54 002D29B4 FC A0 28 18 */ frsp f5, f5
/* 802D5A58 002D29B8 FC 05 18 40 */ fcmpo cr0, f5, f3
/* 802D5A5C 002D29BC 40 81 00 0C */ ble lbl_802D5A68
/* 802D5A60 002D29C0 38 60 00 00 */ li r3, 0
/* 802D5A64 002D29C4 48 00 00 78 */ b lbl_802D5ADC
lbl_802D5A68:
/* 802D5A68 002D29C8 EC F4 07 B2 */ fmuls f7, f20, f30
/* 802D5A6C 002D29CC EC BD 05 F2 */ fmuls f5, f29, f23
/* 802D5A70 002D29D0 EC 6B 00 32 */ fmuls f3, f11, f0
/* 802D5A74 002D29D4 EC F3 3A 3A */ fmadds f7, f19, f8, f7
/* 802D5A78 002D29D8 EC 46 28 BA */ fmadds f2, f6, f2, f5
/* 802D5A7C 002D29DC EC 79 1B 78 */ fmsubs f3, f25, f13, f3
/* 802D5A80 002D29E0 EC 47 10 2A */ fadds f2, f7, f2
/* 802D5A84 002D29E4 FC 60 1A 10 */ fabs f3, f3
/* 802D5A88 002D29E8 EC 4C 10 2A */ fadds f2, f12, f2
/* 802D5A8C 002D29EC FC 60 18 18 */ frsp f3, f3
/* 802D5A90 002D29F0 FC 03 10 40 */ fcmpo cr0, f3, f2
/* 802D5A94 002D29F4 40 81 00 0C */ ble lbl_802D5AA0
/* 802D5A98 002D29F8 38 60 00 00 */ li r3, 0
/* 802D5A9C 002D29FC 48 00 00 40 */ b lbl_802D5ADC
lbl_802D5AA0:
/* 802D5AA0 002D2A00 EC 74 07 32 */ fmuls f3, f20, f28
/* 802D5AA4 002D2A04 EC 5B 05 F2 */ fmuls f2, f27, f23
/* 802D5AA8 002D2A08 EC 04 00 32 */ fmuls f0, f4, f0
/* 802D5AAC 002D2A0C EC 73 18 7A */ fmadds f3, f19, f1, f3
/* 802D5AB0 002D2A10 EC 46 12 7A */ fmadds f2, f6, f9, f2
/* 802D5AB4 002D2A14 EC 3A 03 78 */ fmsubs f1, f26, f13, f0
/* 802D5AB8 002D2A18 EC 03 10 2A */ fadds f0, f3, f2
/* 802D5ABC 002D2A1C FC 20 0A 10 */ fabs f1, f1
/* 802D5AC0 002D2A20 EC 0C 00 2A */ fadds f0, f12, f0
/* 802D5AC4 002D2A24 FC 20 08 18 */ frsp f1, f1
/* 802D5AC8 002D2A28 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 802D5ACC 002D2A2C 7C 00 00 26 */ mfcr r0
/* 802D5AD0 002D2A30 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f
/* 802D5AD4 002D2A34 7C 00 00 34 */ cntlzw r0, r0
/* 802D5AD8 002D2A38 54 03 D9 7E */ srwi r3, r0, 5
lbl_802D5ADC:
/* 802D5ADC 002D2A3C E3 E1 01 98 */ psq_l f31, 408(r1), 0, qr0
/* 802D5AE0 002D2A40 CB E1 01 90 */ lfd f31, 0x190(r1)
/* 802D5AE4 002D2A44 E3 C1 01 88 */ psq_l f30, 392(r1), 0, qr0
/* 802D5AE8 002D2A48 CB C1 01 80 */ lfd f30, 0x180(r1)
/* 802D5AEC 002D2A4C E3 A1 01 78 */ psq_l f29, 376(r1), 0, qr0
/* 802D5AF0 002D2A50 CB A1 01 70 */ lfd f29, 0x170(r1)
/* 802D5AF4 002D2A54 E3 81 01 68 */ psq_l f28, 360(r1), 0, qr0
/* 802D5AF8 002D2A58 CB 81 01 60 */ lfd f28, 0x160(r1)
/* 802D5AFC 002D2A5C E3 61 01 58 */ psq_l f27, 344(r1), 0, qr0
/* 802D5B00 002D2A60 CB 61 01 50 */ lfd f27, 0x150(r1)
/* 802D5B04 002D2A64 E3 41 01 48 */ psq_l f26, 328(r1), 0, qr0
/* 802D5B08 002D2A68 CB 41 01 40 */ lfd f26, 0x140(r1)
/* 802D5B0C 002D2A6C E3 21 01 38 */ psq_l f25, 312(r1), 0, qr0
/* 802D5B10 002D2A70 CB 21 01 30 */ lfd f25, 0x130(r1)
/* 802D5B14 002D2A74 E3 01 01 28 */ psq_l f24, 296(r1), 0, qr0
/* 802D5B18 002D2A78 CB 01 01 20 */ lfd f24, 0x120(r1)
/* 802D5B1C 002D2A7C E2 E1 01 18 */ psq_l f23, 280(r1), 0, qr0
/* 802D5B20 002D2A80 CA E1 01 10 */ lfd f23, 0x110(r1)
/* 802D5B24 002D2A84 E2 C1 01 08 */ psq_l f22, 264(r1), 0, qr0
/* 802D5B28 002D2A88 CA C1 01 00 */ lfd f22, 0x100(r1)
/* 802D5B2C 002D2A8C E2 A1 00 F8 */ psq_l f21, 248(r1), 0, qr0
/* 802D5B30 002D2A90 CA A1 00 F0 */ lfd f21, 0xf0(r1)
/* 802D5B34 002D2A94 E2 81 00 E8 */ psq_l f20, 232(r1), 0, qr0
/* 802D5B38 002D2A98 CA 81 00 E0 */ lfd f20, 0xe0(r1)
/* 802D5B3C 002D2A9C E2 61 00 D8 */ psq_l f19, 216(r1), 0, qr0
/* 802D5B40 002D2AA0 CA 61 00 D0 */ lfd f19, 0xd0(r1)
/* 802D5B44 002D2AA4 E2 41 00 C8 */ psq_l f18, 200(r1), 0, qr0
/* 802D5B48 002D2AA8 CA 41 00 C0 */ lfd f18, 0xc0(r1)
/* 802D5B4C 002D2AAC E2 21 00 B8 */ psq_l f17, 184(r1), 0, qr0
/* 802D5B50 002D2AB0 CA 21 00 B0 */ lfd f17, 0xb0(r1)
/* 802D5B54 002D2AB4 E2 01 00 A8 */ psq_l f16, 168(r1), 0, qr0
/* 802D5B58 002D2AB8 CA 01 00 A0 */ lfd f16, 0xa0(r1)
/* 802D5B5C 002D2ABC E1 E1 00 98 */ psq_l f15, 152(r1), 0, qr0
/* 802D5B60 002D2AC0 C9 E1 00 90 */ lfd f15, 0x90(r1)
/* 802D5B64 002D2AC4 E1 C1 00 88 */ psq_l f14, 136(r1), 0, qr0
/* 802D5B68 002D2AC8 C9 C1 00 80 */ lfd f14, 0x80(r1)
/* 802D5B6C 002D2ACC 38 21 01 A0 */ addi r1, r1, 0x1a0
/* 802D5B70 002D2AD0 4E 80 00 20 */ blr
.global AABoxIntersectsBox__6COBBoxFRC6CAABox
AABoxIntersectsBox__6COBBoxFRC6CAABox:
/* 802D5B74 002D2AD4 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 802D5B78 002D2AD8 7C 08 02 A6 */ mflr r0
/* 802D5B7C 002D2ADC 3C A0 80 5A */ lis r5, skIdentity4f@ha
/* 802D5B80 002D2AE0 90 01 00 54 */ stw r0, 0x54(r1)
/* 802D5B84 002D2AE4 38 A5 66 70 */ addi r5, r5, skIdentity4f@l
/* 802D5B88 002D2AE8 93 E1 00 4C */ stw r31, 0x4c(r1)
/* 802D5B8C 002D2AEC 7C 7F 1B 78 */ mr r31, r3
/* 802D5B90 002D2AF0 38 61 00 08 */ addi r3, r1, 8
/* 802D5B94 002D2AF4 48 00 01 89 */ bl FromAABox__6COBBoxFRC6CAABoxRC12CTransform4f
/* 802D5B98 002D2AF8 7F E3 FB 78 */ mr r3, r31
/* 802D5B9C 002D2AFC 38 81 00 08 */ addi r4, r1, 8
/* 802D5BA0 002D2B00 4B FF F8 F5 */ bl OBBIntersectsBox__6COBBoxCFRC6COBBox
/* 802D5BA4 002D2B04 80 01 00 54 */ lwz r0, 0x54(r1)
/* 802D5BA8 002D2B08 83 E1 00 4C */ lwz r31, 0x4c(r1)
/* 802D5BAC 002D2B0C 7C 08 03 A6 */ mtlr r0
/* 802D5BB0 002D2B10 38 21 00 50 */ addi r1, r1, 0x50
/* 802D5BB4 002D2B14 4E 80 00 20 */ blr
.global LineIntersectsBox__6COBBoxCFRC5CMRayRf
LineIntersectsBox__6COBBoxCFRC5CMRayRf:
/* 802D5BB8 002D2B18 94 21 FF 10 */ stwu r1, -0xf0(r1)
/* 802D5BBC 002D2B1C 7C 08 02 A6 */ mflr r0
/* 802D5BC0 002D2B20 90 01 00 F4 */ stw r0, 0xf4(r1)
/* 802D5BC4 002D2B24 DB E1 00 E0 */ stfd f31, 0xe0(r1)
/* 802D5BC8 002D2B28 F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0
/* 802D5BCC 002D2B2C DB C1 00 D0 */ stfd f30, 0xd0(r1)
/* 802D5BD0 002D2B30 F3 C1 00 D8 */ psq_st f30, 216(r1), 0, qr0
/* 802D5BD4 002D2B34 DB A1 00 C0 */ stfd f29, 0xc0(r1)
/* 802D5BD8 002D2B38 F3 A1 00 C8 */ psq_st f29, 200(r1), 0, qr0
/* 802D5BDC 002D2B3C 93 E1 00 BC */ stw r31, 0xbc(r1)
/* 802D5BE0 002D2B40 93 C1 00 B8 */ stw r30, 0xb8(r1)
/* 802D5BE4 002D2B44 93 A1 00 B4 */ stw r29, 0xb4(r1)
/* 802D5BE8 002D2B48 7C 7D 1B 78 */ mr r29, r3
/* 802D5BEC 002D2B4C 7C 9E 23 78 */ mr r30, r4
/* 802D5BF0 002D2B50 C0 43 00 38 */ lfs f2, 0x38(r3)
/* 802D5BF4 002D2B54 7C BF 2B 78 */ mr r31, r5
/* 802D5BF8 002D2B58 C0 23 00 34 */ lfs f1, 0x34(r3)
/* 802D5BFC 002D2B5C 38 61 00 20 */ addi r3, r1, 0x20
/* 802D5C00 002D2B60 C0 1D 00 30 */ lfs f0, 0x30(r29)
/* 802D5C04 002D2B64 FC 40 10 50 */ fneg f2, f2
/* 802D5C08 002D2B68 FC 20 08 50 */ fneg f1, f1
/* 802D5C0C 002D2B6C 38 81 00 08 */ addi r4, r1, 8
/* 802D5C10 002D2B70 FC 00 00 50 */ fneg f0, f0
/* 802D5C14 002D2B74 38 BD 00 30 */ addi r5, r29, 0x30
/* 802D5C18 002D2B78 D0 41 00 10 */ stfs f2, 0x10(r1)
/* 802D5C1C 002D2B7C D0 01 00 08 */ stfs f0, 8(r1)
/* 802D5C20 002D2B80 D0 21 00 0C */ stfs f1, 0xc(r1)
/* 802D5C24 002D2B84 48 06 28 E5 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f
/* 802D5C28 002D2B88 7F C4 F3 78 */ mr r4, r30
/* 802D5C2C 002D2B8C 7F A5 EB 78 */ mr r5, r29
/* 802D5C30 002D2B90 38 61 00 38 */ addi r3, r1, 0x38
/* 802D5C34 002D2B94 48 00 03 B5 */ bl GetInvUnscaledTransformRay__5CMRayCFRC12CTransform4f
/* 802D5C38 002D2B98 3C 60 80 5A */ lis r3, skZero3f@ha
/* 802D5C3C 002D2B9C C3 A1 00 38 */ lfs f29, 0x38(r1)
/* 802D5C40 002D2BA0 38 E3 66 A0 */ addi r7, r3, skZero3f@l
/* 802D5C44 002D2BA4 C3 C1 00 3C */ lfs f30, 0x3c(r1)
/* 802D5C48 002D2BA8 C3 E1 00 40 */ lfs f31, 0x40(r1)
/* 802D5C4C 002D2BAC 7F E6 FB 78 */ mr r6, r31
/* 802D5C50 002D2BB0 C1 A1 00 44 */ lfs f13, 0x44(r1)
/* 802D5C54 002D2BB4 38 61 00 70 */ addi r3, r1, 0x70
/* 802D5C58 002D2BB8 C1 81 00 48 */ lfs f12, 0x48(r1)
/* 802D5C5C 002D2BBC 38 81 00 20 */ addi r4, r1, 0x20
/* 802D5C60 002D2BC0 C1 61 00 4C */ lfs f11, 0x4c(r1)
/* 802D5C64 002D2BC4 38 A1 00 14 */ addi r5, r1, 0x14
/* 802D5C68 002D2BC8 C1 41 00 50 */ lfs f10, 0x50(r1)
/* 802D5C6C 002D2BCC C1 21 00 54 */ lfs f9, 0x54(r1)
/* 802D5C70 002D2BD0 C1 01 00 58 */ lfs f8, 0x58(r1)
/* 802D5C74 002D2BD4 C0 E1 00 5C */ lfs f7, 0x5c(r1)
/* 802D5C78 002D2BD8 C0 C1 00 60 */ lfs f6, 0x60(r1)
/* 802D5C7C 002D2BDC C0 A1 00 64 */ lfs f5, 0x64(r1)
/* 802D5C80 002D2BE0 C0 81 00 68 */ lfs f4, 0x68(r1)
/* 802D5C84 002D2BE4 C0 61 00 6C */ lfs f3, 0x6c(r1)
/* 802D5C88 002D2BE8 C0 47 00 00 */ lfs f2, 0(r7)
/* 802D5C8C 002D2BEC C0 27 00 04 */ lfs f1, 4(r7)
/* 802D5C90 002D2BF0 C0 07 00 08 */ lfs f0, 8(r7)
/* 802D5C94 002D2BF4 D3 A1 00 70 */ stfs f29, 0x70(r1)
/* 802D5C98 002D2BF8 D3 C1 00 74 */ stfs f30, 0x74(r1)
/* 802D5C9C 002D2BFC D3 E1 00 78 */ stfs f31, 0x78(r1)
/* 802D5CA0 002D2C00 D1 A1 00 7C */ stfs f13, 0x7c(r1)
/* 802D5CA4 002D2C04 D1 81 00 80 */ stfs f12, 0x80(r1)
/* 802D5CA8 002D2C08 D1 61 00 84 */ stfs f11, 0x84(r1)
/* 802D5CAC 002D2C0C D1 41 00 88 */ stfs f10, 0x88(r1)
/* 802D5CB0 002D2C10 D1 21 00 8C */ stfs f9, 0x8c(r1)
/* 802D5CB4 002D2C14 D1 01 00 90 */ stfs f8, 0x90(r1)
/* 802D5CB8 002D2C18 D0 E1 00 94 */ stfs f7, 0x94(r1)
/* 802D5CBC 002D2C1C D0 C1 00 98 */ stfs f6, 0x98(r1)
/* 802D5CC0 002D2C20 D0 A1 00 9C */ stfs f5, 0x9c(r1)
/* 802D5CC4 002D2C24 D0 81 00 A0 */ stfs f4, 0xa0(r1)
/* 802D5CC8 002D2C28 D0 61 00 A4 */ stfs f3, 0xa4(r1)
/* 802D5CCC 002D2C2C D0 41 00 14 */ stfs f2, 0x14(r1)
/* 802D5CD0 002D2C30 D0 21 00 18 */ stfs f1, 0x18(r1)
/* 802D5CD4 002D2C34 D0 01 00 1C */ stfs f0, 0x1c(r1)
/* 802D5CD8 002D2C38 4B FF D8 B9 */ bl RayAABoxIntersection__13CollisionUtilFRC5CMRayRC6CAABoxR9CVector3fRf
/* 802D5CDC 002D2C3C 7C 03 00 D0 */ neg r0, r3
/* 802D5CE0 002D2C40 7C 00 1B 78 */ or r0, r0, r3
/* 802D5CE4 002D2C44 54 03 0F FE */ srwi r3, r0, 0x1f
/* 802D5CE8 002D2C48 E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0
/* 802D5CEC 002D2C4C CB E1 00 E0 */ lfd f31, 0xe0(r1)
/* 802D5CF0 002D2C50 E3 C1 00 D8 */ psq_l f30, 216(r1), 0, qr0
/* 802D5CF4 002D2C54 CB C1 00 D0 */ lfd f30, 0xd0(r1)
/* 802D5CF8 002D2C58 E3 A1 00 C8 */ psq_l f29, 200(r1), 0, qr0
/* 802D5CFC 002D2C5C CB A1 00 C0 */ lfd f29, 0xc0(r1)
/* 802D5D00 002D2C60 83 E1 00 BC */ lwz r31, 0xbc(r1)
/* 802D5D04 002D2C64 83 C1 00 B8 */ lwz r30, 0xb8(r1)
/* 802D5D08 002D2C68 80 01 00 F4 */ lwz r0, 0xf4(r1)
/* 802D5D0C 002D2C6C 83 A1 00 B4 */ lwz r29, 0xb4(r1)
/* 802D5D10 002D2C70 7C 08 03 A6 */ mtlr r0
/* 802D5D14 002D2C74 38 21 00 F0 */ addi r1, r1, 0xf0
/* 802D5D18 002D2C78 4E 80 00 20 */ blr
.global FromAABox__6COBBoxFRC6CAABoxRC12CTransform4f
FromAABox__6COBBoxFRC6CAABoxRC12CTransform4f:
/* 802D5D1C 002D2C7C 94 21 FF 30 */ stwu r1, -0xd0(r1)
/* 802D5D20 002D2C80 7C 08 02 A6 */ mflr r0
/* 802D5D24 002D2C84 90 01 00 D4 */ stw r0, 0xd4(r1)
/* 802D5D28 002D2C88 93 E1 00 CC */ stw r31, 0xcc(r1)
/* 802D5D2C 002D2C8C 7C BF 2B 78 */ mr r31, r5
/* 802D5D30 002D2C90 93 C1 00 C8 */ stw r30, 0xc8(r1)
/* 802D5D34 002D2C94 7C 9E 23 78 */ mr r30, r4
/* 802D5D38 002D2C98 93 A1 00 C4 */ stw r29, 0xc4(r1)
/* 802D5D3C 002D2C9C 7C 7D 1B 78 */ mr r29, r3
/* 802D5D40 002D2CA0 38 61 00 08 */ addi r3, r1, 8
/* 802D5D44 002D2CA4 48 06 18 C9 */ bl GetCenterPoint__6CAABoxCFv
/* 802D5D48 002D2CA8 C0 A1 00 08 */ lfs f5, 8(r1)
/* 802D5D4C 002D2CAC 38 61 00 2C */ addi r3, r1, 0x2c
/* 802D5D50 002D2CB0 C0 81 00 0C */ lfs f4, 0xc(r1)
/* 802D5D54 002D2CB4 38 81 00 20 */ addi r4, r1, 0x20
/* 802D5D58 002D2CB8 C0 61 00 10 */ lfs f3, 0x10(r1)
/* 802D5D5C 002D2CBC C0 5E 00 10 */ lfs f2, 0x10(r30)
/* 802D5D60 002D2CC0 C0 3E 00 14 */ lfs f1, 0x14(r30)
/* 802D5D64 002D2CC4 C0 1E 00 0C */ lfs f0, 0xc(r30)
/* 802D5D68 002D2CC8 EC 42 20 28 */ fsubs f2, f2, f4
/* 802D5D6C 002D2CCC EC 21 18 28 */ fsubs f1, f1, f3
/* 802D5D70 002D2CD0 D0 A1 00 20 */ stfs f5, 0x20(r1)
/* 802D5D74 002D2CD4 EC 00 28 28 */ fsubs f0, f0, f5
/* 802D5D78 002D2CD8 D0 81 00 24 */ stfs f4, 0x24(r1)
/* 802D5D7C 002D2CDC D0 61 00 28 */ stfs f3, 0x28(r1)
/* 802D5D80 002D2CE0 D0 01 00 14 */ stfs f0, 0x14(r1)
/* 802D5D84 002D2CE4 D0 41 00 18 */ stfs f2, 0x18(r1)
/* 802D5D88 002D2CE8 D0 21 00 1C */ stfs f1, 0x1c(r1)
/* 802D5D8C 002D2CEC 48 03 D3 B5 */ bl Translate__12CTransform4fFRC9CVector3f
/* 802D5D90 002D2CF0 7F E4 FB 78 */ mr r4, r31
/* 802D5D94 002D2CF4 38 61 00 5C */ addi r3, r1, 0x5c
/* 802D5D98 002D2CF8 38 A1 00 2C */ addi r5, r1, 0x2c
/* 802D5D9C 002D2CFC 48 03 CB B5 */ bl __ml__12CTransform4fCFRC12CTransform4f
/* 802D5DA0 002D2D00 38 61 00 8C */ addi r3, r1, 0x8c
/* 802D5DA4 002D2D04 38 81 00 5C */ addi r4, r1, 0x5c
/* 802D5DA8 002D2D08 48 03 CD CD */ bl __ct__12CTransform4fFRC12CTransform4f
/* 802D5DAC 002D2D0C 7F A3 EB 78 */ mr r3, r29
/* 802D5DB0 002D2D10 38 81 00 8C */ addi r4, r1, 0x8c
/* 802D5DB4 002D2D14 38 A1 00 14 */ addi r5, r1, 0x14
/* 802D5DB8 002D2D18 48 00 01 DD */ bl __ct__6COBBoxFRC12CTransform4fRC9CVector3f
/* 802D5DBC 002D2D1C 80 01 00 D4 */ lwz r0, 0xd4(r1)
/* 802D5DC0 002D2D20 83 E1 00 CC */ lwz r31, 0xcc(r1)
/* 802D5DC4 002D2D24 83 C1 00 C8 */ lwz r30, 0xc8(r1)
/* 802D5DC8 002D2D28 83 A1 00 C4 */ lwz r29, 0xc4(r1)
/* 802D5DCC 002D2D2C 7C 08 03 A6 */ mtlr r0
/* 802D5DD0 002D2D30 38 21 00 D0 */ addi r1, r1, 0xd0
/* 802D5DD4 002D2D34 4E 80 00 20 */ blr
.global CalculateAABox__6COBBoxCFRC12CTransform4f
CalculateAABox__6COBBoxCFRC12CTransform4f:
/* 802D5DD8 002D2D38 94 21 FF 40 */ stwu r1, -0xc0(r1)
/* 802D5DDC 002D2D3C 7C 08 02 A6 */ mflr r0
/* 802D5DE0 002D2D40 90 01 00 C4 */ stw r0, 0xc4(r1)
/* 802D5DE4 002D2D44 93 E1 00 BC */ stw r31, 0xbc(r1)
/* 802D5DE8 002D2D48 93 C1 00 B8 */ stw r30, 0xb8(r1)
/* 802D5DEC 002D2D4C 7C 9E 23 78 */ mr r30, r4
/* 802D5DF0 002D2D50 7C A4 2B 78 */ mr r4, r5
/* 802D5DF4 002D2D54 93 A1 00 B4 */ stw r29, 0xb4(r1)
/* 802D5DF8 002D2D58 7C 7D 1B 78 */ mr r29, r3
/* 802D5DFC 002D2D5C 38 61 00 50 */ addi r3, r1, 0x50
/* 802D5E00 002D2D60 7F C5 F3 78 */ mr r5, r30
/* 802D5E04 002D2D64 48 03 CB 4D */ bl __ml__12CTransform4fCFRC12CTransform4f
/* 802D5E08 002D2D68 38 61 00 80 */ addi r3, r1, 0x80
/* 802D5E0C 002D2D6C 38 81 00 50 */ addi r4, r1, 0x50
/* 802D5E10 002D2D70 48 03 CD 65 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 802D5E14 002D2D74 C0 82 C5 44 */ lfs f4, lbl_805AE264@sda21(r2)
/* 802D5E18 002D2D78 3C 60 80 5A */ lis r3, lbl_805A6754@ha
/* 802D5E1C 002D2D7C C4 E3 67 54 */ lfsu f7, lbl_805A6754@l(r3)
/* 802D5E20 002D2D80 3B E0 00 00 */ li r31, 0
/* 802D5E24 002D2D84 C0 3E 00 34 */ lfs f1, 0x34(r30)
/* 802D5E28 002D2D88 C0 7E 00 38 */ lfs f3, 0x38(r30)
/* 802D5E2C 002D2D8C C0 02 C5 48 */ lfs f0, lbl_805AE268@sda21(r2)
/* 802D5E30 002D2D90 ED 24 00 72 */ fmuls f9, f4, f1
/* 802D5E34 002D2D94 ED 04 00 F2 */ fmuls f8, f4, f3
/* 802D5E38 002D2D98 C0 C3 00 04 */ lfs f6, 4(r3)
/* 802D5E3C 002D2D9C ED 40 00 F2 */ fmuls f10, f0, f3
/* 802D5E40 002D2DA0 C0 A3 00 08 */ lfs f5, 8(r3)
/* 802D5E44 002D2DA4 ED 60 00 72 */ fmuls f11, f0, f1
/* 802D5E48 002D2DA8 C0 5E 00 30 */ lfs f2, 0x30(r30)
/* 802D5E4C 002D2DAC C0 63 00 10 */ lfs f3, 0x10(r3)
/* 802D5E50 002D2DB0 EC 24 00 B2 */ fmuls f1, f4, f2
/* 802D5E54 002D2DB4 C0 83 00 0C */ lfs f4, 0xc(r3)
/* 802D5E58 002D2DB8 EC 00 00 B2 */ fmuls f0, f0, f2
/* 802D5E5C 002D2DBC C0 43 00 14 */ lfs f2, 0x14(r3)
/* 802D5E60 002D2DC0 D0 E1 00 38 */ stfs f7, 0x38(r1)
/* 802D5E64 002D2DC4 D0 C1 00 3C */ stfs f6, 0x3c(r1)
/* 802D5E68 002D2DC8 D0 A1 00 40 */ stfs f5, 0x40(r1)
/* 802D5E6C 002D2DCC D0 81 00 44 */ stfs f4, 0x44(r1)
/* 802D5E70 002D2DD0 D0 61 00 48 */ stfs f3, 0x48(r1)
/* 802D5E74 002D2DD4 D0 41 00 4C */ stfs f2, 0x4c(r1)
/* 802D5E78 002D2DD8 D0 21 00 2C */ stfs f1, 0x2c(r1)
/* 802D5E7C 002D2DDC D1 21 00 30 */ stfs f9, 0x30(r1)
/* 802D5E80 002D2DE0 D1 01 00 34 */ stfs f8, 0x34(r1)
/* 802D5E84 002D2DE4 D0 01 00 20 */ stfs f0, 0x20(r1)
/* 802D5E88 002D2DE8 D1 61 00 24 */ stfs f11, 0x24(r1)
/* 802D5E8C 002D2DEC D1 41 00 28 */ stfs f10, 0x28(r1)
lbl_802D5E90:
/* 802D5E90 002D2DF0 57 E0 07 7B */ rlwinm. r0, r31, 0, 0x1d, 0x1d
/* 802D5E94 002D2DF4 41 82 00 0C */ beq lbl_802D5EA0
/* 802D5E98 002D2DF8 C0 21 00 34 */ lfs f1, 0x34(r1)
/* 802D5E9C 002D2DFC 48 00 00 08 */ b lbl_802D5EA4
lbl_802D5EA0:
/* 802D5EA0 002D2E00 C0 21 00 28 */ lfs f1, 0x28(r1)
lbl_802D5EA4:
/* 802D5EA4 002D2E04 57 E0 07 BD */ rlwinm. r0, r31, 0, 0x1e, 0x1e
/* 802D5EA8 002D2E08 41 82 00 0C */ beq lbl_802D5EB4
/* 802D5EAC 002D2E0C C0 41 00 30 */ lfs f2, 0x30(r1)
/* 802D5EB0 002D2E10 48 00 00 08 */ b lbl_802D5EB8
lbl_802D5EB4:
/* 802D5EB4 002D2E14 C0 41 00 24 */ lfs f2, 0x24(r1)
lbl_802D5EB8:
/* 802D5EB8 002D2E18 57 E0 07 FF */ clrlwi. r0, r31, 0x1f
/* 802D5EBC 002D2E1C 41 82 00 0C */ beq lbl_802D5EC8
/* 802D5EC0 002D2E20 C0 01 00 2C */ lfs f0, 0x2c(r1)
/* 802D5EC4 002D2E24 48 00 00 08 */ b lbl_802D5ECC
lbl_802D5EC8:
/* 802D5EC8 002D2E28 C0 01 00 20 */ lfs f0, 0x20(r1)
lbl_802D5ECC:
/* 802D5ECC 002D2E2C D0 01 00 14 */ stfs f0, 0x14(r1)
/* 802D5ED0 002D2E30 38 61 00 08 */ addi r3, r1, 8
/* 802D5ED4 002D2E34 38 81 00 80 */ addi r4, r1, 0x80
/* 802D5ED8 002D2E38 38 A1 00 14 */ addi r5, r1, 0x14
/* 802D5EDC 002D2E3C D0 41 00 18 */ stfs f2, 0x18(r1)
/* 802D5EE0 002D2E40 D0 21 00 1C */ stfs f1, 0x1c(r1)
/* 802D5EE4 002D2E44 48 03 CC 05 */ bl __ml__12CTransform4fCFRC9CVector3f
/* 802D5EE8 002D2E48 38 61 00 38 */ addi r3, r1, 0x38
/* 802D5EEC 002D2E4C 38 81 00 08 */ addi r4, r1, 8
/* 802D5EF0 002D2E50 48 06 1C 19 */ bl AccumulateBounds__6CAABoxFRC9CVector3f
/* 802D5EF4 002D2E54 3B FF 00 01 */ addi r31, r31, 1
/* 802D5EF8 002D2E58 2C 1F 00 08 */ cmpwi r31, 8
/* 802D5EFC 002D2E5C 41 80 FF 94 */ blt lbl_802D5E90
/* 802D5F00 002D2E60 C0 01 00 38 */ lfs f0, 0x38(r1)
/* 802D5F04 002D2E64 D0 1D 00 00 */ stfs f0, 0(r29)
/* 802D5F08 002D2E68 C0 01 00 3C */ lfs f0, 0x3c(r1)
/* 802D5F0C 002D2E6C D0 1D 00 04 */ stfs f0, 4(r29)
/* 802D5F10 002D2E70 C0 01 00 40 */ lfs f0, 0x40(r1)
/* 802D5F14 002D2E74 D0 1D 00 08 */ stfs f0, 8(r29)
/* 802D5F18 002D2E78 C0 01 00 44 */ lfs f0, 0x44(r1)
/* 802D5F1C 002D2E7C D0 1D 00 0C */ stfs f0, 0xc(r29)
/* 802D5F20 002D2E80 C0 01 00 48 */ lfs f0, 0x48(r1)
/* 802D5F24 002D2E84 D0 1D 00 10 */ stfs f0, 0x10(r29)
/* 802D5F28 002D2E88 C0 01 00 4C */ lfs f0, 0x4c(r1)
/* 802D5F2C 002D2E8C D0 1D 00 14 */ stfs f0, 0x14(r29)
/* 802D5F30 002D2E90 83 E1 00 BC */ lwz r31, 0xbc(r1)
/* 802D5F34 002D2E94 83 C1 00 B8 */ lwz r30, 0xb8(r1)
/* 802D5F38 002D2E98 83 A1 00 B4 */ lwz r29, 0xb4(r1)
/* 802D5F3C 002D2E9C 80 01 00 C4 */ lwz r0, 0xc4(r1)
/* 802D5F40 002D2EA0 7C 08 03 A6 */ mtlr r0
/* 802D5F44 002D2EA4 38 21 00 C0 */ addi r1, r1, 0xc0
/* 802D5F48 002D2EA8 4E 80 00 20 */ blr
.global __ct__6COBBoxFR12CInputStream
__ct__6COBBoxFR12CInputStream:
/* 802D5F4C 002D2EAC 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802D5F50 002D2EB0 7C 08 02 A6 */ mflr r0
/* 802D5F54 002D2EB4 90 01 00 14 */ stw r0, 0x14(r1)
/* 802D5F58 002D2EB8 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802D5F5C 002D2EBC 7C 9F 23 78 */ mr r31, r4
/* 802D5F60 002D2EC0 93 C1 00 08 */ stw r30, 8(r1)
/* 802D5F64 002D2EC4 7C 7E 1B 78 */ mr r30, r3
/* 802D5F68 002D2EC8 48 03 D3 75 */ bl __ct__12CTransform4fFR12CInputStream
/* 802D5F6C 002D2ECC 7F E4 FB 78 */ mr r4, r31
/* 802D5F70 002D2ED0 38 7E 00 30 */ addi r3, r30, 0x30
/* 802D5F74 002D2ED4 48 03 EC 19 */ bl __ct__9CVector3fFR12CInputStream
/* 802D5F78 002D2ED8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802D5F7C 002D2EDC 7F C3 F3 78 */ mr r3, r30
/* 802D5F80 002D2EE0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802D5F84 002D2EE4 83 C1 00 08 */ lwz r30, 8(r1)
/* 802D5F88 002D2EE8 7C 08 03 A6 */ mtlr r0
/* 802D5F8C 002D2EEC 38 21 00 10 */ addi r1, r1, 0x10
/* 802D5F90 002D2EF0 4E 80 00 20 */ blr
.global __ct__6COBBoxFRC12CTransform4fRC9CVector3f
__ct__6COBBoxFRC12CTransform4fRC9CVector3f:
/* 802D5F94 002D2EF4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802D5F98 002D2EF8 7C 08 02 A6 */ mflr r0
/* 802D5F9C 002D2EFC 90 01 00 14 */ stw r0, 0x14(r1)
/* 802D5FA0 002D2F00 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802D5FA4 002D2F04 7C BF 2B 78 */ mr r31, r5
/* 802D5FA8 002D2F08 93 C1 00 08 */ stw r30, 8(r1)
/* 802D5FAC 002D2F0C 7C 7E 1B 78 */ mr r30, r3
/* 802D5FB0 002D2F10 48 03 CB C5 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 802D5FB4 002D2F14 C0 1F 00 00 */ lfs f0, 0(r31)
/* 802D5FB8 002D2F18 7F C3 F3 78 */ mr r3, r30
/* 802D5FBC 002D2F1C D0 1E 00 30 */ stfs f0, 0x30(r30)
/* 802D5FC0 002D2F20 C0 1F 00 04 */ lfs f0, 4(r31)
/* 802D5FC4 002D2F24 D0 1E 00 34 */ stfs f0, 0x34(r30)
/* 802D5FC8 002D2F28 C0 1F 00 08 */ lfs f0, 8(r31)
/* 802D5FCC 002D2F2C D0 1E 00 38 */ stfs f0, 0x38(r30)
/* 802D5FD0 002D2F30 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802D5FD4 002D2F34 83 C1 00 08 */ lwz r30, 8(r1)
/* 802D5FD8 002D2F38 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802D5FDC 002D2F3C 7C 08 03 A6 */ mtlr r0
/* 802D5FE0 002D2F40 38 21 00 10 */ addi r1, r1, 0x10
/* 802D5FE4 002D2F44 4E 80 00 20 */ blr

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,98 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global AddColliders__17InternalCollidersFv
AddColliders__17InternalCollidersFv:
/* 802CE520 002CB480 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802CE524 002CB484 7C 08 02 A6 */ mflr r0
/* 802CE528 002CB488 3C 60 80 3D */ lis r3, lbl_803D6A20@ha
/* 802CE52C 002CB48C 3C A0 80 2D */ lis r5, AABox_AABox__7CollideFRC27CInternalCollisionStructureR18CCollisionInfoList@ha
/* 802CE530 002CB490 38 83 6A 20 */ addi r4, r3, lbl_803D6A20@l
/* 802CE534 002CB494 90 01 00 14 */ stw r0, 0x14(r1)
/* 802CE538 002CB498 38 65 DE 44 */ addi r3, r5, AABox_AABox__7CollideFRC27CInternalCollisionStructureR18CCollisionInfoList@l
/* 802CE53C 002CB49C 7C 85 23 78 */ mr r5, r4
/* 802CE540 002CB4A0 48 00 01 A5 */ bl InitAddCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructureR18CCollisionInfoList_bPCcPCc
/* 802CE544 002CB4A4 3C 60 80 3D */ lis r3, lbl_803D6A20@ha
/* 802CE548 002CB4A8 3C 80 80 2D */ lis r4, Sphere_AABox__7CollideFRC27CInternalCollisionStructureR18CCollisionInfoList@ha
/* 802CE54C 002CB4AC 38 A3 6A 20 */ addi r5, r3, lbl_803D6A20@l
/* 802CE550 002CB4B0 38 64 4A 7C */ addi r3, r4, Sphere_AABox__7CollideFRC27CInternalCollisionStructureR18CCollisionInfoList@l
/* 802CE554 002CB4B4 38 85 00 11 */ addi r4, r5, 0x11
/* 802CE558 002CB4B8 48 00 01 8D */ bl InitAddCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructureR18CCollisionInfoList_bPCcPCc
/* 802CE55C 002CB4BC 3C 60 80 3D */ lis r3, lbl_803D6A20@ha
/* 802CE560 002CB4C0 3C A0 80 2D */ lis r5, Sphere_Sphere__7CollideFRC27CInternalCollisionStructureR18CCollisionInfoList@ha
/* 802CE564 002CB4C4 38 83 6A 20 */ addi r4, r3, lbl_803D6A20@l
/* 802CE568 002CB4C8 38 84 00 11 */ addi r4, r4, 0x11
/* 802CE56C 002CB4CC 38 65 48 4C */ addi r3, r5, Sphere_Sphere__7CollideFRC27CInternalCollisionStructureR18CCollisionInfoList@l
/* 802CE570 002CB4D0 7C 85 23 78 */ mr r5, r4
/* 802CE574 002CB4D4 48 00 01 71 */ bl InitAddCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructureR18CCollisionInfoList_bPCcPCc
/* 802CE578 002CB4D8 3C 60 80 3D */ lis r3, lbl_803D6A20@ha
/* 802CE57C 002CB4DC 3C A0 80 2D */ lis r5, AABox_AABox_Bool__7CollideFRC27CInternalCollisionStructure@ha
/* 802CE580 002CB4E0 38 83 6A 20 */ addi r4, r3, lbl_803D6A20@l
/* 802CE584 002CB4E4 38 65 DF 54 */ addi r3, r5, AABox_AABox_Bool__7CollideFRC27CInternalCollisionStructure@l
/* 802CE588 002CB4E8 7C 85 23 78 */ mr r5, r4
/* 802CE58C 002CB4EC 48 00 01 29 */ bl InitAddBooleanCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructure_bPCcPCc
/* 802CE590 002CB4F0 3C 60 80 3D */ lis r3, lbl_803D6A20@ha
/* 802CE594 002CB4F4 3C 80 80 2D */ lis r4, Sphere_AABox_Bool__7CollideFRC27CInternalCollisionStructure@ha
/* 802CE598 002CB4F8 38 A3 6A 20 */ addi r5, r3, lbl_803D6A20@l
/* 802CE59C 002CB4FC 38 64 51 00 */ addi r3, r4, Sphere_AABox_Bool__7CollideFRC27CInternalCollisionStructure@l
/* 802CE5A0 002CB500 38 85 00 11 */ addi r4, r5, 0x11
/* 802CE5A4 002CB504 48 00 01 11 */ bl InitAddBooleanCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructure_bPCcPCc
/* 802CE5A8 002CB508 3C 60 80 3D */ lis r3, lbl_803D6A20@ha
/* 802CE5AC 002CB50C 3C A0 80 2D */ lis r5, Sphere_Sphere_Bool__7CollideFRC27CInternalCollisionStructure@ha
/* 802CE5B0 002CB510 38 83 6A 20 */ addi r4, r3, lbl_803D6A20@l
/* 802CE5B4 002CB514 38 84 00 11 */ addi r4, r4, 0x11
/* 802CE5B8 002CB518 38 65 47 78 */ addi r3, r5, Sphere_Sphere_Bool__7CollideFRC27CInternalCollisionStructure@l
/* 802CE5BC 002CB51C 7C 85 23 78 */ mr r5, r4
/* 802CE5C0 002CB520 48 00 00 F5 */ bl InitAddBooleanCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructure_bPCcPCc
/* 802CE5C4 002CB524 3C 60 80 3D */ lis r3, lbl_803D6A20@ha
/* 802CE5C8 002CB528 3C A0 80 2D */ lis r5, CollideMovingAABox__16CCollidableAABoxFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo@ha
/* 802CE5CC 002CB52C 38 83 6A 20 */ addi r4, r3, lbl_803D6A20@l
/* 802CE5D0 002CB530 38 65 DB F0 */ addi r3, r5, CollideMovingAABox__16CCollidableAABoxFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo@l
/* 802CE5D4 002CB534 7C 85 23 78 */ mr r5, r4
/* 802CE5D8 002CB538 48 00 00 AD */ bl InitAddMovingCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo_bPCcPCc
/* 802CE5DC 002CB53C 3C 60 80 3D */ lis r3, lbl_803D6A20@ha
/* 802CE5E0 002CB540 3C A0 80 2D */ lis r5, CollideMovingSphere__16CCollidableAABoxFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo@ha
/* 802CE5E4 002CB544 38 83 6A 20 */ addi r4, r3, lbl_803D6A20@l
/* 802CE5E8 002CB548 38 65 D9 44 */ addi r3, r5, CollideMovingSphere__16CCollidableAABoxFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo@l
/* 802CE5EC 002CB54C 38 A4 00 11 */ addi r5, r4, 0x11
/* 802CE5F0 002CB550 48 00 00 95 */ bl InitAddMovingCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo_bPCcPCc
/* 802CE5F4 002CB554 3C 60 80 3D */ lis r3, lbl_803D6A20@ha
/* 802CE5F8 002CB558 3C 80 80 2D */ lis r4, CollideMovingAABox__17CCollidableSphereFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo@ha
/* 802CE5FC 002CB55C 38 A3 6A 20 */ addi r5, r3, lbl_803D6A20@l
/* 802CE600 002CB560 38 64 41 30 */ addi r3, r4, CollideMovingAABox__17CCollidableSphereFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo@l
/* 802CE604 002CB564 38 85 00 11 */ addi r4, r5, 0x11
/* 802CE608 002CB568 48 00 00 7D */ bl InitAddMovingCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo_bPCcPCc
/* 802CE60C 002CB56C 3C 60 80 3D */ lis r3, lbl_803D6A20@ha
/* 802CE610 002CB570 3C A0 80 2D */ lis r5, CollideMovingSphere__17CCollidableSphereFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo@ha
/* 802CE614 002CB574 38 83 6A 20 */ addi r4, r3, lbl_803D6A20@l
/* 802CE618 002CB578 38 84 00 11 */ addi r4, r4, 0x11
/* 802CE61C 002CB57C 38 65 3E 78 */ addi r3, r5, CollideMovingSphere__17CCollidableSphereFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo@l
/* 802CE620 002CB580 7C 85 23 78 */ mr r5, r4
/* 802CE624 002CB584 48 00 00 61 */ bl InitAddMovingCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo_bPCcPCc
/* 802CE628 002CB588 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802CE62C 002CB58C 7C 08 03 A6 */ mtlr r0
/* 802CE630 002CB590 38 21 00 10 */ addi r1, r1, 0x10
/* 802CE634 002CB594 4E 80 00 20 */ blr
.global AddTypes__17InternalCollidersFv
AddTypes__17InternalCollidersFv:
/* 802CE638 002CB598 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 802CE63C 002CB59C 7C 08 02 A6 */ mflr r0
/* 802CE640 002CB5A0 90 01 00 24 */ stw r0, 0x24(r1)
/* 802CE644 002CB5A4 38 61 00 18 */ addi r3, r1, 0x18
/* 802CE648 002CB5A8 4B FF F9 CD */ bl GetType__16CCollidableAABoxFv
/* 802CE64C 002CB5AC 38 61 00 18 */ addi r3, r1, 0x18
/* 802CE650 002CB5B0 48 00 10 E9 */ bl InitAddType__19CCollisionPrimitiveFRCQ219CCollisionPrimitive4Type
/* 802CE654 002CB5B4 38 61 00 10 */ addi r3, r1, 0x10
/* 802CE658 002CB5B8 4B FF FA 3D */ bl GetType__27CCollidableCollisionSurfaceFv
/* 802CE65C 002CB5BC 38 61 00 10 */ addi r3, r1, 0x10
/* 802CE660 002CB5C0 48 00 10 D9 */ bl InitAddType__19CCollisionPrimitiveFRCQ219CCollisionPrimitive4Type
/* 802CE664 002CB5C4 38 61 00 08 */ addi r3, r1, 8
/* 802CE668 002CB5C8 48 00 6C 65 */ bl GetType__17CCollidableSphereFv
/* 802CE66C 002CB5CC 38 61 00 08 */ addi r3, r1, 8
/* 802CE670 002CB5D0 48 00 10 C9 */ bl InitAddType__19CCollisionPrimitiveFRCQ219CCollisionPrimitive4Type
/* 802CE674 002CB5D4 80 01 00 24 */ lwz r0, 0x24(r1)
/* 802CE678 002CB5D8 7C 08 03 A6 */ mtlr r0
/* 802CE67C 002CB5DC 38 21 00 20 */ addi r1, r1, 0x20
/* 802CE680 002CB5E0 4E 80 00 20 */ blr

View File

@ -0,0 +1,799 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global GetWidgetTypeID__16CAuiEnergyBarT01CFv
GetWidgetTypeID__16CAuiEnergyBarT01CFv:
/* 802CB1D0 002C8130 3C 60 45 4E */ lis r3, 0x454E5247@ha
/* 802CB1D4 002C8134 38 63 52 47 */ addi r3, r3, 0x454E5247@l
/* 802CB1D8 002C8138 4E 80 00 20 */ blr
.global GetActualFraction__16CAuiEnergyBarT01CFv
GetActualFraction__16CAuiEnergyBarT01CFv:
/* 802CB1DC 002C813C C0 22 C4 20 */ lfs f1, lbl_805AE140@sda21(r2)
/* 802CB1E0 002C8140 C0 43 00 E0 */ lfs f2, 0xe0(r3)
/* 802CB1E4 002C8144 FC 01 10 00 */ fcmpu cr0, f1, f2
/* 802CB1E8 002C8148 4D 82 00 20 */ beqlr
/* 802CB1EC 002C814C C0 03 00 F4 */ lfs f0, 0xf4(r3)
/* 802CB1F0 002C8150 EC 20 10 24 */ fdivs f1, f0, f2
/* 802CB1F4 002C8154 4E 80 00 20 */ blr
.global Draw__16CAuiEnergyBarT01CFRC19CGuiWidgetDrawParms
Draw__16CAuiEnergyBarT01CFRC19CGuiWidgetDrawParms:
/* 802CB1F8 002C8158 94 21 FE F0 */ stwu r1, -0x110(r1)
/* 802CB1FC 002C815C 7C 08 02 A6 */ mflr r0
/* 802CB200 002C8160 90 01 01 14 */ stw r0, 0x114(r1)
/* 802CB204 002C8164 DB E1 01 00 */ stfd f31, 0x100(r1)
/* 802CB208 002C8168 F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0
/* 802CB20C 002C816C DB C1 00 F0 */ stfd f30, 0xf0(r1)
/* 802CB210 002C8170 F3 C1 00 F8 */ psq_st f30, 248(r1), 0, qr0
/* 802CB214 002C8174 DB A1 00 E0 */ stfd f29, 0xe0(r1)
/* 802CB218 002C8178 F3 A1 00 E8 */ psq_st f29, 232(r1), 0, qr0
/* 802CB21C 002C817C DB 81 00 D0 */ stfd f28, 0xd0(r1)
/* 802CB220 002C8180 F3 81 00 D8 */ psq_st f28, 216(r1), 0, qr0
/* 802CB224 002C8184 DB 61 00 C0 */ stfd f27, 0xc0(r1)
/* 802CB228 002C8188 F3 61 00 C8 */ psq_st f27, 200(r1), 0, qr0
/* 802CB22C 002C818C BF 61 00 AC */ stmw r27, 0xac(r1)
/* 802CB230 002C8190 7C 7C 1B 78 */ mr r28, r3
/* 802CB234 002C8194 7C 9D 23 78 */ mr r29, r4
/* 802CB238 002C8198 38 7C 00 34 */ addi r3, r28, 0x34
/* 802CB23C 002C819C 48 04 13 A5 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f
/* 802CB240 002C81A0 88 1C 00 C8 */ lbz r0, 0xc8(r28)
/* 802CB244 002C81A4 28 00 00 00 */ cmplwi r0, 0
/* 802CB248 002C81A8 41 82 03 AC */ beq lbl_802CB5F4
/* 802CB24C 002C81AC 80 1C 00 C4 */ lwz r0, 0xc4(r28)
/* 802CB250 002C81B0 38 80 00 00 */ li r4, 0
/* 802CB254 002C81B4 28 00 00 00 */ cmplwi r0, 0
/* 802CB258 002C81B8 40 82 00 14 */ bne lbl_802CB26C
/* 802CB25C 002C81BC 80 7C 00 BC */ lwz r3, 0xbc(r28)
/* 802CB260 002C81C0 80 03 00 10 */ lwz r0, 0x10(r3)
/* 802CB264 002C81C4 28 00 00 00 */ cmplwi r0, 0
/* 802CB268 002C81C8 41 82 00 08 */ beq lbl_802CB270
lbl_802CB26C:
/* 802CB26C 002C81CC 38 80 00 01 */ li r4, 1
lbl_802CB270:
/* 802CB270 002C81D0 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 802CB274 002C81D4 41 82 03 80 */ beq lbl_802CB5F4
/* 802CB278 002C81D8 80 1C 00 D8 */ lwz r0, 0xd8(r28)
/* 802CB27C 002C81DC 28 00 00 00 */ cmplwi r0, 0
/* 802CB280 002C81E0 40 82 00 08 */ bne lbl_802CB288
/* 802CB284 002C81E4 48 00 03 70 */ b lbl_802CB5F4
lbl_802CB288:
/* 802CB288 002C81E8 83 DC 00 C4 */ lwz r30, 0xc4(r28)
/* 802CB28C 002C81EC 28 1E 00 00 */ cmplwi r30, 0
/* 802CB290 002C81F0 41 82 03 64 */ beq lbl_802CB5F4
/* 802CB294 002C81F4 38 60 00 01 */ li r3, 1
/* 802CB298 002C81F8 38 80 00 03 */ li r4, 3
/* 802CB29C 002C81FC 38 A0 00 00 */ li r5, 0
/* 802CB2A0 002C8200 48 04 07 F5 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb
/* 802CB2A4 002C8204 48 07 ED 09 */ bl White__6CColorFv
/* 802CB2A8 002C8208 48 04 0D 75 */ bl SetAmbientColor__9CGraphicsFRC6CColor
/* 802CB2AC 002C820C 38 60 00 01 */ li r3, 1
/* 802CB2B0 002C8210 38 80 00 04 */ li r4, 4
/* 802CB2B4 002C8214 38 A0 00 01 */ li r5, 1
/* 802CB2B8 002C8218 38 C0 00 00 */ li r6, 0
/* 802CB2BC 002C821C 48 04 07 95 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp
/* 802CB2C0 002C8220 C0 3C 00 E0 */ lfs f1, 0xe0(r28)
/* 802CB2C4 002C8224 C3 C2 C4 20 */ lfs f30, lbl_805AE140@sda21(r2)
/* 802CB2C8 002C8228 FC 01 F0 40 */ fcmpo cr0, f1, f30
/* 802CB2CC 002C822C 40 81 00 0C */ ble lbl_802CB2D8
/* 802CB2D0 002C8230 C0 1C 00 F8 */ lfs f0, 0xf8(r28)
/* 802CB2D4 002C8234 EF C0 08 24 */ fdivs f30, f0, f1
lbl_802CB2D8:
/* 802CB2D8 002C8238 C3 A2 C4 20 */ lfs f29, lbl_805AE140@sda21(r2)
/* 802CB2DC 002C823C FC 01 E8 40 */ fcmpo cr0, f1, f29
/* 802CB2E0 002C8240 40 81 00 0C */ ble lbl_802CB2EC
/* 802CB2E4 002C8244 C0 1C 00 FC */ lfs f0, 0xfc(r28)
/* 802CB2E8 002C8248 EF A0 08 24 */ fdivs f29, f0, f1
lbl_802CB2EC:
/* 802CB2EC 002C824C 88 7C 00 D3 */ lbz r3, 0xd3(r28)
/* 802CB2F0 002C8250 3C 00 43 30 */ lis r0, 0x4330
/* 802CB2F4 002C8254 90 01 00 90 */ stw r0, 0x90(r1)
/* 802CB2F8 002C8258 3B FC 00 A8 */ addi r31, r28, 0xa8
/* 802CB2FC 002C825C C8 22 C4 28 */ lfd f1, lbl_805AE148@sda21(r2)
/* 802CB300 002C8260 90 61 00 94 */ stw r3, 0x94(r1)
/* 802CB304 002C8264 C0 5D 00 00 */ lfs f2, 0(r29)
/* 802CB308 002C8268 C8 01 00 90 */ lfd f0, 0x90(r1)
/* 802CB30C 002C826C EC 00 08 28 */ fsubs f0, f0, f1
/* 802CB310 002C8270 EF 82 00 32 */ fmuls f28, f2, f0
/* 802CB314 002C8274 F3 81 A0 0A */ psq_st f28, 10(r1), 1, qr2
/* 802CB318 002C8278 7F E4 FB 78 */ mr r4, r31
/* 802CB31C 002C827C 80 DC 00 D0 */ lwz r6, 0xd0(r28)
/* 802CB320 002C8280 38 61 00 20 */ addi r3, r1, 0x20
/* 802CB324 002C8284 88 01 00 0A */ lbz r0, 0xa(r1)
/* 802CB328 002C8288 38 A1 00 1C */ addi r5, r1, 0x1c
/* 802CB32C 002C828C 50 C0 00 2E */ rlwimi r0, r6, 0, 0, 0x17
/* 802CB330 002C8290 90 01 00 1C */ stw r0, 0x1c(r1)
/* 802CB334 002C8294 48 09 7E 45 */ bl Modulate__6CColorFRC6CColorRC6CColor
/* 802CB338 002C8298 88 7C 00 D7 */ lbz r3, 0xd7(r28)
/* 802CB33C 002C829C 3C 00 43 30 */ lis r0, 0x4330
/* 802CB340 002C82A0 80 81 00 20 */ lwz r4, 0x20(r1)
/* 802CB344 002C82A4 90 61 00 9C */ stw r3, 0x9c(r1)
/* 802CB348 002C82A8 C8 22 C4 28 */ lfd f1, lbl_805AE148@sda21(r2)
/* 802CB34C 002C82AC 90 01 00 98 */ stw r0, 0x98(r1)
/* 802CB350 002C82B0 C0 5D 00 00 */ lfs f2, 0(r29)
/* 802CB354 002C82B4 C8 01 00 98 */ lfd f0, 0x98(r1)
/* 802CB358 002C82B8 90 81 00 2C */ stw r4, 0x2c(r1)
/* 802CB35C 002C82BC EC 00 08 28 */ fsubs f0, f0, f1
/* 802CB360 002C82C0 EF 62 00 32 */ fmuls f27, f2, f0
/* 802CB364 002C82C4 F3 61 A0 09 */ psq_st f27, 9(r1), 1, qr2
/* 802CB368 002C82C8 7F E4 FB 78 */ mr r4, r31
/* 802CB36C 002C82CC 80 DC 00 D4 */ lwz r6, 0xd4(r28)
/* 802CB370 002C82D0 38 61 00 18 */ addi r3, r1, 0x18
/* 802CB374 002C82D4 88 01 00 09 */ lbz r0, 9(r1)
/* 802CB378 002C82D8 38 A1 00 14 */ addi r5, r1, 0x14
/* 802CB37C 002C82DC 50 C0 00 2E */ rlwimi r0, r6, 0, 0, 0x17
/* 802CB380 002C82E0 90 01 00 14 */ stw r0, 0x14(r1)
/* 802CB384 002C82E4 48 09 7D F5 */ bl Modulate__6CColorFRC6CColorRC6CColor
/* 802CB388 002C82E8 88 7C 00 CF */ lbz r3, 0xcf(r28)
/* 802CB38C 002C82EC 3C 00 43 30 */ lis r0, 0x4330
/* 802CB390 002C82F0 80 81 00 18 */ lwz r4, 0x18(r1)
/* 802CB394 002C82F4 90 61 00 A4 */ stw r3, 0xa4(r1)
/* 802CB398 002C82F8 C8 22 C4 28 */ lfd f1, lbl_805AE148@sda21(r2)
/* 802CB39C 002C82FC 90 01 00 A0 */ stw r0, 0xa0(r1)
/* 802CB3A0 002C8300 C0 5D 00 00 */ lfs f2, 0(r29)
/* 802CB3A4 002C8304 C8 01 00 A0 */ lfd f0, 0xa0(r1)
/* 802CB3A8 002C8308 90 81 00 28 */ stw r4, 0x28(r1)
/* 802CB3AC 002C830C EC 00 08 28 */ fsubs f0, f0, f1
/* 802CB3B0 002C8310 EF E2 00 32 */ fmuls f31, f2, f0
/* 802CB3B4 002C8314 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2
/* 802CB3B8 002C8318 7F E4 FB 78 */ mr r4, r31
/* 802CB3BC 002C831C 80 DC 00 CC */ lwz r6, 0xcc(r28)
/* 802CB3C0 002C8320 38 61 00 10 */ addi r3, r1, 0x10
/* 802CB3C4 002C8324 88 01 00 08 */ lbz r0, 8(r1)
/* 802CB3C8 002C8328 38 A1 00 0C */ addi r5, r1, 0xc
/* 802CB3CC 002C832C 50 C0 00 2E */ rlwimi r0, r6, 0, 0, 0x17
/* 802CB3D0 002C8330 90 01 00 0C */ stw r0, 0xc(r1)
/* 802CB3D4 002C8334 48 09 7D A5 */ bl Modulate__6CColorFRC6CColorRC6CColor
/* 802CB3D8 002C8338 80 01 00 10 */ lwz r0, 0x10(r1)
/* 802CB3DC 002C833C 3B E1 00 84 */ addi r31, r1, 0x84
/* 802CB3E0 002C8340 3B A0 00 00 */ li r29, 0
/* 802CB3E4 002C8344 90 01 00 24 */ stw r0, 0x24(r1)
lbl_802CB3E8:
/* 802CB3E8 002C8348 2C 1D 00 00 */ cmpwi r29, 0
/* 802CB3EC 002C834C 40 82 00 0C */ bne lbl_802CB3F8
/* 802CB3F0 002C8350 C3 62 C4 20 */ lfs f27, lbl_805AE140@sda21(r2)
/* 802CB3F4 002C8354 48 00 00 18 */ b lbl_802CB40C
lbl_802CB3F8:
/* 802CB3F8 002C8358 2C 1D 00 01 */ cmpwi r29, 1
/* 802CB3FC 002C835C 40 82 00 0C */ bne lbl_802CB408
/* 802CB400 002C8360 FF 60 F0 90 */ fmr f27, f30
/* 802CB404 002C8364 48 00 00 08 */ b lbl_802CB40C
lbl_802CB408:
/* 802CB408 002C8368 FF 60 E8 90 */ fmr f27, f29
lbl_802CB40C:
/* 802CB40C 002C836C 2C 1D 00 00 */ cmpwi r29, 0
/* 802CB410 002C8370 40 82 00 0C */ bne lbl_802CB41C
/* 802CB414 002C8374 FF 80 F0 90 */ fmr f28, f30
/* 802CB418 002C8378 48 00 00 18 */ b lbl_802CB430
lbl_802CB41C:
/* 802CB41C 002C837C 2C 1D 00 01 */ cmpwi r29, 1
/* 802CB420 002C8380 40 82 00 0C */ bne lbl_802CB42C
/* 802CB424 002C8384 FF 80 E8 90 */ fmr f28, f29
/* 802CB428 002C8388 48 00 00 08 */ b lbl_802CB430
lbl_802CB42C:
/* 802CB42C 002C838C C3 82 C4 24 */ lfs f28, lbl_805AE144@sda21(r2)
lbl_802CB430:
/* 802CB430 002C8390 2C 1D 00 00 */ cmpwi r29, 0
/* 802CB434 002C8394 40 82 00 0C */ bne lbl_802CB440
/* 802CB438 002C8398 3B 61 00 2C */ addi r27, r1, 0x2c
/* 802CB43C 002C839C 48 00 00 14 */ b lbl_802CB450
lbl_802CB440:
/* 802CB440 002C83A0 2C 1D 00 01 */ cmpwi r29, 1
/* 802CB444 002C83A4 3B 61 00 24 */ addi r27, r1, 0x24
/* 802CB448 002C83A8 40 82 00 08 */ bne lbl_802CB450
/* 802CB44C 002C83AC 3B 61 00 28 */ addi r27, r1, 0x28
lbl_802CB450:
/* 802CB450 002C83B0 FC 1B E0 00 */ fcmpu cr0, f27, f28
/* 802CB454 002C83B4 41 82 01 84 */ beq lbl_802CB5D8
/* 802CB458 002C83B8 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha
/* 802CB45C 002C83BC 38 60 00 00 */ li r3, 0
/* 802CB460 002C83C0 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l
/* 802CB464 002C83C4 48 03 EE 55 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass
/* 802CB468 002C83C8 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13)
/* 802CB46C 002C83CC 38 60 00 01 */ li r3, 1
/* 802CB470 002C83D0 48 03 EE 49 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass
/* 802CB474 002C83D4 7F C3 F3 78 */ mr r3, r30
/* 802CB478 002C83D8 38 80 00 00 */ li r4, 0
/* 802CB47C 002C83DC 38 A0 00 01 */ li r5, 1
/* 802CB480 002C83E0 48 04 42 BD */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode
/* 802CB484 002C83E4 38 60 00 98 */ li r3, 0x98
/* 802CB488 002C83E8 48 04 01 E1 */ bl StreamBegin__9CGraphicsF13ERglPrimitive
/* 802CB48C 002C83EC 7F 63 DB 78 */ mr r3, r27
/* 802CB490 002C83F0 48 04 00 B9 */ bl StreamColor__9CGraphicsFRC6CColor
/* 802CB494 002C83F4 81 9C 00 D8 */ lwz r12, 0xd8(r28)
/* 802CB498 002C83F8 FC 20 D8 90 */ fmr f1, f27
/* 802CB49C 002C83FC 38 61 00 60 */ addi r3, r1, 0x60
/* 802CB4A0 002C8400 7D 89 03 A6 */ mtctr r12
/* 802CB4A4 002C8404 4E 80 04 21 */ bctrl
/* 802CB4A8 002C8408 C0 A1 00 60 */ lfs f5, 0x60(r1)
/* 802CB4AC 002C840C C0 81 00 64 */ lfs f4, 0x64(r1)
/* 802CB4B0 002C8410 C0 61 00 68 */ lfs f3, 0x68(r1)
/* 802CB4B4 002C8414 C0 41 00 6C */ lfs f2, 0x6c(r1)
/* 802CB4B8 002C8418 C0 21 00 70 */ lfs f1, 0x70(r1)
/* 802CB4BC 002C841C C0 01 00 74 */ lfs f0, 0x74(r1)
/* 802CB4C0 002C8420 D0 A1 00 78 */ stfs f5, 0x78(r1)
/* 802CB4C4 002C8424 D0 81 00 7C */ stfs f4, 0x7c(r1)
/* 802CB4C8 002C8428 D0 61 00 80 */ stfs f3, 0x80(r1)
/* 802CB4CC 002C842C D0 41 00 84 */ stfs f2, 0x84(r1)
/* 802CB4D0 002C8430 D0 21 00 88 */ stfs f1, 0x88(r1)
/* 802CB4D4 002C8434 D0 01 00 8C */ stfs f0, 0x8c(r1)
/* 802CB4D8 002C8438 48 00 00 F4 */ b lbl_802CB5CC
lbl_802CB4DC:
/* 802CB4DC 002C843C FC 20 D8 90 */ fmr f1, f27
/* 802CB4E0 002C8440 C0 42 C4 20 */ lfs f2, lbl_805AE140@sda21(r2)
/* 802CB4E4 002C8444 48 03 FF 81 */ bl StreamTexcoord__9CGraphicsFff
/* 802CB4E8 002C8448 38 61 00 78 */ addi r3, r1, 0x78
/* 802CB4EC 002C844C 48 04 00 D5 */ bl StreamVertex__9CGraphicsFRC9CVector3f
/* 802CB4F0 002C8450 FC 20 D8 90 */ fmr f1, f27
/* 802CB4F4 002C8454 C0 42 C4 24 */ lfs f2, lbl_805AE144@sda21(r2)
/* 802CB4F8 002C8458 48 03 FF 6D */ bl StreamTexcoord__9CGraphicsFff
/* 802CB4FC 002C845C 7F E3 FB 78 */ mr r3, r31
/* 802CB500 002C8460 48 04 00 C1 */ bl StreamVertex__9CGraphicsFRC9CVector3f
/* 802CB504 002C8464 C0 1C 00 DC */ lfs f0, 0xdc(r28)
/* 802CB508 002C8468 EF 7B 00 2A */ fadds f27, f27, f0
/* 802CB50C 002C846C FC 1B E0 40 */ fcmpo cr0, f27, f28
/* 802CB510 002C8470 4C 41 13 82 */ cror 2, 1, 2
/* 802CB514 002C8474 40 82 00 74 */ bne lbl_802CB588
/* 802CB518 002C8478 81 9C 00 D8 */ lwz r12, 0xd8(r28)
/* 802CB51C 002C847C FC 20 E0 90 */ fmr f1, f28
/* 802CB520 002C8480 38 61 00 48 */ addi r3, r1, 0x48
/* 802CB524 002C8484 7D 89 03 A6 */ mtctr r12
/* 802CB528 002C8488 4E 80 04 21 */ bctrl
/* 802CB52C 002C848C 80 E1 00 48 */ lwz r7, 0x48(r1)
/* 802CB530 002C8490 FC 20 E0 90 */ fmr f1, f28
/* 802CB534 002C8494 80 C1 00 4C */ lwz r6, 0x4c(r1)
/* 802CB538 002C8498 80 A1 00 50 */ lwz r5, 0x50(r1)
/* 802CB53C 002C849C 80 81 00 54 */ lwz r4, 0x54(r1)
/* 802CB540 002C84A0 80 61 00 58 */ lwz r3, 0x58(r1)
/* 802CB544 002C84A4 80 01 00 5C */ lwz r0, 0x5c(r1)
/* 802CB548 002C84A8 90 E1 00 78 */ stw r7, 0x78(r1)
/* 802CB54C 002C84AC C0 42 C4 20 */ lfs f2, lbl_805AE140@sda21(r2)
/* 802CB550 002C84B0 90 C1 00 7C */ stw r6, 0x7c(r1)
/* 802CB554 002C84B4 90 A1 00 80 */ stw r5, 0x80(r1)
/* 802CB558 002C84B8 90 9F 00 00 */ stw r4, 0(r31)
/* 802CB55C 002C84BC 90 7F 00 04 */ stw r3, 4(r31)
/* 802CB560 002C84C0 90 1F 00 08 */ stw r0, 8(r31)
/* 802CB564 002C84C4 48 03 FF 01 */ bl StreamTexcoord__9CGraphicsFff
/* 802CB568 002C84C8 38 61 00 78 */ addi r3, r1, 0x78
/* 802CB56C 002C84CC 48 04 00 55 */ bl StreamVertex__9CGraphicsFRC9CVector3f
/* 802CB570 002C84D0 FC 20 E0 90 */ fmr f1, f28
/* 802CB574 002C84D4 C0 42 C4 24 */ lfs f2, lbl_805AE144@sda21(r2)
/* 802CB578 002C84D8 48 03 FE ED */ bl StreamTexcoord__9CGraphicsFff
/* 802CB57C 002C84DC 7F E3 FB 78 */ mr r3, r31
/* 802CB580 002C84E0 48 04 00 41 */ bl StreamVertex__9CGraphicsFRC9CVector3f
/* 802CB584 002C84E4 48 00 00 48 */ b lbl_802CB5CC
lbl_802CB588:
/* 802CB588 002C84E8 81 9C 00 D8 */ lwz r12, 0xd8(r28)
/* 802CB58C 002C84EC FC 20 D8 90 */ fmr f1, f27
/* 802CB590 002C84F0 38 61 00 30 */ addi r3, r1, 0x30
/* 802CB594 002C84F4 7D 89 03 A6 */ mtctr r12
/* 802CB598 002C84F8 4E 80 04 21 */ bctrl
/* 802CB59C 002C84FC 80 E1 00 30 */ lwz r7, 0x30(r1)
/* 802CB5A0 002C8500 80 C1 00 34 */ lwz r6, 0x34(r1)
/* 802CB5A4 002C8504 80 A1 00 38 */ lwz r5, 0x38(r1)
/* 802CB5A8 002C8508 80 81 00 3C */ lwz r4, 0x3c(r1)
/* 802CB5AC 002C850C 80 61 00 40 */ lwz r3, 0x40(r1)
/* 802CB5B0 002C8510 80 01 00 44 */ lwz r0, 0x44(r1)
/* 802CB5B4 002C8514 90 E1 00 78 */ stw r7, 0x78(r1)
/* 802CB5B8 002C8518 90 C1 00 7C */ stw r6, 0x7c(r1)
/* 802CB5BC 002C851C 90 A1 00 80 */ stw r5, 0x80(r1)
/* 802CB5C0 002C8520 90 9F 00 00 */ stw r4, 0(r31)
/* 802CB5C4 002C8524 90 7F 00 04 */ stw r3, 4(r31)
/* 802CB5C8 002C8528 90 1F 00 08 */ stw r0, 8(r31)
lbl_802CB5CC:
/* 802CB5CC 002C852C FC 1B E0 40 */ fcmpo cr0, f27, f28
/* 802CB5D0 002C8530 41 80 FF 0C */ blt lbl_802CB4DC
/* 802CB5D4 002C8534 48 03 FE 3D */ bl StreamEnd__9CGraphicsFv
lbl_802CB5D8:
/* 802CB5D8 002C8538 3B BD 00 01 */ addi r29, r29, 1
/* 802CB5DC 002C853C 2C 1D 00 03 */ cmpwi r29, 3
/* 802CB5E0 002C8540 41 80 FE 08 */ blt lbl_802CB3E8
/* 802CB5E4 002C8544 38 60 00 01 */ li r3, 1
/* 802CB5E8 002C8548 38 80 00 03 */ li r4, 3
/* 802CB5EC 002C854C 38 A0 00 01 */ li r5, 1
/* 802CB5F0 002C8550 48 04 04 A5 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb
lbl_802CB5F4:
/* 802CB5F4 002C8554 E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0
/* 802CB5F8 002C8558 CB E1 01 00 */ lfd f31, 0x100(r1)
/* 802CB5FC 002C855C E3 C1 00 F8 */ psq_l f30, 248(r1), 0, qr0
/* 802CB600 002C8560 CB C1 00 F0 */ lfd f30, 0xf0(r1)
/* 802CB604 002C8564 E3 A1 00 E8 */ psq_l f29, 232(r1), 0, qr0
/* 802CB608 002C8568 CB A1 00 E0 */ lfd f29, 0xe0(r1)
/* 802CB60C 002C856C E3 81 00 D8 */ psq_l f28, 216(r1), 0, qr0
/* 802CB610 002C8570 CB 81 00 D0 */ lfd f28, 0xd0(r1)
/* 802CB614 002C8574 E3 61 00 C8 */ psq_l f27, 200(r1), 0, qr0
/* 802CB618 002C8578 CB 61 00 C0 */ lfd f27, 0xc0(r1)
/* 802CB61C 002C857C BB 61 00 AC */ lmw r27, 0xac(r1)
/* 802CB620 002C8580 80 01 01 14 */ lwz r0, 0x114(r1)
/* 802CB624 002C8584 7C 08 03 A6 */ mtlr r0
/* 802CB628 002C8588 38 21 01 10 */ addi r1, r1, 0x110
/* 802CB62C 002C858C 4E 80 00 20 */ blr
.global DownloadBarCoordFunc__16CAuiEnergyBarT01Ff
DownloadBarCoordFunc__16CAuiEnergyBarT01Ff:
/* 802CB630 002C8590 C0 62 C4 30 */ lfs f3, lbl_805AE150@sda21(r2)
/* 802CB634 002C8594 C0 02 C4 34 */ lfs f0, lbl_805AE154@sda21(r2)
/* 802CB638 002C8598 C0 42 C4 20 */ lfs f2, lbl_805AE140@sda21(r2)
/* 802CB63C 002C859C EC 63 00 78 */ fmsubs f3, f3, f1, f0
/* 802CB640 002C85A0 C0 22 C4 38 */ lfs f1, lbl_805AE158@sda21(r2)
/* 802CB644 002C85A4 C0 02 C4 3C */ lfs f0, lbl_805AE15C@sda21(r2)
/* 802CB648 002C85A8 D0 63 00 00 */ stfs f3, 0(r3)
/* 802CB64C 002C85AC D0 43 00 04 */ stfs f2, 4(r3)
/* 802CB650 002C85B0 D0 23 00 08 */ stfs f1, 8(r3)
/* 802CB654 002C85B4 D0 63 00 0C */ stfs f3, 0xc(r3)
/* 802CB658 002C85B8 D0 43 00 10 */ stfs f2, 0x10(r3)
/* 802CB65C 002C85BC D0 03 00 14 */ stfs f0, 0x14(r3)
/* 802CB660 002C85C0 4E 80 00 20 */ blr
.global Update__16CAuiEnergyBarT01Ff
Update__16CAuiEnergyBarT01Ff:
/* 802CB664 002C85C4 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 802CB668 002C85C8 7C 08 02 A6 */ mflr r0
/* 802CB66C 002C85CC 90 01 00 44 */ stw r0, 0x44(r1)
/* 802CB670 002C85D0 DB E1 00 30 */ stfd f31, 0x30(r1)
/* 802CB674 002C85D4 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0
/* 802CB678 002C85D8 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 802CB67C 002C85DC 93 C1 00 28 */ stw r30, 0x28(r1)
/* 802CB680 002C85E0 7C 7F 1B 78 */ mr r31, r3
/* 802CB684 002C85E4 C0 02 C4 20 */ lfs f0, lbl_805AE140@sda21(r2)
/* 802CB688 002C85E8 C0 43 01 00 */ lfs f2, 0x100(r3)
/* 802CB68C 002C85EC FF E0 08 90 */ fmr f31, f1
/* 802CB690 002C85F0 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 802CB694 002C85F4 40 81 00 2C */ ble lbl_802CB6C0
/* 802CB698 002C85F8 EC 22 F8 28 */ fsubs f1, f2, f31
/* 802CB69C 002C85FC C0 0D 9B 1C */ lfs f0, lbl_805A86DC@sda21(r13)
/* 802CB6A0 002C8600 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 802CB6A4 002C8604 D0 21 00 1C */ stfs f1, 0x1c(r1)
/* 802CB6A8 002C8608 40 80 00 0C */ bge lbl_802CB6B4
/* 802CB6AC 002C860C 38 6D 9B 1C */ addi r3, r13, lbl_805A86DC@sda21
/* 802CB6B0 002C8610 48 00 00 08 */ b lbl_802CB6B8
lbl_802CB6B4:
/* 802CB6B4 002C8614 38 61 00 1C */ addi r3, r1, 0x1c
lbl_802CB6B8:
/* 802CB6B8 002C8618 C0 03 00 00 */ lfs f0, 0(r3)
/* 802CB6BC 002C861C D0 1F 01 00 */ stfs f0, 0x100(r31)
lbl_802CB6C0:
/* 802CB6C0 002C8620 C0 5F 00 F8 */ lfs f2, 0xf8(r31)
/* 802CB6C4 002C8624 C0 1F 00 F4 */ lfs f0, 0xf4(r31)
/* 802CB6C8 002C8628 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 802CB6CC 002C862C 40 80 00 9C */ bge lbl_802CB768
/* 802CB6D0 002C8630 88 1F 00 F1 */ lbz r0, 0xf1(r31)
/* 802CB6D4 002C8634 28 00 00 00 */ cmplwi r0, 0
/* 802CB6D8 002C8638 41 82 00 60 */ beq lbl_802CB738
/* 802CB6DC 002C863C C0 3F 00 E4 */ lfs f1, 0xe4(r31)
/* 802CB6E0 002C8640 C0 02 C4 20 */ lfs f0, lbl_805AE140@sda21(r2)
/* 802CB6E4 002C8644 EC 3F 10 7C */ fnmsubs f1, f31, f1, f2
/* 802CB6E8 002C8648 D0 3F 00 F8 */ stfs f1, 0xf8(r31)
/* 802CB6EC 002C864C C0 3F 00 F8 */ lfs f1, 0xf8(r31)
/* 802CB6F0 002C8650 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 802CB6F4 002C8654 40 80 01 08 */ bge lbl_802CB7FC
/* 802CB6F8 002C8658 C0 1F 00 E0 */ lfs f0, 0xe0(r31)
/* 802CB6FC 002C865C EC 21 00 2A */ fadds f1, f1, f0
/* 802CB700 002C8660 D0 21 00 18 */ stfs f1, 0x18(r1)
/* 802CB704 002C8664 C0 1F 00 F4 */ lfs f0, 0xf4(r31)
/* 802CB708 002C8668 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 802CB70C 002C866C 40 80 00 0C */ bge lbl_802CB718
/* 802CB710 002C8670 38 61 00 18 */ addi r3, r1, 0x18
/* 802CB714 002C8674 48 00 00 08 */ b lbl_802CB71C
lbl_802CB718:
/* 802CB718 002C8678 38 7F 00 F4 */ addi r3, r31, 0xf4
lbl_802CB71C:
/* 802CB71C 002C867C C0 03 00 00 */ lfs f0, 0(r3)
/* 802CB720 002C8680 38 00 00 00 */ li r0, 0
/* 802CB724 002C8684 D0 1F 00 F8 */ stfs f0, 0xf8(r31)
/* 802CB728 002C8688 98 1F 00 F1 */ stb r0, 0xf1(r31)
/* 802CB72C 002C868C C0 1F 00 E0 */ lfs f0, 0xe0(r31)
/* 802CB730 002C8690 D0 1F 00 FC */ stfs f0, 0xfc(r31)
/* 802CB734 002C8694 48 00 00 C8 */ b lbl_802CB7FC
lbl_802CB738:
/* 802CB738 002C8698 C0 1F 00 E4 */ lfs f0, 0xe4(r31)
/* 802CB73C 002C869C EC 3F 10 3A */ fmadds f1, f31, f0, f2
/* 802CB740 002C86A0 D0 21 00 14 */ stfs f1, 0x14(r1)
/* 802CB744 002C86A4 C0 1F 00 F4 */ lfs f0, 0xf4(r31)
/* 802CB748 002C86A8 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 802CB74C 002C86AC 40 80 00 0C */ bge lbl_802CB758
/* 802CB750 002C86B0 38 61 00 14 */ addi r3, r1, 0x14
/* 802CB754 002C86B4 48 00 00 08 */ b lbl_802CB75C
lbl_802CB758:
/* 802CB758 002C86B8 38 7F 00 F4 */ addi r3, r31, 0xf4
lbl_802CB75C:
/* 802CB75C 002C86BC C0 03 00 00 */ lfs f0, 0(r3)
/* 802CB760 002C86C0 D0 1F 00 F8 */ stfs f0, 0xf8(r31)
/* 802CB764 002C86C4 48 00 00 98 */ b lbl_802CB7FC
lbl_802CB768:
/* 802CB768 002C86C8 40 81 00 94 */ ble lbl_802CB7FC
/* 802CB76C 002C86CC 88 1F 00 F1 */ lbz r0, 0xf1(r31)
/* 802CB770 002C86D0 28 00 00 00 */ cmplwi r0, 0
/* 802CB774 002C86D4 41 82 00 5C */ beq lbl_802CB7D0
/* 802CB778 002C86D8 C0 1F 00 E4 */ lfs f0, 0xe4(r31)
/* 802CB77C 002C86DC EC 1F 10 3A */ fmadds f0, f31, f0, f2
/* 802CB780 002C86E0 D0 1F 00 F8 */ stfs f0, 0xf8(r31)
/* 802CB784 002C86E4 C0 3F 00 F8 */ lfs f1, 0xf8(r31)
/* 802CB788 002C86E8 C0 1F 00 E0 */ lfs f0, 0xe0(r31)
/* 802CB78C 002C86EC FC 01 00 40 */ fcmpo cr0, f1, f0
/* 802CB790 002C86F0 40 81 00 6C */ ble lbl_802CB7FC
/* 802CB794 002C86F4 EC 21 00 28 */ fsubs f1, f1, f0
/* 802CB798 002C86F8 D0 21 00 10 */ stfs f1, 0x10(r1)
/* 802CB79C 002C86FC C0 1F 00 F4 */ lfs f0, 0xf4(r31)
/* 802CB7A0 002C8700 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 802CB7A4 002C8704 40 80 00 0C */ bge lbl_802CB7B0
/* 802CB7A8 002C8708 38 61 00 10 */ addi r3, r1, 0x10
/* 802CB7AC 002C870C 48 00 00 08 */ b lbl_802CB7B4
lbl_802CB7B0:
/* 802CB7B0 002C8710 38 7F 00 F4 */ addi r3, r31, 0xf4
lbl_802CB7B4:
/* 802CB7B4 002C8714 C0 03 00 00 */ lfs f0, 0(r3)
/* 802CB7B8 002C8718 38 00 00 00 */ li r0, 0
/* 802CB7BC 002C871C D0 1F 00 F8 */ stfs f0, 0xf8(r31)
/* 802CB7C0 002C8720 98 1F 00 F1 */ stb r0, 0xf1(r31)
/* 802CB7C4 002C8724 C0 1F 00 F8 */ lfs f0, 0xf8(r31)
/* 802CB7C8 002C8728 D0 1F 00 FC */ stfs f0, 0xfc(r31)
/* 802CB7CC 002C872C 48 00 00 30 */ b lbl_802CB7FC
lbl_802CB7D0:
/* 802CB7D0 002C8730 C0 1F 00 E4 */ lfs f0, 0xe4(r31)
/* 802CB7D4 002C8734 EC 3F 10 3C */ fnmsubs f1, f31, f0, f2
/* 802CB7D8 002C8738 D0 21 00 0C */ stfs f1, 0xc(r1)
/* 802CB7DC 002C873C C0 1F 00 F4 */ lfs f0, 0xf4(r31)
/* 802CB7E0 002C8740 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 802CB7E4 002C8744 40 80 00 0C */ bge lbl_802CB7F0
/* 802CB7E8 002C8748 38 61 00 0C */ addi r3, r1, 0xc
/* 802CB7EC 002C874C 48 00 00 08 */ b lbl_802CB7F4
lbl_802CB7F0:
/* 802CB7F0 002C8750 38 7F 00 F4 */ addi r3, r31, 0xf4
lbl_802CB7F4:
/* 802CB7F4 002C8754 C0 03 00 00 */ lfs f0, 0(r3)
/* 802CB7F8 002C8758 D0 1F 00 F8 */ stfs f0, 0xf8(r31)
lbl_802CB7FC:
/* 802CB7FC 002C875C C0 5F 00 FC */ lfs f2, 0xfc(r31)
/* 802CB800 002C8760 C0 1F 00 F8 */ lfs f0, 0xf8(r31)
/* 802CB804 002C8764 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 802CB808 002C8768 40 80 00 0C */ bge lbl_802CB814
/* 802CB80C 002C876C D0 1F 00 FC */ stfs f0, 0xfc(r31)
/* 802CB810 002C8770 48 00 00 44 */ b lbl_802CB854
lbl_802CB814:
/* 802CB814 002C8774 40 81 00 40 */ ble lbl_802CB854
/* 802CB818 002C8778 C0 22 C4 20 */ lfs f1, lbl_805AE140@sda21(r2)
/* 802CB81C 002C877C C0 1F 01 00 */ lfs f0, 0x100(r31)
/* 802CB820 002C8780 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 802CB824 002C8784 40 82 00 30 */ bne lbl_802CB854
/* 802CB828 002C8788 C0 1F 00 E8 */ lfs f0, 0xe8(r31)
/* 802CB82C 002C878C EC 3F 10 3C */ fnmsubs f1, f31, f0, f2
/* 802CB830 002C8790 D0 21 00 08 */ stfs f1, 8(r1)
/* 802CB834 002C8794 C0 1F 00 F8 */ lfs f0, 0xf8(r31)
/* 802CB838 002C8798 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 802CB83C 002C879C 40 80 00 0C */ bge lbl_802CB848
/* 802CB840 002C87A0 38 61 00 08 */ addi r3, r1, 8
/* 802CB844 002C87A4 48 00 00 08 */ b lbl_802CB84C
lbl_802CB848:
/* 802CB848 002C87A8 38 7F 00 F8 */ addi r3, r31, 0xf8
lbl_802CB84C:
/* 802CB84C 002C87AC C0 03 00 00 */ lfs f0, 0(r3)
/* 802CB850 002C87B0 D0 1F 00 FC */ stfs f0, 0xfc(r31)
lbl_802CB854:
/* 802CB854 002C87B4 88 1F 00 C8 */ lbz r0, 0xc8(r31)
/* 802CB858 002C87B8 28 00 00 00 */ cmplwi r0, 0
/* 802CB85C 002C87BC 41 82 00 40 */ beq lbl_802CB89C
/* 802CB860 002C87C0 3B DF 00 BC */ addi r30, r31, 0xbc
/* 802CB864 002C87C4 80 1F 00 C4 */ lwz r0, 0xc4(r31)
/* 802CB868 002C87C8 28 00 00 00 */ cmplwi r0, 0
/* 802CB86C 002C87CC 40 82 00 30 */ bne lbl_802CB89C
/* 802CB870 002C87D0 88 1E 00 04 */ lbz r0, 4(r30)
/* 802CB874 002C87D4 28 00 00 00 */ cmplwi r0, 0
/* 802CB878 002C87D8 41 82 00 24 */ beq lbl_802CB89C
/* 802CB87C 002C87DC 80 7E 00 00 */ lwz r3, 0(r30)
/* 802CB880 002C87E0 80 03 00 10 */ lwz r0, 0x10(r3)
/* 802CB884 002C87E4 28 00 00 00 */ cmplwi r0, 0
/* 802CB888 002C87E8 41 82 00 14 */ beq lbl_802CB89C
/* 802CB88C 002C87EC 7F C3 F3 78 */ mr r3, r30
/* 802CB890 002C87F0 48 07 55 7D */ bl GetObj__6CTokenFv
/* 802CB894 002C87F4 80 03 00 04 */ lwz r0, 4(r3)
/* 802CB898 002C87F8 90 1E 00 08 */ stw r0, 8(r30)
lbl_802CB89C:
/* 802CB89C 002C87FC FC 20 F8 90 */ fmr f1, f31
/* 802CB8A0 002C8800 7F E3 FB 78 */ mr r3, r31
/* 802CB8A4 002C8804 4B FF F1 31 */ bl Update__10CGuiWidgetFf
/* 802CB8A8 002C8808 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0
/* 802CB8AC 002C880C 80 01 00 44 */ lwz r0, 0x44(r1)
/* 802CB8B0 002C8810 CB E1 00 30 */ lfd f31, 0x30(r1)
/* 802CB8B4 002C8814 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 802CB8B8 002C8818 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 802CB8BC 002C881C 7C 08 03 A6 */ mtlr r0
/* 802CB8C0 002C8820 38 21 00 40 */ addi r1, r1, 0x40
/* 802CB8C4 002C8824 4E 80 00 20 */ blr
.global SetCurrEnergy__16CAuiEnergyBarT01Ffb
SetCurrEnergy__16CAuiEnergyBarT01Ffb:
/* 802CB8C8 002C8828 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 802CB8CC 002C882C 7C 08 02 A6 */ mflr r0
/* 802CB8D0 002C8830 90 01 00 24 */ stw r0, 0x24(r1)
/* 802CB8D4 002C8834 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 802CB8D8 002C8838 7C 9F 23 78 */ mr r31, r4
/* 802CB8DC 002C883C 38 81 00 08 */ addi r4, r1, 8
/* 802CB8E0 002C8840 93 C1 00 18 */ stw r30, 0x18(r1)
/* 802CB8E4 002C8844 7C 7E 1B 78 */ mr r30, r3
/* 802CB8E8 002C8848 38 BE 00 E0 */ addi r5, r30, 0xe0
/* 802CB8EC 002C884C 38 6D 9B 18 */ addi r3, r13, lbl_805A86D8@sda21
/* 802CB8F0 002C8850 D0 21 00 08 */ stfs f1, 8(r1)
/* 802CB8F4 002C8854 4B D4 09 C1 */ bl "Clamp<f>__5CMathFRCfRCfRCf"
/* 802CB8F8 002C8858 C0 43 00 00 */ lfs f2, 0(r3)
/* 802CB8FC 002C885C C0 1E 00 F4 */ lfs f0, 0xf4(r30)
/* 802CB900 002C8860 FC 02 00 00 */ fcmpu cr0, f2, f0
/* 802CB904 002C8864 41 82 00 4C */ beq lbl_802CB950
/* 802CB908 002C8868 88 1E 00 F0 */ lbz r0, 0xf0(r30)
/* 802CB90C 002C886C 28 00 00 00 */ cmplwi r0, 0
/* 802CB910 002C8870 40 82 00 14 */ bne lbl_802CB924
/* 802CB914 002C8874 C0 3E 00 F8 */ lfs f1, 0xf8(r30)
/* 802CB918 002C8878 C0 1E 00 FC */ lfs f0, 0xfc(r30)
/* 802CB91C 002C887C FC 01 00 00 */ fcmpu cr0, f1, f0
/* 802CB920 002C8880 40 82 00 0C */ bne lbl_802CB92C
lbl_802CB924:
/* 802CB924 002C8884 C0 1E 00 EC */ lfs f0, 0xec(r30)
/* 802CB928 002C8888 D0 1E 01 00 */ stfs f0, 0x100(r30)
lbl_802CB92C:
/* 802CB92C 002C888C 20 1F 00 01 */ subfic r0, r31, 1
/* 802CB930 002C8890 2C 1F 00 02 */ cmpwi r31, 2
/* 802CB934 002C8894 7C 00 00 34 */ cntlzw r0, r0
/* 802CB938 002C8898 54 00 D9 7E */ srwi r0, r0, 5
/* 802CB93C 002C889C 98 1E 00 F1 */ stb r0, 0xf1(r30)
/* 802CB940 002C88A0 D0 5E 00 F4 */ stfs f2, 0xf4(r30)
/* 802CB944 002C88A4 40 82 00 0C */ bne lbl_802CB950
/* 802CB948 002C88A8 C0 1E 00 F4 */ lfs f0, 0xf4(r30)
/* 802CB94C 002C88AC D0 1E 00 F8 */ stfs f0, 0xf8(r30)
lbl_802CB950:
/* 802CB950 002C88B0 80 01 00 24 */ lwz r0, 0x24(r1)
/* 802CB954 002C88B4 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 802CB958 002C88B8 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 802CB95C 002C88BC 7C 08 03 A6 */ mtlr r0
/* 802CB960 002C88C0 38 21 00 20 */ addi r1, r1, 0x20
/* 802CB964 002C88C4 4E 80 00 20 */ blr
.global SetMaxEnergy__16CAuiEnergyBarT01Ff
SetMaxEnergy__16CAuiEnergyBarT01Ff:
/* 802CB968 002C88C8 D0 23 00 E0 */ stfs f1, 0xe0(r3)
/* 802CB96C 002C88CC C0 23 00 E0 */ lfs f1, 0xe0(r3)
/* 802CB970 002C88D0 C0 03 00 F4 */ lfs f0, 0xf4(r3)
/* 802CB974 002C88D4 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 802CB978 002C88D8 40 80 00 0C */ bge lbl_802CB984
/* 802CB97C 002C88DC 38 83 00 E0 */ addi r4, r3, 0xe0
/* 802CB980 002C88E0 48 00 00 08 */ b lbl_802CB988
lbl_802CB984:
/* 802CB984 002C88E4 38 83 00 F4 */ addi r4, r3, 0xf4
lbl_802CB988:
/* 802CB988 002C88E8 C0 04 00 00 */ lfs f0, 0(r4)
/* 802CB98C 002C88EC D0 03 00 F4 */ stfs f0, 0xf4(r3)
/* 802CB990 002C88F0 C0 23 00 E0 */ lfs f1, 0xe0(r3)
/* 802CB994 002C88F4 C0 03 00 F8 */ lfs f0, 0xf8(r3)
/* 802CB998 002C88F8 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 802CB99C 002C88FC 40 80 00 0C */ bge lbl_802CB9A8
/* 802CB9A0 002C8900 38 83 00 E0 */ addi r4, r3, 0xe0
/* 802CB9A4 002C8904 48 00 00 08 */ b lbl_802CB9AC
lbl_802CB9A8:
/* 802CB9A8 002C8908 38 83 00 F8 */ addi r4, r3, 0xf8
lbl_802CB9AC:
/* 802CB9AC 002C890C C0 04 00 00 */ lfs f0, 0(r4)
/* 802CB9B0 002C8910 D0 03 00 F8 */ stfs f0, 0xf8(r3)
/* 802CB9B4 002C8914 C0 23 00 E0 */ lfs f1, 0xe0(r3)
/* 802CB9B8 002C8918 C0 03 00 FC */ lfs f0, 0xfc(r3)
/* 802CB9BC 002C891C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 802CB9C0 002C8920 40 80 00 0C */ bge lbl_802CB9CC
/* 802CB9C4 002C8924 38 83 00 E0 */ addi r4, r3, 0xe0
/* 802CB9C8 002C8928 48 00 00 08 */ b lbl_802CB9D0
lbl_802CB9CC:
/* 802CB9CC 002C892C 38 83 00 FC */ addi r4, r3, 0xfc
lbl_802CB9D0:
/* 802CB9D0 002C8930 C0 04 00 00 */ lfs f0, 0(r4)
/* 802CB9D4 002C8934 D0 03 00 FC */ stfs f0, 0xfc(r3)
/* 802CB9D8 002C8938 4E 80 00 20 */ blr
.global __dt__16CAuiEnergyBarT01Fv
__dt__16CAuiEnergyBarT01Fv:
/* 802CB9DC 002C893C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802CB9E0 002C8940 7C 08 02 A6 */ mflr r0
/* 802CB9E4 002C8944 90 01 00 14 */ stw r0, 0x14(r1)
/* 802CB9E8 002C8948 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802CB9EC 002C894C 7C 9F 23 78 */ mr r31, r4
/* 802CB9F0 002C8950 93 C1 00 08 */ stw r30, 8(r1)
/* 802CB9F4 002C8954 7C 7E 1B 79 */ or. r30, r3, r3
/* 802CB9F8 002C8958 41 82 00 60 */ beq lbl_802CBA58
/* 802CB9FC 002C895C 3C 60 80 3F */ lis r3, lbl_803ECA50@ha
/* 802CBA00 002C8960 34 1E 00 BC */ addic. r0, r30, 0xbc
/* 802CBA04 002C8964 38 03 CA 50 */ addi r0, r3, lbl_803ECA50@l
/* 802CBA08 002C8968 90 1E 00 00 */ stw r0, 0(r30)
/* 802CBA0C 002C896C 41 82 00 30 */ beq lbl_802CBA3C
/* 802CBA10 002C8970 88 1E 00 C8 */ lbz r0, 0xc8(r30)
/* 802CBA14 002C8974 28 00 00 00 */ cmplwi r0, 0
/* 802CBA18 002C8978 41 82 00 1C */ beq lbl_802CBA34
/* 802CBA1C 002C897C 34 7E 00 BC */ addic. r3, r30, 0xbc
/* 802CBA20 002C8980 41 82 00 14 */ beq lbl_802CBA34
/* 802CBA24 002C8984 28 03 00 00 */ cmplwi r3, 0
/* 802CBA28 002C8988 41 82 00 0C */ beq lbl_802CBA34
/* 802CBA2C 002C898C 38 80 00 00 */ li r4, 0
/* 802CBA30 002C8990 48 07 54 11 */ bl __dt__6CTokenFv
lbl_802CBA34:
/* 802CBA34 002C8994 38 00 00 00 */ li r0, 0
/* 802CBA38 002C8998 98 1E 00 C8 */ stb r0, 0xc8(r30)
lbl_802CBA3C:
/* 802CBA3C 002C899C 7F C3 F3 78 */ mr r3, r30
/* 802CBA40 002C89A0 38 80 00 00 */ li r4, 0
/* 802CBA44 002C89A4 4B FF F1 71 */ bl __dt__10CGuiWidgetFv
/* 802CBA48 002C89A8 7F E0 07 35 */ extsh. r0, r31
/* 802CBA4C 002C89AC 40 81 00 0C */ ble lbl_802CBA58
/* 802CBA50 002C89B0 7F C3 F3 78 */ mr r3, r30
/* 802CBA54 002C89B4 48 04 9E DD */ bl Free__7CMemoryFPCv
lbl_802CBA58:
/* 802CBA58 002C89B8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802CBA5C 002C89BC 7F C3 F3 78 */ mr r3, r30
/* 802CBA60 002C89C0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802CBA64 002C89C4 83 C1 00 08 */ lwz r30, 8(r1)
/* 802CBA68 002C89C8 7C 08 03 A6 */ mtlr r0
/* 802CBA6C 002C89CC 38 21 00 10 */ addi r1, r1, 0x10
/* 802CBA70 002C89D0 4E 80 00 20 */ blr
.global __ct__16CAuiEnergyBarT01FRCQ210CGuiWidget15CGuiWidgetParmsUi
__ct__16CAuiEnergyBarT01FRCQ210CGuiWidget15CGuiWidgetParmsUi:
/* 802CBA74 002C89D4 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 802CBA78 002C89D8 7C 08 02 A6 */ mflr r0
/* 802CBA7C 002C89DC 90 01 00 44 */ stw r0, 0x44(r1)
/* 802CBA80 002C89E0 93 E1 00 3C */ stw r31, 0x3c(r1)
/* 802CBA84 002C89E4 7C 7F 1B 78 */ mr r31, r3
/* 802CBA88 002C89E8 93 C1 00 38 */ stw r30, 0x38(r1)
/* 802CBA8C 002C89EC 7C DE 33 78 */ mr r30, r6
/* 802CBA90 002C89F0 93 A1 00 34 */ stw r29, 0x34(r1)
/* 802CBA94 002C89F4 7C BD 2B 78 */ mr r29, r5
/* 802CBA98 002C89F8 4B FF F1 8D */ bl __ct__10CGuiWidgetFRCQ210CGuiWidget15CGuiWidgetParms
/* 802CBA9C 002C89FC 3C 60 80 3F */ lis r3, lbl_803ECA50@ha
/* 802CBAA0 002C8A00 38 00 00 00 */ li r0, 0
/* 802CBAA4 002C8A04 38 63 CA 50 */ addi r3, r3, lbl_803ECA50@l
/* 802CBAA8 002C8A08 90 7F 00 00 */ stw r3, 0(r31)
/* 802CBAAC 002C8A0C 93 DF 00 B8 */ stw r30, 0xb8(r31)
/* 802CBAB0 002C8A10 98 1F 00 C8 */ stb r0, 0xc8(r31)
/* 802CBAB4 002C8A14 48 07 E4 F9 */ bl White__6CColorFv
/* 802CBAB8 002C8A18 80 03 00 00 */ lwz r0, 0(r3)
/* 802CBABC 002C8A1C 90 1F 00 CC */ stw r0, 0xcc(r31)
/* 802CBAC0 002C8A20 48 07 E4 ED */ bl White__6CColorFv
/* 802CBAC4 002C8A24 80 03 00 00 */ lwz r0, 0(r3)
/* 802CBAC8 002C8A28 90 1F 00 D0 */ stw r0, 0xd0(r31)
/* 802CBACC 002C8A2C 48 07 E4 E1 */ bl White__6CColorFv
/* 802CBAD0 002C8A30 80 63 00 00 */ lwz r3, 0(r3)
/* 802CBAD4 002C8A34 38 00 00 00 */ li r0, 0
/* 802CBAD8 002C8A38 C0 42 C4 24 */ lfs f2, lbl_805AE144@sda21(r2)
/* 802CBADC 002C8A3C 90 7F 00 D4 */ stw r3, 0xd4(r31)
/* 802CBAE0 002C8A40 C0 22 C4 20 */ lfs f1, lbl_805AE140@sda21(r2)
/* 802CBAE4 002C8A44 90 1F 00 D8 */ stw r0, 0xd8(r31)
/* 802CBAE8 002C8A48 C0 02 C4 40 */ lfs f0, lbl_805AE160@sda21(r2)
/* 802CBAEC 002C8A4C D0 5F 00 DC */ stfs f2, 0xdc(r31)
/* 802CBAF0 002C8A50 D0 3F 00 E0 */ stfs f1, 0xe0(r31)
/* 802CBAF4 002C8A54 D0 1F 00 E4 */ stfs f0, 0xe4(r31)
/* 802CBAF8 002C8A58 D0 1F 00 E8 */ stfs f0, 0xe8(r31)
/* 802CBAFC 002C8A5C D0 3F 00 EC */ stfs f1, 0xec(r31)
/* 802CBB00 002C8A60 98 1F 00 F0 */ stb r0, 0xf0(r31)
/* 802CBB04 002C8A64 98 1F 00 F1 */ stb r0, 0xf1(r31)
/* 802CBB08 002C8A68 D0 3F 00 F4 */ stfs f1, 0xf4(r31)
/* 802CBB0C 002C8A6C D0 3F 00 F8 */ stfs f1, 0xf8(r31)
/* 802CBB10 002C8A70 D0 3F 00 FC */ stfs f1, 0xfc(r31)
/* 802CBB14 002C8A74 D0 3F 01 00 */ stfs f1, 0x100(r31)
/* 802CBB18 002C8A78 80 6D A6 40 */ lwz r3, lbl_805A9200@sda21(r13)
/* 802CBB1C 002C8A7C 80 03 00 08 */ lwz r0, 8(r3)
/* 802CBB20 002C8A80 2C 00 00 02 */ cmpwi r0, 2
/* 802CBB24 002C8A84 41 82 00 B4 */ beq lbl_802CBBD8
/* 802CBB28 002C8A88 80 DF 00 B8 */ lwz r6, 0xb8(r31)
/* 802CBB2C 002C8A8C 3C 60 54 58 */ lis r3, 0x54585452@ha
/* 802CBB30 002C8A90 38 03 54 52 */ addi r0, r3, 0x54585452@l
/* 802CBB34 002C8A94 7F A4 EB 78 */ mr r4, r29
/* 802CBB38 002C8A98 90 01 00 10 */ stw r0, 0x10(r1)
/* 802CBB3C 002C8A9C 38 61 00 08 */ addi r3, r1, 8
/* 802CBB40 002C8AA0 38 A1 00 10 */ addi r5, r1, 0x10
/* 802CBB44 002C8AA4 90 C1 00 14 */ stw r6, 0x14(r1)
/* 802CBB48 002C8AA8 81 9D 00 00 */ lwz r12, 0(r29)
/* 802CBB4C 002C8AAC 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 802CBB50 002C8AB0 7D 89 03 A6 */ mtctr r12
/* 802CBB54 002C8AB4 4E 80 04 21 */ bctrl
/* 802CBB58 002C8AB8 38 61 00 18 */ addi r3, r1, 0x18
/* 802CBB5C 002C8ABC 38 81 00 08 */ addi r4, r1, 8
/* 802CBB60 002C8AC0 48 07 53 49 */ bl __ct__6CTokenFRC6CToken
/* 802CBB64 002C8AC4 38 00 00 00 */ li r0, 0
/* 802CBB68 002C8AC8 90 01 00 20 */ stw r0, 0x20(r1)
/* 802CBB6C 002C8ACC 88 1F 00 C8 */ lbz r0, 0xc8(r31)
/* 802CBB70 002C8AD0 28 00 00 00 */ cmplwi r0, 0
/* 802CBB74 002C8AD4 40 82 00 2C */ bne lbl_802CBBA0
/* 802CBB78 002C8AD8 37 DF 00 BC */ addic. r30, r31, 0xbc
/* 802CBB7C 002C8ADC 41 82 00 18 */ beq lbl_802CBB94
/* 802CBB80 002C8AE0 7F C3 F3 78 */ mr r3, r30
/* 802CBB84 002C8AE4 38 81 00 18 */ addi r4, r1, 0x18
/* 802CBB88 002C8AE8 48 07 53 21 */ bl __ct__6CTokenFRC6CToken
/* 802CBB8C 002C8AEC 80 01 00 20 */ lwz r0, 0x20(r1)
/* 802CBB90 002C8AF0 90 1E 00 08 */ stw r0, 8(r30)
lbl_802CBB94:
/* 802CBB94 002C8AF4 38 00 00 01 */ li r0, 1
/* 802CBB98 002C8AF8 98 1F 00 C8 */ stb r0, 0xc8(r31)
/* 802CBB9C 002C8AFC 48 00 00 1C */ b lbl_802CBBB8
lbl_802CBBA0:
/* 802CBBA0 002C8B00 3B DF 00 BC */ addi r30, r31, 0xbc
/* 802CBBA4 002C8B04 38 81 00 18 */ addi r4, r1, 0x18
/* 802CBBA8 002C8B08 7F C3 F3 78 */ mr r3, r30
/* 802CBBAC 002C8B0C 48 07 51 19 */ bl __as__6CTokenFRC6CToken
/* 802CBBB0 002C8B10 80 01 00 20 */ lwz r0, 0x20(r1)
/* 802CBBB4 002C8B14 90 1E 00 08 */ stw r0, 8(r30)
lbl_802CBBB8:
/* 802CBBB8 002C8B18 38 61 00 18 */ addi r3, r1, 0x18
/* 802CBBBC 002C8B1C 38 80 00 00 */ li r4, 0
/* 802CBBC0 002C8B20 48 07 52 81 */ bl __dt__6CTokenFv
/* 802CBBC4 002C8B24 38 61 00 08 */ addi r3, r1, 8
/* 802CBBC8 002C8B28 38 80 FF FF */ li r4, -1
/* 802CBBCC 002C8B2C 48 07 52 75 */ bl __dt__6CTokenFv
/* 802CBBD0 002C8B30 38 7F 00 BC */ addi r3, r31, 0xbc
/* 802CBBD4 002C8B34 48 07 51 B1 */ bl Lock__6CTokenFv
lbl_802CBBD8:
/* 802CBBD8 002C8B38 80 01 00 44 */ lwz r0, 0x44(r1)
/* 802CBBDC 002C8B3C 7F E3 FB 78 */ mr r3, r31
/* 802CBBE0 002C8B40 83 E1 00 3C */ lwz r31, 0x3c(r1)
/* 802CBBE4 002C8B44 83 C1 00 38 */ lwz r30, 0x38(r1)
/* 802CBBE8 002C8B48 83 A1 00 34 */ lwz r29, 0x34(r1)
/* 802CBBEC 002C8B4C 7C 08 03 A6 */ mtlr r0
/* 802CBBF0 002C8B50 38 21 00 40 */ addi r1, r1, 0x40
/* 802CBBF4 002C8B54 4E 80 00 20 */ blr
.global Create__16CAuiEnergyBarT01FP9CGuiFrameR12CInputStreamb
Create__16CAuiEnergyBarT01FP9CGuiFrameR12CInputStreamb:
/* 802CBBF8 002C8B58 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 802CBBFC 002C8B5C 7C 08 02 A6 */ mflr r0
/* 802CBC00 002C8B60 90 01 00 54 */ stw r0, 0x54(r1)
/* 802CBC04 002C8B64 BF 61 00 3C */ stmw r27, 0x3c(r1)
/* 802CBC08 002C8B68 7C 7D 1B 78 */ mr r29, r3
/* 802CBC0C 002C8B6C 7C 9E 23 78 */ mr r30, r4
/* 802CBC10 002C8B70 7C BF 2B 78 */ mr r31, r5
/* 802CBC14 002C8B74 38 61 00 08 */ addi r3, r1, 8
/* 802CBC18 002C8B78 7F A4 EB 78 */ mr r4, r29
/* 802CBC1C 002C8B7C 7F C5 F3 78 */ mr r5, r30
/* 802CBC20 002C8B80 4B FF F1 31 */ bl ReadWidgetHeader__10CGuiWidgetFP9CGuiFrameR12CInputStreamb
/* 802CBC24 002C8B84 83 81 00 08 */ lwz r28, 8(r1)
/* 802CBC28 002C8B88 7F C3 F3 78 */ mr r3, r30
/* 802CBC2C 002C8B8C 89 81 00 0C */ lbz r12, 0xc(r1)
/* 802CBC30 002C8B90 A9 61 00 0E */ lha r11, 0xe(r1)
/* 802CBC34 002C8B94 A9 41 00 10 */ lha r10, 0x10(r1)
/* 802CBC38 002C8B98 89 21 00 12 */ lbz r9, 0x12(r1)
/* 802CBC3C 002C8B9C 89 01 00 13 */ lbz r8, 0x13(r1)
/* 802CBC40 002C8BA0 88 E1 00 14 */ lbz r7, 0x14(r1)
/* 802CBC44 002C8BA4 88 C1 00 15 */ lbz r6, 0x15(r1)
/* 802CBC48 002C8BA8 88 A1 00 16 */ lbz r5, 0x16(r1)
/* 802CBC4C 002C8BAC 80 81 00 18 */ lwz r4, 0x18(r1)
/* 802CBC50 002C8BB0 80 01 00 1C */ lwz r0, 0x1c(r1)
/* 802CBC54 002C8BB4 93 81 00 20 */ stw r28, 0x20(r1)
/* 802CBC58 002C8BB8 99 81 00 24 */ stb r12, 0x24(r1)
/* 802CBC5C 002C8BBC B1 61 00 26 */ sth r11, 0x26(r1)
/* 802CBC60 002C8BC0 B1 41 00 28 */ sth r10, 0x28(r1)
/* 802CBC64 002C8BC4 99 21 00 2A */ stb r9, 0x2a(r1)
/* 802CBC68 002C8BC8 99 01 00 2B */ stb r8, 0x2b(r1)
/* 802CBC6C 002C8BCC 98 E1 00 2C */ stb r7, 0x2c(r1)
/* 802CBC70 002C8BD0 98 C1 00 2D */ stb r6, 0x2d(r1)
/* 802CBC74 002C8BD4 98 A1 00 2E */ stb r5, 0x2e(r1)
/* 802CBC78 002C8BD8 90 81 00 30 */ stw r4, 0x30(r1)
/* 802CBC7C 002C8BDC 90 01 00 34 */ stw r0, 0x34(r1)
/* 802CBC80 002C8BE0 48 07 30 05 */ bl ReadLong__12CInputStreamFv
/* 802CBC84 002C8BE4 3C 80 80 3D */ lis r4, lbl_803D69B0@ha
/* 802CBC88 002C8BE8 7C 7C 1B 78 */ mr r28, r3
/* 802CBC8C 002C8BEC 38 84 69 B0 */ addi r4, r4, lbl_803D69B0@l
/* 802CBC90 002C8BF0 38 60 01 04 */ li r3, 0x104
/* 802CBC94 002C8BF4 38 A0 00 00 */ li r5, 0
/* 802CBC98 002C8BF8 38 84 00 0A */ addi r4, r4, 0xa
/* 802CBC9C 002C8BFC 48 04 9B D1 */ bl __nw__FUlPCcPCc
/* 802CBCA0 002C8C00 7C 7B 1B 79 */ or. r27, r3, r3
/* 802CBCA4 002C8C04 41 82 00 18 */ beq lbl_802CBCBC
/* 802CBCA8 002C8C08 7F E5 FB 78 */ mr r5, r31
/* 802CBCAC 002C8C0C 7F 86 E3 78 */ mr r6, r28
/* 802CBCB0 002C8C10 38 81 00 20 */ addi r4, r1, 0x20
/* 802CBCB4 002C8C14 4B FF FD C1 */ bl __ct__16CAuiEnergyBarT01FRCQ210CGuiWidget15CGuiWidgetParmsUi
/* 802CBCB8 002C8C18 7C 7B 1B 78 */ mr r27, r3
lbl_802CBCBC:
/* 802CBCBC 002C8C1C 7F 63 DB 78 */ mr r3, r27
/* 802CBCC0 002C8C20 7F A4 EB 78 */ mr r4, r29
/* 802CBCC4 002C8C24 7F C5 F3 78 */ mr r5, r30
/* 802CBCC8 002C8C28 38 C1 00 20 */ addi r6, r1, 0x20
/* 802CBCCC 002C8C2C 4B FF ED BD */ bl ParseBaseInfo__10CGuiWidgetFP9CGuiFrameR12CInputStreamRCQ210CGuiWidget15CGuiWidgetParms
/* 802CBCD0 002C8C30 7F 63 DB 78 */ mr r3, r27
/* 802CBCD4 002C8C34 BB 61 00 3C */ lmw r27, 0x3c(r1)
/* 802CBCD8 002C8C38 80 01 00 54 */ lwz r0, 0x54(r1)
/* 802CBCDC 002C8C3C 7C 08 03 A6 */ mtlr r0
/* 802CBCE0 002C8C40 38 21 00 50 */ addi r1, r1, 0x50
/* 802CBCE4 002C8C44 4E 80 00 20 */ blr

1637
asm/GuiSys/CAuiImagePane.s Normal file

File diff suppressed because it is too large Load Diff

7
asm/GuiSys/CAuiMain.s Normal file
View File

@ -0,0 +1,7 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global InitializeApplicationUI__FR7CGuiSys
InitializeApplicationUI__FR7CGuiSys:
/* 802C0BF4 002BDB54 4E 80 00 20 */ blr

453
asm/GuiSys/CAuiMeter.s Normal file
View File

@ -0,0 +1,453 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global __dt__9CAuiMeterFv
__dt__9CAuiMeterFv:
/* 802C0BF8 002BDB58 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 802C0BFC 002BDB5C 7C 08 02 A6 */ mflr r0
/* 802C0C00 002BDB60 90 01 00 24 */ stw r0, 0x24(r1)
/* 802C0C04 002BDB64 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 802C0C08 002BDB68 7C 9F 23 78 */ mr r31, r4
/* 802C0C0C 002BDB6C 93 C1 00 18 */ stw r30, 0x18(r1)
/* 802C0C10 002BDB70 7C 7E 1B 79 */ or. r30, r3, r3
/* 802C0C14 002BDB74 41 82 00 88 */ beq lbl_802C0C9C
/* 802C0C18 002BDB78 3C 60 80 3F */ lis r3, lbl_803EC6F8@ha
/* 802C0C1C 002BDB7C 34 1E 00 D4 */ addic. r0, r30, 0xd4
/* 802C0C20 002BDB80 38 03 C6 F8 */ addi r0, r3, lbl_803EC6F8@l
/* 802C0C24 002BDB84 90 1E 00 00 */ stw r0, 0(r30)
/* 802C0C28 002BDB88 41 82 00 44 */ beq lbl_802C0C6C
/* 802C0C2C 002BDB8C 80 1E 00 D8 */ lwz r0, 0xd8(r30)
/* 802C0C30 002BDB90 80 7E 00 E0 */ lwz r3, 0xe0(r30)
/* 802C0C34 002BDB94 54 00 10 3A */ slwi r0, r0, 2
/* 802C0C38 002BDB98 7C 03 02 14 */ add r0, r3, r0
/* 802C0C3C 002BDB9C 90 61 00 0C */ stw r3, 0xc(r1)
/* 802C0C40 002BDBA0 7C 64 1B 78 */ mr r4, r3
/* 802C0C44 002BDBA4 90 01 00 14 */ stw r0, 0x14(r1)
/* 802C0C48 002BDBA8 90 01 00 10 */ stw r0, 0x10(r1)
/* 802C0C4C 002BDBAC 90 61 00 08 */ stw r3, 8(r1)
/* 802C0C50 002BDBB0 48 00 00 08 */ b lbl_802C0C58
lbl_802C0C54:
/* 802C0C54 002BDBB4 38 84 00 04 */ addi r4, r4, 4
lbl_802C0C58:
/* 802C0C58 002BDBB8 7C 04 00 40 */ cmplw r4, r0
/* 802C0C5C 002BDBBC 40 82 FF F8 */ bne lbl_802C0C54
/* 802C0C60 002BDBC0 28 03 00 00 */ cmplwi r3, 0
/* 802C0C64 002BDBC4 41 82 00 08 */ beq lbl_802C0C6C
/* 802C0C68 002BDBC8 48 05 4C C9 */ bl Free__7CMemoryFPCv
lbl_802C0C6C:
/* 802C0C6C 002BDBCC 28 1E 00 00 */ cmplwi r30, 0
/* 802C0C70 002BDBD0 41 82 00 1C */ beq lbl_802C0C8C
/* 802C0C74 002BDBD4 3C 80 80 3F */ lis r4, lbl_803EC7C8@ha
/* 802C0C78 002BDBD8 7F C3 F3 78 */ mr r3, r30
/* 802C0C7C 002BDBDC 38 04 C7 C8 */ addi r0, r4, lbl_803EC7C8@l
/* 802C0C80 002BDBE0 38 80 00 00 */ li r4, 0
/* 802C0C84 002BDBE4 90 1E 00 00 */ stw r0, 0(r30)
/* 802C0C88 002BDBE8 48 00 0E A9 */ bl __dt__18CGuiCompoundWidgetFv
lbl_802C0C8C:
/* 802C0C8C 002BDBEC 7F E0 07 35 */ extsh. r0, r31
/* 802C0C90 002BDBF0 40 81 00 0C */ ble lbl_802C0C9C
/* 802C0C94 002BDBF4 7F C3 F3 78 */ mr r3, r30
/* 802C0C98 002BDBF8 48 05 4C 99 */ bl Free__7CMemoryFPCv
lbl_802C0C9C:
/* 802C0C9C 002BDBFC 80 01 00 24 */ lwz r0, 0x24(r1)
/* 802C0CA0 002BDC00 7F C3 F3 78 */ mr r3, r30
/* 802C0CA4 002BDC04 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 802C0CA8 002BDC08 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 802C0CAC 002BDC0C 7C 08 03 A6 */ mtlr r0
/* 802C0CB0 002BDC10 38 21 00 20 */ addi r1, r1, 0x20
/* 802C0CB4 002BDC14 4E 80 00 20 */ blr
.global GetWidgetTypeID__9CAuiMeterCFv
GetWidgetTypeID__9CAuiMeterCFv:
/* 802C0CB8 002BDC18 3C 60 4D 45 */ lis r3, 0x4D455452@ha
/* 802C0CBC 002BDC1C 38 63 54 52 */ addi r3, r3, 0x4D455452@l
/* 802C0CC0 002BDC20 4E 80 00 20 */ blr
.global Initialize__10CGuiWidgetFv
Initialize__10CGuiWidgetFv:
/* 802C0CC4 002BDC24 4E 80 00 20 */ blr
.global Touch__10CGuiWidgetCFv
Touch__10CGuiWidgetCFv:
/* 802C0CC8 002BDC28 4E 80 00 20 */ blr
.global GetIsFinishedLoadingWidgetSpecific__10CGuiWidgetCFv
GetIsFinishedLoadingWidgetSpecific__10CGuiWidgetCFv:
/* 802C0CCC 002BDC2C 38 60 00 01 */ li r3, 1
/* 802C0CD0 002BDC30 4E 80 00 20 */ blr
.global UpdateMeterWorkers__9CAuiMeterFv
UpdateMeterWorkers__9CAuiMeterFv:
/* 802C0CD4 002BDC34 94 21 FF 80 */ stwu r1, -0x80(r1)
/* 802C0CD8 002BDC38 7C 08 02 A6 */ mflr r0
/* 802C0CDC 002BDC3C C8 42 C3 68 */ lfd f2, lbl_805AE088@sda21(r2)
/* 802C0CE0 002BDC40 90 01 00 84 */ stw r0, 0x84(r1)
/* 802C0CE4 002BDC44 BF 01 00 60 */ stmw r24, 0x60(r1)
/* 802C0CE8 002BDC48 7C 7E 1B 78 */ mr r30, r3
/* 802C0CEC 002BDC4C 3C 60 43 30 */ lis r3, 0x4330
/* 802C0CF0 002BDC50 90 61 00 08 */ stw r3, 8(r1)
/* 802C0CF4 002BDC54 90 61 00 10 */ stw r3, 0x10(r1)
/* 802C0CF8 002BDC58 83 FE 00 D8 */ lwz r31, 0xd8(r30)
/* 802C0CFC 002BDC5C 80 1E 00 C8 */ lwz r0, 0xc8(r30)
/* 802C0D00 002BDC60 6F E4 80 00 */ xoris r4, r31, 0x8000
/* 802C0D04 002BDC64 88 BE 00 C4 */ lbz r5, 0xc4(r30)
/* 802C0D08 002BDC68 90 81 00 0C */ stw r4, 0xc(r1)
/* 802C0D0C 002BDC6C 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 802C0D10 002BDC70 28 05 00 00 */ cmplwi r5, 0
/* 802C0D14 002BDC74 C8 01 00 08 */ lfd f0, 8(r1)
/* 802C0D18 002BDC78 90 01 00 14 */ stw r0, 0x14(r1)
/* 802C0D1C 002BDC7C EC 20 10 28 */ fsubs f1, f0, f2
/* 802C0D20 002BDC80 C8 01 00 10 */ lfd f0, 0x10(r1)
/* 802C0D24 002BDC84 EC 00 10 28 */ fsubs f0, f0, f2
/* 802C0D28 002BDC88 EC 61 00 24 */ fdivs f3, f1, f0
/* 802C0D2C 002BDC8C 41 82 00 30 */ beq lbl_802C0D5C
/* 802C0D30 002BDC90 80 1E 00 CC */ lwz r0, 0xcc(r30)
/* 802C0D34 002BDC94 90 61 00 18 */ stw r3, 0x18(r1)
/* 802C0D38 002BDC98 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 802C0D3C 002BDC9C 90 01 00 1C */ stw r0, 0x1c(r1)
/* 802C0D40 002BDCA0 C8 01 00 18 */ lfd f0, 0x18(r1)
/* 802C0D44 002BDCA4 EC 00 10 28 */ fsubs f0, f0, f2
/* 802C0D48 002BDCA8 EC 03 00 32 */ fmuls f0, f3, f0
/* 802C0D4C 002BDCAC FC 00 00 1E */ fctiwz f0, f0
/* 802C0D50 002BDCB0 D8 01 00 20 */ stfd f0, 0x20(r1)
/* 802C0D54 002BDCB4 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 802C0D58 002BDCB8 48 00 00 30 */ b lbl_802C0D88
lbl_802C0D5C:
/* 802C0D5C 002BDCBC 80 1E 00 CC */ lwz r0, 0xcc(r30)
/* 802C0D60 002BDCC0 90 61 00 28 */ stw r3, 0x28(r1)
/* 802C0D64 002BDCC4 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 802C0D68 002BDCC8 C0 02 C3 60 */ lfs f0, lbl_805AE080@sda21(r2)
/* 802C0D6C 002BDCCC 90 01 00 2C */ stw r0, 0x2c(r1)
/* 802C0D70 002BDCD0 C8 21 00 28 */ lfd f1, 0x28(r1)
/* 802C0D74 002BDCD4 EC 21 10 28 */ fsubs f1, f1, f2
/* 802C0D78 002BDCD8 EC 03 00 7A */ fmadds f0, f3, f1, f0
/* 802C0D7C 002BDCDC FC 00 00 1E */ fctiwz f0, f0
/* 802C0D80 002BDCE0 D8 01 00 30 */ stfd f0, 0x30(r1)
/* 802C0D84 002BDCE4 83 A1 00 34 */ lwz r29, 0x34(r1)
lbl_802C0D88:
/* 802C0D88 002BDCE8 28 05 00 00 */ cmplwi r5, 0
/* 802C0D8C 002BDCEC 41 82 00 38 */ beq lbl_802C0DC4
/* 802C0D90 002BDCF0 80 7E 00 D0 */ lwz r3, 0xd0(r30)
/* 802C0D94 002BDCF4 3C 00 43 30 */ lis r0, 0x4330
/* 802C0D98 002BDCF8 90 01 00 38 */ stw r0, 0x38(r1)
/* 802C0D9C 002BDCFC 6C 60 80 00 */ xoris r0, r3, 0x8000
/* 802C0DA0 002BDD00 C8 22 C3 68 */ lfd f1, lbl_805AE088@sda21(r2)
/* 802C0DA4 002BDD04 90 01 00 3C */ stw r0, 0x3c(r1)
/* 802C0DA8 002BDD08 C8 01 00 38 */ lfd f0, 0x38(r1)
/* 802C0DAC 002BDD0C EC 00 08 28 */ fsubs f0, f0, f1
/* 802C0DB0 002BDD10 EC 03 00 32 */ fmuls f0, f3, f0
/* 802C0DB4 002BDD14 FC 00 00 1E */ fctiwz f0, f0
/* 802C0DB8 002BDD18 D8 01 00 40 */ stfd f0, 0x40(r1)
/* 802C0DBC 002BDD1C 83 81 00 44 */ lwz r28, 0x44(r1)
/* 802C0DC0 002BDD20 48 00 00 38 */ b lbl_802C0DF8
lbl_802C0DC4:
/* 802C0DC4 002BDD24 80 7E 00 D0 */ lwz r3, 0xd0(r30)
/* 802C0DC8 002BDD28 3C 00 43 30 */ lis r0, 0x4330
/* 802C0DCC 002BDD2C 90 01 00 48 */ stw r0, 0x48(r1)
/* 802C0DD0 002BDD30 6C 60 80 00 */ xoris r0, r3, 0x8000
/* 802C0DD4 002BDD34 C8 42 C3 68 */ lfd f2, lbl_805AE088@sda21(r2)
/* 802C0DD8 002BDD38 90 01 00 4C */ stw r0, 0x4c(r1)
/* 802C0DDC 002BDD3C C0 02 C3 60 */ lfs f0, lbl_805AE080@sda21(r2)
/* 802C0DE0 002BDD40 C8 21 00 48 */ lfd f1, 0x48(r1)
/* 802C0DE4 002BDD44 EC 21 10 28 */ fsubs f1, f1, f2
/* 802C0DE8 002BDD48 EC 03 00 7A */ fmadds f0, f3, f1, f0
/* 802C0DEC 002BDD4C FC 00 00 1E */ fctiwz f0, f0
/* 802C0DF0 002BDD50 D8 01 00 50 */ stfd f0, 0x50(r1)
/* 802C0DF4 002BDD54 83 81 00 54 */ lwz r28, 0x54(r1)
lbl_802C0DF8:
/* 802C0DF8 002BDD58 3B 00 00 00 */ li r24, 0
/* 802C0DFC 002BDD5C 3B 20 00 00 */ li r25, 0
/* 802C0E00 002BDD60 48 00 00 E4 */ b lbl_802C0EE4
lbl_802C0E04:
/* 802C0E04 002BDD64 80 7E 00 E0 */ lwz r3, 0xe0(r30)
/* 802C0E08 002BDD68 7F 43 C8 2E */ lwzx r26, r3, r25
/* 802C0E0C 002BDD6C 28 1A 00 00 */ cmplwi r26, 0
/* 802C0E10 002BDD70 41 82 00 CC */ beq lbl_802C0EDC
/* 802C0E14 002BDD74 7F 43 D3 78 */ mr r3, r26
/* 802C0E18 002BDD78 38 80 00 00 */ li r4, 0
/* 802C0E1C 002BDD7C 81 9A 00 00 */ lwz r12, 0(r26)
/* 802C0E20 002BDD80 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 802C0E24 002BDD84 7D 89 03 A6 */ mtctr r12
/* 802C0E28 002BDD88 4E 80 04 21 */ bctrl
/* 802C0E2C 002BDD8C 81 9A 00 00 */ lwz r12, 0(r26)
/* 802C0E30 002BDD90 7C 7B 1B 78 */ mr r27, r3
/* 802C0E34 002BDD94 7F 43 D3 78 */ mr r3, r26
/* 802C0E38 002BDD98 38 80 00 01 */ li r4, 1
/* 802C0E3C 002BDD9C 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 802C0E40 002BDDA0 7D 89 03 A6 */ mtctr r12
/* 802C0E44 002BDDA4 4E 80 04 21 */ bctrl
/* 802C0E48 002BDDA8 7C 18 E0 00 */ cmpw r24, r28
/* 802C0E4C 002BDDAC 7C 7A 1B 78 */ mr r26, r3
/* 802C0E50 002BDDB0 40 80 00 30 */ bge lbl_802C0E80
/* 802C0E54 002BDDB4 28 1B 00 00 */ cmplwi r27, 0
/* 802C0E58 002BDDB8 41 82 00 10 */ beq lbl_802C0E68
/* 802C0E5C 002BDDBC 7F 63 DB 78 */ mr r3, r27
/* 802C0E60 002BDDC0 38 80 00 01 */ li r4, 1
/* 802C0E64 002BDDC4 48 00 97 C9 */ bl SetIsVisible__10CGuiWidgetFb
lbl_802C0E68:
/* 802C0E68 002BDDC8 28 1A 00 00 */ cmplwi r26, 0
/* 802C0E6C 002BDDCC 41 82 00 70 */ beq lbl_802C0EDC
/* 802C0E70 002BDDD0 7F 43 D3 78 */ mr r3, r26
/* 802C0E74 002BDDD4 38 80 00 00 */ li r4, 0
/* 802C0E78 002BDDD8 48 00 97 B5 */ bl SetIsVisible__10CGuiWidgetFb
/* 802C0E7C 002BDDDC 48 00 00 60 */ b lbl_802C0EDC
lbl_802C0E80:
/* 802C0E80 002BDDE0 7C 18 E8 00 */ cmpw r24, r29
/* 802C0E84 002BDDE4 40 80 00 30 */ bge lbl_802C0EB4
/* 802C0E88 002BDDE8 28 1B 00 00 */ cmplwi r27, 0
/* 802C0E8C 002BDDEC 41 82 00 10 */ beq lbl_802C0E9C
/* 802C0E90 002BDDF0 7F 63 DB 78 */ mr r3, r27
/* 802C0E94 002BDDF4 38 80 00 00 */ li r4, 0
/* 802C0E98 002BDDF8 48 00 97 95 */ bl SetIsVisible__10CGuiWidgetFb
lbl_802C0E9C:
/* 802C0E9C 002BDDFC 28 1A 00 00 */ cmplwi r26, 0
/* 802C0EA0 002BDE00 41 82 00 3C */ beq lbl_802C0EDC
/* 802C0EA4 002BDE04 7F 43 D3 78 */ mr r3, r26
/* 802C0EA8 002BDE08 38 80 00 01 */ li r4, 1
/* 802C0EAC 002BDE0C 48 00 97 81 */ bl SetIsVisible__10CGuiWidgetFb
/* 802C0EB0 002BDE10 48 00 00 2C */ b lbl_802C0EDC
lbl_802C0EB4:
/* 802C0EB4 002BDE14 28 1B 00 00 */ cmplwi r27, 0
/* 802C0EB8 002BDE18 41 82 00 10 */ beq lbl_802C0EC8
/* 802C0EBC 002BDE1C 7F 63 DB 78 */ mr r3, r27
/* 802C0EC0 002BDE20 38 80 00 00 */ li r4, 0
/* 802C0EC4 002BDE24 48 00 97 69 */ bl SetIsVisible__10CGuiWidgetFb
lbl_802C0EC8:
/* 802C0EC8 002BDE28 28 1A 00 00 */ cmplwi r26, 0
/* 802C0ECC 002BDE2C 41 82 00 10 */ beq lbl_802C0EDC
/* 802C0ED0 002BDE30 7F 43 D3 78 */ mr r3, r26
/* 802C0ED4 002BDE34 38 80 00 00 */ li r4, 0
/* 802C0ED8 002BDE38 48 00 97 55 */ bl SetIsVisible__10CGuiWidgetFb
lbl_802C0EDC:
/* 802C0EDC 002BDE3C 3B 39 00 04 */ addi r25, r25, 4
/* 802C0EE0 002BDE40 3B 18 00 01 */ addi r24, r24, 1
lbl_802C0EE4:
/* 802C0EE4 002BDE44 7C 18 F8 00 */ cmpw r24, r31
/* 802C0EE8 002BDE48 41 80 FF 1C */ blt lbl_802C0E04
/* 802C0EEC 002BDE4C BB 01 00 60 */ lmw r24, 0x60(r1)
/* 802C0EF0 002BDE50 80 01 00 84 */ lwz r0, 0x84(r1)
/* 802C0EF4 002BDE54 7C 08 03 A6 */ mtlr r0
/* 802C0EF8 002BDE58 38 21 00 80 */ addi r1, r1, 0x80
/* 802C0EFC 002BDE5C 4E 80 00 20 */ blr
.global OnVisible__9CAuiMeterFv
OnVisible__9CAuiMeterFv:
/* 802C0F00 002BDE60 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802C0F04 002BDE64 7C 08 02 A6 */ mflr r0
/* 802C0F08 002BDE68 90 01 00 14 */ stw r0, 0x14(r1)
/* 802C0F0C 002BDE6C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802C0F10 002BDE70 7C 7F 1B 78 */ mr r31, r3
/* 802C0F14 002BDE74 81 83 00 00 */ lwz r12, 0(r3)
/* 802C0F18 002BDE78 81 8C 00 20 */ lwz r12, 0x20(r12)
/* 802C0F1C 002BDE7C 7D 89 03 A6 */ mtctr r12
/* 802C0F20 002BDE80 4E 80 04 21 */ bctrl
/* 802C0F24 002BDE84 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 802C0F28 002BDE88 41 82 00 0C */ beq lbl_802C0F34
/* 802C0F2C 002BDE8C 7F E3 FB 78 */ mr r3, r31
/* 802C0F30 002BDE90 4B FF FD A5 */ bl UpdateMeterWorkers__9CAuiMeterFv
lbl_802C0F34:
/* 802C0F34 002BDE94 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802C0F38 002BDE98 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802C0F3C 002BDE9C 7C 08 03 A6 */ mtlr r0
/* 802C0F40 002BDEA0 38 21 00 10 */ addi r1, r1, 0x10
/* 802C0F44 002BDEA4 4E 80 00 20 */ blr
.global SetRemainder__9CAuiMeteri
SetRemainder__9CAuiMeteri:
/* 802C0F48 002BDEA8 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 802C0F4C 002BDEAC 7C 08 02 A6 */ mflr r0
/* 802C0F50 002BDEB0 90 01 00 24 */ stw r0, 0x24(r1)
/* 802C0F54 002BDEB4 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 802C0F58 002BDEB8 7C 7F 1B 78 */ mr r31, r3
/* 802C0F5C 002BDEBC 38 6D 9A F8 */ addi r3, r13, lbl_805A86B8@sda21
/* 802C0F60 002BDEC0 90 81 00 08 */ stw r4, 8(r1)
/* 802C0F64 002BDEC4 38 81 00 08 */ addi r4, r1, 8
/* 802C0F68 002BDEC8 38 BF 00 CC */ addi r5, r31, 0xcc
/* 802C0F6C 002BDECC 4B D9 90 F9 */ bl "Clamp<i>__5CMathFRCiRCiRCi"
/* 802C0F70 002BDED0 80 03 00 00 */ lwz r0, 0(r3)
/* 802C0F74 002BDED4 7F E3 FB 78 */ mr r3, r31
/* 802C0F78 002BDED8 90 1F 00 D0 */ stw r0, 0xd0(r31)
/* 802C0F7C 002BDEDC 4B FF FD 59 */ bl UpdateMeterWorkers__9CAuiMeterFv
/* 802C0F80 002BDEE0 80 01 00 24 */ lwz r0, 0x24(r1)
/* 802C0F84 002BDEE4 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 802C0F88 002BDEE8 7C 08 03 A6 */ mtlr r0
/* 802C0F8C 002BDEEC 38 21 00 20 */ addi r1, r1, 0x20
/* 802C0F90 002BDEF0 4E 80 00 20 */ blr
.global SetCapacity__9CAuiMeterFi
SetCapacity__9CAuiMeterFi:
/* 802C0F94 002BDEF4 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 802C0F98 002BDEF8 7C 08 02 A6 */ mflr r0
/* 802C0F9C 002BDEFC 90 01 00 24 */ stw r0, 0x24(r1)
/* 802C0FA0 002BDF00 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 802C0FA4 002BDF04 7C 7F 1B 78 */ mr r31, r3
/* 802C0FA8 002BDF08 38 6D 9A F4 */ addi r3, r13, lbl_805A86B4@sda21
/* 802C0FAC 002BDF0C 90 81 00 08 */ stw r4, 8(r1)
/* 802C0FB0 002BDF10 38 81 00 08 */ addi r4, r1, 8
/* 802C0FB4 002BDF14 38 BF 00 C8 */ addi r5, r31, 0xc8
/* 802C0FB8 002BDF18 4B D9 90 AD */ bl "Clamp<i>__5CMathFRCiRCiRCi"
/* 802C0FBC 002BDF1C 80 03 00 00 */ lwz r0, 0(r3)
/* 802C0FC0 002BDF20 90 1F 00 CC */ stw r0, 0xcc(r31)
/* 802C0FC4 002BDF24 80 7F 00 CC */ lwz r3, 0xcc(r31)
/* 802C0FC8 002BDF28 80 1F 00 D0 */ lwz r0, 0xd0(r31)
/* 802C0FCC 002BDF2C 7C 03 00 00 */ cmpw r3, r0
/* 802C0FD0 002BDF30 40 80 00 0C */ bge lbl_802C0FDC
/* 802C0FD4 002BDF34 38 7F 00 CC */ addi r3, r31, 0xcc
/* 802C0FD8 002BDF38 48 00 00 08 */ b lbl_802C0FE0
lbl_802C0FDC:
/* 802C0FDC 002BDF3C 38 7F 00 D0 */ addi r3, r31, 0xd0
lbl_802C0FE0:
/* 802C0FE0 002BDF40 80 03 00 00 */ lwz r0, 0(r3)
/* 802C0FE4 002BDF44 7F E3 FB 78 */ mr r3, r31
/* 802C0FE8 002BDF48 90 1F 00 D0 */ stw r0, 0xd0(r31)
/* 802C0FEC 002BDF4C 4B FF FC E9 */ bl UpdateMeterWorkers__9CAuiMeterFv
/* 802C0FF0 002BDF50 80 01 00 24 */ lwz r0, 0x24(r1)
/* 802C0FF4 002BDF54 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 802C0FF8 002BDF58 7C 08 03 A6 */ mtlr r0
/* 802C0FFC 002BDF5C 38 21 00 20 */ addi r1, r1, 0x20
/* 802C1000 002BDF60 4E 80 00 20 */ blr
.global SetMaxCapacity__9CAuiMeterFi
SetMaxCapacity__9CAuiMeterFi:
/* 802C1004 002BDF64 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802C1008 002BDF68 7C 08 02 A6 */ mflr r0
/* 802C100C 002BDF6C 38 AD 9A F0 */ addi r5, r13, lbl_805A86B0@sda21
/* 802C1010 002BDF70 90 01 00 14 */ stw r0, 0x14(r1)
/* 802C1014 002BDF74 80 0D 9A F0 */ lwz r0, lbl_805A86B0@sda21(r13)
/* 802C1018 002BDF78 90 81 00 08 */ stw r4, 8(r1)
/* 802C101C 002BDF7C 7C 00 20 00 */ cmpw r0, r4
/* 802C1020 002BDF80 40 80 00 08 */ bge lbl_802C1028
/* 802C1024 002BDF84 38 A1 00 08 */ addi r5, r1, 8
lbl_802C1028:
/* 802C1028 002BDF88 80 05 00 00 */ lwz r0, 0(r5)
/* 802C102C 002BDF8C 90 03 00 C8 */ stw r0, 0xc8(r3)
/* 802C1030 002BDF90 80 83 00 C8 */ lwz r4, 0xc8(r3)
/* 802C1034 002BDF94 80 03 00 CC */ lwz r0, 0xcc(r3)
/* 802C1038 002BDF98 7C 04 00 00 */ cmpw r4, r0
/* 802C103C 002BDF9C 40 80 00 0C */ bge lbl_802C1048
/* 802C1040 002BDFA0 38 83 00 C8 */ addi r4, r3, 0xc8
/* 802C1044 002BDFA4 48 00 00 08 */ b lbl_802C104C
lbl_802C1048:
/* 802C1048 002BDFA8 38 83 00 CC */ addi r4, r3, 0xcc
lbl_802C104C:
/* 802C104C 002BDFAC 80 04 00 00 */ lwz r0, 0(r4)
/* 802C1050 002BDFB0 90 03 00 CC */ stw r0, 0xcc(r3)
/* 802C1054 002BDFB4 80 83 00 CC */ lwz r4, 0xcc(r3)
/* 802C1058 002BDFB8 80 03 00 D0 */ lwz r0, 0xd0(r3)
/* 802C105C 002BDFBC 7C 04 00 00 */ cmpw r4, r0
/* 802C1060 002BDFC0 40 80 00 0C */ bge lbl_802C106C
/* 802C1064 002BDFC4 38 83 00 CC */ addi r4, r3, 0xcc
/* 802C1068 002BDFC8 48 00 00 08 */ b lbl_802C1070
lbl_802C106C:
/* 802C106C 002BDFCC 38 83 00 D0 */ addi r4, r3, 0xd0
lbl_802C1070:
/* 802C1070 002BDFD0 80 04 00 00 */ lwz r0, 0(r4)
/* 802C1074 002BDFD4 90 03 00 D0 */ stw r0, 0xd0(r3)
/* 802C1078 002BDFD8 4B FF FC 5D */ bl UpdateMeterWorkers__9CAuiMeterFv
/* 802C107C 002BDFDC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802C1080 002BDFE0 7C 08 03 A6 */ mtlr r0
/* 802C1084 002BDFE4 38 21 00 10 */ addi r1, r1, 0x10
/* 802C1088 002BDFE8 4E 80 00 20 */ blr
.global GetWorkerWidget__9CAuiMeterFi
GetWorkerWidget__9CAuiMeterFi:
/* 802C108C 002BDFEC 80 63 00 E0 */ lwz r3, 0xe0(r3)
/* 802C1090 002BDFF0 54 80 10 3A */ slwi r0, r4, 2
/* 802C1094 002BDFF4 7C 63 00 2E */ lwzx r3, r3, r0
/* 802C1098 002BDFF8 4E 80 00 20 */ blr
.global AddWorkerWidget__9CAuiMeterFP10CGuiWidget
AddWorkerWidget__9CAuiMeterFP10CGuiWidget:
/* 802C109C 002BDFFC 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 802C10A0 002BE000 7C 08 02 A6 */ mflr r0
/* 802C10A4 002BE004 90 01 00 24 */ stw r0, 0x24(r1)
/* 802C10A8 002BE008 BF 61 00 0C */ stmw r27, 0xc(r1)
/* 802C10AC 002BE00C 7C 7B 1B 78 */ mr r27, r3
/* 802C10B0 002BE010 7C 9C 23 78 */ mr r28, r4
/* 802C10B4 002BE014 48 00 23 39 */ bl AddWorkerWidget__9CGuiGroupFP10CGuiWidget
/* 802C10B8 002BE018 AB DC 00 B4 */ lha r30, 0xb4(r28)
/* 802C10BC 002BE01C 80 1B 00 D8 */ lwz r0, 0xd8(r27)
/* 802C10C0 002BE020 7C 1E 00 00 */ cmpw r30, r0
/* 802C10C4 002BE024 41 80 00 68 */ blt lbl_802C112C
/* 802C10C8 002BE028 7C 1D 03 78 */ mr r29, r0
/* 802C10CC 002BE02C 3B E0 00 00 */ li r31, 0
/* 802C10D0 002BE030 48 00 00 54 */ b lbl_802C1124
lbl_802C10D4:
/* 802C10D4 002BE034 80 1B 00 D8 */ lwz r0, 0xd8(r27)
/* 802C10D8 002BE038 80 BB 00 DC */ lwz r5, 0xdc(r27)
/* 802C10DC 002BE03C 7C 00 28 00 */ cmpw r0, r5
/* 802C10E0 002BE040 41 80 00 1C */ blt lbl_802C10FC
/* 802C10E4 002BE044 2C 05 00 00 */ cmpwi r5, 0
/* 802C10E8 002BE048 38 7B 00 D4 */ addi r3, r27, 0xd4
/* 802C10EC 002BE04C 38 80 00 04 */ li r4, 4
/* 802C10F0 002BE050 41 82 00 08 */ beq lbl_802C10F8
/* 802C10F4 002BE054 54 A4 08 3C */ slwi r4, r5, 1
lbl_802C10F8:
/* 802C10F8 002BE058 48 00 02 61 */ bl "reserve__Q24rstl46vector<P9CGuiGroup,Q24rstl17rmemory_allocator>Fi"
lbl_802C10FC:
/* 802C10FC 002BE05C 80 1B 00 D8 */ lwz r0, 0xd8(r27)
/* 802C1100 002BE060 80 7B 00 E0 */ lwz r3, 0xe0(r27)
/* 802C1104 002BE064 54 00 10 3A */ slwi r0, r0, 2
/* 802C1108 002BE068 7C 63 02 15 */ add. r3, r3, r0
/* 802C110C 002BE06C 41 82 00 08 */ beq lbl_802C1114
/* 802C1110 002BE070 93 E3 00 00 */ stw r31, 0(r3)
lbl_802C1114:
/* 802C1114 002BE074 80 7B 00 D8 */ lwz r3, 0xd8(r27)
/* 802C1118 002BE078 3B BD 00 01 */ addi r29, r29, 1
/* 802C111C 002BE07C 38 03 00 01 */ addi r0, r3, 1
/* 802C1120 002BE080 90 1B 00 D8 */ stw r0, 0xd8(r27)
lbl_802C1124:
/* 802C1124 002BE084 7C 1D F0 00 */ cmpw r29, r30
/* 802C1128 002BE088 40 81 FF AC */ ble lbl_802C10D4
lbl_802C112C:
/* 802C112C 002BE08C 80 9B 00 E0 */ lwz r4, 0xe0(r27)
/* 802C1130 002BE090 57 C0 10 3A */ slwi r0, r30, 2
/* 802C1134 002BE094 38 60 00 01 */ li r3, 1
/* 802C1138 002BE098 7F 84 01 2E */ stwx r28, r4, r0
/* 802C113C 002BE09C BB 61 00 0C */ lmw r27, 0xc(r1)
/* 802C1140 002BE0A0 80 01 00 24 */ lwz r0, 0x24(r1)
/* 802C1144 002BE0A4 7C 08 03 A6 */ mtlr r0
/* 802C1148 002BE0A8 38 21 00 20 */ addi r1, r1, 0x20
/* 802C114C 002BE0AC 4E 80 00 20 */ blr
.global __ct__9CAuiMeterFRCQ210CGuiWidget15CGuiWidgetParmsbii
__ct__9CAuiMeterFRCQ210CGuiWidget15CGuiWidgetParmsbii:
/* 802C1150 002BE0B0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 802C1154 002BE0B4 7C 08 02 A6 */ mflr r0
/* 802C1158 002BE0B8 90 01 00 24 */ stw r0, 0x24(r1)
/* 802C115C 002BE0BC 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 802C1160 002BE0C0 7C FF 3B 78 */ mr r31, r7
/* 802C1164 002BE0C4 93 C1 00 18 */ stw r30, 0x18(r1)
/* 802C1168 002BE0C8 7C DE 33 78 */ mr r30, r6
/* 802C116C 002BE0CC 38 C0 00 00 */ li r6, 0
/* 802C1170 002BE0D0 93 A1 00 14 */ stw r29, 0x14(r1)
/* 802C1174 002BE0D4 7C BD 2B 78 */ mr r29, r5
/* 802C1178 002BE0D8 38 A0 00 00 */ li r5, 0
/* 802C117C 002BE0DC 93 81 00 10 */ stw r28, 0x10(r1)
/* 802C1180 002BE0E0 7C 7C 1B 78 */ mr r28, r3
/* 802C1184 002BE0E4 48 00 22 D9 */ bl __ct__9CGuiGroupFRCQ210CGuiWidget15CGuiWidgetParmsib
/* 802C1188 002BE0E8 3C 60 80 3F */ lis r3, lbl_803EC6F8@ha
/* 802C118C 002BE0EC 38 00 00 00 */ li r0, 0
/* 802C1190 002BE0F0 38 63 C6 F8 */ addi r3, r3, lbl_803EC6F8@l
/* 802C1194 002BE0F4 7F E4 FB 78 */ mr r4, r31
/* 802C1198 002BE0F8 90 7C 00 00 */ stw r3, 0(r28)
/* 802C119C 002BE0FC 38 7C 00 D4 */ addi r3, r28, 0xd4
/* 802C11A0 002BE100 9B BC 00 C4 */ stb r29, 0xc4(r28)
/* 802C11A4 002BE104 93 DC 00 C8 */ stw r30, 0xc8(r28)
/* 802C11A8 002BE108 80 BC 00 C8 */ lwz r5, 0xc8(r28)
/* 802C11AC 002BE10C 90 BC 00 CC */ stw r5, 0xcc(r28)
/* 802C11B0 002BE110 90 1C 00 D0 */ stw r0, 0xd0(r28)
/* 802C11B4 002BE114 90 1C 00 D8 */ stw r0, 0xd8(r28)
/* 802C11B8 002BE118 90 1C 00 DC */ stw r0, 0xdc(r28)
/* 802C11BC 002BE11C 90 1C 00 E0 */ stw r0, 0xe0(r28)
/* 802C11C0 002BE120 48 00 01 99 */ bl "reserve__Q24rstl46vector<P9CGuiGroup,Q24rstl17rmemory_allocator>Fi"
/* 802C11C4 002BE124 80 01 00 24 */ lwz r0, 0x24(r1)
/* 802C11C8 002BE128 7F 83 E3 78 */ mr r3, r28
/* 802C11CC 002BE12C 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 802C11D0 002BE130 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 802C11D4 002BE134 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 802C11D8 002BE138 83 81 00 10 */ lwz r28, 0x10(r1)
/* 802C11DC 002BE13C 7C 08 03 A6 */ mtlr r0
/* 802C11E0 002BE140 38 21 00 20 */ addi r1, r1, 0x20
/* 802C11E4 002BE144 4E 80 00 20 */ blr

2626
asm/GuiSys/CGuiGroup.s Normal file

File diff suppressed because it is too large Load Diff

115
asm/GuiSys/CGuiHeadWidget.s Normal file
View File

@ -0,0 +1,115 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global __ct__14CGuiHeadWidgetFRCQ210CGuiWidget15CGuiWidgetParms
__ct__14CGuiHeadWidgetFRCQ210CGuiWidget15CGuiWidgetParms:
/* 802C35B8 002C0518 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802C35BC 002C051C 7C 08 02 A6 */ mflr r0
/* 802C35C0 002C0520 90 01 00 14 */ stw r0, 0x14(r1)
/* 802C35C4 002C0524 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802C35C8 002C0528 7C 7F 1B 78 */ mr r31, r3
/* 802C35CC 002C052C 48 00 76 59 */ bl __ct__10CGuiWidgetFRCQ210CGuiWidget15CGuiWidgetParms
/* 802C35D0 002C0530 3C 80 80 3F */ lis r4, lbl_803EC808@ha
/* 802C35D4 002C0534 7F E3 FB 78 */ mr r3, r31
/* 802C35D8 002C0538 38 04 C8 08 */ addi r0, r4, lbl_803EC808@l
/* 802C35DC 002C053C 90 1F 00 00 */ stw r0, 0(r31)
/* 802C35E0 002C0540 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802C35E4 002C0544 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802C35E8 002C0548 7C 08 03 A6 */ mtlr r0
/* 802C35EC 002C054C 38 21 00 10 */ addi r1, r1, 0x10
/* 802C35F0 002C0550 4E 80 00 20 */ blr
.global Create__14CGuiHeadWidgetFP9CGuiFrameR12CInputStreamb
Create__14CGuiHeadWidgetFP9CGuiFrameR12CInputStreamb:
/* 802C35F4 002C0554 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 802C35F8 002C0558 7C 08 02 A6 */ mflr r0
/* 802C35FC 002C055C 90 01 00 54 */ stw r0, 0x54(r1)
/* 802C3600 002C0560 BF 61 00 3C */ stmw r27, 0x3c(r1)
/* 802C3604 002C0564 7C 7E 1B 78 */ mr r30, r3
/* 802C3608 002C0568 7C 9F 23 78 */ mr r31, r4
/* 802C360C 002C056C 38 61 00 08 */ addi r3, r1, 8
/* 802C3610 002C0570 7F C4 F3 78 */ mr r4, r30
/* 802C3614 002C0574 7F E5 FB 78 */ mr r5, r31
/* 802C3618 002C0578 48 00 77 39 */ bl ReadWidgetHeader__10CGuiWidgetFP9CGuiFrameR12CInputStreamb
/* 802C361C 002C057C 83 61 00 08 */ lwz r27, 8(r1)
/* 802C3620 002C0580 3C 60 80 3D */ lis r3, lbl_803D68A0@ha
/* 802C3624 002C0584 8B 81 00 0C */ lbz r28, 0xc(r1)
/* 802C3628 002C0588 38 83 68 A0 */ addi r4, r3, lbl_803D68A0@l
/* 802C362C 002C058C AB A1 00 0E */ lha r29, 0xe(r1)
/* 802C3630 002C0590 38 60 00 B8 */ li r3, 0xb8
/* 802C3634 002C0594 A9 81 00 10 */ lha r12, 0x10(r1)
/* 802C3638 002C0598 38 A0 00 00 */ li r5, 0
/* 802C363C 002C059C 89 61 00 12 */ lbz r11, 0x12(r1)
/* 802C3640 002C05A0 89 41 00 13 */ lbz r10, 0x13(r1)
/* 802C3644 002C05A4 89 21 00 14 */ lbz r9, 0x14(r1)
/* 802C3648 002C05A8 89 01 00 15 */ lbz r8, 0x15(r1)
/* 802C364C 002C05AC 88 E1 00 16 */ lbz r7, 0x16(r1)
/* 802C3650 002C05B0 80 C1 00 18 */ lwz r6, 0x18(r1)
/* 802C3654 002C05B4 80 01 00 1C */ lwz r0, 0x1c(r1)
/* 802C3658 002C05B8 93 61 00 20 */ stw r27, 0x20(r1)
/* 802C365C 002C05BC 9B 81 00 24 */ stb r28, 0x24(r1)
/* 802C3660 002C05C0 B3 A1 00 26 */ sth r29, 0x26(r1)
/* 802C3664 002C05C4 B1 81 00 28 */ sth r12, 0x28(r1)
/* 802C3668 002C05C8 99 61 00 2A */ stb r11, 0x2a(r1)
/* 802C366C 002C05CC 99 41 00 2B */ stb r10, 0x2b(r1)
/* 802C3670 002C05D0 99 21 00 2C */ stb r9, 0x2c(r1)
/* 802C3674 002C05D4 99 01 00 2D */ stb r8, 0x2d(r1)
/* 802C3678 002C05D8 98 E1 00 2E */ stb r7, 0x2e(r1)
/* 802C367C 002C05DC 90 C1 00 30 */ stw r6, 0x30(r1)
/* 802C3680 002C05E0 90 01 00 34 */ stw r0, 0x34(r1)
/* 802C3684 002C05E4 48 05 21 E9 */ bl __nw__FUlPCcPCc
/* 802C3688 002C05E8 7C 7B 1B 79 */ or. r27, r3, r3
/* 802C368C 002C05EC 41 82 00 10 */ beq lbl_802C369C
/* 802C3690 002C05F0 38 81 00 20 */ addi r4, r1, 0x20
/* 802C3694 002C05F4 4B FF FF 25 */ bl __ct__14CGuiHeadWidgetFRCQ210CGuiWidget15CGuiWidgetParms
/* 802C3698 002C05F8 7C 7B 1B 78 */ mr r27, r3
lbl_802C369C:
/* 802C369C 002C05FC 7F C3 F3 78 */ mr r3, r30
/* 802C36A0 002C0600 7F 64 DB 78 */ mr r4, r27
/* 802C36A4 002C0604 4B FF EB 05 */ bl SetHeadWidget__9CGuiFrameFP14CGuiHeadWidget
/* 802C36A8 002C0608 7F 63 DB 78 */ mr r3, r27
/* 802C36AC 002C060C 7F C4 F3 78 */ mr r4, r30
/* 802C36B0 002C0610 7F E5 FB 78 */ mr r5, r31
/* 802C36B4 002C0614 38 C1 00 20 */ addi r6, r1, 0x20
/* 802C36B8 002C0618 48 00 73 D1 */ bl ParseBaseInfo__10CGuiWidgetFP9CGuiFrameR12CInputStreamRCQ210CGuiWidget15CGuiWidgetParms
/* 802C36BC 002C061C 7F 63 DB 78 */ mr r3, r27
/* 802C36C0 002C0620 BB 61 00 3C */ lmw r27, 0x3c(r1)
/* 802C36C4 002C0624 80 01 00 54 */ lwz r0, 0x54(r1)
/* 802C36C8 002C0628 7C 08 03 A6 */ mtlr r0
/* 802C36CC 002C062C 38 21 00 50 */ addi r1, r1, 0x50
/* 802C36D0 002C0630 4E 80 00 20 */ blr
.global __dt__14CGuiHeadWidgetFv
__dt__14CGuiHeadWidgetFv:
/* 802C36D4 002C0634 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802C36D8 002C0638 7C 08 02 A6 */ mflr r0
/* 802C36DC 002C063C 90 01 00 14 */ stw r0, 0x14(r1)
/* 802C36E0 002C0640 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802C36E4 002C0644 7C 9F 23 78 */ mr r31, r4
/* 802C36E8 002C0648 93 C1 00 08 */ stw r30, 8(r1)
/* 802C36EC 002C064C 7C 7E 1B 79 */ or. r30, r3, r3
/* 802C36F0 002C0650 41 82 00 28 */ beq lbl_802C3718
/* 802C36F4 002C0654 3C A0 80 3F */ lis r5, lbl_803EC808@ha
/* 802C36F8 002C0658 38 80 00 00 */ li r4, 0
/* 802C36FC 002C065C 38 05 C8 08 */ addi r0, r5, lbl_803EC808@l
/* 802C3700 002C0660 90 1E 00 00 */ stw r0, 0(r30)
/* 802C3704 002C0664 48 00 74 B1 */ bl __dt__10CGuiWidgetFv
/* 802C3708 002C0668 7F E0 07 35 */ extsh. r0, r31
/* 802C370C 002C066C 40 81 00 0C */ ble lbl_802C3718
/* 802C3710 002C0670 7F C3 F3 78 */ mr r3, r30
/* 802C3714 002C0674 48 05 22 1D */ bl Free__7CMemoryFPCv
lbl_802C3718:
/* 802C3718 002C0678 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802C371C 002C067C 7F C3 F3 78 */ mr r3, r30
/* 802C3720 002C0680 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802C3724 002C0684 83 C1 00 08 */ lwz r30, 8(r1)
/* 802C3728 002C0688 7C 08 03 A6 */ mtlr r0
/* 802C372C 002C068C 38 21 00 10 */ addi r1, r1, 0x10
/* 802C3730 002C0690 4E 80 00 20 */ blr
.global GetWidgetTypeID__14CGuiHeadWidgetCFv
GetWidgetTypeID__14CGuiHeadWidgetCFv:
/* 802C3734 002C0694 3C 60 48 57 */ lis r3, 0x48574947@ha
/* 802C3738 002C0698 38 63 49 47 */ addi r3, r3, 0x48574947@l
/* 802C373C 002C069C 4E 80 00 20 */ blr

559
asm/GuiSys/CGuiLight.s Normal file
View File

@ -0,0 +1,559 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global GetWidgetTypeID__9CGuiLightCFv
GetWidgetTypeID__9CGuiLightCFv:
/* 802C3740 002C06A0 3C 60 4C 49 */ lis r3, 0x4C495445@ha
/* 802C3744 002C06A4 38 63 54 45 */ addi r3, r3, 0x4C495445@l
/* 802C3748 002C06A8 4E 80 00 20 */ blr
.global BuildLight__9CGuiLightCFv
BuildLight__9CGuiLightCFv:
/* 802C374C 002C06AC 94 21 FD E0 */ stwu r1, -0x220(r1)
/* 802C3750 002C06B0 7C 08 02 A6 */ mflr r0
/* 802C3754 002C06B4 C0 22 C3 80 */ lfs f1, lbl_805AE0A0@sda21(r2)
/* 802C3758 002C06B8 90 01 02 24 */ stw r0, 0x224(r1)
/* 802C375C 002C06BC FC 40 08 90 */ fmr f2, f1
/* 802C3760 002C06C0 C0 82 C3 84 */ lfs f4, lbl_805AE0A4@sda21(r2)
/* 802C3764 002C06C4 93 E1 02 1C */ stw r31, 0x21c(r1)
/* 802C3768 002C06C8 FC 60 08 90 */ fmr f3, f1
/* 802C376C 002C06CC 7C 9F 23 78 */ mr r31, r4
/* 802C3770 002C06D0 93 C1 02 18 */ stw r30, 0x218(r1)
/* 802C3774 002C06D4 7C 7E 1B 78 */ mr r30, r3
/* 802C3778 002C06D8 38 61 00 08 */ addi r3, r1, 8
/* 802C377C 002C06DC 48 09 FC 71 */ bl __ct__6CColorFffff
/* 802C3780 002C06E0 3C 80 80 5A */ lis r4, skZero3f@ha
/* 802C3784 002C06E4 7C 65 1B 78 */ mr r5, r3
/* 802C3788 002C06E8 38 84 66 A0 */ addi r4, r4, skZero3f@l
/* 802C378C 002C06EC 38 61 01 74 */ addi r3, r1, 0x174
/* 802C3790 002C06F0 48 04 2D 15 */ bl BuildLocalAmbient__6CLightFRC9CVector3fRC6CColor
/* 802C3794 002C06F4 38 61 01 C4 */ addi r3, r1, 0x1c4
/* 802C3798 002C06F8 38 81 01 74 */ addi r4, r1, 0x174
/* 802C379C 002C06FC 4B D7 7D D5 */ bl __ct__6CLightFCR6CLight
/* 802C37A0 002C0700 7F E4 FB 78 */ mr r4, r31
/* 802C37A4 002C0704 38 61 00 10 */ addi r3, r1, 0x10
/* 802C37A8 002C0708 48 00 1A 91 */ bl GetWorldPosition__10CGuiObjectCFv
/* 802C37AC 002C070C 80 1F 00 B8 */ lwz r0, 0xb8(r31)
/* 802C37B0 002C0710 C0 61 00 10 */ lfs f3, 0x10(r1)
/* 802C37B4 002C0714 C0 41 00 14 */ lfs f2, 0x14(r1)
/* 802C37B8 002C0718 2C 00 00 02 */ cmpwi r0, 2
/* 802C37BC 002C071C C0 21 00 18 */ lfs f1, 0x18(r1)
/* 802C37C0 002C0720 C0 BF 00 58 */ lfs f5, 0x58(r31)
/* 802C37C4 002C0724 C0 9F 00 48 */ lfs f4, 0x48(r31)
/* 802C37C8 002C0728 C0 1F 00 38 */ lfs f0, 0x38(r31)
/* 802C37CC 002C072C 80 7F 00 A4 */ lwz r3, 0xa4(r31)
/* 802C37D0 002C0730 D0 61 00 28 */ stfs f3, 0x28(r1)
/* 802C37D4 002C0734 D0 41 00 2C */ stfs f2, 0x2c(r1)
/* 802C37D8 002C0738 D0 21 00 30 */ stfs f1, 0x30(r1)
/* 802C37DC 002C073C D0 01 00 1C */ stfs f0, 0x1c(r1)
/* 802C37E0 002C0740 D0 81 00 20 */ stfs f4, 0x20(r1)
/* 802C37E4 002C0744 D0 A1 00 24 */ stfs f5, 0x24(r1)
/* 802C37E8 002C0748 90 61 00 0C */ stw r3, 0xc(r1)
/* 802C37EC 002C074C 41 82 01 94 */ beq lbl_802C3980
/* 802C37F0 002C0750 40 80 00 14 */ bge lbl_802C3804
/* 802C37F4 002C0754 2C 00 00 00 */ cmpwi r0, 0
/* 802C37F8 002C0758 41 82 00 18 */ beq lbl_802C3810
/* 802C37FC 002C075C 40 80 00 D0 */ bge lbl_802C38CC
/* 802C3800 002C0760 48 00 03 00 */ b lbl_802C3B00
lbl_802C3804:
/* 802C3804 002C0764 2C 00 00 04 */ cmpwi r0, 4
/* 802C3808 002C0768 41 82 02 2C */ beq lbl_802C3A34
/* 802C380C 002C076C 48 00 02 F4 */ b lbl_802C3B00
lbl_802C3810:
/* 802C3810 002C0770 C0 3F 00 BC */ lfs f1, 0xbc(r31)
/* 802C3814 002C0774 38 61 01 24 */ addi r3, r1, 0x124
/* 802C3818 002C0778 38 81 00 28 */ addi r4, r1, 0x28
/* 802C381C 002C077C 38 A1 00 1C */ addi r5, r1, 0x1c
/* 802C3820 002C0780 38 C1 00 0C */ addi r6, r1, 0xc
/* 802C3824 002C0784 48 04 2B D9 */ bl BuildSpot__6CLightFRC9CVector3fRC9CVector3fRC6CColorf
/* 802C3828 002C0788 81 81 01 24 */ lwz r12, 0x124(r1)
/* 802C382C 002C078C 81 61 01 28 */ lwz r11, 0x128(r1)
/* 802C3830 002C0790 81 41 01 2C */ lwz r10, 0x12c(r1)
/* 802C3834 002C0794 81 21 01 30 */ lwz r9, 0x130(r1)
/* 802C3838 002C0798 81 01 01 34 */ lwz r8, 0x134(r1)
/* 802C383C 002C079C 80 E1 01 38 */ lwz r7, 0x138(r1)
/* 802C3840 002C07A0 80 C1 01 3C */ lwz r6, 0x13c(r1)
/* 802C3844 002C07A4 80 A1 01 40 */ lwz r5, 0x140(r1)
/* 802C3848 002C07A8 C1 01 01 44 */ lfs f8, 0x144(r1)
/* 802C384C 002C07AC C0 E1 01 48 */ lfs f7, 0x148(r1)
/* 802C3850 002C07B0 C0 C1 01 4C */ lfs f6, 0x14c(r1)
/* 802C3854 002C07B4 C0 A1 01 50 */ lfs f5, 0x150(r1)
/* 802C3858 002C07B8 C0 81 01 54 */ lfs f4, 0x154(r1)
/* 802C385C 002C07BC C0 61 01 58 */ lfs f3, 0x158(r1)
/* 802C3860 002C07C0 C0 41 01 5C */ lfs f2, 0x15c(r1)
/* 802C3864 002C07C4 80 81 01 60 */ lwz r4, 0x160(r1)
/* 802C3868 002C07C8 80 61 01 64 */ lwz r3, 0x164(r1)
/* 802C386C 002C07CC C0 21 01 68 */ lfs f1, 0x168(r1)
/* 802C3870 002C07D0 C0 01 01 6C */ lfs f0, 0x16c(r1)
/* 802C3874 002C07D4 88 01 01 70 */ lbz r0, 0x170(r1)
/* 802C3878 002C07D8 91 81 01 C4 */ stw r12, 0x1c4(r1)
/* 802C387C 002C07DC 91 61 01 C8 */ stw r11, 0x1c8(r1)
/* 802C3880 002C07E0 91 41 01 CC */ stw r10, 0x1cc(r1)
/* 802C3884 002C07E4 91 21 01 D0 */ stw r9, 0x1d0(r1)
/* 802C3888 002C07E8 91 01 01 D4 */ stw r8, 0x1d4(r1)
/* 802C388C 002C07EC 90 E1 01 D8 */ stw r7, 0x1d8(r1)
/* 802C3890 002C07F0 90 C1 01 DC */ stw r6, 0x1dc(r1)
/* 802C3894 002C07F4 90 A1 01 E0 */ stw r5, 0x1e0(r1)
/* 802C3898 002C07F8 D1 01 01 E4 */ stfs f8, 0x1e4(r1)
/* 802C389C 002C07FC D0 E1 01 E8 */ stfs f7, 0x1e8(r1)
/* 802C38A0 002C0800 D0 C1 01 EC */ stfs f6, 0x1ec(r1)
/* 802C38A4 002C0804 D0 A1 01 F0 */ stfs f5, 0x1f0(r1)
/* 802C38A8 002C0808 D0 81 01 F4 */ stfs f4, 0x1f4(r1)
/* 802C38AC 002C080C D0 61 01 F8 */ stfs f3, 0x1f8(r1)
/* 802C38B0 002C0810 D0 41 01 FC */ stfs f2, 0x1fc(r1)
/* 802C38B4 002C0814 90 81 02 00 */ stw r4, 0x200(r1)
/* 802C38B8 002C0818 90 61 02 04 */ stw r3, 0x204(r1)
/* 802C38BC 002C081C D0 21 02 08 */ stfs f1, 0x208(r1)
/* 802C38C0 002C0820 D0 01 02 0C */ stfs f0, 0x20c(r1)
/* 802C38C4 002C0824 98 01 02 10 */ stb r0, 0x210(r1)
/* 802C38C8 002C0828 48 00 02 38 */ b lbl_802C3B00
lbl_802C38CC:
/* 802C38CC 002C082C 38 61 00 D4 */ addi r3, r1, 0xd4
/* 802C38D0 002C0830 38 81 00 28 */ addi r4, r1, 0x28
/* 802C38D4 002C0834 38 A1 00 0C */ addi r5, r1, 0xc
/* 802C38D8 002C0838 48 04 2B 5D */ bl BuildPoint__6CLightFRC9CVector3fRC6CColor
/* 802C38DC 002C083C 81 81 00 D4 */ lwz r12, 0xd4(r1)
/* 802C38E0 002C0840 81 61 00 D8 */ lwz r11, 0xd8(r1)
/* 802C38E4 002C0844 81 41 00 DC */ lwz r10, 0xdc(r1)
/* 802C38E8 002C0848 81 21 00 E0 */ lwz r9, 0xe0(r1)
/* 802C38EC 002C084C 81 01 00 E4 */ lwz r8, 0xe4(r1)
/* 802C38F0 002C0850 80 E1 00 E8 */ lwz r7, 0xe8(r1)
/* 802C38F4 002C0854 80 C1 00 EC */ lwz r6, 0xec(r1)
/* 802C38F8 002C0858 80 A1 00 F0 */ lwz r5, 0xf0(r1)
/* 802C38FC 002C085C C1 01 00 F4 */ lfs f8, 0xf4(r1)
/* 802C3900 002C0860 C0 E1 00 F8 */ lfs f7, 0xf8(r1)
/* 802C3904 002C0864 C0 C1 00 FC */ lfs f6, 0xfc(r1)
/* 802C3908 002C0868 C0 A1 01 00 */ lfs f5, 0x100(r1)
/* 802C390C 002C086C C0 81 01 04 */ lfs f4, 0x104(r1)
/* 802C3910 002C0870 C0 61 01 08 */ lfs f3, 0x108(r1)
/* 802C3914 002C0874 C0 41 01 0C */ lfs f2, 0x10c(r1)
/* 802C3918 002C0878 80 81 01 10 */ lwz r4, 0x110(r1)
/* 802C391C 002C087C 80 61 01 14 */ lwz r3, 0x114(r1)
/* 802C3920 002C0880 C0 21 01 18 */ lfs f1, 0x118(r1)
/* 802C3924 002C0884 C0 01 01 1C */ lfs f0, 0x11c(r1)
/* 802C3928 002C0888 88 01 01 20 */ lbz r0, 0x120(r1)
/* 802C392C 002C088C 91 81 01 C4 */ stw r12, 0x1c4(r1)
/* 802C3930 002C0890 91 61 01 C8 */ stw r11, 0x1c8(r1)
/* 802C3934 002C0894 91 41 01 CC */ stw r10, 0x1cc(r1)
/* 802C3938 002C0898 91 21 01 D0 */ stw r9, 0x1d0(r1)
/* 802C393C 002C089C 91 01 01 D4 */ stw r8, 0x1d4(r1)
/* 802C3940 002C08A0 90 E1 01 D8 */ stw r7, 0x1d8(r1)
/* 802C3944 002C08A4 90 C1 01 DC */ stw r6, 0x1dc(r1)
/* 802C3948 002C08A8 90 A1 01 E0 */ stw r5, 0x1e0(r1)
/* 802C394C 002C08AC D1 01 01 E4 */ stfs f8, 0x1e4(r1)
/* 802C3950 002C08B0 D0 E1 01 E8 */ stfs f7, 0x1e8(r1)
/* 802C3954 002C08B4 D0 C1 01 EC */ stfs f6, 0x1ec(r1)
/* 802C3958 002C08B8 D0 A1 01 F0 */ stfs f5, 0x1f0(r1)
/* 802C395C 002C08BC D0 81 01 F4 */ stfs f4, 0x1f4(r1)
/* 802C3960 002C08C0 D0 61 01 F8 */ stfs f3, 0x1f8(r1)
/* 802C3964 002C08C4 D0 41 01 FC */ stfs f2, 0x1fc(r1)
/* 802C3968 002C08C8 90 81 02 00 */ stw r4, 0x200(r1)
/* 802C396C 002C08CC 90 61 02 04 */ stw r3, 0x204(r1)
/* 802C3970 002C08D0 D0 21 02 08 */ stfs f1, 0x208(r1)
/* 802C3974 002C08D4 D0 01 02 0C */ stfs f0, 0x20c(r1)
/* 802C3978 002C08D8 98 01 02 10 */ stb r0, 0x210(r1)
/* 802C397C 002C08DC 48 00 01 84 */ b lbl_802C3B00
lbl_802C3980:
/* 802C3980 002C08E0 38 61 00 84 */ addi r3, r1, 0x84
/* 802C3984 002C08E4 38 81 00 1C */ addi r4, r1, 0x1c
/* 802C3988 002C08E8 38 A1 00 0C */ addi r5, r1, 0xc
/* 802C398C 002C08EC 48 04 2A E1 */ bl BuildDirectional__6CLightFRC9CVector3fRC6CColor
/* 802C3990 002C08F0 81 81 00 84 */ lwz r12, 0x84(r1)
/* 802C3994 002C08F4 81 61 00 88 */ lwz r11, 0x88(r1)
/* 802C3998 002C08F8 81 41 00 8C */ lwz r10, 0x8c(r1)
/* 802C399C 002C08FC 81 21 00 90 */ lwz r9, 0x90(r1)
/* 802C39A0 002C0900 81 01 00 94 */ lwz r8, 0x94(r1)
/* 802C39A4 002C0904 80 E1 00 98 */ lwz r7, 0x98(r1)
/* 802C39A8 002C0908 80 C1 00 9C */ lwz r6, 0x9c(r1)
/* 802C39AC 002C090C 80 A1 00 A0 */ lwz r5, 0xa0(r1)
/* 802C39B0 002C0910 C1 01 00 A4 */ lfs f8, 0xa4(r1)
/* 802C39B4 002C0914 C0 E1 00 A8 */ lfs f7, 0xa8(r1)
/* 802C39B8 002C0918 C0 C1 00 AC */ lfs f6, 0xac(r1)
/* 802C39BC 002C091C C0 A1 00 B0 */ lfs f5, 0xb0(r1)
/* 802C39C0 002C0920 C0 81 00 B4 */ lfs f4, 0xb4(r1)
/* 802C39C4 002C0924 C0 61 00 B8 */ lfs f3, 0xb8(r1)
/* 802C39C8 002C0928 C0 41 00 BC */ lfs f2, 0xbc(r1)
/* 802C39CC 002C092C 80 81 00 C0 */ lwz r4, 0xc0(r1)
/* 802C39D0 002C0930 80 61 00 C4 */ lwz r3, 0xc4(r1)
/* 802C39D4 002C0934 C0 21 00 C8 */ lfs f1, 0xc8(r1)
/* 802C39D8 002C0938 C0 01 00 CC */ lfs f0, 0xcc(r1)
/* 802C39DC 002C093C 88 01 00 D0 */ lbz r0, 0xd0(r1)
/* 802C39E0 002C0940 91 81 01 C4 */ stw r12, 0x1c4(r1)
/* 802C39E4 002C0944 91 61 01 C8 */ stw r11, 0x1c8(r1)
/* 802C39E8 002C0948 91 41 01 CC */ stw r10, 0x1cc(r1)
/* 802C39EC 002C094C 91 21 01 D0 */ stw r9, 0x1d0(r1)
/* 802C39F0 002C0950 91 01 01 D4 */ stw r8, 0x1d4(r1)
/* 802C39F4 002C0954 90 E1 01 D8 */ stw r7, 0x1d8(r1)
/* 802C39F8 002C0958 90 C1 01 DC */ stw r6, 0x1dc(r1)
/* 802C39FC 002C095C 90 A1 01 E0 */ stw r5, 0x1e0(r1)
/* 802C3A00 002C0960 D1 01 01 E4 */ stfs f8, 0x1e4(r1)
/* 802C3A04 002C0964 D0 E1 01 E8 */ stfs f7, 0x1e8(r1)
/* 802C3A08 002C0968 D0 C1 01 EC */ stfs f6, 0x1ec(r1)
/* 802C3A0C 002C096C D0 A1 01 F0 */ stfs f5, 0x1f0(r1)
/* 802C3A10 002C0970 D0 81 01 F4 */ stfs f4, 0x1f4(r1)
/* 802C3A14 002C0974 D0 61 01 F8 */ stfs f3, 0x1f8(r1)
/* 802C3A18 002C0978 D0 41 01 FC */ stfs f2, 0x1fc(r1)
/* 802C3A1C 002C097C 90 81 02 00 */ stw r4, 0x200(r1)
/* 802C3A20 002C0980 90 61 02 04 */ stw r3, 0x204(r1)
/* 802C3A24 002C0984 D0 21 02 08 */ stfs f1, 0x208(r1)
/* 802C3A28 002C0988 D0 01 02 0C */ stfs f0, 0x20c(r1)
/* 802C3A2C 002C098C 98 01 02 10 */ stb r0, 0x210(r1)
/* 802C3A30 002C0990 48 00 00 D0 */ b lbl_802C3B00
lbl_802C3A34:
/* 802C3A34 002C0994 C0 3F 00 C0 */ lfs f1, 0xc0(r31)
/* 802C3A38 002C0998 38 61 00 34 */ addi r3, r1, 0x34
/* 802C3A3C 002C099C C0 5F 00 C4 */ lfs f2, 0xc4(r31)
/* 802C3A40 002C09A0 38 81 00 28 */ addi r4, r1, 0x28
/* 802C3A44 002C09A4 C0 7F 00 C8 */ lfs f3, 0xc8(r31)
/* 802C3A48 002C09A8 38 A1 00 1C */ addi r5, r1, 0x1c
/* 802C3A4C 002C09AC C0 9F 00 CC */ lfs f4, 0xcc(r31)
/* 802C3A50 002C09B0 38 C1 00 0C */ addi r6, r1, 0xc
/* 802C3A54 002C09B4 C0 BF 00 D0 */ lfs f5, 0xd0(r31)
/* 802C3A58 002C09B8 C0 DF 00 D4 */ lfs f6, 0xd4(r31)
/* 802C3A5C 002C09BC 48 04 29 81 */ bl BuildCustom__6CLightFRC9CVector3fRC9CVector3fRC6CColorffffff
/* 802C3A60 002C09C0 81 81 00 34 */ lwz r12, 0x34(r1)
/* 802C3A64 002C09C4 81 61 00 38 */ lwz r11, 0x38(r1)
/* 802C3A68 002C09C8 81 41 00 3C */ lwz r10, 0x3c(r1)
/* 802C3A6C 002C09CC 81 21 00 40 */ lwz r9, 0x40(r1)
/* 802C3A70 002C09D0 81 01 00 44 */ lwz r8, 0x44(r1)
/* 802C3A74 002C09D4 80 E1 00 48 */ lwz r7, 0x48(r1)
/* 802C3A78 002C09D8 80 C1 00 4C */ lwz r6, 0x4c(r1)
/* 802C3A7C 002C09DC 80 A1 00 50 */ lwz r5, 0x50(r1)
/* 802C3A80 002C09E0 C1 01 00 54 */ lfs f8, 0x54(r1)
/* 802C3A84 002C09E4 C0 E1 00 58 */ lfs f7, 0x58(r1)
/* 802C3A88 002C09E8 C0 C1 00 5C */ lfs f6, 0x5c(r1)
/* 802C3A8C 002C09EC C0 A1 00 60 */ lfs f5, 0x60(r1)
/* 802C3A90 002C09F0 C0 81 00 64 */ lfs f4, 0x64(r1)
/* 802C3A94 002C09F4 C0 61 00 68 */ lfs f3, 0x68(r1)
/* 802C3A98 002C09F8 C0 41 00 6C */ lfs f2, 0x6c(r1)
/* 802C3A9C 002C09FC 80 81 00 70 */ lwz r4, 0x70(r1)
/* 802C3AA0 002C0A00 80 61 00 74 */ lwz r3, 0x74(r1)
/* 802C3AA4 002C0A04 C0 21 00 78 */ lfs f1, 0x78(r1)
/* 802C3AA8 002C0A08 C0 01 00 7C */ lfs f0, 0x7c(r1)
/* 802C3AAC 002C0A0C 88 01 00 80 */ lbz r0, 0x80(r1)
/* 802C3AB0 002C0A10 91 81 01 C4 */ stw r12, 0x1c4(r1)
/* 802C3AB4 002C0A14 91 61 01 C8 */ stw r11, 0x1c8(r1)
/* 802C3AB8 002C0A18 91 41 01 CC */ stw r10, 0x1cc(r1)
/* 802C3ABC 002C0A1C 91 21 01 D0 */ stw r9, 0x1d0(r1)
/* 802C3AC0 002C0A20 91 01 01 D4 */ stw r8, 0x1d4(r1)
/* 802C3AC4 002C0A24 90 E1 01 D8 */ stw r7, 0x1d8(r1)
/* 802C3AC8 002C0A28 90 C1 01 DC */ stw r6, 0x1dc(r1)
/* 802C3ACC 002C0A2C 90 A1 01 E0 */ stw r5, 0x1e0(r1)
/* 802C3AD0 002C0A30 D1 01 01 E4 */ stfs f8, 0x1e4(r1)
/* 802C3AD4 002C0A34 D0 E1 01 E8 */ stfs f7, 0x1e8(r1)
/* 802C3AD8 002C0A38 D0 C1 01 EC */ stfs f6, 0x1ec(r1)
/* 802C3ADC 002C0A3C D0 A1 01 F0 */ stfs f5, 0x1f0(r1)
/* 802C3AE0 002C0A40 D0 81 01 F4 */ stfs f4, 0x1f4(r1)
/* 802C3AE4 002C0A44 D0 61 01 F8 */ stfs f3, 0x1f8(r1)
/* 802C3AE8 002C0A48 D0 41 01 FC */ stfs f2, 0x1fc(r1)
/* 802C3AEC 002C0A4C 90 81 02 00 */ stw r4, 0x200(r1)
/* 802C3AF0 002C0A50 90 61 02 04 */ stw r3, 0x204(r1)
/* 802C3AF4 002C0A54 D0 21 02 08 */ stfs f1, 0x208(r1)
/* 802C3AF8 002C0A58 D0 01 02 0C */ stfs f0, 0x20c(r1)
/* 802C3AFC 002C0A5C 98 01 02 10 */ stb r0, 0x210(r1)
lbl_802C3B00:
/* 802C3B00 002C0A60 C0 3F 00 C0 */ lfs f1, 0xc0(r31)
/* 802C3B04 002C0A64 38 61 01 C4 */ addi r3, r1, 0x1c4
/* 802C3B08 002C0A68 C0 5F 00 C4 */ lfs f2, 0xc4(r31)
/* 802C3B0C 002C0A6C C0 7F 00 C8 */ lfs f3, 0xc8(r31)
/* 802C3B10 002C0A70 48 04 28 A1 */ bl SetAttenuation__6CLightFfff
/* 802C3B14 002C0A74 C0 3F 00 CC */ lfs f1, 0xcc(r31)
/* 802C3B18 002C0A78 38 61 01 C4 */ addi r3, r1, 0x1c4
/* 802C3B1C 002C0A7C C0 5F 00 D0 */ lfs f2, 0xd0(r31)
/* 802C3B20 002C0A80 C0 7F 00 D4 */ lfs f3, 0xd4(r31)
/* 802C3B24 002C0A84 48 04 28 61 */ bl SetAngleAttenuation__6CLightFfff
/* 802C3B28 002C0A88 80 1F 00 D8 */ lwz r0, 0xd8(r31)
/* 802C3B2C 002C0A8C 7F C3 F3 78 */ mr r3, r30
/* 802C3B30 002C0A90 38 81 01 C4 */ addi r4, r1, 0x1c4
/* 802C3B34 002C0A94 90 01 02 04 */ stw r0, 0x204(r1)
/* 802C3B38 002C0A98 4B D7 7A 39 */ bl __ct__6CLightFCR6CLight
/* 802C3B3C 002C0A9C 80 01 02 24 */ lwz r0, 0x224(r1)
/* 802C3B40 002C0AA0 83 E1 02 1C */ lwz r31, 0x21c(r1)
/* 802C3B44 002C0AA4 83 C1 02 18 */ lwz r30, 0x218(r1)
/* 802C3B48 002C0AA8 7C 08 03 A6 */ mtlr r0
/* 802C3B4C 002C0AAC 38 21 02 20 */ addi r1, r1, 0x220
/* 802C3B50 002C0AB0 4E 80 00 20 */ blr
.global SetIsVisible__9CGuiLightFb
SetIsVisible__9CGuiLightFb:
/* 802C3B54 002C0AB4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802C3B58 002C0AB8 7C 08 02 A6 */ mflr r0
/* 802C3B5C 002C0ABC 90 01 00 14 */ stw r0, 0x14(r1)
/* 802C3B60 002C0AC0 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 802C3B64 002C0AC4 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802C3B68 002C0AC8 7C 9F 23 78 */ mr r31, r4
/* 802C3B6C 002C0ACC 93 C1 00 08 */ stw r30, 8(r1)
/* 802C3B70 002C0AD0 7C 7E 1B 78 */ mr r30, r3
/* 802C3B74 002C0AD4 41 82 00 14 */ beq lbl_802C3B88
/* 802C3B78 002C0AD8 80 7E 00 B0 */ lwz r3, 0xb0(r30)
/* 802C3B7C 002C0ADC 7F C4 F3 78 */ mr r4, r30
/* 802C3B80 002C0AE0 4B FF E9 BD */ bl AddLight__9CGuiFrameFP9CGuiLight
/* 802C3B84 002C0AE4 48 00 00 10 */ b lbl_802C3B94
lbl_802C3B88:
/* 802C3B88 002C0AE8 80 7E 00 B0 */ lwz r3, 0xb0(r30)
/* 802C3B8C 002C0AEC 7F C4 F3 78 */ mr r4, r30
/* 802C3B90 002C0AF0 4B FF E9 89 */ bl RemoveLight__9CGuiFrameFP9CGuiLight
lbl_802C3B94:
/* 802C3B94 002C0AF4 7F C3 F3 78 */ mr r3, r30
/* 802C3B98 002C0AF8 57 E4 06 3E */ clrlwi r4, r31, 0x18
/* 802C3B9C 002C0AFC 48 00 6A 91 */ bl SetIsVisible__10CGuiWidgetFb
/* 802C3BA0 002C0B00 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802C3BA4 002C0B04 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802C3BA8 002C0B08 83 C1 00 08 */ lwz r30, 8(r1)
/* 802C3BAC 002C0B0C 7C 08 03 A6 */ mtlr r0
/* 802C3BB0 002C0B10 38 21 00 10 */ addi r1, r1, 0x10
/* 802C3BB4 002C0B14 4E 80 00 20 */ blr
.global __dt__9CGuiLightFv
__dt__9CGuiLightFv:
/* 802C3BB8 002C0B18 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802C3BBC 002C0B1C 7C 08 02 A6 */ mflr r0
/* 802C3BC0 002C0B20 90 01 00 14 */ stw r0, 0x14(r1)
/* 802C3BC4 002C0B24 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802C3BC8 002C0B28 7C 9F 23 78 */ mr r31, r4
/* 802C3BCC 002C0B2C 93 C1 00 08 */ stw r30, 8(r1)
/* 802C3BD0 002C0B30 7C 7E 1B 79 */ or. r30, r3, r3
/* 802C3BD4 002C0B34 41 82 00 38 */ beq lbl_802C3C0C
/* 802C3BD8 002C0B38 3C 60 80 3F */ lis r3, lbl_803EC848@ha
/* 802C3BDC 002C0B3C 7F C4 F3 78 */ mr r4, r30
/* 802C3BE0 002C0B40 38 03 C8 48 */ addi r0, r3, lbl_803EC848@l
/* 802C3BE4 002C0B44 90 1E 00 00 */ stw r0, 0(r30)
/* 802C3BE8 002C0B48 80 7E 00 B0 */ lwz r3, 0xb0(r30)
/* 802C3BEC 002C0B4C 4B FF E9 2D */ bl RemoveLight__9CGuiFrameFP9CGuiLight
/* 802C3BF0 002C0B50 7F C3 F3 78 */ mr r3, r30
/* 802C3BF4 002C0B54 38 80 00 00 */ li r4, 0
/* 802C3BF8 002C0B58 48 00 6F BD */ bl __dt__10CGuiWidgetFv
/* 802C3BFC 002C0B5C 7F E0 07 35 */ extsh. r0, r31
/* 802C3C00 002C0B60 40 81 00 0C */ ble lbl_802C3C0C
/* 802C3C04 002C0B64 7F C3 F3 78 */ mr r3, r30
/* 802C3C08 002C0B68 48 05 1D 29 */ bl Free__7CMemoryFPCv
lbl_802C3C0C:
/* 802C3C0C 002C0B6C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802C3C10 002C0B70 7F C3 F3 78 */ mr r3, r30
/* 802C3C14 002C0B74 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802C3C18 002C0B78 83 C1 00 08 */ lwz r30, 8(r1)
/* 802C3C1C 002C0B7C 7C 08 03 A6 */ mtlr r0
/* 802C3C20 002C0B80 38 21 00 10 */ addi r1, r1, 0x10
/* 802C3C24 002C0B84 4E 80 00 20 */ blr
.global __ct__9CGuiLightFRCQ210CGuiWidget15CGuiWidgetParmsRC6CLight
__ct__9CGuiLightFRCQ210CGuiWidget15CGuiWidgetParmsRC6CLight:
/* 802C3C28 002C0B88 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802C3C2C 002C0B8C 7C 08 02 A6 */ mflr r0
/* 802C3C30 002C0B90 90 01 00 14 */ stw r0, 0x14(r1)
/* 802C3C34 002C0B94 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802C3C38 002C0B98 7C BF 2B 78 */ mr r31, r5
/* 802C3C3C 002C0B9C 93 C1 00 08 */ stw r30, 8(r1)
/* 802C3C40 002C0BA0 7C 7E 1B 78 */ mr r30, r3
/* 802C3C44 002C0BA4 48 00 6F E1 */ bl __ct__10CGuiWidgetFRCQ210CGuiWidget15CGuiWidgetParms
/* 802C3C48 002C0BA8 3C 60 80 3F */ lis r3, lbl_803EC848@ha
/* 802C3C4C 002C0BAC 38 03 C8 48 */ addi r0, r3, lbl_803EC848@l
/* 802C3C50 002C0BB0 90 1E 00 00 */ stw r0, 0(r30)
/* 802C3C54 002C0BB4 80 1F 00 1C */ lwz r0, 0x1c(r31)
/* 802C3C58 002C0BB8 90 1E 00 B8 */ stw r0, 0xb8(r30)
/* 802C3C5C 002C0BBC C0 1F 00 20 */ lfs f0, 0x20(r31)
/* 802C3C60 002C0BC0 D0 1E 00 BC */ stfs f0, 0xbc(r30)
/* 802C3C64 002C0BC4 C0 1F 00 24 */ lfs f0, 0x24(r31)
/* 802C3C68 002C0BC8 D0 1E 00 C0 */ stfs f0, 0xc0(r30)
/* 802C3C6C 002C0BCC C0 1F 00 28 */ lfs f0, 0x28(r31)
/* 802C3C70 002C0BD0 D0 1E 00 C4 */ stfs f0, 0xc4(r30)
/* 802C3C74 002C0BD4 C0 1F 00 2C */ lfs f0, 0x2c(r31)
/* 802C3C78 002C0BD8 D0 1E 00 C8 */ stfs f0, 0xc8(r30)
/* 802C3C7C 002C0BDC C0 1F 00 30 */ lfs f0, 0x30(r31)
/* 802C3C80 002C0BE0 D0 1E 00 CC */ stfs f0, 0xcc(r30)
/* 802C3C84 002C0BE4 C0 1F 00 34 */ lfs f0, 0x34(r31)
/* 802C3C88 002C0BE8 D0 1E 00 D0 */ stfs f0, 0xd0(r30)
/* 802C3C8C 002C0BEC C0 1F 00 38 */ lfs f0, 0x38(r31)
/* 802C3C90 002C0BF0 D0 1E 00 D4 */ stfs f0, 0xd4(r30)
/* 802C3C94 002C0BF4 80 1F 00 40 */ lwz r0, 0x40(r31)
/* 802C3C98 002C0BF8 90 1E 00 D8 */ stw r0, 0xd8(r30)
/* 802C3C9C 002C0BFC 48 08 63 19 */ bl Black__6CColorFv
/* 802C3CA0 002C0C00 80 03 00 00 */ lwz r0, 0(r3)
/* 802C3CA4 002C0C04 7F C3 F3 78 */ mr r3, r30
/* 802C3CA8 002C0C08 90 1E 00 DC */ stw r0, 0xdc(r30)
/* 802C3CAC 002C0C0C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802C3CB0 002C0C10 83 C1 00 08 */ lwz r30, 8(r1)
/* 802C3CB4 002C0C14 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802C3CB8 002C0C18 7C 08 03 A6 */ mtlr r0
/* 802C3CBC 002C0C1C 38 21 00 10 */ addi r1, r1, 0x10
/* 802C3CC0 002C0C20 4E 80 00 20 */ blr
.global Create__9CGuiLightFP9CGuiFrameR12CInputStreamb
Create__9CGuiLightFP9CGuiFrameR12CInputStreamb:
/* 802C3CC4 002C0C24 94 21 FD 90 */ stwu r1, -0x270(r1)
/* 802C3CC8 002C0C28 7C 08 02 A6 */ mflr r0
/* 802C3CCC 002C0C2C 90 01 02 74 */ stw r0, 0x274(r1)
/* 802C3CD0 002C0C30 39 61 02 70 */ addi r11, r1, 0x270
/* 802C3CD4 002C0C34 48 0C 5D 0D */ bl func_803899E0
/* 802C3CD8 002C0C38 BF 61 02 2C */ stmw r27, 0x22c(r1)
/* 802C3CDC 002C0C3C 7C 7E 1B 78 */ mr r30, r3
/* 802C3CE0 002C0C40 7C 9F 23 78 */ mr r31, r4
/* 802C3CE4 002C0C44 7F C4 F3 78 */ mr r4, r30
/* 802C3CE8 002C0C48 38 61 00 0C */ addi r3, r1, 0xc
/* 802C3CEC 002C0C4C 7F E5 FB 78 */ mr r5, r31
/* 802C3CF0 002C0C50 48 00 70 61 */ bl ReadWidgetHeader__10CGuiWidgetFP9CGuiFrameR12CInputStreamb
/* 802C3CF4 002C0C54 80 81 00 1C */ lwz r4, 0x1c(r1)
/* 802C3CF8 002C0C58 7F E3 FB 78 */ mr r3, r31
/* 802C3CFC 002C0C5C 83 81 00 0C */ lwz r28, 0xc(r1)
/* 802C3D00 002C0C60 89 81 00 10 */ lbz r12, 0x10(r1)
/* 802C3D04 002C0C64 A9 61 00 12 */ lha r11, 0x12(r1)
/* 802C3D08 002C0C68 A9 41 00 14 */ lha r10, 0x14(r1)
/* 802C3D0C 002C0C6C 89 21 00 16 */ lbz r9, 0x16(r1)
/* 802C3D10 002C0C70 89 01 00 17 */ lbz r8, 0x17(r1)
/* 802C3D14 002C0C74 88 E1 00 18 */ lbz r7, 0x18(r1)
/* 802C3D18 002C0C78 88 C1 00 19 */ lbz r6, 0x19(r1)
/* 802C3D1C 002C0C7C 88 A1 00 1A */ lbz r5, 0x1a(r1)
/* 802C3D20 002C0C80 80 01 00 20 */ lwz r0, 0x20(r1)
/* 802C3D24 002C0C84 93 81 00 24 */ stw r28, 0x24(r1)
/* 802C3D28 002C0C88 99 81 00 28 */ stb r12, 0x28(r1)
/* 802C3D2C 002C0C8C B1 61 00 2A */ sth r11, 0x2a(r1)
/* 802C3D30 002C0C90 B1 41 00 2C */ sth r10, 0x2c(r1)
/* 802C3D34 002C0C94 99 21 00 2E */ stb r9, 0x2e(r1)
/* 802C3D38 002C0C98 99 01 00 2F */ stb r8, 0x2f(r1)
/* 802C3D3C 002C0C9C 98 E1 00 30 */ stb r7, 0x30(r1)
/* 802C3D40 002C0CA0 98 C1 00 31 */ stb r6, 0x31(r1)
/* 802C3D44 002C0CA4 98 A1 00 32 */ stb r5, 0x32(r1)
/* 802C3D48 002C0CA8 90 81 00 34 */ stw r4, 0x34(r1)
/* 802C3D4C 002C0CAC 90 01 00 38 */ stw r0, 0x38(r1)
/* 802C3D50 002C0CB0 90 81 00 08 */ stw r4, 8(r1)
/* 802C3D54 002C0CB4 48 07 AF 31 */ bl ReadLong__12CInputStreamFv
/* 802C3D58 002C0CB8 7C 7C 1B 78 */ mr r28, r3
/* 802C3D5C 002C0CBC 7F E3 FB 78 */ mr r3, r31
/* 802C3D60 002C0CC0 48 07 AE C9 */ bl ReadFloat__12CInputStreamFv
/* 802C3D64 002C0CC4 FF E0 08 90 */ fmr f31, f1
/* 802C3D68 002C0CC8 7F E3 FB 78 */ mr r3, r31
/* 802C3D6C 002C0CCC 48 07 AE BD */ bl ReadFloat__12CInputStreamFv
/* 802C3D70 002C0CD0 FF C0 08 90 */ fmr f30, f1
/* 802C3D74 002C0CD4 7F E3 FB 78 */ mr r3, r31
/* 802C3D78 002C0CD8 48 07 AE B1 */ bl ReadFloat__12CInputStreamFv
/* 802C3D7C 002C0CDC FF A0 08 90 */ fmr f29, f1
/* 802C3D80 002C0CE0 7F E3 FB 78 */ mr r3, r31
/* 802C3D84 002C0CE4 48 07 AE A5 */ bl ReadFloat__12CInputStreamFv
/* 802C3D88 002C0CE8 FF 80 08 90 */ fmr f28, f1
/* 802C3D8C 002C0CEC 7F E3 FB 78 */ mr r3, r31
/* 802C3D90 002C0CF0 48 07 AE 99 */ bl ReadFloat__12CInputStreamFv
/* 802C3D94 002C0CF4 FF 60 08 90 */ fmr f27, f1
/* 802C3D98 002C0CF8 7F E3 FB 78 */ mr r3, r31
/* 802C3D9C 002C0CFC 48 07 AE 8D */ bl ReadFloat__12CInputStreamFv
/* 802C3DA0 002C0D00 FF 40 08 90 */ fmr f26, f1
/* 802C3DA4 002C0D04 7F E3 FB 78 */ mr r3, r31
/* 802C3DA8 002C0D08 48 07 AE DD */ bl ReadLong__12CInputStreamFv
/* 802C3DAC 002C0D0C 2C 1C 00 01 */ cmpwi r28, 1
/* 802C3DB0 002C0D10 7C 7D 1B 78 */ mr r29, r3
/* 802C3DB4 002C0D14 3B 60 00 00 */ li r27, 0
/* 802C3DB8 002C0D18 41 82 00 AC */ beq lbl_802C3E64
/* 802C3DBC 002C0D1C 40 80 00 10 */ bge lbl_802C3DCC
/* 802C3DC0 002C0D20 2C 1C 00 00 */ cmpwi r28, 0
/* 802C3DC4 002C0D24 40 80 00 14 */ bge lbl_802C3DD8
/* 802C3DC8 002C0D28 48 00 01 5C */ b lbl_802C3F24
lbl_802C3DCC:
/* 802C3DCC 002C0D2C 2C 1C 00 03 */ cmpwi r28, 3
/* 802C3DD0 002C0D30 40 80 01 54 */ bge lbl_802C3F24
/* 802C3DD4 002C0D34 48 00 00 FC */ b lbl_802C3ED0
lbl_802C3DD8:
/* 802C3DD8 002C0D38 7F E3 FB 78 */ mr r3, r31
/* 802C3DDC 002C0D3C 48 07 AE 4D */ bl ReadFloat__12CInputStreamFv
/* 802C3DE0 002C0D40 3C 80 80 5A */ lis r4, skZero3f@ha
/* 802C3DE4 002C0D44 38 61 00 DC */ addi r3, r1, 0xdc
/* 802C3DE8 002C0D48 38 84 66 A0 */ addi r4, r4, skZero3f@l
/* 802C3DEC 002C0D4C 38 C1 00 08 */ addi r6, r1, 8
/* 802C3DF0 002C0D50 7C 85 23 78 */ mr r5, r4
/* 802C3DF4 002C0D54 48 04 26 09 */ bl BuildSpot__6CLightFRC9CVector3fRC9CVector3fRC6CColorf
/* 802C3DF8 002C0D58 38 61 01 CC */ addi r3, r1, 0x1cc
/* 802C3DFC 002C0D5C 38 81 00 DC */ addi r4, r1, 0xdc
/* 802C3E00 002C0D60 4B D7 77 71 */ bl __ct__6CLightFCR6CLight
/* 802C3E04 002C0D64 FC 20 F8 90 */ fmr f1, f31
/* 802C3E08 002C0D68 38 61 01 CC */ addi r3, r1, 0x1cc
/* 802C3E0C 002C0D6C FC 40 F0 90 */ fmr f2, f30
/* 802C3E10 002C0D70 FC 60 E8 90 */ fmr f3, f29
/* 802C3E14 002C0D74 48 04 25 9D */ bl SetAttenuation__6CLightFfff
/* 802C3E18 002C0D78 FC 20 E0 90 */ fmr f1, f28
/* 802C3E1C 002C0D7C 38 61 01 CC */ addi r3, r1, 0x1cc
/* 802C3E20 002C0D80 FC 40 D8 90 */ fmr f2, f27
/* 802C3E24 002C0D84 FC 60 D0 90 */ fmr f3, f26
/* 802C3E28 002C0D88 48 04 25 5D */ bl SetAngleAttenuation__6CLightFfff
/* 802C3E2C 002C0D8C 3C 60 80 3D */ lis r3, lbl_803D68A8@ha
/* 802C3E30 002C0D90 93 A1 02 0C */ stw r29, 0x20c(r1)
/* 802C3E34 002C0D94 38 83 68 A8 */ addi r4, r3, lbl_803D68A8@l
/* 802C3E38 002C0D98 38 A0 00 00 */ li r5, 0
/* 802C3E3C 002C0D9C 38 60 00 E0 */ li r3, 0xe0
/* 802C3E40 002C0DA0 48 05 1A 2D */ bl __nw__FUlPCcPCc
/* 802C3E44 002C0DA4 7C 60 1B 79 */ or. r0, r3, r3
/* 802C3E48 002C0DA8 41 82 00 14 */ beq lbl_802C3E5C
/* 802C3E4C 002C0DAC 38 81 00 24 */ addi r4, r1, 0x24
/* 802C3E50 002C0DB0 38 A1 01 CC */ addi r5, r1, 0x1cc
/* 802C3E54 002C0DB4 4B FF FD D5 */ bl __ct__9CGuiLightFRCQ210CGuiWidget15CGuiWidgetParmsRC6CLight
/* 802C3E58 002C0DB8 7C 60 1B 78 */ mr r0, r3
lbl_802C3E5C:
/* 802C3E5C 002C0DBC 7C 1B 03 78 */ mr r27, r0
/* 802C3E60 002C0DC0 48 00 00 C4 */ b lbl_802C3F24
lbl_802C3E64:
/* 802C3E64 002C0DC4 3C 80 80 5A */ lis r4, skZero3f@ha
/* 802C3E68 002C0DC8 38 61 00 8C */ addi r3, r1, 0x8c
/* 802C3E6C 002C0DCC 38 84 66 A0 */ addi r4, r4, skZero3f@l
/* 802C3E70 002C0DD0 38 A1 00 08 */ addi r5, r1, 8
/* 802C3E74 002C0DD4 48 04 25 C1 */ bl BuildPoint__6CLightFRC9CVector3fRC6CColor
/* 802C3E78 002C0DD8 38 61 01 7C */ addi r3, r1, 0x17c
/* 802C3E7C 002C0DDC 38 81 00 8C */ addi r4, r1, 0x8c
/* 802C3E80 002C0DE0 4B D7 76 F1 */ bl __ct__6CLightFCR6CLight
/* 802C3E84 002C0DE4 FC 20 F8 90 */ fmr f1, f31
/* 802C3E88 002C0DE8 38 61 01 7C */ addi r3, r1, 0x17c
/* 802C3E8C 002C0DEC FC 40 F0 90 */ fmr f2, f30
/* 802C3E90 002C0DF0 FC 60 E8 90 */ fmr f3, f29
/* 802C3E94 002C0DF4 48 04 25 1D */ bl SetAttenuation__6CLightFfff
/* 802C3E98 002C0DF8 3C 60 80 3D */ lis r3, lbl_803D68A8@ha
/* 802C3E9C 002C0DFC 93 A1 01 BC */ stw r29, 0x1bc(r1)
/* 802C3EA0 002C0E00 38 83 68 A8 */ addi r4, r3, lbl_803D68A8@l
/* 802C3EA4 002C0E04 38 A0 00 00 */ li r5, 0
/* 802C3EA8 002C0E08 38 60 00 E0 */ li r3, 0xe0
/* 802C3EAC 002C0E0C 48 05 19 C1 */ bl __nw__FUlPCcPCc
/* 802C3EB0 002C0E10 7C 60 1B 79 */ or. r0, r3, r3
/* 802C3EB4 002C0E14 41 82 00 14 */ beq lbl_802C3EC8
/* 802C3EB8 002C0E18 38 81 00 24 */ addi r4, r1, 0x24
/* 802C3EBC 002C0E1C 38 A1 01 7C */ addi r5, r1, 0x17c
/* 802C3EC0 002C0E20 4B FF FD 69 */ bl __ct__9CGuiLightFRCQ210CGuiWidget15CGuiWidgetParmsRC6CLight
/* 802C3EC4 002C0E24 7C 60 1B 78 */ mr r0, r3
lbl_802C3EC8:
/* 802C3EC8 002C0E28 7C 1B 03 78 */ mr r27, r0
/* 802C3ECC 002C0E2C 48 00 00 58 */ b lbl_802C3F24
lbl_802C3ED0:
/* 802C3ED0 002C0E30 3C 80 80 5A */ lis r4, skZero3f@ha
/* 802C3ED4 002C0E34 38 61 00 3C */ addi r3, r1, 0x3c
/* 802C3ED8 002C0E38 38 84 66 A0 */ addi r4, r4, skZero3f@l
/* 802C3EDC 002C0E3C 38 A1 00 08 */ addi r5, r1, 8
/* 802C3EE0 002C0E40 48 04 25 8D */ bl BuildDirectional__6CLightFRC9CVector3fRC6CColor
/* 802C3EE4 002C0E44 38 61 01 2C */ addi r3, r1, 0x12c
/* 802C3EE8 002C0E48 38 81 00 3C */ addi r4, r1, 0x3c
/* 802C3EEC 002C0E4C 4B D7 76 85 */ bl __ct__6CLightFCR6CLight
/* 802C3EF0 002C0E50 3C 60 80 3D */ lis r3, lbl_803D68A8@ha
/* 802C3EF4 002C0E54 93 A1 01 6C */ stw r29, 0x16c(r1)
/* 802C3EF8 002C0E58 38 83 68 A8 */ addi r4, r3, lbl_803D68A8@l
/* 802C3EFC 002C0E5C 38 A0 00 00 */ li r5, 0
/* 802C3F00 002C0E60 38 60 00 E0 */ li r3, 0xe0
/* 802C3F04 002C0E64 48 05 19 69 */ bl __nw__FUlPCcPCc
/* 802C3F08 002C0E68 7C 60 1B 79 */ or. r0, r3, r3
/* 802C3F0C 002C0E6C 41 82 00 14 */ beq lbl_802C3F20
/* 802C3F10 002C0E70 38 81 00 24 */ addi r4, r1, 0x24
/* 802C3F14 002C0E74 38 A1 01 2C */ addi r5, r1, 0x12c
/* 802C3F18 002C0E78 4B FF FD 11 */ bl __ct__9CGuiLightFRCQ210CGuiWidget15CGuiWidgetParmsRC6CLight
/* 802C3F1C 002C0E7C 7C 60 1B 78 */ mr r0, r3
lbl_802C3F20:
/* 802C3F20 002C0E80 7C 1B 03 78 */ mr r27, r0
lbl_802C3F24:
/* 802C3F24 002C0E84 7F 63 DB 78 */ mr r3, r27
/* 802C3F28 002C0E88 7F C4 F3 78 */ mr r4, r30
/* 802C3F2C 002C0E8C 7F E5 FB 78 */ mr r5, r31
/* 802C3F30 002C0E90 38 C1 00 24 */ addi r6, r1, 0x24
/* 802C3F34 002C0E94 48 00 6B 55 */ bl ParseBaseInfo__10CGuiWidgetFP9CGuiFrameR12CInputStreamRCQ210CGuiWidget15CGuiWidgetParms
/* 802C3F38 002C0E98 7F C3 F3 78 */ mr r3, r30
/* 802C3F3C 002C0E9C 7F 64 DB 78 */ mr r4, r27
/* 802C3F40 002C0EA0 4B FF E5 FD */ bl AddLight__9CGuiFrameFP9CGuiLight
/* 802C3F44 002C0EA4 7F 63 DB 78 */ mr r3, r27
/* 802C3F48 002C0EA8 39 61 02 70 */ addi r11, r1, 0x270
/* 802C3F4C 002C0EAC 48 0C 5A E1 */ bl func_80389A2C
/* 802C3F50 002C0EB0 BB 61 02 2C */ lmw r27, 0x22c(r1)
/* 802C3F54 002C0EB4 80 01 02 74 */ lwz r0, 0x274(r1)
/* 802C3F58 002C0EB8 7C 08 03 A6 */ mtlr r0
/* 802C3F5C 002C0EBC 38 21 02 70 */ addi r1, r1, 0x270
/* 802C3F60 002C0EC0 4E 80 00 20 */ blr

560
asm/GuiSys/CGuiModel.s Normal file
View File

@ -0,0 +1,560 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global GetWidgetTypeID__9CGuiModelCFv
GetWidgetTypeID__9CGuiModelCFv:
/* 802C3F64 002C0EC4 3C 60 4D 4F */ lis r3, 0x4D4F444C@ha
/* 802C3F68 002C0EC8 38 63 44 4C */ addi r3, r3, 0x4D4F444C@l
/* 802C3F6C 002C0ECC 4E 80 00 20 */ blr
.global GetModelAssets__9CGuiModelCFv
GetModelAssets__9CGuiModelCFv:
/* 802C3F70 002C0ED0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802C3F74 002C0ED4 7C 08 02 A6 */ mflr r0
/* 802C3F78 002C0ED8 90 01 00 14 */ stw r0, 0x14(r1)
/* 802C3F7C 002C0EDC 38 00 00 01 */ li r0, 1
/* 802C3F80 002C0EE0 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802C3F84 002C0EE4 7C 9F 23 78 */ mr r31, r4
/* 802C3F88 002C0EE8 93 C1 00 08 */ stw r30, 8(r1)
/* 802C3F8C 002C0EEC 7C 7E 1B 78 */ mr r30, r3
/* 802C3F90 002C0EF0 90 03 00 04 */ stw r0, 4(r3)
/* 802C3F94 002C0EF4 90 03 00 08 */ stw r0, 8(r3)
/* 802C3F98 002C0EF8 80 03 00 04 */ lwz r0, 4(r3)
/* 802C3F9C 002C0EFC 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d
/* 802C3FA0 002C0F00 40 82 00 10 */ bne lbl_802C3FB0
/* 802C3FA4 002C0F04 38 00 00 00 */ li r0, 0
/* 802C3FA8 002C0F08 90 1E 00 0C */ stw r0, 0xc(r30)
/* 802C3FAC 002C0F0C 48 00 00 18 */ b lbl_802C3FC4
lbl_802C3FB0:
/* 802C3FB0 002C0F10 3C 80 80 3D */ lis r4, lbl_803D68B0@ha
/* 802C3FB4 002C0F14 38 A0 00 00 */ li r5, 0
/* 802C3FB8 002C0F18 38 84 68 B0 */ addi r4, r4, lbl_803D68B0@l
/* 802C3FBC 002C0F1C 48 05 18 5D */ bl __nwa__FUlPCcPCc
/* 802C3FC0 002C0F20 90 7E 00 0C */ stw r3, 0xc(r30)
lbl_802C3FC4:
/* 802C3FC4 002C0F24 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 802C3FC8 002C0F28 28 03 00 00 */ cmplwi r3, 0
/* 802C3FCC 002C0F2C 41 82 00 0C */ beq lbl_802C3FD8
/* 802C3FD0 002C0F30 80 1F 00 C8 */ lwz r0, 0xc8(r31)
/* 802C3FD4 002C0F34 90 03 00 00 */ stw r0, 0(r3)
lbl_802C3FD8:
/* 802C3FD8 002C0F38 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802C3FDC 002C0F3C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802C3FE0 002C0F40 83 C1 00 08 */ lwz r30, 8(r1)
/* 802C3FE4 002C0F44 7C 08 03 A6 */ mtlr r0
/* 802C3FE8 002C0F48 38 21 00 10 */ addi r1, r1, 0x10
/* 802C3FEC 002C0F4C 4E 80 00 20 */ blr
.global GetIsFinishedLoadingWidgetSpecific__9CGuiModelCFv
GetIsFinishedLoadingWidgetSpecific__9CGuiModelCFv:
/* 802C3FF0 002C0F50 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802C3FF4 002C0F54 7C 08 02 A6 */ mflr r0
/* 802C3FF8 002C0F58 90 01 00 14 */ stw r0, 0x14(r1)
/* 802C3FFC 002C0F5C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802C4000 002C0F60 93 C1 00 08 */ stw r30, 8(r1)
/* 802C4004 002C0F64 7C 7E 1B 78 */ mr r30, r3
/* 802C4008 002C0F68 88 03 00 C4 */ lbz r0, 0xc4(r3)
/* 802C400C 002C0F6C 28 00 00 00 */ cmplwi r0, 0
/* 802C4010 002C0F70 40 82 00 0C */ bne lbl_802C401C
/* 802C4014 002C0F74 38 60 00 01 */ li r3, 1
/* 802C4018 002C0F78 48 00 00 6C */ b lbl_802C4084
lbl_802C401C:
/* 802C401C 002C0F7C 3B FE 00 B8 */ addi r31, r30, 0xb8
/* 802C4020 002C0F80 80 1E 00 C0 */ lwz r0, 0xc0(r30)
/* 802C4024 002C0F84 28 00 00 00 */ cmplwi r0, 0
/* 802C4028 002C0F88 40 82 00 30 */ bne lbl_802C4058
/* 802C402C 002C0F8C 88 1F 00 04 */ lbz r0, 4(r31)
/* 802C4030 002C0F90 28 00 00 00 */ cmplwi r0, 0
/* 802C4034 002C0F94 41 82 00 24 */ beq lbl_802C4058
/* 802C4038 002C0F98 80 7F 00 00 */ lwz r3, 0(r31)
/* 802C403C 002C0F9C 80 03 00 10 */ lwz r0, 0x10(r3)
/* 802C4040 002C0FA0 28 00 00 00 */ cmplwi r0, 0
/* 802C4044 002C0FA4 41 82 00 14 */ beq lbl_802C4058
/* 802C4048 002C0FA8 7F E3 FB 78 */ mr r3, r31
/* 802C404C 002C0FAC 48 07 CD C1 */ bl GetObj__6CTokenFv
/* 802C4050 002C0FB0 80 03 00 04 */ lwz r0, 4(r3)
/* 802C4054 002C0FB4 90 1F 00 08 */ stw r0, 8(r31)
lbl_802C4058:
/* 802C4058 002C0FB8 83 FE 00 C0 */ lwz r31, 0xc0(r30)
/* 802C405C 002C0FBC 28 1F 00 00 */ cmplwi r31, 0
/* 802C4060 002C0FC0 41 82 00 20 */ beq lbl_802C4080
/* 802C4064 002C0FC4 7F E3 FB 78 */ mr r3, r31
/* 802C4068 002C0FC8 38 80 00 00 */ li r4, 0
/* 802C406C 002C0FCC 48 09 15 C9 */ bl Touch__6CModelCFi
/* 802C4070 002C0FD0 7F E3 FB 78 */ mr r3, r31
/* 802C4074 002C0FD4 38 80 00 00 */ li r4, 0
/* 802C4078 002C0FD8 48 09 15 31 */ bl IsLoaded__6CModelCFi
/* 802C407C 002C0FDC 48 00 00 08 */ b lbl_802C4084
lbl_802C4080:
/* 802C4080 002C0FE0 38 60 00 00 */ li r3, 0
lbl_802C4084:
/* 802C4084 002C0FE4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802C4088 002C0FE8 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802C408C 002C0FEC 83 C1 00 08 */ lwz r30, 8(r1)
/* 802C4090 002C0FF0 7C 08 03 A6 */ mtlr r0
/* 802C4094 002C0FF4 38 21 00 10 */ addi r1, r1, 0x10
/* 802C4098 002C0FF8 4E 80 00 20 */ blr
.global Touch__9CGuiModelCFv
Touch__9CGuiModelCFv:
/* 802C409C 002C0FFC 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802C40A0 002C1000 7C 08 02 A6 */ mflr r0
/* 802C40A4 002C1004 90 01 00 14 */ stw r0, 0x14(r1)
/* 802C40A8 002C1008 88 03 00 C4 */ lbz r0, 0xc4(r3)
/* 802C40AC 002C100C 28 00 00 00 */ cmplwi r0, 0
/* 802C40B0 002C1010 41 82 00 18 */ beq lbl_802C40C8
/* 802C40B4 002C1014 80 63 00 C0 */ lwz r3, 0xc0(r3)
/* 802C40B8 002C1018 28 03 00 00 */ cmplwi r3, 0
/* 802C40BC 002C101C 41 82 00 0C */ beq lbl_802C40C8
/* 802C40C0 002C1020 38 80 00 00 */ li r4, 0
/* 802C40C4 002C1024 48 09 15 71 */ bl Touch__6CModelCFi
lbl_802C40C8:
/* 802C40C8 002C1028 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802C40CC 002C102C 7C 08 03 A6 */ mtlr r0
/* 802C40D0 002C1030 38 21 00 10 */ addi r1, r1, 0x10
/* 802C40D4 002C1034 4E 80 00 20 */ blr
.global Draw__9CGuiModelCFRC19CGuiWidgetDrawParms
Draw__9CGuiModelCFRC19CGuiWidgetDrawParms:
/* 802C40D8 002C1038 94 21 FF 80 */ stwu r1, -0x80(r1)
/* 802C40DC 002C103C 7C 08 02 A6 */ mflr r0
/* 802C40E0 002C1040 90 01 00 84 */ stw r0, 0x84(r1)
/* 802C40E4 002C1044 DB E1 00 70 */ stfd f31, 0x70(r1)
/* 802C40E8 002C1048 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0
/* 802C40EC 002C104C BF 41 00 58 */ stmw r26, 0x58(r1)
/* 802C40F0 002C1050 7C 7A 1B 78 */ mr r26, r3
/* 802C40F4 002C1054 7C 9B 23 78 */ mr r27, r4
/* 802C40F8 002C1058 38 7A 00 34 */ addi r3, r26, 0x34
/* 802C40FC 002C105C 48 04 84 E5 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f
/* 802C4100 002C1060 88 1A 00 C4 */ lbz r0, 0xc4(r26)
/* 802C4104 002C1064 28 00 00 00 */ cmplwi r0, 0
/* 802C4108 002C1068 41 82 03 44 */ beq lbl_802C444C
/* 802C410C 002C106C 7F 43 D3 78 */ mr r3, r26
/* 802C4110 002C1070 48 00 68 29 */ bl GetIsFinishedLoading__10CGuiWidgetCFv
/* 802C4114 002C1074 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 802C4118 002C1078 41 82 03 34 */ beq lbl_802C444C
/* 802C411C 002C107C 83 BA 00 C0 */ lwz r29, 0xc0(r26)
/* 802C4120 002C1080 28 1D 00 00 */ cmplwi r29, 0
/* 802C4124 002C1084 41 82 03 28 */ beq lbl_802C444C
/* 802C4128 002C1088 7F 43 D3 78 */ mr r3, r26
/* 802C412C 002C108C 81 9A 00 00 */ lwz r12, 0(r26)
/* 802C4130 002C1090 81 8C 00 20 */ lwz r12, 0x20(r12)
/* 802C4134 002C1094 7D 89 03 A6 */ mtctr r12
/* 802C4138 002C1098 4E 80 04 21 */ bctrl
/* 802C413C 002C109C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 802C4140 002C10A0 41 82 03 00 */ beq lbl_802C4440
/* 802C4144 002C10A4 88 7A 00 AB */ lbz r3, 0xab(r26)
/* 802C4148 002C10A8 3C 00 43 30 */ lis r0, 0x4330
/* 802C414C 002C10AC 90 01 00 48 */ stw r0, 0x48(r1)
/* 802C4150 002C10B0 C8 22 C3 90 */ lfd f1, lbl_805AE0B0@sda21(r2)
/* 802C4154 002C10B4 90 61 00 4C */ stw r3, 0x4c(r1)
/* 802C4158 002C10B8 C0 5B 00 00 */ lfs f2, 0(r27)
/* 802C415C 002C10BC C8 01 00 48 */ lfd f0, 0x48(r1)
/* 802C4160 002C10C0 EC 00 08 28 */ fsubs f0, f0, f1
/* 802C4164 002C10C4 EF E2 00 32 */ fmuls f31, f2, f0
/* 802C4168 002C10C8 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2
/* 802C416C 002C10CC 80 1A 00 A8 */ lwz r0, 0xa8(r26)
/* 802C4170 002C10D0 8B C1 00 08 */ lbz r30, 8(r1)
/* 802C4174 002C10D4 80 7A 00 B0 */ lwz r3, 0xb0(r26)
/* 802C4178 002C10D8 50 1E 00 2E */ rlwimi r30, r0, 0, 0, 0x17
/* 802C417C 002C10DC 80 9A 00 CC */ lwz r4, 0xcc(r26)
/* 802C4180 002C10E0 4B FF E2 59 */ bl EnableLights__9CGuiFrameCFUi
/* 802C4184 002C10E4 88 1A 00 B6 */ lbz r0, 0xb6(r26)
/* 802C4188 002C10E8 54 1F F7 FF */ rlwinm. r31, r0, 0x1e, 0x1f, 0x1f
/* 802C418C 002C10EC 41 82 00 0C */ beq lbl_802C4198
/* 802C4190 002C10F0 38 60 00 01 */ li r3, 1
/* 802C4194 002C10F4 48 04 78 DD */ bl SetCullMode__9CGraphicsF12ERglCullMode
lbl_802C4198:
/* 802C4198 002C10F8 C0 22 C3 88 */ lfs f1, lbl_805AE0A8@sda21(r2)
/* 802C419C 002C10FC 38 80 00 00 */ li r4, 0
/* 802C41A0 002C1100 38 00 00 03 */ li r0, 3
/* 802C41A4 002C1104 98 81 00 34 */ stb r4, 0x34(r1)
/* 802C41A8 002C1108 FC 40 08 90 */ fmr f2, f1
/* 802C41AC 002C110C 38 61 00 38 */ addi r3, r1, 0x38
/* 802C41B0 002C1110 FC 60 08 90 */ fmr f3, f1
/* 802C41B4 002C1114 98 81 00 35 */ stb r4, 0x35(r1)
/* 802C41B8 002C1118 FC 80 08 90 */ fmr f4, f1
/* 802C41BC 002C111C B0 01 00 36 */ sth r0, 0x36(r1)
/* 802C41C0 002C1120 48 09 F2 2D */ bl __ct__6CColorFffff
/* 802C41C4 002C1124 80 1A 00 AC */ lwz r0, 0xac(r26)
/* 802C41C8 002C1128 3B 80 00 01 */ li r28, 1
/* 802C41CC 002C112C 88 C1 00 34 */ lbz r6, 0x34(r1)
/* 802C41D0 002C1130 88 A1 00 35 */ lbz r5, 0x35(r1)
/* 802C41D4 002C1134 2C 00 00 02 */ cmpwi r0, 2
/* 802C41D8 002C1138 A0 81 00 36 */ lhz r4, 0x36(r1)
/* 802C41DC 002C113C 80 61 00 38 */ lwz r3, 0x38(r1)
/* 802C41E0 002C1140 98 C1 00 3C */ stb r6, 0x3c(r1)
/* 802C41E4 002C1144 98 A1 00 3D */ stb r5, 0x3d(r1)
/* 802C41E8 002C1148 B0 81 00 3E */ sth r4, 0x3e(r1)
/* 802C41EC 002C114C 90 61 00 40 */ stw r3, 0x40(r1)
/* 802C41F0 002C1150 41 82 00 98 */ beq lbl_802C4288
/* 802C41F4 002C1154 40 80 00 14 */ bge lbl_802C4208
/* 802C41F8 002C1158 2C 00 00 00 */ cmpwi r0, 0
/* 802C41FC 002C115C 41 82 00 1C */ beq lbl_802C4218
/* 802C4200 002C1160 40 80 00 68 */ bge lbl_802C4268
/* 802C4204 002C1164 48 00 01 E4 */ b lbl_802C43E8
lbl_802C4208:
/* 802C4208 002C1168 2C 00 00 04 */ cmpwi r0, 4
/* 802C420C 002C116C 41 82 01 04 */ beq lbl_802C4310
/* 802C4210 002C1170 40 80 01 D8 */ bge lbl_802C43E8
/* 802C4214 002C1174 48 00 00 B8 */ b lbl_802C42CC
lbl_802C4218:
/* 802C4218 002C1178 C0 22 C3 88 */ lfs f1, lbl_805AE0A8@sda21(r2)
/* 802C421C 002C117C 38 80 00 00 */ li r4, 0
/* 802C4220 002C1180 38 00 00 03 */ li r0, 3
/* 802C4224 002C1184 98 81 00 2C */ stb r4, 0x2c(r1)
/* 802C4228 002C1188 FC 40 08 90 */ fmr f2, f1
/* 802C422C 002C118C 38 61 00 30 */ addi r3, r1, 0x30
/* 802C4230 002C1190 FC 60 08 90 */ fmr f3, f1
/* 802C4234 002C1194 98 81 00 2D */ stb r4, 0x2d(r1)
/* 802C4238 002C1198 FC 80 08 90 */ fmr f4, f1
/* 802C423C 002C119C B0 01 00 2E */ sth r0, 0x2e(r1)
/* 802C4240 002C11A0 48 09 F1 AD */ bl __ct__6CColorFffff
/* 802C4244 002C11A4 88 A1 00 2C */ lbz r5, 0x2c(r1)
/* 802C4248 002C11A8 88 81 00 2D */ lbz r4, 0x2d(r1)
/* 802C424C 002C11AC A0 61 00 2E */ lhz r3, 0x2e(r1)
/* 802C4250 002C11B0 80 01 00 30 */ lwz r0, 0x30(r1)
/* 802C4254 002C11B4 98 A1 00 3C */ stb r5, 0x3c(r1)
/* 802C4258 002C11B8 98 81 00 3D */ stb r4, 0x3d(r1)
/* 802C425C 002C11BC B0 61 00 3E */ sth r3, 0x3e(r1)
/* 802C4260 002C11C0 90 01 00 40 */ stw r0, 0x40(r1)
/* 802C4264 002C11C4 48 00 01 88 */ b lbl_802C43EC
lbl_802C4268:
/* 802C4268 002C11C8 38 80 00 01 */ li r4, 1
/* 802C426C 002C11CC 38 60 00 00 */ li r3, 0
/* 802C4270 002C11D0 38 00 00 03 */ li r0, 3
/* 802C4274 002C11D4 98 81 00 3C */ stb r4, 0x3c(r1)
/* 802C4278 002C11D8 98 61 00 3D */ stb r3, 0x3d(r1)
/* 802C427C 002C11DC B0 01 00 3E */ sth r0, 0x3e(r1)
/* 802C4280 002C11E0 93 C1 00 40 */ stw r30, 0x40(r1)
/* 802C4284 002C11E4 48 00 01 68 */ b lbl_802C43EC
lbl_802C4288:
/* 802C4288 002C11E8 88 1A 00 B7 */ lbz r0, 0xb7(r26)
/* 802C428C 002C11EC 38 A0 00 05 */ li r5, 5
/* 802C4290 002C11F0 38 60 00 03 */ li r3, 3
/* 802C4294 002C11F4 88 DA 00 B6 */ lbz r6, 0xb6(r26)
/* 802C4298 002C11F8 38 80 00 00 */ li r4, 0
/* 802C429C 002C11FC 54 00 D7 BC */ rlwinm r0, r0, 0x1a, 0x1e, 0x1e
/* 802C42A0 002C1200 50 C0 07 FE */ rlwimi r0, r6, 0, 0x1f, 0x1f
/* 802C42A4 002C1204 98 A1 00 24 */ stb r5, 0x24(r1)
/* 802C42A8 002C1208 50 60 04 3A */ rlwimi r0, r3, 0, 0x10, 0x1d
/* 802C42AC 002C120C 98 81 00 25 */ stb r4, 0x25(r1)
/* 802C42B0 002C1210 B0 61 00 26 */ sth r3, 0x26(r1)
/* 802C42B4 002C1214 93 C1 00 28 */ stw r30, 0x28(r1)
/* 802C42B8 002C1218 98 A1 00 3C */ stb r5, 0x3c(r1)
/* 802C42BC 002C121C 98 81 00 3D */ stb r4, 0x3d(r1)
/* 802C42C0 002C1220 B0 01 00 3E */ sth r0, 0x3e(r1)
/* 802C42C4 002C1224 93 C1 00 40 */ stw r30, 0x40(r1)
/* 802C42C8 002C1228 48 00 01 24 */ b lbl_802C43EC
lbl_802C42CC:
/* 802C42CC 002C122C 88 1A 00 B7 */ lbz r0, 0xb7(r26)
/* 802C42D0 002C1230 38 A0 00 07 */ li r5, 7
/* 802C42D4 002C1234 38 60 00 03 */ li r3, 3
/* 802C42D8 002C1238 88 DA 00 B6 */ lbz r6, 0xb6(r26)
/* 802C42DC 002C123C 38 80 00 00 */ li r4, 0
/* 802C42E0 002C1240 54 00 D7 BC */ rlwinm r0, r0, 0x1a, 0x1e, 0x1e
/* 802C42E4 002C1244 50 C0 07 FE */ rlwimi r0, r6, 0, 0x1f, 0x1f
/* 802C42E8 002C1248 98 A1 00 1C */ stb r5, 0x1c(r1)
/* 802C42EC 002C124C 50 60 04 3A */ rlwimi r0, r3, 0, 0x10, 0x1d
/* 802C42F0 002C1250 98 81 00 1D */ stb r4, 0x1d(r1)
/* 802C42F4 002C1254 B0 61 00 1E */ sth r3, 0x1e(r1)
/* 802C42F8 002C1258 93 C1 00 20 */ stw r30, 0x20(r1)
/* 802C42FC 002C125C 98 A1 00 3C */ stb r5, 0x3c(r1)
/* 802C4300 002C1260 98 81 00 3D */ stb r4, 0x3d(r1)
/* 802C4304 002C1264 B0 01 00 3E */ sth r0, 0x3e(r1)
/* 802C4308 002C1268 93 C1 00 40 */ stw r30, 0x40(r1)
/* 802C430C 002C126C 48 00 00 E0 */ b lbl_802C43EC
lbl_802C4310:
/* 802C4310 002C1270 88 1A 00 B6 */ lbz r0, 0xb6(r26)
/* 802C4314 002C1274 38 A0 00 05 */ li r5, 5
/* 802C4318 002C1278 38 60 00 03 */ li r3, 3
/* 802C431C 002C127C 38 80 00 00 */ li r4, 0
/* 802C4320 002C1280 54 06 07 FE */ clrlwi r6, r0, 0x1f
/* 802C4324 002C1284 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f
/* 802C4328 002C1288 50 66 04 3A */ rlwimi r6, r3, 0, 0x10, 0x1d
/* 802C432C 002C128C 98 A1 00 14 */ stb r5, 0x14(r1)
/* 802C4330 002C1290 54 C0 04 3E */ clrlwi r0, r6, 0x10
/* 802C4334 002C1294 98 81 00 15 */ stb r4, 0x15(r1)
/* 802C4338 002C1298 B0 61 00 16 */ sth r3, 0x16(r1)
/* 802C433C 002C129C 93 C1 00 18 */ stw r30, 0x18(r1)
/* 802C4340 002C12A0 98 A1 00 3C */ stb r5, 0x3c(r1)
/* 802C4344 002C12A4 98 81 00 3D */ stb r4, 0x3d(r1)
/* 802C4348 002C12A8 B0 C1 00 3E */ sth r6, 0x3e(r1)
/* 802C434C 002C12AC 93 C1 00 40 */ stw r30, 0x40(r1)
/* 802C4350 002C12B0 41 82 00 18 */ beq lbl_802C4368
/* 802C4354 002C12B4 60 00 00 08 */ ori r0, r0, 8
/* 802C4358 002C12B8 98 A1 00 3C */ stb r5, 0x3c(r1)
/* 802C435C 002C12BC 98 81 00 3D */ stb r4, 0x3d(r1)
/* 802C4360 002C12C0 B0 01 00 3E */ sth r0, 0x3e(r1)
/* 802C4364 002C12C4 93 C1 00 40 */ stw r30, 0x40(r1)
lbl_802C4368:
/* 802C4368 002C12C8 7F A3 EB 78 */ mr r3, r29
/* 802C436C 002C12CC 38 81 00 3C */ addi r4, r1, 0x3c
/* 802C4370 002C12D0 48 09 18 65 */ bl Draw__6CModelCFRC11CModelFlags
/* 802C4374 002C12D4 88 1A 00 B7 */ lbz r0, 0xb7(r26)
/* 802C4378 002C12D8 38 C0 00 08 */ li r6, 8
/* 802C437C 002C12DC 38 80 00 03 */ li r4, 3
/* 802C4380 002C12E0 88 FA 00 B6 */ lbz r7, 0xb6(r26)
/* 802C4384 002C12E4 54 03 D7 BC */ rlwinm r3, r0, 0x1a, 0x1e, 0x1e
/* 802C4388 002C12E8 38 A0 00 00 */ li r5, 0
/* 802C438C 002C12EC 50 E3 07 FE */ rlwimi r3, r7, 0, 0x1f, 0x1f
/* 802C4390 002C12F0 54 E0 FF FF */ rlwinm. r0, r7, 0x1f, 0x1f, 0x1f
/* 802C4394 002C12F4 50 83 04 3A */ rlwimi r3, r4, 0, 0x10, 0x1d
/* 802C4398 002C12F8 98 C1 00 0C */ stb r6, 0xc(r1)
/* 802C439C 002C12FC 54 60 04 3E */ clrlwi r0, r3, 0x10
/* 802C43A0 002C1300 98 A1 00 0D */ stb r5, 0xd(r1)
/* 802C43A4 002C1304 B0 81 00 0E */ sth r4, 0xe(r1)
/* 802C43A8 002C1308 93 C1 00 10 */ stw r30, 0x10(r1)
/* 802C43AC 002C130C 98 C1 00 3C */ stb r6, 0x3c(r1)
/* 802C43B0 002C1310 98 A1 00 3D */ stb r5, 0x3d(r1)
/* 802C43B4 002C1314 B0 61 00 3E */ sth r3, 0x3e(r1)
/* 802C43B8 002C1318 93 C1 00 40 */ stw r30, 0x40(r1)
/* 802C43BC 002C131C 41 82 00 18 */ beq lbl_802C43D4
/* 802C43C0 002C1320 60 00 00 08 */ ori r0, r0, 8
/* 802C43C4 002C1324 98 C1 00 3C */ stb r6, 0x3c(r1)
/* 802C43C8 002C1328 98 A1 00 3D */ stb r5, 0x3d(r1)
/* 802C43CC 002C132C B0 01 00 3E */ sth r0, 0x3e(r1)
/* 802C43D0 002C1330 93 C1 00 40 */ stw r30, 0x40(r1)
lbl_802C43D4:
/* 802C43D4 002C1334 7F A3 EB 78 */ mr r3, r29
/* 802C43D8 002C1338 38 81 00 3C */ addi r4, r1, 0x3c
/* 802C43DC 002C133C 48 09 17 F9 */ bl Draw__6CModelCFRC11CModelFlags
/* 802C43E0 002C1340 3B 80 00 00 */ li r28, 0
/* 802C43E4 002C1344 48 00 00 08 */ b lbl_802C43EC
lbl_802C43E8:
/* 802C43E8 002C1348 3B 80 00 00 */ li r28, 0
lbl_802C43EC:
/* 802C43EC 002C134C 57 80 06 3F */ clrlwi. r0, r28, 0x18
/* 802C43F0 002C1350 41 82 00 38 */ beq lbl_802C4428
/* 802C43F4 002C1354 88 1A 00 B6 */ lbz r0, 0xb6(r26)
/* 802C43F8 002C1358 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f
/* 802C43FC 002C135C 41 82 00 20 */ beq lbl_802C441C
/* 802C4400 002C1360 A0 61 00 3E */ lhz r3, 0x3e(r1)
/* 802C4404 002C1364 88 81 00 3D */ lbz r4, 0x3d(r1)
/* 802C4408 002C1368 80 A1 00 40 */ lwz r5, 0x40(r1)
/* 802C440C 002C136C 60 63 00 08 */ ori r3, r3, 8
/* 802C4410 002C1370 98 81 00 3D */ stb r4, 0x3d(r1)
/* 802C4414 002C1374 B0 61 00 3E */ sth r3, 0x3e(r1)
/* 802C4418 002C1378 90 A1 00 40 */ stw r5, 0x40(r1)
lbl_802C441C:
/* 802C441C 002C137C 7F A3 EB 78 */ mr r3, r29
/* 802C4420 002C1380 38 81 00 3C */ addi r4, r1, 0x3c
/* 802C4424 002C1384 48 09 17 B1 */ bl Draw__6CModelCFRC11CModelFlags
lbl_802C4428:
/* 802C4428 002C1388 28 1F 00 00 */ cmplwi r31, 0
/* 802C442C 002C138C 41 82 00 0C */ beq lbl_802C4438
/* 802C4430 002C1390 38 60 00 00 */ li r3, 0
/* 802C4434 002C1394 48 04 76 3D */ bl SetCullMode__9CGraphicsF12ERglCullMode
lbl_802C4438:
/* 802C4438 002C1398 80 7A 00 B0 */ lwz r3, 0xb0(r26)
/* 802C443C 002C139C 4B FF E0 BD */ bl DisableLights__9CGuiFrameCFv
lbl_802C4440:
/* 802C4440 002C13A0 7F 43 D3 78 */ mr r3, r26
/* 802C4444 002C13A4 7F 64 DB 78 */ mr r4, r27
/* 802C4448 002C13A8 48 00 66 19 */ bl Draw__10CGuiWidgetCFRC19CGuiWidgetDrawParms
lbl_802C444C:
/* 802C444C 002C13AC E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0
/* 802C4450 002C13B0 CB E1 00 70 */ lfd f31, 0x70(r1)
/* 802C4454 002C13B4 BB 41 00 58 */ lmw r26, 0x58(r1)
/* 802C4458 002C13B8 80 01 00 84 */ lwz r0, 0x84(r1)
/* 802C445C 002C13BC 7C 08 03 A6 */ mtlr r0
/* 802C4460 002C13C0 38 21 00 80 */ addi r1, r1, 0x80
/* 802C4464 002C13C4 4E 80 00 20 */ blr
.global __dt__9CGuiModelFv
__dt__9CGuiModelFv:
/* 802C4468 002C13C8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802C446C 002C13CC 7C 08 02 A6 */ mflr r0
/* 802C4470 002C13D0 90 01 00 14 */ stw r0, 0x14(r1)
/* 802C4474 002C13D4 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802C4478 002C13D8 7C 9F 23 78 */ mr r31, r4
/* 802C447C 002C13DC 93 C1 00 08 */ stw r30, 8(r1)
/* 802C4480 002C13E0 7C 7E 1B 79 */ or. r30, r3, r3
/* 802C4484 002C13E4 41 82 00 60 */ beq lbl_802C44E4
/* 802C4488 002C13E8 3C 60 80 3F */ lis r3, lbl_803EC888@ha
/* 802C448C 002C13EC 34 1E 00 B8 */ addic. r0, r30, 0xb8
/* 802C4490 002C13F0 38 03 C8 88 */ addi r0, r3, lbl_803EC888@l
/* 802C4494 002C13F4 90 1E 00 00 */ stw r0, 0(r30)
/* 802C4498 002C13F8 41 82 00 30 */ beq lbl_802C44C8
/* 802C449C 002C13FC 88 1E 00 C4 */ lbz r0, 0xc4(r30)
/* 802C44A0 002C1400 28 00 00 00 */ cmplwi r0, 0
/* 802C44A4 002C1404 41 82 00 1C */ beq lbl_802C44C0
/* 802C44A8 002C1408 34 7E 00 B8 */ addic. r3, r30, 0xb8
/* 802C44AC 002C140C 41 82 00 14 */ beq lbl_802C44C0
/* 802C44B0 002C1410 28 03 00 00 */ cmplwi r3, 0
/* 802C44B4 002C1414 41 82 00 0C */ beq lbl_802C44C0
/* 802C44B8 002C1418 38 80 00 00 */ li r4, 0
/* 802C44BC 002C141C 48 07 C9 85 */ bl __dt__6CTokenFv
lbl_802C44C0:
/* 802C44C0 002C1420 38 00 00 00 */ li r0, 0
/* 802C44C4 002C1424 98 1E 00 C4 */ stb r0, 0xc4(r30)
lbl_802C44C8:
/* 802C44C8 002C1428 7F C3 F3 78 */ mr r3, r30
/* 802C44CC 002C142C 38 80 00 00 */ li r4, 0
/* 802C44D0 002C1430 48 00 66 E5 */ bl __dt__10CGuiWidgetFv
/* 802C44D4 002C1434 7F E0 07 35 */ extsh. r0, r31
/* 802C44D8 002C1438 40 81 00 0C */ ble lbl_802C44E4
/* 802C44DC 002C143C 7F C3 F3 78 */ mr r3, r30
/* 802C44E0 002C1440 48 05 14 51 */ bl Free__7CMemoryFPCv
lbl_802C44E4:
/* 802C44E4 002C1444 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802C44E8 002C1448 7F C3 F3 78 */ mr r3, r30
/* 802C44EC 002C144C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802C44F0 002C1450 83 C1 00 08 */ lwz r30, 8(r1)
/* 802C44F4 002C1454 7C 08 03 A6 */ mtlr r0
/* 802C44F8 002C1458 38 21 00 10 */ addi r1, r1, 0x10
/* 802C44FC 002C145C 4E 80 00 20 */ blr
.global __ct__9CGuiModelFRCQ210CGuiWidget15CGuiWidgetParmsUiUib
__ct__9CGuiModelFRCQ210CGuiWidget15CGuiWidgetParmsUiUib:
/* 802C4500 002C1460 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 802C4504 002C1464 7C 08 02 A6 */ mflr r0
/* 802C4508 002C1468 90 01 00 44 */ stw r0, 0x44(r1)
/* 802C450C 002C146C BF 61 00 2C */ stmw r27, 0x2c(r1)
/* 802C4510 002C1470 7C 7F 1B 78 */ mr r31, r3
/* 802C4514 002C1474 7C BB 2B 78 */ mr r27, r5
/* 802C4518 002C1478 7C DC 33 78 */ mr r28, r6
/* 802C451C 002C147C 7C FD 3B 78 */ mr r29, r7
/* 802C4520 002C1480 7D 1E 43 78 */ mr r30, r8
/* 802C4524 002C1484 48 00 67 01 */ bl __ct__10CGuiWidgetFRCQ210CGuiWidget15CGuiWidgetParms
/* 802C4528 002C1488 3C 60 80 3F */ lis r3, lbl_803EC888@ha
/* 802C452C 002C148C 57 C0 06 3F */ clrlwi. r0, r30, 0x18
/* 802C4530 002C1490 38 83 C8 88 */ addi r4, r3, lbl_803EC888@l
/* 802C4534 002C1494 90 9F 00 00 */ stw r4, 0(r31)
/* 802C4538 002C1498 38 60 00 00 */ li r3, 0
/* 802C453C 002C149C 98 7F 00 C4 */ stb r3, 0xc4(r31)
/* 802C4540 002C14A0 93 9F 00 C8 */ stw r28, 0xc8(r31)
/* 802C4544 002C14A4 93 BF 00 CC */ stw r29, 0xcc(r31)
/* 802C4548 002C14A8 80 8D A6 40 */ lwz r4, lbl_805A9200@sda21(r13)
/* 802C454C 002C14AC 41 82 00 CC */ beq lbl_802C4618
/* 802C4550 002C14B0 80 7F 00 C8 */ lwz r3, 0xc8(r31)
/* 802C4554 002C14B4 3C 03 00 01 */ addis r0, r3, 1
/* 802C4558 002C14B8 28 00 FF FF */ cmplwi r0, 0xffff
/* 802C455C 002C14BC 41 82 00 BC */ beq lbl_802C4618
/* 802C4560 002C14C0 80 04 00 08 */ lwz r0, 8(r4)
/* 802C4564 002C14C4 2C 00 00 02 */ cmpwi r0, 2
/* 802C4568 002C14C8 41 82 00 B0 */ beq lbl_802C4618
/* 802C456C 002C14CC 3C 60 43 4D */ lis r3, 0x434D444C@ha
/* 802C4570 002C14D0 93 81 00 14 */ stw r28, 0x14(r1)
/* 802C4574 002C14D4 38 03 44 4C */ addi r0, r3, 0x434D444C@l
/* 802C4578 002C14D8 7F 64 DB 78 */ mr r4, r27
/* 802C457C 002C14DC 90 01 00 10 */ stw r0, 0x10(r1)
/* 802C4580 002C14E0 38 61 00 08 */ addi r3, r1, 8
/* 802C4584 002C14E4 38 A1 00 10 */ addi r5, r1, 0x10
/* 802C4588 002C14E8 81 9B 00 00 */ lwz r12, 0(r27)
/* 802C458C 002C14EC 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 802C4590 002C14F0 7D 89 03 A6 */ mtctr r12
/* 802C4594 002C14F4 4E 80 04 21 */ bctrl
/* 802C4598 002C14F8 38 61 00 18 */ addi r3, r1, 0x18
/* 802C459C 002C14FC 38 81 00 08 */ addi r4, r1, 8
/* 802C45A0 002C1500 48 07 C9 09 */ bl __ct__6CTokenFRC6CToken
/* 802C45A4 002C1504 38 00 00 00 */ li r0, 0
/* 802C45A8 002C1508 90 01 00 20 */ stw r0, 0x20(r1)
/* 802C45AC 002C150C 88 1F 00 C4 */ lbz r0, 0xc4(r31)
/* 802C45B0 002C1510 28 00 00 00 */ cmplwi r0, 0
/* 802C45B4 002C1514 40 82 00 2C */ bne lbl_802C45E0
/* 802C45B8 002C1518 37 DF 00 B8 */ addic. r30, r31, 0xb8
/* 802C45BC 002C151C 41 82 00 18 */ beq lbl_802C45D4
/* 802C45C0 002C1520 7F C3 F3 78 */ mr r3, r30
/* 802C45C4 002C1524 38 81 00 18 */ addi r4, r1, 0x18
/* 802C45C8 002C1528 48 07 C8 E1 */ bl __ct__6CTokenFRC6CToken
/* 802C45CC 002C152C 80 01 00 20 */ lwz r0, 0x20(r1)
/* 802C45D0 002C1530 90 1E 00 08 */ stw r0, 8(r30)
lbl_802C45D4:
/* 802C45D4 002C1534 38 00 00 01 */ li r0, 1
/* 802C45D8 002C1538 98 1F 00 C4 */ stb r0, 0xc4(r31)
/* 802C45DC 002C153C 48 00 00 1C */ b lbl_802C45F8
lbl_802C45E0:
/* 802C45E0 002C1540 3B DF 00 B8 */ addi r30, r31, 0xb8
/* 802C45E4 002C1544 38 81 00 18 */ addi r4, r1, 0x18
/* 802C45E8 002C1548 7F C3 F3 78 */ mr r3, r30
/* 802C45EC 002C154C 48 07 C6 D9 */ bl __as__6CTokenFRC6CToken
/* 802C45F0 002C1550 80 01 00 20 */ lwz r0, 0x20(r1)
/* 802C45F4 002C1554 90 1E 00 08 */ stw r0, 8(r30)
lbl_802C45F8:
/* 802C45F8 002C1558 38 61 00 18 */ addi r3, r1, 0x18
/* 802C45FC 002C155C 38 80 00 00 */ li r4, 0
/* 802C4600 002C1560 48 07 C8 41 */ bl __dt__6CTokenFv
/* 802C4604 002C1564 38 61 00 08 */ addi r3, r1, 8
/* 802C4608 002C1568 38 80 FF FF */ li r4, -1
/* 802C460C 002C156C 48 07 C8 35 */ bl __dt__6CTokenFv
/* 802C4610 002C1570 38 7F 00 B8 */ addi r3, r31, 0xb8
/* 802C4614 002C1574 48 07 C7 71 */ bl Lock__6CTokenFv
lbl_802C4618:
/* 802C4618 002C1578 7F E3 FB 78 */ mr r3, r31
/* 802C461C 002C157C BB 61 00 2C */ lmw r27, 0x2c(r1)
/* 802C4620 002C1580 80 01 00 44 */ lwz r0, 0x44(r1)
/* 802C4624 002C1584 7C 08 03 A6 */ mtlr r0
/* 802C4628 002C1588 38 21 00 40 */ addi r1, r1, 0x40
/* 802C462C 002C158C 4E 80 00 20 */ blr
.global Create__9CGuiModelFP9CGuiFrameR12CInputStreamb
Create__9CGuiModelFP9CGuiFrameR12CInputStreamb:
/* 802C4630 002C1590 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 802C4634 002C1594 7C 08 02 A6 */ mflr r0
/* 802C4638 002C1598 90 01 00 54 */ stw r0, 0x54(r1)
/* 802C463C 002C159C BF 41 00 38 */ stmw r26, 0x38(r1)
/* 802C4640 002C15A0 7C 7D 1B 78 */ mr r29, r3
/* 802C4644 002C15A4 7C 9E 23 78 */ mr r30, r4
/* 802C4648 002C15A8 7C BF 2B 78 */ mr r31, r5
/* 802C464C 002C15AC 38 61 00 08 */ addi r3, r1, 8
/* 802C4650 002C15B0 7F A4 EB 78 */ mr r4, r29
/* 802C4654 002C15B4 7F C5 F3 78 */ mr r5, r30
/* 802C4658 002C15B8 48 00 66 F9 */ bl ReadWidgetHeader__10CGuiWidgetFP9CGuiFrameR12CInputStreamb
/* 802C465C 002C15BC 83 81 00 08 */ lwz r28, 8(r1)
/* 802C4660 002C15C0 7F C3 F3 78 */ mr r3, r30
/* 802C4664 002C15C4 89 81 00 0C */ lbz r12, 0xc(r1)
/* 802C4668 002C15C8 A9 61 00 0E */ lha r11, 0xe(r1)
/* 802C466C 002C15CC A9 41 00 10 */ lha r10, 0x10(r1)
/* 802C4670 002C15D0 89 21 00 12 */ lbz r9, 0x12(r1)
/* 802C4674 002C15D4 89 01 00 13 */ lbz r8, 0x13(r1)
/* 802C4678 002C15D8 88 E1 00 14 */ lbz r7, 0x14(r1)
/* 802C467C 002C15DC 88 C1 00 15 */ lbz r6, 0x15(r1)
/* 802C4680 002C15E0 88 A1 00 16 */ lbz r5, 0x16(r1)
/* 802C4684 002C15E4 80 81 00 18 */ lwz r4, 0x18(r1)
/* 802C4688 002C15E8 80 01 00 1C */ lwz r0, 0x1c(r1)
/* 802C468C 002C15EC 93 81 00 20 */ stw r28, 0x20(r1)
/* 802C4690 002C15F0 99 81 00 24 */ stb r12, 0x24(r1)
/* 802C4694 002C15F4 B1 61 00 26 */ sth r11, 0x26(r1)
/* 802C4698 002C15F8 B1 41 00 28 */ sth r10, 0x28(r1)
/* 802C469C 002C15FC 99 21 00 2A */ stb r9, 0x2a(r1)
/* 802C46A0 002C1600 99 01 00 2B */ stb r8, 0x2b(r1)
/* 802C46A4 002C1604 98 E1 00 2C */ stb r7, 0x2c(r1)
/* 802C46A8 002C1608 98 C1 00 2D */ stb r6, 0x2d(r1)
/* 802C46AC 002C160C 98 A1 00 2E */ stb r5, 0x2e(r1)
/* 802C46B0 002C1610 90 81 00 30 */ stw r4, 0x30(r1)
/* 802C46B4 002C1614 90 01 00 34 */ stw r0, 0x34(r1)
/* 802C46B8 002C1618 48 07 A5 CD */ bl ReadLong__12CInputStreamFv
/* 802C46BC 002C161C 7C 7C 1B 78 */ mr r28, r3
/* 802C46C0 002C1620 7F C3 F3 78 */ mr r3, r30
/* 802C46C4 002C1624 48 07 A5 C1 */ bl ReadLong__12CInputStreamFv
/* 802C46C8 002C1628 7F C3 F3 78 */ mr r3, r30
/* 802C46CC 002C162C 48 07 A5 B9 */ bl ReadLong__12CInputStreamFv
/* 802C46D0 002C1630 3C 80 80 3D */ lis r4, lbl_803D68B0@ha
/* 802C46D4 002C1634 7C 7B 1B 78 */ mr r27, r3
/* 802C46D8 002C1638 38 84 68 B0 */ addi r4, r4, lbl_803D68B0@l
/* 802C46DC 002C163C 38 60 00 D0 */ li r3, 0xd0
/* 802C46E0 002C1640 38 A0 00 00 */ li r5, 0
/* 802C46E4 002C1644 48 05 11 89 */ bl __nw__FUlPCcPCc
/* 802C46E8 002C1648 7C 7A 1B 79 */ or. r26, r3, r3
/* 802C46EC 002C164C 41 82 00 20 */ beq lbl_802C470C
/* 802C46F0 002C1650 7F E5 FB 78 */ mr r5, r31
/* 802C46F4 002C1654 7F 86 E3 78 */ mr r6, r28
/* 802C46F8 002C1658 7F 67 DB 78 */ mr r7, r27
/* 802C46FC 002C165C 38 81 00 20 */ addi r4, r1, 0x20
/* 802C4700 002C1660 39 00 00 01 */ li r8, 1
/* 802C4704 002C1664 4B FF FD FD */ bl __ct__9CGuiModelFRCQ210CGuiWidget15CGuiWidgetParmsUiUib
/* 802C4708 002C1668 7C 7A 1B 78 */ mr r26, r3
lbl_802C470C:
/* 802C470C 002C166C 7F 43 D3 78 */ mr r3, r26
/* 802C4710 002C1670 7F A4 EB 78 */ mr r4, r29
/* 802C4714 002C1674 7F C5 F3 78 */ mr r5, r30
/* 802C4718 002C1678 38 C1 00 20 */ addi r6, r1, 0x20
/* 802C471C 002C167C 48 00 63 6D */ bl ParseBaseInfo__10CGuiWidgetFP9CGuiFrameR12CInputStreamRCQ210CGuiWidget15CGuiWidgetParms
/* 802C4720 002C1680 7F 43 D3 78 */ mr r3, r26
/* 802C4724 002C1684 BB 41 00 38 */ lmw r26, 0x38(r1)
/* 802C4728 002C1688 80 01 00 54 */ lwz r0, 0x54(r1)
/* 802C472C 002C168C 7C 08 03 A6 */ mtlr r0
/* 802C4730 002C1690 38 21 00 50 */ addi r1, r1, 0x50
/* 802C4734 002C1694 4E 80 00 20 */ blr

1001
asm/GuiSys/CGuiObject.s Normal file

File diff suppressed because it is too large Load Diff

469
asm/GuiSys/CGuiPane.s Normal file
View File

@ -0,0 +1,469 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global GetWidgetTypeID__8CGuiPaneCFv
GetWidgetTypeID__8CGuiPaneCFv:
/* 802C54E4 002C2444 3C 60 50 41 */ lis r3, 0x50414E45@ha
/* 802C54E8 002C2448 38 63 4E 45 */ addi r3, r3, 0x50414E45@l
/* 802C54EC 002C244C 4E 80 00 20 */ blr
.global GetDimensions__8CGuiPaneCFv
GetDimensions__8CGuiPaneCFv:
/* 802C54F0 002C2450 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802C54F4 002C2454 7C 08 02 A6 */ mflr r0
/* 802C54F8 002C2458 90 01 00 14 */ stw r0, 0x14(r1)
/* 802C54FC 002C245C C0 24 00 B8 */ lfs f1, 0xb8(r4)
/* 802C5500 002C2460 C0 44 00 BC */ lfs f2, 0xbc(r4)
/* 802C5504 002C2464 48 04 EC FD */ bl __ct__9CVector2fFff
/* 802C5508 002C2468 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802C550C 002C246C 7C 08 03 A6 */ mtlr r0
/* 802C5510 002C2470 38 21 00 10 */ addi r1, r1, 0x10
/* 802C5514 002C2474 4E 80 00 20 */ blr
.global SetDimensions__8CGuiPaneFRC9CVector2fb
SetDimensions__8CGuiPaneFRC9CVector2fb:
/* 802C5518 002C2478 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802C551C 002C247C 7C 08 02 A6 */ mflr r0
/* 802C5520 002C2480 90 01 00 14 */ stw r0, 0x14(r1)
/* 802C5524 002C2484 54 A0 06 3F */ clrlwi. r0, r5, 0x18
/* 802C5528 002C2488 C0 04 00 00 */ lfs f0, 0(r4)
/* 802C552C 002C248C D0 03 00 B8 */ stfs f0, 0xb8(r3)
/* 802C5530 002C2490 C0 04 00 04 */ lfs f0, 4(r4)
/* 802C5534 002C2494 D0 03 00 BC */ stfs f0, 0xbc(r3)
/* 802C5538 002C2498 41 82 00 14 */ beq lbl_802C554C
/* 802C553C 002C249C 81 83 00 00 */ lwz r12, 0(r3)
/* 802C5540 002C24A0 81 8C 00 48 */ lwz r12, 0x48(r12)
/* 802C5544 002C24A4 7D 89 03 A6 */ mtctr r12
/* 802C5548 002C24A8 4E 80 04 21 */ bctrl
lbl_802C554C:
/* 802C554C 002C24AC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802C5550 002C24B0 7C 08 03 A6 */ mtlr r0
/* 802C5554 002C24B4 38 21 00 10 */ addi r1, r1, 0x10
/* 802C5558 002C24B8 4E 80 00 20 */ blr
.global InitializeBuffers__8CGuiPaneFv
InitializeBuffers__8CGuiPaneFv:
/* 802C555C 002C24BC 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802C5560 002C24C0 7C 08 02 A6 */ mflr r0
/* 802C5564 002C24C4 90 01 00 14 */ stw r0, 0x14(r1)
/* 802C5568 002C24C8 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802C556C 002C24CC 7C 7F 1B 78 */ mr r31, r3
/* 802C5570 002C24D0 80 03 00 C0 */ lwz r0, 0xc0(r3)
/* 802C5574 002C24D4 28 00 00 00 */ cmplwi r0, 0
/* 802C5578 002C24D8 40 82 00 24 */ bne lbl_802C559C
/* 802C557C 002C24DC 80 1F 00 C4 */ lwz r0, 0xc4(r31)
/* 802C5580 002C24E0 3C 60 80 3D */ lis r3, lbl_803D68B8@ha
/* 802C5584 002C24E4 38 83 68 B8 */ addi r4, r3, lbl_803D68B8@l
/* 802C5588 002C24E8 38 A0 00 00 */ li r5, 0
/* 802C558C 002C24EC 1C 00 00 03 */ mulli r0, r0, 3
/* 802C5590 002C24F0 54 03 10 3A */ slwi r3, r0, 2
/* 802C5594 002C24F4 48 05 02 85 */ bl __nwa__FUlPCcPCc
/* 802C5598 002C24F8 90 7F 00 C0 */ stw r3, 0xc0(r31)
lbl_802C559C:
/* 802C559C 002C24FC C0 1F 00 B8 */ lfs f0, 0xb8(r31)
/* 802C55A0 002C2500 C0 42 C3 A0 */ lfs f2, lbl_805AE0C0@sda21(r2)
/* 802C55A4 002C2504 FC 00 00 50 */ fneg f0, f0
/* 802C55A8 002C2508 80 7F 00 C0 */ lwz r3, 0xc0(r31)
/* 802C55AC 002C250C C0 22 C3 A4 */ lfs f1, lbl_805AE0C4@sda21(r2)
/* 802C55B0 002C2510 EC 00 00 B2 */ fmuls f0, f0, f2
/* 802C55B4 002C2514 D0 03 00 00 */ stfs f0, 0(r3)
/* 802C55B8 002C2518 80 7F 00 C0 */ lwz r3, 0xc0(r31)
/* 802C55BC 002C251C D0 23 00 04 */ stfs f1, 4(r3)
/* 802C55C0 002C2520 C0 1F 00 BC */ lfs f0, 0xbc(r31)
/* 802C55C4 002C2524 80 7F 00 C0 */ lwz r3, 0xc0(r31)
/* 802C55C8 002C2528 EC 00 00 B2 */ fmuls f0, f0, f2
/* 802C55CC 002C252C D0 03 00 08 */ stfs f0, 8(r3)
/* 802C55D0 002C2530 C0 1F 00 B8 */ lfs f0, 0xb8(r31)
/* 802C55D4 002C2534 80 7F 00 C0 */ lwz r3, 0xc0(r31)
/* 802C55D8 002C2538 FC 00 00 50 */ fneg f0, f0
/* 802C55DC 002C253C EC 00 00 B2 */ fmuls f0, f0, f2
/* 802C55E0 002C2540 D0 03 00 0C */ stfs f0, 0xc(r3)
/* 802C55E4 002C2544 80 7F 00 C0 */ lwz r3, 0xc0(r31)
/* 802C55E8 002C2548 D0 23 00 10 */ stfs f1, 0x10(r3)
/* 802C55EC 002C254C C0 1F 00 BC */ lfs f0, 0xbc(r31)
/* 802C55F0 002C2550 80 7F 00 C0 */ lwz r3, 0xc0(r31)
/* 802C55F4 002C2554 FC 00 00 50 */ fneg f0, f0
/* 802C55F8 002C2558 EC 00 00 B2 */ fmuls f0, f0, f2
/* 802C55FC 002C255C D0 03 00 14 */ stfs f0, 0x14(r3)
/* 802C5600 002C2560 C0 1F 00 B8 */ lfs f0, 0xb8(r31)
/* 802C5604 002C2564 80 7F 00 C0 */ lwz r3, 0xc0(r31)
/* 802C5608 002C2568 EC 00 00 B2 */ fmuls f0, f0, f2
/* 802C560C 002C256C D0 03 00 18 */ stfs f0, 0x18(r3)
/* 802C5610 002C2570 80 7F 00 C0 */ lwz r3, 0xc0(r31)
/* 802C5614 002C2574 D0 23 00 1C */ stfs f1, 0x1c(r3)
/* 802C5618 002C2578 C0 1F 00 BC */ lfs f0, 0xbc(r31)
/* 802C561C 002C257C 80 7F 00 C0 */ lwz r3, 0xc0(r31)
/* 802C5620 002C2580 EC 00 00 B2 */ fmuls f0, f0, f2
/* 802C5624 002C2584 D0 03 00 20 */ stfs f0, 0x20(r3)
/* 802C5628 002C2588 C0 1F 00 B8 */ lfs f0, 0xb8(r31)
/* 802C562C 002C258C 80 7F 00 C0 */ lwz r3, 0xc0(r31)
/* 802C5630 002C2590 EC 00 00 B2 */ fmuls f0, f0, f2
/* 802C5634 002C2594 D0 03 00 24 */ stfs f0, 0x24(r3)
/* 802C5638 002C2598 80 7F 00 C0 */ lwz r3, 0xc0(r31)
/* 802C563C 002C259C D0 23 00 28 */ stfs f1, 0x28(r3)
/* 802C5640 002C25A0 C0 1F 00 BC */ lfs f0, 0xbc(r31)
/* 802C5644 002C25A4 80 7F 00 C0 */ lwz r3, 0xc0(r31)
/* 802C5648 002C25A8 FC 00 00 50 */ fneg f0, f0
/* 802C564C 002C25AC EC 00 00 B2 */ fmuls f0, f0, f2
/* 802C5650 002C25B0 D0 03 00 2C */ stfs f0, 0x2c(r3)
/* 802C5654 002C25B4 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802C5658 002C25B8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802C565C 002C25BC 7C 08 03 A6 */ mtlr r0
/* 802C5660 002C25C0 38 21 00 10 */ addi r1, r1, 0x10
/* 802C5664 002C25C4 4E 80 00 20 */ blr
.global ScaleDimensions__8CGuiPaneFRC9CVector3f
ScaleDimensions__8CGuiPaneFRC9CVector3f:
/* 802C5668 002C25C8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802C566C 002C25CC 7C 08 02 A6 */ mflr r0
/* 802C5670 002C25D0 90 01 00 14 */ stw r0, 0x14(r1)
/* 802C5674 002C25D4 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802C5678 002C25D8 7C 9F 23 78 */ mr r31, r4
/* 802C567C 002C25DC 93 C1 00 08 */ stw r30, 8(r1)
/* 802C5680 002C25E0 7C 7E 1B 78 */ mr r30, r3
/* 802C5684 002C25E4 81 83 00 00 */ lwz r12, 0(r3)
/* 802C5688 002C25E8 81 8C 00 48 */ lwz r12, 0x48(r12)
/* 802C568C 002C25EC 7D 89 03 A6 */ mtctr r12
/* 802C5690 002C25F0 4E 80 04 21 */ bctrl
/* 802C5694 002C25F4 3C 60 55 55 */ lis r3, 0x55555556@ha
/* 802C5698 002C25F8 38 DE 00 C8 */ addi r6, r30, 0xc8
/* 802C569C 002C25FC 38 83 55 56 */ addi r4, r3, 0x55555556@l
/* 802C56A0 002C2600 39 00 00 00 */ li r8, 0
/* 802C56A4 002C2604 38 E0 00 00 */ li r7, 0
/* 802C56A8 002C2608 48 00 00 54 */ b lbl_802C56FC
lbl_802C56AC:
/* 802C56AC 002C260C 7C A4 40 96 */ mulhw r5, r4, r8
/* 802C56B0 002C2610 80 7E 00 C0 */ lwz r3, 0xc0(r30)
/* 802C56B4 002C2614 7C 43 3C 2E */ lfsx f2, r3, r7
/* 802C56B8 002C2618 54 A0 0F FE */ srwi r0, r5, 0x1f
/* 802C56BC 002C261C 7C 05 02 14 */ add r0, r5, r0
/* 802C56C0 002C2620 1C 00 00 03 */ mulli r0, r0, 3
/* 802C56C4 002C2624 7C 00 40 50 */ subf r0, r0, r8
/* 802C56C8 002C2628 39 08 00 01 */ addi r8, r8, 1
/* 802C56CC 002C262C 54 00 10 3A */ slwi r0, r0, 2
/* 802C56D0 002C2630 7C 26 04 2E */ lfsx f1, r6, r0
/* 802C56D4 002C2634 7C 1F 04 2E */ lfsx f0, r31, r0
/* 802C56D8 002C2638 EC 22 08 28 */ fsubs f1, f2, f1
/* 802C56DC 002C263C EC 01 00 32 */ fmuls f0, f1, f0
/* 802C56E0 002C2640 7C 03 3D 2E */ stfsx f0, r3, r7
/* 802C56E4 002C2644 80 7E 00 C0 */ lwz r3, 0xc0(r30)
/* 802C56E8 002C2648 7C 06 04 2E */ lfsx f0, r6, r0
/* 802C56EC 002C264C 7C 23 3C 2E */ lfsx f1, r3, r7
/* 802C56F0 002C2650 EC 01 00 2A */ fadds f0, f1, f0
/* 802C56F4 002C2654 7C 03 3D 2E */ stfsx f0, r3, r7
/* 802C56F8 002C2658 38 E7 00 04 */ addi r7, r7, 4
lbl_802C56FC:
/* 802C56FC 002C265C 80 1E 00 C4 */ lwz r0, 0xc4(r30)
/* 802C5700 002C2660 1C 00 00 03 */ mulli r0, r0, 3
/* 802C5704 002C2664 7C 08 00 00 */ cmpw r8, r0
/* 802C5708 002C2668 41 80 FF A4 */ blt lbl_802C56AC
/* 802C570C 002C266C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802C5710 002C2670 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802C5714 002C2674 83 C1 00 08 */ lwz r30, 8(r1)
/* 802C5718 002C2678 7C 08 03 A6 */ mtlr r0
/* 802C571C 002C267C 38 21 00 10 */ addi r1, r1, 0x10
/* 802C5720 002C2680 4E 80 00 20 */ blr
.global Draw__8CGuiPaneCFRC19CGuiWidgetDrawParms
Draw__8CGuiPaneCFRC19CGuiWidgetDrawParms:
/* 802C5724 002C2684 94 21 FF 60 */ stwu r1, -0xa0(r1)
/* 802C5728 002C2688 7C 08 02 A6 */ mflr r0
/* 802C572C 002C268C 90 01 00 A4 */ stw r0, 0xa4(r1)
/* 802C5730 002C2690 DB E1 00 90 */ stfd f31, 0x90(r1)
/* 802C5734 002C2694 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0
/* 802C5738 002C2698 93 E1 00 8C */ stw r31, 0x8c(r1)
/* 802C573C 002C269C 93 C1 00 88 */ stw r30, 0x88(r1)
/* 802C5740 002C26A0 7C 7E 1B 78 */ mr r30, r3
/* 802C5744 002C26A4 7C 9F 23 78 */ mr r31, r4
/* 802C5748 002C26A8 38 61 00 1C */ addi r3, r1, 0x1c
/* 802C574C 002C26AC 38 9E 00 C8 */ addi r4, r30, 0xc8
/* 802C5750 002C26B0 48 04 D9 F1 */ bl Translate__12CTransform4fFRC9CVector3f
/* 802C5754 002C26B4 38 61 00 4C */ addi r3, r1, 0x4c
/* 802C5758 002C26B8 38 9E 00 34 */ addi r4, r30, 0x34
/* 802C575C 002C26BC 38 A1 00 1C */ addi r5, r1, 0x1c
/* 802C5760 002C26C0 48 04 D1 F1 */ bl __ml__12CTransform4fCFRC12CTransform4f
/* 802C5764 002C26C4 38 61 00 4C */ addi r3, r1, 0x4c
/* 802C5768 002C26C8 48 04 6E 79 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f
/* 802C576C 002C26CC 7F C3 F3 78 */ mr r3, r30
/* 802C5770 002C26D0 81 9E 00 00 */ lwz r12, 0(r30)
/* 802C5774 002C26D4 81 8C 00 20 */ lwz r12, 0x20(r12)
/* 802C5778 002C26D8 7D 89 03 A6 */ mtctr r12
/* 802C577C 002C26DC 4E 80 04 21 */ bctrl
/* 802C5780 002C26E0 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 802C5784 002C26E4 41 82 00 74 */ beq lbl_802C57F8
/* 802C5788 002C26E8 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13)
/* 802C578C 002C26EC 38 60 00 00 */ li r3, 0
/* 802C5790 002C26F0 48 04 4B 29 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass
/* 802C5794 002C26F4 88 7E 00 AB */ lbz r3, 0xab(r30)
/* 802C5798 002C26F8 3C 00 43 30 */ lis r0, 0x4330
/* 802C579C 002C26FC 90 01 00 80 */ stw r0, 0x80(r1)
/* 802C57A0 002C2700 C8 22 C3 B0 */ lfd f1, lbl_805AE0D0@sda21(r2)
/* 802C57A4 002C2704 90 61 00 84 */ stw r3, 0x84(r1)
/* 802C57A8 002C2708 C0 5F 00 00 */ lfs f2, 0(r31)
/* 802C57AC 002C270C C8 01 00 80 */ lfd f0, 0x80(r1)
/* 802C57B0 002C2710 EC 00 08 28 */ fsubs f0, f0, f1
/* 802C57B4 002C2714 EF E2 00 32 */ fmuls f31, f2, f0
/* 802C57B8 002C2718 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2
/* 802C57BC 002C271C 38 A1 00 10 */ addi r5, r1, 0x10
/* 802C57C0 002C2720 C0 22 C3 A4 */ lfs f1, lbl_805AE0C4@sda21(r2)
/* 802C57C4 002C2724 38 C1 00 0C */ addi r6, r1, 0xc
/* 802C57C8 002C2728 C0 02 C3 A8 */ lfs f0, lbl_805AE0C8@sda21(r2)
/* 802C57CC 002C272C 38 60 00 98 */ li r3, 0x98
/* 802C57D0 002C2730 80 9E 00 A8 */ lwz r4, 0xa8(r30)
/* 802C57D4 002C2734 88 01 00 08 */ lbz r0, 8(r1)
/* 802C57D8 002C2738 50 80 00 2E */ rlwimi r0, r4, 0, 0, 0x17
/* 802C57DC 002C273C D0 21 00 10 */ stfs f1, 0x10(r1)
/* 802C57E0 002C2740 80 9E 00 C0 */ lwz r4, 0xc0(r30)
/* 802C57E4 002C2744 90 01 00 0C */ stw r0, 0xc(r1)
/* 802C57E8 002C2748 80 FE 00 C4 */ lwz r7, 0xc4(r30)
/* 802C57EC 002C274C D0 01 00 14 */ stfs f0, 0x14(r1)
/* 802C57F0 002C2750 D0 21 00 18 */ stfs f1, 0x18(r1)
/* 802C57F4 002C2754 48 04 5E E1 */ bl DrawPrimitive__9CGraphicsF13ERglPrimitivePCfRC9CVector3fRC6CColori
lbl_802C57F8:
/* 802C57F8 002C2758 7F C3 F3 78 */ mr r3, r30
/* 802C57FC 002C275C 7F E4 FB 78 */ mr r4, r31
/* 802C5800 002C2760 48 00 52 61 */ bl Draw__10CGuiWidgetCFRC19CGuiWidgetDrawParms
/* 802C5804 002C2764 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0
/* 802C5808 002C2768 80 01 00 A4 */ lwz r0, 0xa4(r1)
/* 802C580C 002C276C CB E1 00 90 */ lfd f31, 0x90(r1)
/* 802C5810 002C2770 83 E1 00 8C */ lwz r31, 0x8c(r1)
/* 802C5814 002C2774 83 C1 00 88 */ lwz r30, 0x88(r1)
/* 802C5818 002C2778 7C 08 03 A6 */ mtlr r0
/* 802C581C 002C277C 38 21 00 A0 */ addi r1, r1, 0xa0
/* 802C5820 002C2780 4E 80 00 20 */ blr
.global __dt__8CGuiPaneFv
__dt__8CGuiPaneFv:
/* 802C5824 002C2784 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802C5828 002C2788 7C 08 02 A6 */ mflr r0
/* 802C582C 002C278C 90 01 00 14 */ stw r0, 0x14(r1)
/* 802C5830 002C2790 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802C5834 002C2794 7C 9F 23 78 */ mr r31, r4
/* 802C5838 002C2798 93 C1 00 08 */ stw r30, 8(r1)
/* 802C583C 002C279C 7C 7E 1B 79 */ or. r30, r3, r3
/* 802C5840 002C27A0 41 82 00 40 */ beq lbl_802C5880
/* 802C5844 002C27A4 3C 60 80 3F */ lis r3, lbl_803EC8E0@ha
/* 802C5848 002C27A8 38 03 C8 E0 */ addi r0, r3, lbl_803EC8E0@l
/* 802C584C 002C27AC 90 1E 00 00 */ stw r0, 0(r30)
/* 802C5850 002C27B0 80 7E 00 C0 */ lwz r3, 0xc0(r30)
/* 802C5854 002C27B4 28 03 00 00 */ cmplwi r3, 0
/* 802C5858 002C27B8 41 82 00 0C */ beq lbl_802C5864
/* 802C585C 002C27BC 41 82 00 08 */ beq lbl_802C5864
/* 802C5860 002C27C0 48 05 00 D1 */ bl Free__7CMemoryFPCv
lbl_802C5864:
/* 802C5864 002C27C4 7F C3 F3 78 */ mr r3, r30
/* 802C5868 002C27C8 38 80 00 00 */ li r4, 0
/* 802C586C 002C27CC 48 00 53 49 */ bl __dt__10CGuiWidgetFv
/* 802C5870 002C27D0 7F E0 07 35 */ extsh. r0, r31
/* 802C5874 002C27D4 40 81 00 0C */ ble lbl_802C5880
/* 802C5878 002C27D8 7F C3 F3 78 */ mr r3, r30
/* 802C587C 002C27DC 48 05 00 B5 */ bl Free__7CMemoryFPCv
lbl_802C5880:
/* 802C5880 002C27E0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802C5884 002C27E4 7F C3 F3 78 */ mr r3, r30
/* 802C5888 002C27E8 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802C588C 002C27EC 83 C1 00 08 */ lwz r30, 8(r1)
/* 802C5890 002C27F0 7C 08 03 A6 */ mtlr r0
/* 802C5894 002C27F4 38 21 00 10 */ addi r1, r1, 0x10
/* 802C5898 002C27F8 4E 80 00 20 */ blr
.global __ct__8CGuiPaneFRCQ210CGuiWidget15CGuiWidgetParmsffRC9CVector3f
__ct__8CGuiPaneFRCQ210CGuiWidget15CGuiWidgetParmsffRC9CVector3f:
/* 802C589C 002C27FC 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 802C58A0 002C2800 7C 08 02 A6 */ mflr r0
/* 802C58A4 002C2804 90 01 00 34 */ stw r0, 0x34(r1)
/* 802C58A8 002C2808 DB E1 00 20 */ stfd f31, 0x20(r1)
/* 802C58AC 002C280C F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0
/* 802C58B0 002C2810 DB C1 00 10 */ stfd f30, 0x10(r1)
/* 802C58B4 002C2814 F3 C1 00 18 */ psq_st f30, 24(r1), 0, qr0
/* 802C58B8 002C2818 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802C58BC 002C281C 93 C1 00 08 */ stw r30, 8(r1)
/* 802C58C0 002C2820 FF C0 08 90 */ fmr f30, f1
/* 802C58C4 002C2824 7C 7E 1B 78 */ mr r30, r3
/* 802C58C8 002C2828 FF E0 10 90 */ fmr f31, f2
/* 802C58CC 002C282C 7C BF 2B 78 */ mr r31, r5
/* 802C58D0 002C2830 48 00 53 55 */ bl __ct__10CGuiWidgetFRCQ210CGuiWidget15CGuiWidgetParms
/* 802C58D4 002C2834 3C 60 80 3F */ lis r3, lbl_803EC8E0@ha
/* 802C58D8 002C2838 38 80 00 00 */ li r4, 0
/* 802C58DC 002C283C 38 63 C8 E0 */ addi r3, r3, lbl_803EC8E0@l
/* 802C58E0 002C2840 38 00 00 04 */ li r0, 4
/* 802C58E4 002C2844 90 7E 00 00 */ stw r3, 0(r30)
/* 802C58E8 002C2848 7F C3 F3 78 */ mr r3, r30
/* 802C58EC 002C284C D3 DE 00 B8 */ stfs f30, 0xb8(r30)
/* 802C58F0 002C2850 D3 FE 00 BC */ stfs f31, 0xbc(r30)
/* 802C58F4 002C2854 90 9E 00 C0 */ stw r4, 0xc0(r30)
/* 802C58F8 002C2858 90 1E 00 C4 */ stw r0, 0xc4(r30)
/* 802C58FC 002C285C C0 1F 00 00 */ lfs f0, 0(r31)
/* 802C5900 002C2860 D0 1E 00 C8 */ stfs f0, 0xc8(r30)
/* 802C5904 002C2864 C0 1F 00 04 */ lfs f0, 4(r31)
/* 802C5908 002C2868 D0 1E 00 CC */ stfs f0, 0xcc(r30)
/* 802C590C 002C286C C0 1F 00 08 */ lfs f0, 8(r31)
/* 802C5910 002C2870 D0 1E 00 D0 */ stfs f0, 0xd0(r30)
/* 802C5914 002C2874 81 9E 00 00 */ lwz r12, 0(r30)
/* 802C5918 002C2878 81 8C 00 48 */ lwz r12, 0x48(r12)
/* 802C591C 002C287C 7D 89 03 A6 */ mtctr r12
/* 802C5920 002C2880 4E 80 04 21 */ bctrl
/* 802C5924 002C2884 7F C3 F3 78 */ mr r3, r30
/* 802C5928 002C2888 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0
/* 802C592C 002C288C CB E1 00 20 */ lfd f31, 0x20(r1)
/* 802C5930 002C2890 E3 C1 00 18 */ psq_l f30, 24(r1), 0, qr0
/* 802C5934 002C2894 CB C1 00 10 */ lfd f30, 0x10(r1)
/* 802C5938 002C2898 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802C593C 002C289C 80 01 00 34 */ lwz r0, 0x34(r1)
/* 802C5940 002C28A0 83 C1 00 08 */ lwz r30, 8(r1)
/* 802C5944 002C28A4 7C 08 03 A6 */ mtlr r0
/* 802C5948 002C28A8 38 21 00 30 */ addi r1, r1, 0x30
/* 802C594C 002C28AC 4E 80 00 20 */ blr
.global WriteData__8CGuiPaneCFR13COutputStreamb
WriteData__8CGuiPaneCFR13COutputStreamb:
/* 802C5950 002C28B0 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 802C5954 002C28B4 7C 08 02 A6 */ mflr r0
/* 802C5958 002C28B8 90 01 00 44 */ stw r0, 0x44(r1)
/* 802C595C 002C28BC 93 E1 00 3C */ stw r31, 0x3c(r1)
/* 802C5960 002C28C0 7C 9F 23 78 */ mr r31, r4
/* 802C5964 002C28C4 93 C1 00 38 */ stw r30, 0x38(r1)
/* 802C5968 002C28C8 7C 7E 1B 78 */ mr r30, r3
/* 802C596C 002C28CC C0 03 00 B8 */ lfs f0, 0xb8(r3)
/* 802C5970 002C28D0 7F E3 FB 78 */ mr r3, r31
/* 802C5974 002C28D4 D0 01 00 2C */ stfs f0, 0x2c(r1)
/* 802C5978 002C28D8 80 01 00 2C */ lwz r0, 0x2c(r1)
/* 802C597C 002C28DC 90 01 00 18 */ stw r0, 0x18(r1)
/* 802C5980 002C28E0 48 07 9B 39 */ bl FlushShiftRegister__13COutputStreamFv
/* 802C5984 002C28E4 7F E3 FB 78 */ mr r3, r31
/* 802C5988 002C28E8 38 81 00 18 */ addi r4, r1, 0x18
/* 802C598C 002C28EC 38 A0 00 04 */ li r5, 4
/* 802C5990 002C28F0 48 07 9C 19 */ bl DoPut__13COutputStreamFPCvUl
/* 802C5994 002C28F4 C0 1E 00 BC */ lfs f0, 0xbc(r30)
/* 802C5998 002C28F8 7F E3 FB 78 */ mr r3, r31
/* 802C599C 002C28FC D0 01 00 28 */ stfs f0, 0x28(r1)
/* 802C59A0 002C2900 80 01 00 28 */ lwz r0, 0x28(r1)
/* 802C59A4 002C2904 90 01 00 14 */ stw r0, 0x14(r1)
/* 802C59A8 002C2908 48 07 9B 11 */ bl FlushShiftRegister__13COutputStreamFv
/* 802C59AC 002C290C 7F E3 FB 78 */ mr r3, r31
/* 802C59B0 002C2910 38 81 00 14 */ addi r4, r1, 0x14
/* 802C59B4 002C2914 38 A0 00 04 */ li r5, 4
/* 802C59B8 002C2918 48 07 9B F1 */ bl DoPut__13COutputStreamFPCvUl
/* 802C59BC 002C291C C0 1E 00 C8 */ lfs f0, 0xc8(r30)
/* 802C59C0 002C2920 7F E3 FB 78 */ mr r3, r31
/* 802C59C4 002C2924 D0 01 00 24 */ stfs f0, 0x24(r1)
/* 802C59C8 002C2928 80 01 00 24 */ lwz r0, 0x24(r1)
/* 802C59CC 002C292C 90 01 00 10 */ stw r0, 0x10(r1)
/* 802C59D0 002C2930 48 07 9A E9 */ bl FlushShiftRegister__13COutputStreamFv
/* 802C59D4 002C2934 7F E3 FB 78 */ mr r3, r31
/* 802C59D8 002C2938 38 81 00 10 */ addi r4, r1, 0x10
/* 802C59DC 002C293C 38 A0 00 04 */ li r5, 4
/* 802C59E0 002C2940 48 07 9B C9 */ bl DoPut__13COutputStreamFPCvUl
/* 802C59E4 002C2944 C0 1E 00 CC */ lfs f0, 0xcc(r30)
/* 802C59E8 002C2948 7F E3 FB 78 */ mr r3, r31
/* 802C59EC 002C294C D0 01 00 20 */ stfs f0, 0x20(r1)
/* 802C59F0 002C2950 80 01 00 20 */ lwz r0, 0x20(r1)
/* 802C59F4 002C2954 90 01 00 0C */ stw r0, 0xc(r1)
/* 802C59F8 002C2958 48 07 9A C1 */ bl FlushShiftRegister__13COutputStreamFv
/* 802C59FC 002C295C 7F E3 FB 78 */ mr r3, r31
/* 802C5A00 002C2960 38 81 00 0C */ addi r4, r1, 0xc
/* 802C5A04 002C2964 38 A0 00 04 */ li r5, 4
/* 802C5A08 002C2968 48 07 9B A1 */ bl DoPut__13COutputStreamFPCvUl
/* 802C5A0C 002C296C C0 1E 00 D0 */ lfs f0, 0xd0(r30)
/* 802C5A10 002C2970 7F E3 FB 78 */ mr r3, r31
/* 802C5A14 002C2974 D0 01 00 1C */ stfs f0, 0x1c(r1)
/* 802C5A18 002C2978 80 01 00 1C */ lwz r0, 0x1c(r1)
/* 802C5A1C 002C297C 90 01 00 08 */ stw r0, 8(r1)
/* 802C5A20 002C2980 48 07 9A 99 */ bl FlushShiftRegister__13COutputStreamFv
/* 802C5A24 002C2984 7F E3 FB 78 */ mr r3, r31
/* 802C5A28 002C2988 38 81 00 08 */ addi r4, r1, 8
/* 802C5A2C 002C298C 38 A0 00 04 */ li r5, 4
/* 802C5A30 002C2990 48 07 9B 79 */ bl DoPut__13COutputStreamFPCvUl
/* 802C5A34 002C2994 80 01 00 44 */ lwz r0, 0x44(r1)
/* 802C5A38 002C2998 83 E1 00 3C */ lwz r31, 0x3c(r1)
/* 802C5A3C 002C299C 83 C1 00 38 */ lwz r30, 0x38(r1)
/* 802C5A40 002C29A0 7C 08 03 A6 */ mtlr r0
/* 802C5A44 002C29A4 38 21 00 40 */ addi r1, r1, 0x40
/* 802C5A48 002C29A8 4E 80 00 20 */ blr
.global Create__8CGuiPaneFP9CGuiFrameR12CInputStreamb
Create__8CGuiPaneFP9CGuiFrameR12CInputStreamb:
/* 802C5A4C 002C29AC 94 21 FF 80 */ stwu r1, -0x80(r1)
/* 802C5A50 002C29B0 7C 08 02 A6 */ mflr r0
/* 802C5A54 002C29B4 90 01 00 84 */ stw r0, 0x84(r1)
/* 802C5A58 002C29B8 39 61 00 80 */ addi r11, r1, 0x80
/* 802C5A5C 002C29BC 48 0C 3F 89 */ bl func_803899E4
/* 802C5A60 002C29C0 93 E1 00 54 */ stw r31, 0x54(r1)
/* 802C5A64 002C29C4 93 C1 00 50 */ stw r30, 0x50(r1)
/* 802C5A68 002C29C8 93 A1 00 4C */ stw r29, 0x4c(r1)
/* 802C5A6C 002C29CC 7C 7E 1B 78 */ mr r30, r3
/* 802C5A70 002C29D0 7C 9F 23 78 */ mr r31, r4
/* 802C5A74 002C29D4 7F C4 F3 78 */ mr r4, r30
/* 802C5A78 002C29D8 38 61 00 14 */ addi r3, r1, 0x14
/* 802C5A7C 002C29DC 7F E5 FB 78 */ mr r5, r31
/* 802C5A80 002C29E0 48 00 52 D1 */ bl ReadWidgetHeader__10CGuiWidgetFP9CGuiFrameR12CInputStreamb
/* 802C5A84 002C29E4 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 802C5A88 002C29E8 7F E3 FB 78 */ mr r3, r31
/* 802C5A8C 002C29EC 89 81 00 18 */ lbz r12, 0x18(r1)
/* 802C5A90 002C29F0 A9 61 00 1A */ lha r11, 0x1a(r1)
/* 802C5A94 002C29F4 A9 41 00 1C */ lha r10, 0x1c(r1)
/* 802C5A98 002C29F8 89 21 00 1E */ lbz r9, 0x1e(r1)
/* 802C5A9C 002C29FC 89 01 00 1F */ lbz r8, 0x1f(r1)
/* 802C5AA0 002C2A00 88 E1 00 20 */ lbz r7, 0x20(r1)
/* 802C5AA4 002C2A04 88 C1 00 21 */ lbz r6, 0x21(r1)
/* 802C5AA8 002C2A08 88 A1 00 22 */ lbz r5, 0x22(r1)
/* 802C5AAC 002C2A0C 80 81 00 24 */ lwz r4, 0x24(r1)
/* 802C5AB0 002C2A10 80 01 00 28 */ lwz r0, 0x28(r1)
/* 802C5AB4 002C2A14 93 A1 00 2C */ stw r29, 0x2c(r1)
/* 802C5AB8 002C2A18 99 81 00 30 */ stb r12, 0x30(r1)
/* 802C5ABC 002C2A1C B1 61 00 32 */ sth r11, 0x32(r1)
/* 802C5AC0 002C2A20 B1 41 00 34 */ sth r10, 0x34(r1)
/* 802C5AC4 002C2A24 99 21 00 36 */ stb r9, 0x36(r1)
/* 802C5AC8 002C2A28 99 01 00 37 */ stb r8, 0x37(r1)
/* 802C5ACC 002C2A2C 98 E1 00 38 */ stb r7, 0x38(r1)
/* 802C5AD0 002C2A30 98 C1 00 39 */ stb r6, 0x39(r1)
/* 802C5AD4 002C2A34 98 A1 00 3A */ stb r5, 0x3a(r1)
/* 802C5AD8 002C2A38 90 81 00 3C */ stw r4, 0x3c(r1)
/* 802C5ADC 002C2A3C 90 01 00 40 */ stw r0, 0x40(r1)
/* 802C5AE0 002C2A40 48 07 91 49 */ bl ReadFloat__12CInputStreamFv
/* 802C5AE4 002C2A44 FF 80 08 90 */ fmr f28, f1
/* 802C5AE8 002C2A48 7F E3 FB 78 */ mr r3, r31
/* 802C5AEC 002C2A4C 48 07 91 3D */ bl ReadFloat__12CInputStreamFv
/* 802C5AF0 002C2A50 FF 60 08 90 */ fmr f27, f1
/* 802C5AF4 002C2A54 7F E3 FB 78 */ mr r3, r31
/* 802C5AF8 002C2A58 48 07 91 31 */ bl ReadFloat__12CInputStreamFv
/* 802C5AFC 002C2A5C FF A0 08 90 */ fmr f29, f1
/* 802C5B00 002C2A60 7F E3 FB 78 */ mr r3, r31
/* 802C5B04 002C2A64 48 07 91 25 */ bl ReadFloat__12CInputStreamFv
/* 802C5B08 002C2A68 FF C0 08 90 */ fmr f30, f1
/* 802C5B0C 002C2A6C 7F E3 FB 78 */ mr r3, r31
/* 802C5B10 002C2A70 48 07 91 19 */ bl ReadFloat__12CInputStreamFv
/* 802C5B14 002C2A74 FF E0 08 90 */ fmr f31, f1
/* 802C5B18 002C2A78 3C 60 80 3D */ lis r3, lbl_803D68B8@ha
/* 802C5B1C 002C2A7C 38 83 68 B8 */ addi r4, r3, lbl_803D68B8@l
/* 802C5B20 002C2A80 38 A0 00 00 */ li r5, 0
/* 802C5B24 002C2A84 38 60 00 D4 */ li r3, 0xd4
/* 802C5B28 002C2A88 48 04 FD 45 */ bl __nw__FUlPCcPCc
/* 802C5B2C 002C2A8C 7C 7D 1B 79 */ or. r29, r3, r3
/* 802C5B30 002C2A90 41 82 00 28 */ beq lbl_802C5B58
/* 802C5B34 002C2A94 FC 20 E0 90 */ fmr f1, f28
/* 802C5B38 002C2A98 D3 A1 00 08 */ stfs f29, 8(r1)
/* 802C5B3C 002C2A9C FC 40 D8 90 */ fmr f2, f27
/* 802C5B40 002C2AA0 38 81 00 2C */ addi r4, r1, 0x2c
/* 802C5B44 002C2AA4 D3 C1 00 0C */ stfs f30, 0xc(r1)
/* 802C5B48 002C2AA8 38 A1 00 08 */ addi r5, r1, 8
/* 802C5B4C 002C2AAC D3 E1 00 10 */ stfs f31, 0x10(r1)
/* 802C5B50 002C2AB0 4B FF FD 4D */ bl __ct__8CGuiPaneFRCQ210CGuiWidget15CGuiWidgetParmsffRC9CVector3f
/* 802C5B54 002C2AB4 7C 7D 1B 78 */ mr r29, r3
lbl_802C5B58:
/* 802C5B58 002C2AB8 7F A3 EB 78 */ mr r3, r29
/* 802C5B5C 002C2ABC 7F C4 F3 78 */ mr r4, r30
/* 802C5B60 002C2AC0 7F E5 FB 78 */ mr r5, r31
/* 802C5B64 002C2AC4 38 C1 00 2C */ addi r6, r1, 0x2c
/* 802C5B68 002C2AC8 48 00 4F 21 */ bl ParseBaseInfo__10CGuiWidgetFP9CGuiFrameR12CInputStreamRCQ210CGuiWidget15CGuiWidgetParms
/* 802C5B6C 002C2ACC 7F A3 EB 78 */ mr r3, r29
/* 802C5B70 002C2AD0 39 61 00 80 */ addi r11, r1, 0x80
/* 802C5B74 002C2AD4 48 0C 3E BD */ bl func_80389A30
/* 802C5B78 002C2AD8 80 01 00 84 */ lwz r0, 0x84(r1)
/* 802C5B7C 002C2ADC 83 E1 00 54 */ lwz r31, 0x54(r1)
/* 802C5B80 002C2AE0 83 C1 00 50 */ lwz r30, 0x50(r1)
/* 802C5B84 002C2AE4 83 A1 00 4C */ lwz r29, 0x4c(r1)
/* 802C5B88 002C2AE8 7C 08 03 A6 */ mtlr r0
/* 802C5B8C 002C2AEC 38 21 00 80 */ addi r1, r1, 0x80
/* 802C5B90 002C2AF0 4E 80 00 20 */ blr

View File

@ -0,0 +1,628 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global __dt__15CGuiSliderGroupFv
__dt__15CGuiSliderGroupFv:
/* 802C5B94 002C2AF4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802C5B98 002C2AF8 7C 08 02 A6 */ mflr r0
/* 802C5B9C 002C2AFC 90 01 00 14 */ stw r0, 0x14(r1)
/* 802C5BA0 002C2B00 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802C5BA4 002C2B04 7C 9F 23 78 */ mr r31, r4
/* 802C5BA8 002C2B08 93 C1 00 08 */ stw r30, 8(r1)
/* 802C5BAC 002C2B0C 7C 7E 1B 79 */ or. r30, r3, r3
/* 802C5BB0 002C2B10 41 82 00 88 */ beq lbl_802C5C38
/* 802C5BB4 002C2B14 3C 60 80 3F */ lis r3, lbl_803EC930@ha
/* 802C5BB8 002C2B18 34 1E 00 CC */ addic. r0, r30, 0xcc
/* 802C5BBC 002C2B1C 38 03 C9 30 */ addi r0, r3, lbl_803EC930@l
/* 802C5BC0 002C2B20 90 1E 00 00 */ stw r0, 0(r30)
/* 802C5BC4 002C2B24 41 82 00 58 */ beq lbl_802C5C1C
/* 802C5BC8 002C2B28 80 BE 00 CC */ lwz r5, 0xcc(r30)
/* 802C5BCC 002C2B2C 38 60 00 00 */ li r3, 0
/* 802C5BD0 002C2B30 2C 05 00 00 */ cmpwi r5, 0
/* 802C5BD4 002C2B34 40 81 00 40 */ ble lbl_802C5C14
/* 802C5BD8 002C2B38 2C 05 00 08 */ cmpwi r5, 8
/* 802C5BDC 002C2B3C 38 85 FF F8 */ addi r4, r5, -8
/* 802C5BE0 002C2B40 40 81 00 20 */ ble lbl_802C5C00
/* 802C5BE4 002C2B44 38 04 00 07 */ addi r0, r4, 7
/* 802C5BE8 002C2B48 54 00 E8 FE */ srwi r0, r0, 3
/* 802C5BEC 002C2B4C 7C 09 03 A6 */ mtctr r0
/* 802C5BF0 002C2B50 2C 04 00 00 */ cmpwi r4, 0
/* 802C5BF4 002C2B54 40 81 00 0C */ ble lbl_802C5C00
lbl_802C5BF8:
/* 802C5BF8 002C2B58 38 63 00 08 */ addi r3, r3, 8
/* 802C5BFC 002C2B5C 42 00 FF FC */ bdnz lbl_802C5BF8
lbl_802C5C00:
/* 802C5C00 002C2B60 7C 03 28 50 */ subf r0, r3, r5
/* 802C5C04 002C2B64 7C 09 03 A6 */ mtctr r0
/* 802C5C08 002C2B68 7C 03 28 00 */ cmpw r3, r5
/* 802C5C0C 002C2B6C 40 80 00 08 */ bge lbl_802C5C14
lbl_802C5C10:
/* 802C5C10 002C2B70 42 00 00 00 */ bdnz lbl_802C5C10
lbl_802C5C14:
/* 802C5C14 002C2B74 38 00 00 00 */ li r0, 0
/* 802C5C18 002C2B78 90 1E 00 CC */ stw r0, 0xcc(r30)
lbl_802C5C1C:
/* 802C5C1C 002C2B7C 7F C3 F3 78 */ mr r3, r30
/* 802C5C20 002C2B80 38 80 00 00 */ li r4, 0
/* 802C5C24 002C2B84 4B FF BF 0D */ bl __dt__18CGuiCompoundWidgetFv
/* 802C5C28 002C2B88 7F E0 07 35 */ extsh. r0, r31
/* 802C5C2C 002C2B8C 40 81 00 0C */ ble lbl_802C5C38
/* 802C5C30 002C2B90 7F C3 F3 78 */ mr r3, r30
/* 802C5C34 002C2B94 48 04 FC FD */ bl Free__7CMemoryFPCv
lbl_802C5C38:
/* 802C5C38 002C2B98 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802C5C3C 002C2B9C 7F C3 F3 78 */ mr r3, r30
/* 802C5C40 002C2BA0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802C5C44 002C2BA4 83 C1 00 08 */ lwz r30, 8(r1)
/* 802C5C48 002C2BA8 7C 08 03 A6 */ mtlr r0
/* 802C5C4C 002C2BAC 38 21 00 10 */ addi r1, r1, 0x10
/* 802C5C50 002C2BB0 4E 80 00 20 */ blr
.global GetWidgetTypeID__15CGuiSliderGroupCFv
GetWidgetTypeID__15CGuiSliderGroupCFv:
/* 802C5C54 002C2BB4 3C 60 53 4C */ lis r3, 0x534C4750@ha
/* 802C5C58 002C2BB8 38 63 47 50 */ addi r3, r3, 0x534C4750@l
/* 802C5C5C 002C2BBC 4E 80 00 20 */ blr
.global "SetSelectionChangedCallback__15CGuiSliderGroupFRC33TFunctor2<CP15CGuiSliderGroup,Cf>"
"SetSelectionChangedCallback__15CGuiSliderGroupFRC33TFunctor2<CP15CGuiSliderGroup,Cf>":
/* 802C5C60 002C2BC0 80 04 00 00 */ lwz r0, 0(r4)
/* 802C5C64 002C2BC4 90 03 00 D8 */ stw r0, 0xd8(r3)
/* 802C5C68 002C2BC8 80 04 00 04 */ lwz r0, 4(r4)
/* 802C5C6C 002C2BCC 90 03 00 DC */ stw r0, 0xdc(r3)
/* 802C5C70 002C2BD0 80 A4 00 08 */ lwz r5, 8(r4)
/* 802C5C74 002C2BD4 80 04 00 0C */ lwz r0, 0xc(r4)
/* 802C5C78 002C2BD8 90 A3 00 E0 */ stw r5, 0xe0(r3)
/* 802C5C7C 002C2BDC 90 03 00 E4 */ stw r0, 0xe4(r3)
/* 802C5C80 002C2BE0 80 A4 00 10 */ lwz r5, 0x10(r4)
/* 802C5C84 002C2BE4 80 04 00 14 */ lwz r0, 0x14(r4)
/* 802C5C88 002C2BE8 90 A3 00 E8 */ stw r5, 0xe8(r3)
/* 802C5C8C 002C2BEC 90 03 00 EC */ stw r0, 0xec(r3)
/* 802C5C90 002C2BF0 4E 80 00 20 */ blr
.global StartDecreasing__15CGuiSliderGroupFv
StartDecreasing__15CGuiSliderGroupFv:
/* 802C5C94 002C2BF4 38 80 00 01 */ li r4, 1
/* 802C5C98 002C2BF8 90 83 00 F0 */ stw r4, 0xf0(r3)
/* 802C5C9C 002C2BFC 88 03 00 F4 */ lbz r0, 0xf4(r3)
/* 802C5CA0 002C2C00 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18
/* 802C5CA4 002C2C04 98 03 00 F4 */ stb r0, 0xf4(r3)
/* 802C5CA8 002C2C08 38 60 00 01 */ li r3, 1
/* 802C5CAC 002C2C0C 4E 80 00 20 */ blr
.global StartIncreasing__15CGuiSliderGroupFv
StartIncreasing__15CGuiSliderGroupFv:
/* 802C5CB0 002C2C10 38 00 00 02 */ li r0, 2
/* 802C5CB4 002C2C14 38 80 00 01 */ li r4, 1
/* 802C5CB8 002C2C18 90 03 00 F0 */ stw r0, 0xf0(r3)
/* 802C5CBC 002C2C1C 88 03 00 F4 */ lbz r0, 0xf4(r3)
/* 802C5CC0 002C2C20 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18
/* 802C5CC4 002C2C24 98 03 00 F4 */ stb r0, 0xf4(r3)
/* 802C5CC8 002C2C28 38 60 00 01 */ li r3, 1
/* 802C5CCC 002C2C2C 4E 80 00 20 */ blr
.global SetIncrement__15CGuiSliderGroupFf
SetIncrement__15CGuiSliderGroupFf:
/* 802C5CD0 002C2C30 D0 23 00 C8 */ stfs f1, 0xc8(r3)
/* 802C5CD4 002C2C34 4E 80 00 20 */ blr
.global SetMinVal__15CGuiSliderGroupFf
SetMinVal__15CGuiSliderGroupFf:
/* 802C5CD8 002C2C38 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802C5CDC 002C2C3C 7C 08 02 A6 */ mflr r0
/* 802C5CE0 002C2C40 90 01 00 14 */ stw r0, 0x14(r1)
/* 802C5CE4 002C2C44 D0 23 00 B8 */ stfs f1, 0xb8(r3)
/* 802C5CE8 002C2C48 C0 23 00 C0 */ lfs f1, 0xc0(r3)
/* 802C5CEC 002C2C4C 48 00 00 3D */ bl SetCurVal__15CGuiSliderGroupFf
/* 802C5CF0 002C2C50 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802C5CF4 002C2C54 7C 08 03 A6 */ mtlr r0
/* 802C5CF8 002C2C58 38 21 00 10 */ addi r1, r1, 0x10
/* 802C5CFC 002C2C5C 4E 80 00 20 */ blr
.global SetMaxVal__15CGuiSliderGroupFf
SetMaxVal__15CGuiSliderGroupFf:
/* 802C5D00 002C2C60 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802C5D04 002C2C64 7C 08 02 A6 */ mflr r0
/* 802C5D08 002C2C68 90 01 00 14 */ stw r0, 0x14(r1)
/* 802C5D0C 002C2C6C D0 23 00 BC */ stfs f1, 0xbc(r3)
/* 802C5D10 002C2C70 C0 23 00 C0 */ lfs f1, 0xc0(r3)
/* 802C5D14 002C2C74 48 00 00 15 */ bl SetCurVal__15CGuiSliderGroupFf
/* 802C5D18 002C2C78 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802C5D1C 002C2C7C 7C 08 03 A6 */ mtlr r0
/* 802C5D20 002C2C80 38 21 00 10 */ addi r1, r1, 0x10
/* 802C5D24 002C2C84 4E 80 00 20 */ blr
.global SetCurVal__15CGuiSliderGroupFf
SetCurVal__15CGuiSliderGroupFf:
/* 802C5D28 002C2C88 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 802C5D2C 002C2C8C 7C 08 02 A6 */ mflr r0
/* 802C5D30 002C2C90 90 01 00 24 */ stw r0, 0x24(r1)
/* 802C5D34 002C2C94 38 81 00 08 */ addi r4, r1, 8
/* 802C5D38 002C2C98 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 802C5D3C 002C2C9C 7C 7F 1B 78 */ mr r31, r3
/* 802C5D40 002C2CA0 38 7F 00 B8 */ addi r3, r31, 0xb8
/* 802C5D44 002C2CA4 D0 21 00 08 */ stfs f1, 8(r1)
/* 802C5D48 002C2CA8 38 BF 00 BC */ addi r5, r31, 0xbc
/* 802C5D4C 002C2CAC 4B D4 65 69 */ bl "Clamp<f>__5CMathFRCfRCfRCf"
/* 802C5D50 002C2CB0 C0 03 00 00 */ lfs f0, 0(r3)
/* 802C5D54 002C2CB4 D0 1F 00 C0 */ stfs f0, 0xc0(r31)
/* 802C5D58 002C2CB8 C0 1F 00 C0 */ lfs f0, 0xc0(r31)
/* 802C5D5C 002C2CBC D0 1F 00 C4 */ stfs f0, 0xc4(r31)
/* 802C5D60 002C2CC0 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 802C5D64 002C2CC4 80 01 00 24 */ lwz r0, 0x24(r1)
/* 802C5D68 002C2CC8 7C 08 03 A6 */ mtlr r0
/* 802C5D6C 002C2CCC 38 21 00 20 */ addi r1, r1, 0x20
/* 802C5D70 002C2CD0 4E 80 00 20 */ blr
.global Update__15CGuiSliderGroupFf
Update__15CGuiSliderGroupFf:
/* 802C5D74 002C2CD4 94 21 FF 60 */ stwu r1, -0xa0(r1)
/* 802C5D78 002C2CD8 7C 08 02 A6 */ mflr r0
/* 802C5D7C 002C2CDC 90 01 00 A4 */ stw r0, 0xa4(r1)
/* 802C5D80 002C2CE0 DB E1 00 90 */ stfd f31, 0x90(r1)
/* 802C5D84 002C2CE4 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0
/* 802C5D88 002C2CE8 DB C1 00 80 */ stfd f30, 0x80(r1)
/* 802C5D8C 002C2CEC F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0
/* 802C5D90 002C2CF0 DB A1 00 70 */ stfd f29, 0x70(r1)
/* 802C5D94 002C2CF4 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0
/* 802C5D98 002C2CF8 DB 81 00 60 */ stfd f28, 0x60(r1)
/* 802C5D9C 002C2CFC F3 81 00 68 */ psq_st f28, 104(r1), 0, qr0
/* 802C5DA0 002C2D00 93 E1 00 5C */ stw r31, 0x5c(r1)
/* 802C5DA4 002C2D04 93 C1 00 58 */ stw r30, 0x58(r1)
/* 802C5DA8 002C2D08 93 A1 00 54 */ stw r29, 0x54(r1)
/* 802C5DAC 002C2D0C 7C 7F 1B 78 */ mr r31, r3
/* 802C5DB0 002C2D10 C0 03 00 BC */ lfs f0, 0xbc(r3)
/* 802C5DB4 002C2D14 C0 43 00 B8 */ lfs f2, 0xb8(r3)
/* 802C5DB8 002C2D18 EC 00 10 28 */ fsubs f0, f0, f2
/* 802C5DBC 002C2D1C D0 41 00 1C */ stfs f2, 0x1c(r1)
/* 802C5DC0 002C2D20 EC 81 00 32 */ fmuls f4, f1, f0
/* 802C5DC4 002C2D24 48 00 00 14 */ b lbl_802C5DD8
lbl_802C5DC8:
/* 802C5DC8 002C2D28 C0 21 00 1C */ lfs f1, 0x1c(r1)
/* 802C5DCC 002C2D2C C0 1F 00 C8 */ lfs f0, 0xc8(r31)
/* 802C5DD0 002C2D30 EC 01 00 2A */ fadds f0, f1, f0
/* 802C5DD4 002C2D34 D0 01 00 1C */ stfs f0, 0x1c(r1)
lbl_802C5DD8:
/* 802C5DD8 002C2D38 C0 21 00 1C */ lfs f1, 0x1c(r1)
/* 802C5DDC 002C2D3C C0 1F 00 C4 */ lfs f0, 0xc4(r31)
/* 802C5DE0 002C2D40 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 802C5DE4 002C2D44 4C 40 13 82 */ cror 2, 0, 2
/* 802C5DE8 002C2D48 41 82 FF E0 */ beq lbl_802C5DC8
/* 802C5DEC 002C2D4C C0 1F 00 BC */ lfs f0, 0xbc(r31)
/* 802C5DF0 002C2D50 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 802C5DF4 002C2D54 40 80 00 0C */ bge lbl_802C5E00
/* 802C5DF8 002C2D58 38 61 00 1C */ addi r3, r1, 0x1c
/* 802C5DFC 002C2D5C 48 00 00 08 */ b lbl_802C5E04
lbl_802C5E00:
/* 802C5E00 002C2D60 38 7F 00 BC */ addi r3, r31, 0xbc
lbl_802C5E04:
/* 802C5E04 002C2D64 C0 43 00 00 */ lfs f2, 0(r3)
/* 802C5E08 002C2D68 D0 41 00 1C */ stfs f2, 0x1c(r1)
/* 802C5E0C 002C2D6C C0 1F 00 C8 */ lfs f0, 0xc8(r31)
/* 802C5E10 002C2D70 EC 22 00 28 */ fsubs f1, f2, f0
/* 802C5E14 002C2D74 D0 21 00 18 */ stfs f1, 0x18(r1)
/* 802C5E18 002C2D78 80 1F 00 F0 */ lwz r0, 0xf0(r31)
/* 802C5E1C 002C2D7C C0 7F 00 C4 */ lfs f3, 0xc4(r31)
/* 802C5E20 002C2D80 2C 00 00 01 */ cmpwi r0, 1
/* 802C5E24 002C2D84 40 82 00 64 */ bne lbl_802C5E88
/* 802C5E28 002C2D88 88 1F 00 F4 */ lbz r0, 0xf4(r31)
/* 802C5E2C 002C2D8C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 802C5E30 002C2D90 41 82 00 30 */ beq lbl_802C5E60
/* 802C5E34 002C2D94 EC 23 20 28 */ fsubs f1, f3, f4
/* 802C5E38 002C2D98 D0 21 00 14 */ stfs f1, 0x14(r1)
/* 802C5E3C 002C2D9C C0 1F 00 B8 */ lfs f0, 0xb8(r31)
/* 802C5E40 002C2DA0 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 802C5E44 002C2DA4 40 80 00 0C */ bge lbl_802C5E50
/* 802C5E48 002C2DA8 38 61 00 14 */ addi r3, r1, 0x14
/* 802C5E4C 002C2DAC 48 00 00 08 */ b lbl_802C5E54
lbl_802C5E50:
/* 802C5E50 002C2DB0 38 7F 00 B8 */ addi r3, r31, 0xb8
lbl_802C5E54:
/* 802C5E54 002C2DB4 C0 03 00 00 */ lfs f0, 0(r3)
/* 802C5E58 002C2DB8 D0 1F 00 C4 */ stfs f0, 0xc4(r31)
/* 802C5E5C 002C2DBC 48 00 00 98 */ b lbl_802C5EF4
lbl_802C5E60:
/* 802C5E60 002C2DC0 EC 03 20 28 */ fsubs f0, f3, f4
/* 802C5E64 002C2DC4 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 802C5E68 002C2DC8 D0 01 00 10 */ stfs f0, 0x10(r1)
/* 802C5E6C 002C2DCC 40 80 00 0C */ bge lbl_802C5E78
/* 802C5E70 002C2DD0 38 61 00 10 */ addi r3, r1, 0x10
/* 802C5E74 002C2DD4 48 00 00 08 */ b lbl_802C5E7C
lbl_802C5E78:
/* 802C5E78 002C2DD8 38 61 00 18 */ addi r3, r1, 0x18
lbl_802C5E7C:
/* 802C5E7C 002C2DDC C0 03 00 00 */ lfs f0, 0(r3)
/* 802C5E80 002C2DE0 D0 1F 00 C4 */ stfs f0, 0xc4(r31)
/* 802C5E84 002C2DE4 48 00 00 70 */ b lbl_802C5EF4
lbl_802C5E88:
/* 802C5E88 002C2DE8 2C 00 00 02 */ cmpwi r0, 2
/* 802C5E8C 002C2DEC 40 82 00 68 */ bne lbl_802C5EF4
/* 802C5E90 002C2DF0 88 1F 00 F4 */ lbz r0, 0xf4(r31)
/* 802C5E94 002C2DF4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 802C5E98 002C2DF8 41 82 00 30 */ beq lbl_802C5EC8
/* 802C5E9C 002C2DFC EC 23 20 2A */ fadds f1, f3, f4
/* 802C5EA0 002C2E00 D0 21 00 0C */ stfs f1, 0xc(r1)
/* 802C5EA4 002C2E04 C0 1F 00 BC */ lfs f0, 0xbc(r31)
/* 802C5EA8 002C2E08 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 802C5EAC 002C2E0C 40 80 00 0C */ bge lbl_802C5EB8
/* 802C5EB0 002C2E10 38 61 00 0C */ addi r3, r1, 0xc
/* 802C5EB4 002C2E14 48 00 00 08 */ b lbl_802C5EBC
lbl_802C5EB8:
/* 802C5EB8 002C2E18 38 7F 00 BC */ addi r3, r31, 0xbc
lbl_802C5EBC:
/* 802C5EBC 002C2E1C C0 03 00 00 */ lfs f0, 0(r3)
/* 802C5EC0 002C2E20 D0 1F 00 C4 */ stfs f0, 0xc4(r31)
/* 802C5EC4 002C2E24 48 00 00 30 */ b lbl_802C5EF4
lbl_802C5EC8:
/* 802C5EC8 002C2E28 FC 03 08 00 */ fcmpu cr0, f3, f1
/* 802C5ECC 002C2E2C 41 82 00 28 */ beq lbl_802C5EF4
/* 802C5ED0 002C2E30 EC 03 20 2A */ fadds f0, f3, f4
/* 802C5ED4 002C2E34 FC 00 10 40 */ fcmpo cr0, f0, f2
/* 802C5ED8 002C2E38 D0 01 00 08 */ stfs f0, 8(r1)
/* 802C5EDC 002C2E3C 40 80 00 0C */ bge lbl_802C5EE8
/* 802C5EE0 002C2E40 38 61 00 08 */ addi r3, r1, 8
/* 802C5EE4 002C2E44 48 00 00 08 */ b lbl_802C5EEC
lbl_802C5EE8:
/* 802C5EE8 002C2E48 38 61 00 1C */ addi r3, r1, 0x1c
lbl_802C5EEC:
/* 802C5EEC 002C2E4C C0 03 00 00 */ lfs f0, 0(r3)
/* 802C5EF0 002C2E50 D0 1F 00 C4 */ stfs f0, 0xc4(r31)
lbl_802C5EF4:
/* 802C5EF4 002C2E54 C0 1F 00 C4 */ lfs f0, 0xc4(r31)
/* 802C5EF8 002C2E58 FC 03 00 00 */ fcmpu cr0, f3, f0
/* 802C5EFC 002C2E5C 40 82 00 0C */ bne lbl_802C5F08
/* 802C5F00 002C2E60 38 00 00 00 */ li r0, 0
/* 802C5F04 002C2E64 90 1F 00 F0 */ stw r0, 0xf0(r31)
lbl_802C5F08:
/* 802C5F08 002C2E68 C0 1F 00 C4 */ lfs f0, 0xc4(r31)
/* 802C5F0C 002C2E6C C0 81 00 1C */ lfs f4, 0x1c(r1)
/* 802C5F10 002C2E70 C0 61 00 18 */ lfs f3, 0x18(r1)
/* 802C5F14 002C2E74 EC 44 00 28 */ fsubs f2, f4, f0
/* 802C5F18 002C2E78 C0 3F 00 C0 */ lfs f1, 0xc0(r31)
/* 802C5F1C 002C2E7C EC 00 18 28 */ fsubs f0, f0, f3
/* 802C5F20 002C2E80 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 802C5F24 002C2E84 40 81 00 08 */ ble lbl_802C5F2C
/* 802C5F28 002C2E88 48 00 00 08 */ b lbl_802C5F30
lbl_802C5F2C:
/* 802C5F2C 002C2E8C FC 60 20 90 */ fmr f3, f4
lbl_802C5F30:
/* 802C5F30 002C2E90 D0 7F 00 C0 */ stfs f3, 0xc0(r31)
/* 802C5F34 002C2E94 C0 1F 00 C0 */ lfs f0, 0xc0(r31)
/* 802C5F38 002C2E98 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 802C5F3C 002C2E9C 41 82 00 FC */ beq lbl_802C6038
/* 802C5F40 002C2EA0 38 00 00 02 */ li r0, 2
/* 802C5F44 002C2EA4 38 60 00 00 */ li r3, 0
/* 802C5F48 002C2EA8 7C 09 03 A6 */ mtctr r0
lbl_802C5F4C:
/* 802C5F4C 002C2EAC 38 03 00 E0 */ addi r0, r3, 0xe0
/* 802C5F50 002C2EB0 7C 1F 00 AE */ lbzx r0, r31, r0
/* 802C5F54 002C2EB4 7C 00 07 75 */ extsb. r0, r0
/* 802C5F58 002C2EB8 41 82 00 0C */ beq lbl_802C5F64
/* 802C5F5C 002C2EBC 38 00 00 00 */ li r0, 0
/* 802C5F60 002C2EC0 48 00 00 B8 */ b lbl_802C6018
lbl_802C5F64:
/* 802C5F64 002C2EC4 38 03 00 E1 */ addi r0, r3, 0xe1
/* 802C5F68 002C2EC8 7C 1F 00 AE */ lbzx r0, r31, r0
/* 802C5F6C 002C2ECC 7C 00 07 75 */ extsb. r0, r0
/* 802C5F70 002C2ED0 41 82 00 0C */ beq lbl_802C5F7C
/* 802C5F74 002C2ED4 38 00 00 00 */ li r0, 0
/* 802C5F78 002C2ED8 48 00 00 A0 */ b lbl_802C6018
lbl_802C5F7C:
/* 802C5F7C 002C2EDC 38 03 00 E2 */ addi r0, r3, 0xe2
/* 802C5F80 002C2EE0 7C 1F 00 AE */ lbzx r0, r31, r0
/* 802C5F84 002C2EE4 7C 00 07 75 */ extsb. r0, r0
/* 802C5F88 002C2EE8 41 82 00 0C */ beq lbl_802C5F94
/* 802C5F8C 002C2EEC 38 00 00 00 */ li r0, 0
/* 802C5F90 002C2EF0 48 00 00 88 */ b lbl_802C6018
lbl_802C5F94:
/* 802C5F94 002C2EF4 38 03 00 E3 */ addi r0, r3, 0xe3
/* 802C5F98 002C2EF8 7C 1F 00 AE */ lbzx r0, r31, r0
/* 802C5F9C 002C2EFC 7C 00 07 75 */ extsb. r0, r0
/* 802C5FA0 002C2F00 41 82 00 0C */ beq lbl_802C5FAC
/* 802C5FA4 002C2F04 38 00 00 00 */ li r0, 0
/* 802C5FA8 002C2F08 48 00 00 70 */ b lbl_802C6018
lbl_802C5FAC:
/* 802C5FAC 002C2F0C 38 03 00 E4 */ addi r0, r3, 0xe4
/* 802C5FB0 002C2F10 7C 1F 00 AE */ lbzx r0, r31, r0
/* 802C5FB4 002C2F14 7C 00 07 75 */ extsb. r0, r0
/* 802C5FB8 002C2F18 41 82 00 0C */ beq lbl_802C5FC4
/* 802C5FBC 002C2F1C 38 00 00 00 */ li r0, 0
/* 802C5FC0 002C2F20 48 00 00 58 */ b lbl_802C6018
lbl_802C5FC4:
/* 802C5FC4 002C2F24 38 03 00 E5 */ addi r0, r3, 0xe5
/* 802C5FC8 002C2F28 7C 1F 00 AE */ lbzx r0, r31, r0
/* 802C5FCC 002C2F2C 7C 00 07 75 */ extsb. r0, r0
/* 802C5FD0 002C2F30 41 82 00 0C */ beq lbl_802C5FDC
/* 802C5FD4 002C2F34 38 00 00 00 */ li r0, 0
/* 802C5FD8 002C2F38 48 00 00 40 */ b lbl_802C6018
lbl_802C5FDC:
/* 802C5FDC 002C2F3C 38 03 00 E6 */ addi r0, r3, 0xe6
/* 802C5FE0 002C2F40 7C 1F 00 AE */ lbzx r0, r31, r0
/* 802C5FE4 002C2F44 7C 00 07 75 */ extsb. r0, r0
/* 802C5FE8 002C2F48 41 82 00 0C */ beq lbl_802C5FF4
/* 802C5FEC 002C2F4C 38 00 00 00 */ li r0, 0
/* 802C5FF0 002C2F50 48 00 00 28 */ b lbl_802C6018
lbl_802C5FF4:
/* 802C5FF4 002C2F54 38 03 00 E7 */ addi r0, r3, 0xe7
/* 802C5FF8 002C2F58 7C 1F 00 AE */ lbzx r0, r31, r0
/* 802C5FFC 002C2F5C 7C 00 07 75 */ extsb. r0, r0
/* 802C6000 002C2F60 41 82 00 0C */ beq lbl_802C600C
/* 802C6004 002C2F64 38 00 00 00 */ li r0, 0
/* 802C6008 002C2F68 48 00 00 10 */ b lbl_802C6018
lbl_802C600C:
/* 802C600C 002C2F6C 38 63 00 08 */ addi r3, r3, 8
/* 802C6010 002C2F70 42 00 FF 3C */ bdnz lbl_802C5F4C
/* 802C6014 002C2F74 38 00 00 01 */ li r0, 1
lbl_802C6018:
/* 802C6018 002C2F78 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 802C601C 002C2F7C 40 82 00 1C */ bne lbl_802C6038
/* 802C6020 002C2F80 81 9F 00 D8 */ lwz r12, 0xd8(r31)
/* 802C6024 002C2F84 7F E5 FB 78 */ mr r5, r31
/* 802C6028 002C2F88 38 9F 00 E0 */ addi r4, r31, 0xe0
/* 802C602C 002C2F8C 80 7F 00 DC */ lwz r3, 0xdc(r31)
/* 802C6030 002C2F90 7D 89 03 A6 */ mtctr r12
/* 802C6034 002C2F94 4E 80 04 21 */ bctrl
lbl_802C6038:
/* 802C6038 002C2F98 C0 1F 00 BC */ lfs f0, 0xbc(r31)
/* 802C603C 002C2F9C C0 5F 00 B8 */ lfs f2, 0xb8(r31)
/* 802C6040 002C2FA0 FC 00 10 00 */ fcmpu cr0, f0, f2
/* 802C6044 002C2FA4 40 82 00 0C */ bne lbl_802C6050
/* 802C6048 002C2FA8 C3 E2 C3 B8 */ lfs f31, lbl_805AE0D8@sda21(r2)
/* 802C604C 002C2FAC 48 00 00 14 */ b lbl_802C6060
lbl_802C6050:
/* 802C6050 002C2FB0 C0 3F 00 C4 */ lfs f1, 0xc4(r31)
/* 802C6054 002C2FB4 EC 00 10 28 */ fsubs f0, f0, f2
/* 802C6058 002C2FB8 EC 21 10 28 */ fsubs f1, f1, f2
/* 802C605C 002C2FBC EF E1 00 24 */ fdivs f31, f1, f0
lbl_802C6060:
/* 802C6060 002C2FC0 83 DF 00 D0 */ lwz r30, 0xd0(r31)
/* 802C6064 002C2FC4 38 61 00 2C */ addi r3, r1, 0x2c
/* 802C6068 002C2FC8 83 BF 00 D4 */ lwz r29, 0xd4(r31)
/* 802C606C 002C2FCC 7F C4 F3 78 */ mr r4, r30
/* 802C6070 002C2FD0 48 00 46 3D */ bl GetIdlePosition__10CGuiWidgetFv
/* 802C6074 002C2FD4 C3 C1 00 2C */ lfs f30, 0x2c(r1)
/* 802C6078 002C2FD8 7F A4 EB 78 */ mr r4, r29
/* 802C607C 002C2FDC C3 A1 00 30 */ lfs f29, 0x30(r1)
/* 802C6080 002C2FE0 38 61 00 20 */ addi r3, r1, 0x20
/* 802C6084 002C2FE4 C3 81 00 34 */ lfs f28, 0x34(r1)
/* 802C6088 002C2FE8 48 00 46 25 */ bl GetIdlePosition__10CGuiWidgetFv
/* 802C608C 002C2FEC C0 02 C3 BC */ lfs f0, lbl_805AE0DC@sda21(r2)
/* 802C6090 002C2FF0 7F C3 F3 78 */ mr r3, r30
/* 802C6094 002C2FF4 C0 41 00 20 */ lfs f2, 0x20(r1)
/* 802C6098 002C2FF8 38 81 00 38 */ addi r4, r1, 0x38
/* 802C609C 002C2FFC C0 21 00 24 */ lfs f1, 0x24(r1)
/* 802C60A0 002C3000 EC 60 F8 28 */ fsubs f3, f0, f31
/* 802C60A4 002C3004 C0 01 00 28 */ lfs f0, 0x28(r1)
/* 802C60A8 002C3008 EC 42 07 F2 */ fmuls f2, f2, f31
/* 802C60AC 002C300C EC 21 07 F2 */ fmuls f1, f1, f31
/* 802C60B0 002C3010 EC 00 07 F2 */ fmuls f0, f0, f31
/* 802C60B4 002C3014 EC 5E 10 FA */ fmadds f2, f30, f3, f2
/* 802C60B8 002C3018 EC 3D 08 FA */ fmadds f1, f29, f3, f1
/* 802C60BC 002C301C EC 1C 00 FA */ fmadds f0, f28, f3, f0
/* 802C60C0 002C3020 D0 41 00 38 */ stfs f2, 0x38(r1)
/* 802C60C4 002C3024 D0 21 00 3C */ stfs f1, 0x3c(r1)
/* 802C60C8 002C3028 D0 01 00 40 */ stfs f0, 0x40(r1)
/* 802C60CC 002C302C 4B FF F0 FD */ bl SetLocalPosition__10CGuiObjectFRC9CVector3f
/* 802C60D0 002C3030 88 1F 00 F4 */ lbz r0, 0xf4(r31)
/* 802C60D4 002C3034 38 60 00 00 */ li r3, 0
/* 802C60D8 002C3038 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 802C60DC 002C303C 98 1F 00 F4 */ stb r0, 0xf4(r31)
/* 802C60E0 002C3040 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0
/* 802C60E4 002C3044 CB E1 00 90 */ lfd f31, 0x90(r1)
/* 802C60E8 002C3048 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0
/* 802C60EC 002C304C CB C1 00 80 */ lfd f30, 0x80(r1)
/* 802C60F0 002C3050 E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0
/* 802C60F4 002C3054 CB A1 00 70 */ lfd f29, 0x70(r1)
/* 802C60F8 002C3058 E3 81 00 68 */ psq_l f28, 104(r1), 0, qr0
/* 802C60FC 002C305C CB 81 00 60 */ lfd f28, 0x60(r1)
/* 802C6100 002C3060 83 E1 00 5C */ lwz r31, 0x5c(r1)
/* 802C6104 002C3064 83 C1 00 58 */ lwz r30, 0x58(r1)
/* 802C6108 002C3068 80 01 00 A4 */ lwz r0, 0xa4(r1)
/* 802C610C 002C306C 83 A1 00 54 */ lwz r29, 0x54(r1)
/* 802C6110 002C3070 7C 08 03 A6 */ mtlr r0
/* 802C6114 002C3074 38 21 00 A0 */ addi r1, r1, 0xa0
/* 802C6118 002C3078 4E 80 00 20 */ blr
.global ProcessUserInput__15CGuiSliderGroupFRC11CFinalInput
ProcessUserInput__15CGuiSliderGroupFRC11CFinalInput:
/* 802C611C 002C307C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802C6120 002C3080 7C 08 02 A6 */ mflr r0
/* 802C6124 002C3084 C0 42 CC 28 */ lfs f2, lbl_805AE948@sda21(r2)
/* 802C6128 002C3088 90 01 00 14 */ stw r0, 0x14(r1)
/* 802C612C 002C308C FC 00 10 50 */ fneg f0, f2
/* 802C6130 002C3090 C0 24 00 08 */ lfs f1, 8(r4)
/* 802C6134 002C3094 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 802C6138 002C3098 40 81 00 0C */ ble lbl_802C6144
/* 802C613C 002C309C 38 00 00 01 */ li r0, 1
/* 802C6140 002C30A0 48 00 00 08 */ b lbl_802C6148
lbl_802C6144:
/* 802C6144 002C30A4 38 00 00 00 */ li r0, 0
lbl_802C6148:
/* 802C6148 002C30A8 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 802C614C 002C30AC 41 82 00 14 */ beq lbl_802C6160
/* 802C6150 002C30B0 38 80 00 00 */ li r4, 0
/* 802C6154 002C30B4 38 A0 00 00 */ li r5, 0
/* 802C6158 002C30B8 4B FF FB 3D */ bl StartDecreasing__15CGuiSliderGroupFv
/* 802C615C 002C30BC 48 00 00 4C */ b lbl_802C61A8
lbl_802C6160:
/* 802C6160 002C30C0 FC 02 08 40 */ fcmpo cr0, f2, f1
/* 802C6164 002C30C4 40 80 00 14 */ bge lbl_802C6178
/* 802C6168 002C30C8 38 80 00 00 */ li r4, 0
/* 802C616C 002C30CC 38 A0 00 00 */ li r5, 0
/* 802C6170 002C30D0 4B FF FB 41 */ bl StartIncreasing__15CGuiSliderGroupFv
/* 802C6174 002C30D4 48 00 00 34 */ b lbl_802C61A8
lbl_802C6178:
/* 802C6178 002C30D8 88 84 00 2E */ lbz r4, 0x2e(r4)
/* 802C617C 002C30DC 54 80 FF FF */ rlwinm. r0, r4, 0x1f, 0x1f, 0x1f
/* 802C6180 002C30E0 41 82 00 14 */ beq lbl_802C6194
/* 802C6184 002C30E4 38 80 00 00 */ li r4, 0
/* 802C6188 002C30E8 38 A0 00 00 */ li r5, 0
/* 802C618C 002C30EC 4B FF FB 09 */ bl StartDecreasing__15CGuiSliderGroupFv
/* 802C6190 002C30F0 48 00 00 18 */ b lbl_802C61A8
lbl_802C6194:
/* 802C6194 002C30F4 54 80 EF FF */ rlwinm. r0, r4, 0x1d, 0x1f, 0x1f
/* 802C6198 002C30F8 41 82 00 10 */ beq lbl_802C61A8
/* 802C619C 002C30FC 38 80 00 00 */ li r4, 0
/* 802C61A0 002C3100 38 A0 00 00 */ li r5, 0
/* 802C61A4 002C3104 4B FF FB 0D */ bl StartIncreasing__15CGuiSliderGroupFv
lbl_802C61A8:
/* 802C61A8 002C3108 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802C61AC 002C310C 7C 08 03 A6 */ mtlr r0
/* 802C61B0 002C3110 38 21 00 10 */ addi r1, r1, 0x10
/* 802C61B4 002C3114 4E 80 00 20 */ blr
.global AddWorkerWidget__15CGuiSliderGroupFP10CGuiWidget
AddWorkerWidget__15CGuiSliderGroupFP10CGuiWidget:
/* 802C61B8 002C3118 A8 04 00 B4 */ lha r0, 0xb4(r4)
/* 802C61BC 002C311C 2C 00 00 00 */ cmpwi r0, 0
/* 802C61C0 002C3120 41 80 00 18 */ blt lbl_802C61D8
/* 802C61C4 002C3124 2C 00 00 01 */ cmpwi r0, 1
/* 802C61C8 002C3128 41 81 00 10 */ bgt lbl_802C61D8
/* 802C61CC 002C312C 54 00 10 3A */ slwi r0, r0, 2
/* 802C61D0 002C3130 7C 63 02 14 */ add r3, r3, r0
/* 802C61D4 002C3134 90 83 00 D0 */ stw r4, 0xd0(r3)
lbl_802C61D8:
/* 802C61D8 002C3138 38 60 00 01 */ li r3, 1
/* 802C61DC 002C313C 4E 80 00 20 */ blr
.global __ct__15CGuiSliderGroupFv
__ct__15CGuiSliderGroupFv:
/* 802C61E0 002C3140 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 802C61E4 002C3144 7C 08 02 A6 */ mflr r0
/* 802C61E8 002C3148 90 01 00 34 */ stw r0, 0x34(r1)
/* 802C61EC 002C314C 39 61 00 30 */ addi r11, r1, 0x30
/* 802C61F0 002C3150 48 0C 37 F9 */ bl sub_803899e8
/* 802C61F4 002C3154 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802C61F8 002C3158 FF 80 08 90 */ fmr f28, f1
/* 802C61FC 002C315C 7C 7F 1B 78 */ mr r31, r3
/* 802C6200 002C3160 FF A0 10 90 */ fmr f29, f2
/* 802C6204 002C3164 FF C0 18 90 */ fmr f30, f3
/* 802C6208 002C3168 FF E0 20 90 */ fmr f31, f4
/* 802C620C 002C316C 4B FF B9 85 */ bl __ct__18CGuiCompoundWidgetFRCQ210CGuiWidget15CGuiWidgetParms
/* 802C6210 002C3170 3C 60 80 3F */ lis r3, lbl_803EC930@ha
/* 802C6214 002C3174 34 9F 00 D0 */ addic. r4, r31, 0xd0
/* 802C6218 002C3178 38 63 C9 30 */ addi r3, r3, lbl_803EC930@l
/* 802C621C 002C317C 38 00 00 02 */ li r0, 2
/* 802C6220 002C3180 90 7F 00 00 */ stw r3, 0(r31)
/* 802C6224 002C3184 38 60 00 00 */ li r3, 0
/* 802C6228 002C3188 D3 9F 00 B8 */ stfs f28, 0xb8(r31)
/* 802C622C 002C318C D3 BF 00 BC */ stfs f29, 0xbc(r31)
/* 802C6230 002C3190 D3 DF 00 C0 */ stfs f30, 0xc0(r31)
/* 802C6234 002C3194 D3 DF 00 C4 */ stfs f30, 0xc4(r31)
/* 802C6238 002C3198 D3 FF 00 C8 */ stfs f31, 0xc8(r31)
/* 802C623C 002C319C 90 1F 00 CC */ stw r0, 0xcc(r31)
/* 802C6240 002C31A0 41 82 00 08 */ beq lbl_802C6248
/* 802C6244 002C31A4 90 64 00 00 */ stw r3, 0(r4)
lbl_802C6248:
/* 802C6248 002C31A8 34 84 00 04 */ addic. r4, r4, 4
/* 802C624C 002C31AC 41 82 00 08 */ beq lbl_802C6254
/* 802C6250 002C31B0 90 64 00 00 */ stw r3, 0(r4)
lbl_802C6254:
/* 802C6254 002C31B4 38 00 00 00 */ li r0, 0
/* 802C6258 002C31B8 38 7F 00 E0 */ addi r3, r31, 0xe0
/* 802C625C 002C31BC 90 1F 00 D8 */ stw r0, 0xd8(r31)
/* 802C6260 002C31C0 38 80 00 00 */ li r4, 0
/* 802C6264 002C31C4 38 A0 00 10 */ li r5, 0x10
/* 802C6268 002C31C8 90 1F 00 DC */ stw r0, 0xdc(r31)
/* 802C626C 002C31CC 4B D3 D1 3D */ bl memset
/* 802C6270 002C31D0 38 80 00 00 */ li r4, 0
/* 802C6274 002C31D4 7F E3 FB 78 */ mr r3, r31
/* 802C6278 002C31D8 90 9F 00 F0 */ stw r4, 0xf0(r31)
/* 802C627C 002C31DC 88 1F 00 F4 */ lbz r0, 0xf4(r31)
/* 802C6280 002C31E0 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18
/* 802C6284 002C31E4 98 1F 00 F4 */ stb r0, 0xf4(r31)
/* 802C6288 002C31E8 39 61 00 30 */ addi r11, r1, 0x30
/* 802C628C 002C31EC 48 0C 37 A9 */ bl sub_80389a34
/* 802C6290 002C31F0 80 01 00 34 */ lwz r0, 0x34(r1)
/* 802C6294 002C31F4 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802C6298 002C31F8 7C 08 03 A6 */ mtlr r0
/* 802C629C 002C31FC 38 21 00 30 */ addi r1, r1, 0x30
/* 802C62A0 002C3200 4E 80 00 20 */ blr
.global GetWorkerWidget__15CGuiSliderGroupFi
GetWorkerWidget__15CGuiSliderGroupFi:
/* 802C62A4 002C3204 2C 04 00 00 */ cmpwi r4, 0
/* 802C62A8 002C3208 41 80 00 1C */ blt lbl_802C62C4
/* 802C62AC 002C320C 2C 04 00 01 */ cmpwi r4, 1
/* 802C62B0 002C3210 41 81 00 14 */ bgt lbl_802C62C4
/* 802C62B4 002C3214 54 80 10 3A */ slwi r0, r4, 2
/* 802C62B8 002C3218 7C 63 02 14 */ add r3, r3, r0
/* 802C62BC 002C321C 80 63 00 D0 */ lwz r3, 0xd0(r3)
/* 802C62C0 002C3220 4E 80 00 20 */ blr
lbl_802C62C4:
/* 802C62C4 002C3224 38 60 00 00 */ li r3, 0
/* 802C62C8 002C3228 4E 80 00 20 */ blr
.global Create__15CGuiSliderGroupFP9CGuiFrameR12CInputStreamb
Create__15CGuiSliderGroupFP9CGuiFrameR12CInputStreamb:
/* 802C62CC 002C322C 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 802C62D0 002C3230 7C 08 02 A6 */ mflr r0
/* 802C62D4 002C3234 90 01 00 54 */ stw r0, 0x54(r1)
/* 802C62D8 002C3238 93 E1 00 4C */ stw r31, 0x4c(r1)
/* 802C62DC 002C323C 7C 9F 23 78 */ mr r31, r4
/* 802C62E0 002C3240 7F E5 FB 78 */ mr r5, r31
/* 802C62E4 002C3244 93 C1 00 48 */ stw r30, 0x48(r1)
/* 802C62E8 002C3248 7C 7E 1B 78 */ mr r30, r3
/* 802C62EC 002C324C 7F C4 F3 78 */ mr r4, r30
/* 802C62F0 002C3250 38 61 00 08 */ addi r3, r1, 8
/* 802C62F4 002C3254 93 A1 00 44 */ stw r29, 0x44(r1)
/* 802C62F8 002C3258 48 00 4A 59 */ bl ReadWidgetHeader__10CGuiWidgetFP9CGuiFrameR12CInputStreamb
/* 802C62FC 002C325C 83 A1 00 08 */ lwz r29, 8(r1)
/* 802C6300 002C3260 7F E3 FB 78 */ mr r3, r31
/* 802C6304 002C3264 89 81 00 0C */ lbz r12, 0xc(r1)
/* 802C6308 002C3268 A9 61 00 0E */ lha r11, 0xe(r1)
/* 802C630C 002C326C A9 41 00 10 */ lha r10, 0x10(r1)
/* 802C6310 002C3270 89 21 00 12 */ lbz r9, 0x12(r1)
/* 802C6314 002C3274 89 01 00 13 */ lbz r8, 0x13(r1)
/* 802C6318 002C3278 88 E1 00 14 */ lbz r7, 0x14(r1)
/* 802C631C 002C327C 88 C1 00 15 */ lbz r6, 0x15(r1)
/* 802C6320 002C3280 88 A1 00 16 */ lbz r5, 0x16(r1)
/* 802C6324 002C3284 80 81 00 18 */ lwz r4, 0x18(r1)
/* 802C6328 002C3288 80 01 00 1C */ lwz r0, 0x1c(r1)
/* 802C632C 002C328C 93 A1 00 20 */ stw r29, 0x20(r1)
/* 802C6330 002C3290 99 81 00 24 */ stb r12, 0x24(r1)
/* 802C6334 002C3294 B1 61 00 26 */ sth r11, 0x26(r1)
/* 802C6338 002C3298 B1 41 00 28 */ sth r10, 0x28(r1)
/* 802C633C 002C329C 99 21 00 2A */ stb r9, 0x2a(r1)
/* 802C6340 002C32A0 99 01 00 2B */ stb r8, 0x2b(r1)
/* 802C6344 002C32A4 98 E1 00 2C */ stb r7, 0x2c(r1)
/* 802C6348 002C32A8 98 C1 00 2D */ stb r6, 0x2d(r1)
/* 802C634C 002C32AC 98 A1 00 2E */ stb r5, 0x2e(r1)
/* 802C6350 002C32B0 90 81 00 30 */ stw r4, 0x30(r1)
/* 802C6354 002C32B4 90 01 00 34 */ stw r0, 0x34(r1)
/* 802C6358 002C32B8 48 07 88 D1 */ bl ReadFloat__12CInputStreamFv
/* 802C635C 002C32BC 7F E3 FB 78 */ mr r3, r31
/* 802C6360 002C32C0 48 07 88 C9 */ bl ReadFloat__12CInputStreamFv
/* 802C6364 002C32C4 7F E3 FB 78 */ mr r3, r31
/* 802C6368 002C32C8 48 07 88 C1 */ bl ReadFloat__12CInputStreamFv
/* 802C636C 002C32CC 7F E3 FB 78 */ mr r3, r31
/* 802C6370 002C32D0 48 07 88 B9 */ bl ReadFloat__12CInputStreamFv
/* 802C6374 002C32D4 3C 80 80 3D */ lis r4, lbl_803D68C0@ha
/* 802C6378 002C32D8 38 60 00 F8 */ li r3, 0xf8
/* 802C637C 002C32DC 38 84 68 C0 */ addi r4, r4, lbl_803D68C0@l
/* 802C6380 002C32E0 38 A0 00 00 */ li r5, 0
/* 802C6384 002C32E4 48 04 F4 E9 */ bl __nw__FUlPCcPCc
/* 802C6388 002C32E8 7C 7D 1B 79 */ or. r29, r3, r3
/* 802C638C 002C32EC 41 82 00 20 */ beq lbl_802C63AC
/* 802C6390 002C32F0 C0 22 C3 B8 */ lfs f1, lbl_805AE0D8@sda21(r2)
/* 802C6394 002C32F4 38 81 00 20 */ addi r4, r1, 0x20
/* 802C6398 002C32F8 C0 42 C3 C0 */ lfs f2, lbl_805AE0E0@sda21(r2)
/* 802C639C 002C32FC FC 60 08 90 */ fmr f3, f1
/* 802C63A0 002C3300 C0 82 C3 C4 */ lfs f4, lbl_805AE0E4@sda21(r2)
/* 802C63A4 002C3304 4B FF FE 3D */ bl __ct__15CGuiSliderGroupFv
/* 802C63A8 002C3308 7C 7D 1B 78 */ mr r29, r3
lbl_802C63AC:
/* 802C63AC 002C330C 7F A3 EB 78 */ mr r3, r29
/* 802C63B0 002C3310 7F C4 F3 78 */ mr r4, r30
/* 802C63B4 002C3314 7F E5 FB 78 */ mr r5, r31
/* 802C63B8 002C3318 38 C1 00 20 */ addi r6, r1, 0x20
/* 802C63BC 002C331C 48 00 46 CD */ bl ParseBaseInfo__10CGuiWidgetFP9CGuiFrameR12CInputStreamRCQ210CGuiWidget15CGuiWidgetParms
/* 802C63C0 002C3320 80 01 00 54 */ lwz r0, 0x54(r1)
/* 802C63C4 002C3324 7F A3 EB 78 */ mr r3, r29
/* 802C63C8 002C3328 83 E1 00 4C */ lwz r31, 0x4c(r1)
/* 802C63CC 002C332C 83 C1 00 48 */ lwz r30, 0x48(r1)
/* 802C63D0 002C3330 83 A1 00 44 */ lwz r29, 0x44(r1)
/* 802C63D4 002C3334 7C 08 03 A6 */ mtlr r0
/* 802C63D8 002C3338 38 21 00 50 */ addi r1, r1, 0x50
/* 802C63DC 002C333C 4E 80 00 20 */ blr

156
asm/GuiSys/CGuiSys.s Normal file
View File

@ -0,0 +1,156 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global nullsub_7
nullsub_7:
/* 802C63E0 002C3340 4E 80 00 20 */ blr
.global CreateWidgetInGame__7CGuiSysFUiR12CInputStreamP9CGuiFrame
CreateWidgetInGame__7CGuiSysFUiR12CInputStreamP9CGuiFrame:
/* 802C63E4 002C3344 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802C63E8 002C3348 7C 08 02 A6 */ mflr r0
/* 802C63EC 002C334C 90 01 00 14 */ stw r0, 0x14(r1)
/* 802C63F0 002C3350 7C 80 23 78 */ mr r0, r4
/* 802C63F4 002C3354 7C A4 2B 78 */ mr r4, r5
/* 802C63F8 002C3358 7C 05 03 78 */ mr r5, r0
/* 802C63FC 002C335C 4B FF B7 D1 */ bl FGuiWidgetFactoryInGame__FUiP9CGuiFrameR12CInputStreamb
/* 802C6400 002C3360 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802C6404 002C3364 7C 08 03 A6 */ mtlr r0
/* 802C6408 002C3368 38 21 00 10 */ addi r1, r1, 0x10
/* 802C640C 002C336C 4E 80 00 20 */ blr
.global sub_802c6410
sub_802c6410:
/* 802C6410 002C3370 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802C6414 002C3374 7C 08 02 A6 */ mflr r0
/* 802C6418 002C3378 90 01 00 14 */ stw r0, 0x14(r1)
/* 802C641C 002C337C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802C6420 002C3380 7C 9F 23 78 */ mr r31, r4
/* 802C6424 002C3384 93 C1 00 08 */ stw r30, 8(r1)
/* 802C6428 002C3388 7C 7E 1B 79 */ or. r30, r3, r3
/* 802C642C 002C338C 41 82 00 30 */ beq lbl_802C645C
/* 802C6430 002C3390 34 1E 00 10 */ addic. r0, r30, 0x10
/* 802C6434 002C3394 41 82 00 0C */ beq lbl_802C6440
/* 802C6438 002C3398 80 7E 00 10 */ lwz r3, 0x10(r30)
/* 802C643C 002C339C 48 04 F4 F5 */ bl Free__7CMemoryFPCv
lbl_802C6440:
/* 802C6440 002C33A0 38 7E 00 0C */ addi r3, r30, 0xc
/* 802C6444 002C33A4 38 80 FF FF */ li r4, -1
/* 802C6448 002C33A8 48 00 00 31 */ bl sub_802c6478
/* 802C644C 002C33AC 7F E0 07 35 */ extsh. r0, r31
/* 802C6450 002C33B0 40 81 00 0C */ ble lbl_802C645C
/* 802C6454 002C33B4 7F C3 F3 78 */ mr r3, r30
/* 802C6458 002C33B8 48 04 F4 D9 */ bl Free__7CMemoryFPCv
lbl_802C645C:
/* 802C645C 002C33BC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802C6460 002C33C0 7F C3 F3 78 */ mr r3, r30
/* 802C6464 002C33C4 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802C6468 002C33C8 83 C1 00 08 */ lwz r30, 8(r1)
/* 802C646C 002C33CC 7C 08 03 A6 */ mtlr r0
/* 802C6470 002C33D0 38 21 00 10 */ addi r1, r1, 0x10
/* 802C6474 002C33D4 4E 80 00 20 */ blr
.global sub_802c6478
sub_802c6478:
/* 802C6478 002C33D8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802C647C 002C33DC 7C 08 02 A6 */ mflr r0
/* 802C6480 002C33E0 90 01 00 14 */ stw r0, 0x14(r1)
/* 802C6484 002C33E4 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802C6488 002C33E8 7C 9F 23 78 */ mr r31, r4
/* 802C648C 002C33EC 93 C1 00 08 */ stw r30, 8(r1)
/* 802C6490 002C33F0 7C 7E 1B 79 */ or. r30, r3, r3
/* 802C6494 002C33F4 41 82 00 20 */ beq lbl_802C64B4
/* 802C6498 002C33F8 80 7E 00 00 */ lwz r3, 0(r30)
/* 802C649C 002C33FC 38 80 00 01 */ li r4, 1
/* 802C64A0 002C3400 4B D6 28 15 */ bl __dt__18CTextExecuteBufferFv
/* 802C64A4 002C3404 7F E0 07 35 */ extsh. r0, r31
/* 802C64A8 002C3408 40 81 00 0C */ ble lbl_802C64B4
/* 802C64AC 002C340C 7F C3 F3 78 */ mr r3, r30
/* 802C64B0 002C3410 48 04 F4 81 */ bl Free__7CMemoryFPCv
lbl_802C64B4:
/* 802C64B4 002C3414 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802C64B8 002C3418 7F C3 F3 78 */ mr r3, r30
/* 802C64BC 002C341C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802C64C0 002C3420 83 C1 00 08 */ lwz r30, 8(r1)
/* 802C64C4 002C3424 7C 08 03 A6 */ mtlr r0
/* 802C64C8 002C3428 38 21 00 10 */ addi r1, r1, 0x10
/* 802C64CC 002C342C 4E 80 00 20 */ blr
.global __ct__7CGuiSysFP8IFactoryP11CSimplePoolQ27CGuiSys10EUsageMode
__ct__7CGuiSysFP8IFactoryP11CSimplePoolQ27CGuiSys10EUsageMode:
/* 802C64D0 002C3430 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 802C64D4 002C3434 7C 08 02 A6 */ mflr r0
/* 802C64D8 002C3438 90 01 00 24 */ stw r0, 0x24(r1)
/* 802C64DC 002C343C 38 00 00 00 */ li r0, 0
/* 802C64E0 002C3440 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 802C64E4 002C3444 93 C1 00 18 */ stw r30, 0x18(r1)
/* 802C64E8 002C3448 7C BE 2B 78 */ mr r30, r5
/* 802C64EC 002C344C 93 A1 00 14 */ stw r29, 0x14(r1)
/* 802C64F0 002C3450 7C 7D 1B 78 */ mr r29, r3
/* 802C64F4 002C3454 90 83 00 00 */ stw r4, 0(r3)
/* 802C64F8 002C3458 93 C3 00 04 */ stw r30, 4(r3)
/* 802C64FC 002C345C 90 C3 00 08 */ stw r6, 8(r3)
/* 802C6500 002C3460 90 03 00 0C */ stw r0, 0xc(r3)
/* 802C6504 002C3464 90 03 00 10 */ stw r0, 0x10(r3)
/* 802C6508 002C3468 80 83 00 08 */ lwz r4, 8(r3)
/* 802C650C 002C346C 4B FF FE D5 */ bl nullsub_7
/* 802C6510 002C3470 3C 80 80 3D */ lis r4, lbl_803D68C8@ha
/* 802C6514 002C3474 38 60 00 DC */ li r3, 0xdc
/* 802C6518 002C3478 38 84 68 C8 */ addi r4, r4, lbl_803D68C8@l
/* 802C651C 002C347C 38 A0 00 00 */ li r5, 0
/* 802C6520 002C3480 48 04 F3 4D */ bl __nw__FUlPCcPCc
/* 802C6524 002C3484 7C 64 1B 79 */ or. r4, r3, r3
/* 802C6528 002C3488 41 82 00 0C */ beq lbl_802C6534
/* 802C652C 002C348C 48 03 D8 4D */ bl __ct__18CTextExecuteBufferFv
/* 802C6530 002C3490 7C 64 1B 78 */ mr r4, r3
lbl_802C6534:
/* 802C6534 002C3494 38 7D 00 0C */ addi r3, r29, 0xc
/* 802C6538 002C3498 48 00 00 69 */ bl sub_802c65a0
/* 802C653C 002C349C 3C 80 80 3D */ lis r4, lbl_803D68C8@ha
/* 802C6540 002C34A0 38 60 00 04 */ li r3, 4
/* 802C6544 002C34A4 38 84 68 C8 */ addi r4, r4, lbl_803D68C8@l
/* 802C6548 002C34A8 38 A0 00 00 */ li r5, 0
/* 802C654C 002C34AC 48 04 F3 21 */ bl __nw__FUlPCcPCc
/* 802C6550 002C34B0 7C 7F 1B 79 */ or. r31, r3, r3
/* 802C6554 002C34B4 41 82 00 10 */ beq lbl_802C6564
/* 802C6558 002C34B8 7F C4 F3 78 */ mr r4, r30
/* 802C655C 002C34BC 48 03 F3 45 */ bl __ct__11CTextParserFR12IObjectStore
/* 802C6560 002C34C0 7C 7F 1B 78 */ mr r31, r3
lbl_802C6564:
/* 802C6564 002C34C4 80 7D 00 10 */ lwz r3, 0x10(r29)
/* 802C6568 002C34C8 48 04 F3 C9 */ bl Free__7CMemoryFPCv
/* 802C656C 002C34CC 93 FD 00 10 */ stw r31, 0x10(r29)
/* 802C6570 002C34D0 7F A3 EB 78 */ mr r3, r29
/* 802C6574 002C34D4 80 9D 00 10 */ lwz r4, 0x10(r29)
/* 802C6578 002C34D8 80 1D 00 0C */ lwz r0, 0xc(r29)
/* 802C657C 002C34DC 90 0D A6 48 */ stw r0, lbl_805A9208@sda21(r13)
/* 802C6580 002C34E0 90 8D A6 4C */ stw r4, lbl_805A920C@sda21(r13)
/* 802C6584 002C34E4 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 802C6588 002C34E8 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 802C658C 002C34EC 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 802C6590 002C34F0 80 01 00 24 */ lwz r0, 0x24(r1)
/* 802C6594 002C34F4 7C 08 03 A6 */ mtlr r0
/* 802C6598 002C34F8 38 21 00 20 */ addi r1, r1, 0x20
/* 802C659C 002C34FC 4E 80 00 20 */ blr
.global sub_802c65a0
sub_802c65a0:
/* 802C65A0 002C3500 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802C65A4 002C3504 7C 08 02 A6 */ mflr r0
/* 802C65A8 002C3508 90 01 00 14 */ stw r0, 0x14(r1)
/* 802C65AC 002C350C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802C65B0 002C3510 7C 9F 23 78 */ mr r31, r4
/* 802C65B4 002C3514 38 80 00 01 */ li r4, 1
/* 802C65B8 002C3518 93 C1 00 08 */ stw r30, 8(r1)
/* 802C65BC 002C351C 7C 7E 1B 78 */ mr r30, r3
/* 802C65C0 002C3520 80 63 00 00 */ lwz r3, 0(r3)
/* 802C65C4 002C3524 4B D6 26 F1 */ bl __dt__18CTextExecuteBufferFv
/* 802C65C8 002C3528 93 FE 00 00 */ stw r31, 0(r30)
/* 802C65CC 002C352C 7F C3 F3 78 */ mr r3, r30
/* 802C65D0 002C3530 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802C65D4 002C3534 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802C65D8 002C3538 83 C1 00 08 */ lwz r30, 8(r1)
/* 802C65DC 002C353C 7C 08 03 A6 */ mtlr r0
/* 802C65E0 002C3540 38 21 00 10 */ addi r1, r1, 0x10
/* 802C65E4 002C3544 4E 80 00 20 */ blr

1194
asm/GuiSys/CGuiTableGroup.s Normal file

File diff suppressed because it is too large Load Diff

511
asm/GuiSys/CGuiTextPane.s Normal file
View File

@ -0,0 +1,511 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global GetWidgetTypeID__12CGuiTextPaneCFv
GetWidgetTypeID__12CGuiTextPaneCFv:
/* 802C75C4 002C4524 3C 60 54 58 */ lis r3, 0x5458504E@ha
/* 802C75C8 002C4528 38 63 50 4E */ addi r3, r3, 0x5458504E@l
/* 802C75CC 002C452C 4E 80 00 20 */ blr
.global Update__12CGuiTextPaneFf
Update__12CGuiTextPaneFf:
/* 802C75D0 002C4530 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 802C75D4 002C4534 7C 08 02 A6 */ mflr r0
/* 802C75D8 002C4538 90 01 00 24 */ stw r0, 0x24(r1)
/* 802C75DC 002C453C DB E1 00 18 */ stfd f31, 0x18(r1)
/* 802C75E0 002C4540 FF E0 08 90 */ fmr f31, f1
/* 802C75E4 002C4544 93 E1 00 14 */ stw r31, 0x14(r1)
/* 802C75E8 002C4548 7C 7F 1B 78 */ mr r31, r3
/* 802C75EC 002C454C 48 00 33 E9 */ bl Update__10CGuiWidgetFf
/* 802C75F0 002C4550 FC 20 F8 90 */ fmr f1, f31
/* 802C75F4 002C4554 38 7F 00 D4 */ addi r3, r31, 0xd4
/* 802C75F8 002C4558 48 00 0B 81 */ bl Update__15CGuiTextSupportFf
/* 802C75FC 002C455C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 802C7600 002C4560 CB E1 00 18 */ lfd f31, 0x18(r1)
/* 802C7604 002C4564 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 802C7608 002C4568 7C 08 03 A6 */ mtlr r0
/* 802C760C 002C456C 38 21 00 20 */ addi r1, r1, 0x20
/* 802C7610 002C4570 4E 80 00 20 */ blr
.global GetIsFinishedLoadingWidgetSpecific__12CGuiTextPaneCFv
GetIsFinishedLoadingWidgetSpecific__12CGuiTextPaneCFv:
/* 802C7614 002C4574 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802C7618 002C4578 7C 08 02 A6 */ mflr r0
/* 802C761C 002C457C 38 63 00 D4 */ addi r3, r3, 0xd4
/* 802C7620 002C4580 90 01 00 14 */ stw r0, 0x14(r1)
/* 802C7624 002C4584 48 00 26 41 */ bl GetIsTextSupportFinishedLoading__15CGuiTextSupportCFv
/* 802C7628 002C4588 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802C762C 002C458C 7C 08 03 A6 */ mtlr r0
/* 802C7630 002C4590 38 21 00 10 */ addi r1, r1, 0x10
/* 802C7634 002C4594 4E 80 00 20 */ blr
.global sub_802c7638
sub_802c7638:
/* 802C7638 002C4598 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802C763C 002C459C 7C 08 02 A6 */ mflr r0
/* 802C7640 002C45A0 90 01 00 14 */ stw r0, 0x14(r1)
/* 802C7644 002C45A4 38 00 00 01 */ li r0, 1
/* 802C7648 002C45A8 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802C764C 002C45AC 93 C1 00 08 */ stw r30, 8(r1)
/* 802C7650 002C45B0 7C 7E 1B 78 */ mr r30, r3
/* 802C7654 002C45B4 83 E4 01 30 */ lwz r31, 0x130(r4)
/* 802C7658 002C45B8 90 03 00 04 */ stw r0, 4(r3)
/* 802C765C 002C45BC 90 03 00 08 */ stw r0, 8(r3)
/* 802C7660 002C45C0 80 03 00 04 */ lwz r0, 4(r3)
/* 802C7664 002C45C4 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d
/* 802C7668 002C45C8 40 82 00 10 */ bne lbl_802C7678
/* 802C766C 002C45CC 38 00 00 00 */ li r0, 0
/* 802C7670 002C45D0 90 1E 00 0C */ stw r0, 0xc(r30)
/* 802C7674 002C45D4 48 00 00 18 */ b lbl_802C768C
lbl_802C7678:
/* 802C7678 002C45D8 3C 80 80 3D */ lis r4, lbl_803D68D8@ha
/* 802C767C 002C45DC 38 A0 00 00 */ li r5, 0
/* 802C7680 002C45E0 38 84 68 D8 */ addi r4, r4, lbl_803D68D8@l
/* 802C7684 002C45E4 48 04 E1 95 */ bl __nwa__FUlPCcPCc
/* 802C7688 002C45E8 90 7E 00 0C */ stw r3, 0xc(r30)
lbl_802C768C:
/* 802C768C 002C45EC 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 802C7690 002C45F0 28 03 00 00 */ cmplwi r3, 0
/* 802C7694 002C45F4 41 82 00 08 */ beq lbl_802C769C
/* 802C7698 002C45F8 93 E3 00 00 */ stw r31, 0(r3)
lbl_802C769C:
/* 802C769C 002C45FC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802C76A0 002C4600 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802C76A4 002C4604 83 C1 00 08 */ lwz r30, 8(r1)
/* 802C76A8 002C4608 7C 08 03 A6 */ mtlr r0
/* 802C76AC 002C460C 38 21 00 10 */ addi r1, r1, 0x10
/* 802C76B0 002C4610 4E 80 00 20 */ blr
.global SetDimensions__12CGuiTextPaneFRC9CVector2fb
SetDimensions__12CGuiTextPaneFRC9CVector2fb:
/* 802C76B4 002C4614 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802C76B8 002C4618 7C 08 02 A6 */ mflr r0
/* 802C76BC 002C461C 90 01 00 14 */ stw r0, 0x14(r1)
/* 802C76C0 002C4620 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802C76C4 002C4624 7C BF 2B 78 */ mr r31, r5
/* 802C76C8 002C4628 93 C1 00 08 */ stw r30, 8(r1)
/* 802C76CC 002C462C 7C 7E 1B 78 */ mr r30, r3
/* 802C76D0 002C4630 4B FF DE 49 */ bl SetDimensions__8CGuiPaneFRC9CVector2fb
/* 802C76D4 002C4634 57 E0 06 3F */ clrlwi. r0, r31, 0x18
/* 802C76D8 002C4638 41 82 00 18 */ beq lbl_802C76F0
/* 802C76DC 002C463C 7F C3 F3 78 */ mr r3, r30
/* 802C76E0 002C4640 81 9E 00 00 */ lwz r12, 0(r30)
/* 802C76E4 002C4644 81 8C 00 48 */ lwz r12, 0x48(r12)
/* 802C76E8 002C4648 7D 89 03 A6 */ mtctr r12
/* 802C76EC 002C464C 4E 80 04 21 */ bctrl
lbl_802C76F0:
/* 802C76F0 002C4650 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802C76F4 002C4654 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802C76F8 002C4658 83 C1 00 08 */ lwz r30, 8(r1)
/* 802C76FC 002C465C 7C 08 03 A6 */ mtlr r0
/* 802C7700 002C4660 38 21 00 10 */ addi r1, r1, 0x10
/* 802C7704 002C4664 4E 80 00 20 */ blr
.global ScaleDimensions__12CGuiTextPaneFRC9CVector3f
ScaleDimensions__12CGuiTextPaneFRC9CVector3f:
/* 802C7708 002C4668 4E 80 00 20 */ blr
.global Draw__12CGuiTextPaneCFRC19CGuiWidgetDrawParms
Draw__12CGuiTextPaneCFRC19CGuiWidgetDrawParms:
/* 802C770C 002C466C 94 21 FE 60 */ stwu r1, -0x1a0(r1)
/* 802C7710 002C4670 7C 08 02 A6 */ mflr r0
/* 802C7714 002C4674 90 01 01 A4 */ stw r0, 0x1a4(r1)
/* 802C7718 002C4678 DB E1 01 90 */ stfd f31, 0x190(r1)
/* 802C771C 002C467C F3 E1 01 98 */ psq_st f31, 408(r1), 0, qr0
/* 802C7720 002C4680 93 E1 01 8C */ stw r31, 0x18c(r1)
/* 802C7724 002C4684 93 C1 01 88 */ stw r30, 0x188(r1)
/* 802C7728 002C4688 93 A1 01 84 */ stw r29, 0x184(r1)
/* 802C772C 002C468C 81 83 00 00 */ lwz r12, 0(r3)
/* 802C7730 002C4690 7C 7F 1B 78 */ mr r31, r3
/* 802C7734 002C4694 7C 9D 23 78 */ mr r29, r4
/* 802C7738 002C4698 81 8C 00 20 */ lwz r12, 0x20(r12)
/* 802C773C 002C469C 7D 89 03 A6 */ mtctr r12
/* 802C7740 002C46A0 4E 80 04 21 */ bctrl
/* 802C7744 002C46A4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 802C7748 002C46A8 41 82 02 88 */ beq lbl_802C79D0
/* 802C774C 002C46AC 7F E4 FB 78 */ mr r4, r31
/* 802C7750 002C46B0 38 61 00 1C */ addi r3, r1, 0x1c
/* 802C7754 002C46B4 81 9F 00 00 */ lwz r12, 0(r31)
/* 802C7758 002C46B8 83 DF 00 C0 */ lwz r30, 0xc0(r31)
/* 802C775C 002C46BC 81 8C 00 44 */ lwz r12, 0x44(r12)
/* 802C7760 002C46C0 7D 89 03 A6 */ mtctr r12
/* 802C7764 002C46C4 4E 80 04 21 */ bctrl
/* 802C7768 002C46C8 80 1F 01 08 */ lwz r0, 0x108(r31)
/* 802C776C 002C46CC C0 41 00 1C */ lfs f2, 0x1c(r1)
/* 802C7770 002C46D0 2C 00 00 00 */ cmpwi r0, 0
/* 802C7774 002C46D4 C0 61 00 20 */ lfs f3, 0x20(r1)
/* 802C7778 002C46D8 40 82 00 0C */ bne lbl_802C7784
/* 802C777C 002C46DC C0 22 C3 C8 */ lfs f1, lbl_805AE0E8@sda21(r2)
/* 802C7780 002C46E0 48 00 00 24 */ b lbl_802C77A4
lbl_802C7784:
/* 802C7784 002C46E4 6C 03 80 00 */ xoris r3, r0, 0x8000
/* 802C7788 002C46E8 3C 00 43 30 */ lis r0, 0x4330
/* 802C778C 002C46EC 90 61 01 64 */ stw r3, 0x164(r1)
/* 802C7790 002C46F0 C8 22 C3 D0 */ lfd f1, lbl_805AE0F0@sda21(r2)
/* 802C7794 002C46F4 90 01 01 60 */ stw r0, 0x160(r1)
/* 802C7798 002C46F8 C8 01 01 60 */ lfd f0, 0x160(r1)
/* 802C779C 002C46FC EC 00 08 28 */ fsubs f0, f0, f1
/* 802C77A0 002C4700 EC 22 00 24 */ fdivs f1, f2, f0
lbl_802C77A4:
/* 802C77A4 002C4704 80 1F 01 0C */ lwz r0, 0x10c(r31)
/* 802C77A8 002C4708 2C 00 00 00 */ cmpwi r0, 0
/* 802C77AC 002C470C 40 82 00 0C */ bne lbl_802C77B8
/* 802C77B0 002C4710 C0 62 C3 C8 */ lfs f3, lbl_805AE0E8@sda21(r2)
/* 802C77B4 002C4714 48 00 00 24 */ b lbl_802C77D8
lbl_802C77B8:
/* 802C77B8 002C4718 6C 03 80 00 */ xoris r3, r0, 0x8000
/* 802C77BC 002C471C 3C 00 43 30 */ lis r0, 0x4330
/* 802C77C0 002C4720 90 61 01 6C */ stw r3, 0x16c(r1)
/* 802C77C4 002C4724 C8 42 C3 D0 */ lfd f2, lbl_805AE0F0@sda21(r2)
/* 802C77C8 002C4728 90 01 01 68 */ stw r0, 0x168(r1)
/* 802C77CC 002C472C C8 01 01 68 */ lfd f0, 0x168(r1)
/* 802C77D0 002C4730 EC 00 10 28 */ fsubs f0, f0, f2
/* 802C77D4 002C4734 EC 63 00 24 */ fdivs f3, f3, f0
lbl_802C77D8:
/* 802C77D8 002C4738 C0 FE 00 08 */ lfs f7, 8(r30)
/* 802C77DC 002C473C 38 61 00 6C */ addi r3, r1, 0x6c
/* 802C77E0 002C4740 C0 DE 00 04 */ lfs f6, 4(r30)
/* 802C77E4 002C4744 C0 BE 00 00 */ lfs f5, 0(r30)
/* 802C77E8 002C4748 C0 9F 00 CC */ lfs f4, 0xcc(r31)
/* 802C77EC 002C474C C0 1F 00 C8 */ lfs f0, 0xc8(r31)
/* 802C77F0 002C4750 ED 06 20 2A */ fadds f8, f6, f4
/* 802C77F4 002C4754 C0 5F 00 D0 */ lfs f2, 0xd0(r31)
/* 802C77F8 002C4758 EC 05 00 2A */ fadds f0, f5, f0
/* 802C77FC 002C475C D0 A1 00 24 */ stfs f5, 0x24(r1)
/* 802C7800 002C4760 EC 87 10 2A */ fadds f4, f7, f2
/* 802C7804 002C4764 C0 42 C3 CC */ lfs f2, lbl_805AE0EC@sda21(r2)
/* 802C7808 002C4768 D0 C1 00 28 */ stfs f6, 0x28(r1)
/* 802C780C 002C476C D0 E1 00 2C */ stfs f7, 0x2c(r1)
/* 802C7810 002C4770 D0 01 00 30 */ stfs f0, 0x30(r1)
/* 802C7814 002C4774 D1 01 00 34 */ stfs f8, 0x34(r1)
/* 802C7818 002C4778 D0 81 00 38 */ stfs f4, 0x38(r1)
/* 802C781C 002C477C 48 04 B9 ED */ bl Scale__12CTransform4fFfff
/* 802C7820 002C4780 38 61 00 9C */ addi r3, r1, 0x9c
/* 802C7824 002C4784 38 81 00 30 */ addi r4, r1, 0x30
/* 802C7828 002C4788 48 04 B9 19 */ bl Translate__12CTransform4fFRC9CVector3f
/* 802C782C 002C478C 38 61 00 CC */ addi r3, r1, 0xcc
/* 802C7830 002C4790 38 81 00 9C */ addi r4, r1, 0x9c
/* 802C7834 002C4794 38 A1 00 6C */ addi r5, r1, 0x6c
/* 802C7838 002C4798 48 04 B1 19 */ bl __ml__12CTransform4fCFRC12CTransform4f
/* 802C783C 002C479C 38 61 01 2C */ addi r3, r1, 0x12c
/* 802C7840 002C47A0 38 81 00 CC */ addi r4, r1, 0xcc
/* 802C7844 002C47A4 48 04 B3 31 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 802C7848 002C47A8 38 61 00 3C */ addi r3, r1, 0x3c
/* 802C784C 002C47AC 38 9F 00 34 */ addi r4, r31, 0x34
/* 802C7850 002C47B0 38 A1 01 2C */ addi r5, r1, 0x12c
/* 802C7854 002C47B4 48 04 B0 FD */ bl __ml__12CTransform4fCFRC12CTransform4f
/* 802C7858 002C47B8 38 61 00 FC */ addi r3, r1, 0xfc
/* 802C785C 002C47BC 38 81 00 3C */ addi r4, r1, 0x3c
/* 802C7860 002C47C0 48 04 B3 15 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 802C7864 002C47C4 38 61 00 FC */ addi r3, r1, 0xfc
/* 802C7868 002C47C8 48 04 4D 79 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f
/* 802C786C 002C47CC 88 7F 00 AB */ lbz r3, 0xab(r31)
/* 802C7870 002C47D0 3C 00 43 30 */ lis r0, 0x4330
/* 802C7874 002C47D4 90 01 01 70 */ stw r0, 0x170(r1)
/* 802C7878 002C47D8 C8 22 C3 D8 */ lfd f1, lbl_805AE0F8@sda21(r2)
/* 802C787C 002C47DC 90 61 01 74 */ stw r3, 0x174(r1)
/* 802C7880 002C47E0 C0 5D 00 00 */ lfs f2, 0(r29)
/* 802C7884 002C47E4 C8 01 01 70 */ lfd f0, 0x170(r1)
/* 802C7888 002C47E8 EC 00 08 28 */ fsubs f0, f0, f1
/* 802C788C 002C47EC EF E2 00 32 */ fmuls f31, f2, f0
/* 802C7890 002C47F0 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2
/* 802C7894 002C47F4 3B DF 00 D4 */ addi r30, r31, 0xd4
/* 802C7898 002C47F8 80 BF 00 A8 */ lwz r5, 0xa8(r31)
/* 802C789C 002C47FC 7F C3 F3 78 */ mr r3, r30
/* 802C78A0 002C4800 88 01 00 08 */ lbz r0, 8(r1)
/* 802C78A4 002C4804 38 81 00 18 */ addi r4, r1, 0x18
/* 802C78A8 002C4808 50 A0 00 2E */ rlwimi r0, r5, 0, 0, 0x17
/* 802C78AC 002C480C 90 01 00 18 */ stw r0, 0x18(r1)
/* 802C78B0 002C4810 48 00 1D 5D */ bl SetGeometryColor__15CGuiTextSupportFRC6CColor
/* 802C78B4 002C4814 88 7F 00 B6 */ lbz r3, 0xb6(r31)
/* 802C78B8 002C4818 38 80 00 03 */ li r4, 3
/* 802C78BC 002C481C 88 1F 00 B7 */ lbz r0, 0xb7(r31)
/* 802C78C0 002C4820 54 63 07 FE */ clrlwi r3, r3, 0x1f
/* 802C78C4 002C4824 54 05 CF FE */ rlwinm r5, r0, 0x19, 0x1f, 0x1f
/* 802C78C8 002C4828 48 04 41 CD */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb
/* 802C78CC 002C482C 80 1F 00 AC */ lwz r0, 0xac(r31)
/* 802C78D0 002C4830 2C 00 00 03 */ cmpwi r0, 3
/* 802C78D4 002C4834 41 82 00 68 */ beq lbl_802C793C
/* 802C78D8 002C4838 40 80 00 18 */ bge lbl_802C78F0
/* 802C78DC 002C483C 2C 00 00 02 */ cmpwi r0, 2
/* 802C78E0 002C4840 40 80 00 3C */ bge lbl_802C791C
/* 802C78E4 002C4844 2C 00 00 00 */ cmpwi r0, 0
/* 802C78E8 002C4848 40 80 00 14 */ bge lbl_802C78FC
/* 802C78EC 002C484C 48 00 00 E4 */ b lbl_802C79D0
lbl_802C78F0:
/* 802C78F0 002C4850 2C 00 00 05 */ cmpwi r0, 5
/* 802C78F4 002C4854 40 80 00 DC */ bge lbl_802C79D0
/* 802C78F8 002C4858 48 00 00 64 */ b lbl_802C795C
lbl_802C78FC:
/* 802C78FC 002C485C 38 60 00 01 */ li r3, 1
/* 802C7900 002C4860 38 80 00 01 */ li r4, 1
/* 802C7904 002C4864 38 A0 00 00 */ li r5, 0
/* 802C7908 002C4868 38 C0 00 00 */ li r6, 0
/* 802C790C 002C486C 48 04 41 45 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp
/* 802C7910 002C4870 7F C3 F3 78 */ mr r3, r30
/* 802C7914 002C4874 48 00 1C 31 */ bl Render__15CGuiTextSupportFv
/* 802C7918 002C4878 48 00 00 B8 */ b lbl_802C79D0
lbl_802C791C:
/* 802C791C 002C487C 38 60 00 01 */ li r3, 1
/* 802C7920 002C4880 38 80 00 04 */ li r4, 4
/* 802C7924 002C4884 38 A0 00 05 */ li r5, 5
/* 802C7928 002C4888 38 C0 00 00 */ li r6, 0
/* 802C792C 002C488C 48 04 41 25 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp
/* 802C7930 002C4890 7F C3 F3 78 */ mr r3, r30
/* 802C7934 002C4894 48 00 1C 11 */ bl Render__15CGuiTextSupportFv
/* 802C7938 002C4898 48 00 00 98 */ b lbl_802C79D0
lbl_802C793C:
/* 802C793C 002C489C 38 60 00 01 */ li r3, 1
/* 802C7940 002C48A0 38 80 00 04 */ li r4, 4
/* 802C7944 002C48A4 38 A0 00 01 */ li r5, 1
/* 802C7948 002C48A8 38 C0 00 00 */ li r6, 0
/* 802C794C 002C48AC 48 04 41 05 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp
/* 802C7950 002C48B0 7F C3 F3 78 */ mr r3, r30
/* 802C7954 002C48B4 48 00 1B F1 */ bl Render__15CGuiTextSupportFv
/* 802C7958 002C48B8 48 00 00 78 */ b lbl_802C79D0
lbl_802C795C:
/* 802C795C 002C48BC 38 60 00 01 */ li r3, 1
/* 802C7960 002C48C0 38 80 00 04 */ li r4, 4
/* 802C7964 002C48C4 38 A0 00 05 */ li r5, 5
/* 802C7968 002C48C8 38 C0 00 00 */ li r6, 0
/* 802C796C 002C48CC 48 04 40 E5 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp
/* 802C7970 002C48D0 7F C3 F3 78 */ mr r3, r30
/* 802C7974 002C48D4 48 00 1B D1 */ bl Render__15CGuiTextSupportFv
/* 802C7978 002C48D8 88 C1 00 1B */ lbz r6, 0x1b(r1)
/* 802C797C 002C48DC 38 00 00 FF */ li r0, 0xff
/* 802C7980 002C48E0 98 01 00 17 */ stb r0, 0x17(r1)
/* 802C7984 002C48E4 38 61 00 0C */ addi r3, r1, 0xc
/* 802C7988 002C48E8 38 81 00 18 */ addi r4, r1, 0x18
/* 802C798C 002C48EC 38 A1 00 14 */ addi r5, r1, 0x14
/* 802C7990 002C48F0 98 C1 00 14 */ stb r6, 0x14(r1)
/* 802C7994 002C48F4 98 C1 00 15 */ stb r6, 0x15(r1)
/* 802C7998 002C48F8 98 C1 00 16 */ stb r6, 0x16(r1)
/* 802C799C 002C48FC 48 09 B7 DD */ bl Modulate__6CColorFRC6CColorRC6CColor
/* 802C79A0 002C4900 80 01 00 0C */ lwz r0, 0xc(r1)
/* 802C79A4 002C4904 7F C3 F3 78 */ mr r3, r30
/* 802C79A8 002C4908 38 81 00 10 */ addi r4, r1, 0x10
/* 802C79AC 002C490C 90 01 00 10 */ stw r0, 0x10(r1)
/* 802C79B0 002C4910 48 00 1C 5D */ bl SetGeometryColor__15CGuiTextSupportFRC6CColor
/* 802C79B4 002C4914 38 60 00 01 */ li r3, 1
/* 802C79B8 002C4918 38 80 00 01 */ li r4, 1
/* 802C79BC 002C491C 38 A0 00 01 */ li r5, 1
/* 802C79C0 002C4920 38 C0 00 00 */ li r6, 0
/* 802C79C4 002C4924 48 04 40 8D */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp
/* 802C79C8 002C4928 7F C3 F3 78 */ mr r3, r30
/* 802C79CC 002C492C 48 00 1B 79 */ bl Render__15CGuiTextSupportFv
lbl_802C79D0:
/* 802C79D0 002C4930 E3 E1 01 98 */ psq_l f31, 408(r1), 0, qr0
/* 802C79D4 002C4934 80 01 01 A4 */ lwz r0, 0x1a4(r1)
/* 802C79D8 002C4938 CB E1 01 90 */ lfd f31, 0x190(r1)
/* 802C79DC 002C493C 83 E1 01 8C */ lwz r31, 0x18c(r1)
/* 802C79E0 002C4940 83 C1 01 88 */ lwz r30, 0x188(r1)
/* 802C79E4 002C4944 83 A1 01 84 */ lwz r29, 0x184(r1)
/* 802C79E8 002C4948 7C 08 03 A6 */ mtlr r0
/* 802C79EC 002C494C 38 21 01 A0 */ addi r1, r1, 0x1a0
/* 802C79F0 002C4950 4E 80 00 20 */ blr
.global __dt__12CGuiTextPaneFv
__dt__12CGuiTextPaneFv:
/* 802C79F4 002C4954 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802C79F8 002C4958 7C 08 02 A6 */ mflr r0
/* 802C79FC 002C495C 90 01 00 14 */ stw r0, 0x14(r1)
/* 802C7A00 002C4960 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802C7A04 002C4964 7C 9F 23 78 */ mr r31, r4
/* 802C7A08 002C4968 93 C1 00 08 */ stw r30, 8(r1)
/* 802C7A0C 002C496C 7C 7E 1B 79 */ or. r30, r3, r3
/* 802C7A10 002C4970 41 82 00 38 */ beq lbl_802C7A48
/* 802C7A14 002C4974 3C 80 80 3F */ lis r4, lbl_803EC9B8@ha
/* 802C7A18 002C4978 38 7E 00 D4 */ addi r3, r30, 0xd4
/* 802C7A1C 002C497C 38 04 C9 B8 */ addi r0, r4, lbl_803EC9B8@l
/* 802C7A20 002C4980 38 80 FF FF */ li r4, -1
/* 802C7A24 002C4984 90 1E 00 00 */ stw r0, 0(r30)
/* 802C7A28 002C4988 48 00 22 71 */ bl __dt__15CGuiTextSupportFv
/* 802C7A2C 002C498C 7F C3 F3 78 */ mr r3, r30
/* 802C7A30 002C4990 38 80 00 00 */ li r4, 0
/* 802C7A34 002C4994 4B FF DD F1 */ bl __dt__8CGuiPaneFv
/* 802C7A38 002C4998 7F E0 07 35 */ extsh. r0, r31
/* 802C7A3C 002C499C 40 81 00 0C */ ble lbl_802C7A48
/* 802C7A40 002C49A0 7F C3 F3 78 */ mr r3, r30
/* 802C7A44 002C49A4 48 04 DE ED */ bl Free__7CMemoryFPCv
lbl_802C7A48:
/* 802C7A48 002C49A8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802C7A4C 002C49AC 7F C3 F3 78 */ mr r3, r30
/* 802C7A50 002C49B0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802C7A54 002C49B4 83 C1 00 08 */ lwz r30, 8(r1)
/* 802C7A58 002C49B8 7C 08 03 A6 */ mtlr r0
/* 802C7A5C 002C49BC 38 21 00 10 */ addi r1, r1, 0x10
/* 802C7A60 002C49C0 4E 80 00 20 */ blr
.global __ct__12CGuiTextPaneFRCQ210CGuiWidget15CGuiWidgetParmsP11CSimplePoolRC9CVector2fRC9CVector3fUiRC18CGuiTextPropertiesRC6CColorRC6CColorii
__ct__12CGuiTextPaneFRCQ210CGuiWidget15CGuiWidgetParmsP11CSimplePoolRC9CVector2fRC9CVector3fUiRC18CGuiTextPropertiesRC6CColorRC6CColorii:
/* 802C7A64 002C49C4 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 802C7A68 002C49C8 7C 08 02 A6 */ mflr r0
/* 802C7A6C 002C49CC 90 01 00 34 */ stw r0, 0x34(r1)
/* 802C7A70 002C49D0 BF 01 00 10 */ stmw r24, 0x10(r1)
/* 802C7A74 002C49D4 7C B9 2B 78 */ mr r25, r5
/* 802C7A78 002C49D8 83 C1 00 38 */ lwz r30, 0x38(r1)
/* 802C7A7C 002C49DC 7C 78 1B 78 */ mr r24, r3
/* 802C7A80 002C49E0 83 E1 00 3C */ lwz r31, 0x3c(r1)
/* 802C7A84 002C49E4 7C FA 3B 78 */ mr r26, r7
/* 802C7A88 002C49E8 7D 1B 43 78 */ mr r27, r8
/* 802C7A8C 002C49EC 7D 3C 4B 78 */ mr r28, r9
/* 802C7A90 002C49F0 7D 5D 53 78 */ mr r29, r10
/* 802C7A94 002C49F4 7C C5 33 78 */ mr r5, r6
/* 802C7A98 002C49F8 4B FF DE 05 */ bl __ct__8CGuiPaneFRCQ210CGuiWidget15CGuiWidgetParmsffRC9CVector3f
/* 802C7A9C 002C49FC 3C 60 80 3F */ lis r3, lbl_803EC9B8@ha
/* 802C7AA0 002C4A00 38 03 C9 B8 */ addi r0, r3, lbl_803EC9B8@l
/* 802C7AA4 002C4A04 90 18 00 00 */ stw r0, 0(r24)
/* 802C7AA8 002C4A08 48 08 25 05 */ bl White__6CColorFv
/* 802C7AAC 002C4A0C 93 21 00 08 */ stw r25, 8(r1)
/* 802C7AB0 002C4A10 7C 68 1B 78 */ mr r8, r3
/* 802C7AB4 002C4A14 7F 44 D3 78 */ mr r4, r26
/* 802C7AB8 002C4A18 7F 65 DB 78 */ mr r5, r27
/* 802C7ABC 002C4A1C 7F 86 E3 78 */ mr r6, r28
/* 802C7AC0 002C4A20 7F A7 EB 78 */ mr r7, r29
/* 802C7AC4 002C4A24 7F C9 F3 78 */ mr r9, r30
/* 802C7AC8 002C4A28 7F EA FB 78 */ mr r10, r31
/* 802C7ACC 002C4A2C 38 78 00 D4 */ addi r3, r24, 0xd4
/* 802C7AD0 002C4A30 48 00 23 6D */ bl __ct__15CGuiTextSupportFv
/* 802C7AD4 002C4A34 7F 03 C3 78 */ mr r3, r24
/* 802C7AD8 002C4A38 BB 01 00 10 */ lmw r24, 0x10(r1)
/* 802C7ADC 002C4A3C 80 01 00 34 */ lwz r0, 0x34(r1)
/* 802C7AE0 002C4A40 7C 08 03 A6 */ mtlr r0
/* 802C7AE4 002C4A44 38 21 00 30 */ addi r1, r1, 0x30
/* 802C7AE8 002C4A48 4E 80 00 20 */ blr
.global Create__12CGuiTextPaneFP9CGuiFrameR12CInputStreamb
Create__12CGuiTextPaneFP9CGuiFrameR12CInputStreamb:
/* 802C7AEC 002C4A4C 94 21 FF 40 */ stwu r1, -0xc0(r1)
/* 802C7AF0 002C4A50 7C 08 02 A6 */ mflr r0
/* 802C7AF4 002C4A54 90 01 00 C4 */ stw r0, 0xc4(r1)
/* 802C7AF8 002C4A58 DB E1 00 B8 */ stfd f31, 0xb8(r1)
/* 802C7AFC 002C4A5C DB C1 00 B0 */ stfd f30, 0xb0(r1)
/* 802C7B00 002C4A60 BE E1 00 8C */ stmw r23, 0x8c(r1)
/* 802C7B04 002C4A64 7C 7D 1B 78 */ mr r29, r3
/* 802C7B08 002C4A68 7C 9E 23 78 */ mr r30, r4
/* 802C7B0C 002C4A6C 7C BF 2B 78 */ mr r31, r5
/* 802C7B10 002C4A70 38 61 00 44 */ addi r3, r1, 0x44
/* 802C7B14 002C4A74 7F A4 EB 78 */ mr r4, r29
/* 802C7B18 002C4A78 7F C5 F3 78 */ mr r5, r30
/* 802C7B1C 002C4A7C 48 00 32 35 */ bl ReadWidgetHeader__10CGuiWidgetFP9CGuiFrameR12CInputStreamb
/* 802C7B20 002C4A80 83 61 00 44 */ lwz r27, 0x44(r1)
/* 802C7B24 002C4A84 7F C3 F3 78 */ mr r3, r30
/* 802C7B28 002C4A88 89 81 00 48 */ lbz r12, 0x48(r1)
/* 802C7B2C 002C4A8C A9 61 00 4A */ lha r11, 0x4a(r1)
/* 802C7B30 002C4A90 A9 41 00 4C */ lha r10, 0x4c(r1)
/* 802C7B34 002C4A94 89 21 00 4E */ lbz r9, 0x4e(r1)
/* 802C7B38 002C4A98 89 01 00 4F */ lbz r8, 0x4f(r1)
/* 802C7B3C 002C4A9C 88 E1 00 50 */ lbz r7, 0x50(r1)
/* 802C7B40 002C4AA0 88 C1 00 51 */ lbz r6, 0x51(r1)
/* 802C7B44 002C4AA4 88 A1 00 52 */ lbz r5, 0x52(r1)
/* 802C7B48 002C4AA8 80 81 00 54 */ lwz r4, 0x54(r1)
/* 802C7B4C 002C4AAC 80 01 00 58 */ lwz r0, 0x58(r1)
/* 802C7B50 002C4AB0 93 61 00 5C */ stw r27, 0x5c(r1)
/* 802C7B54 002C4AB4 99 81 00 60 */ stb r12, 0x60(r1)
/* 802C7B58 002C4AB8 B1 61 00 62 */ sth r11, 0x62(r1)
/* 802C7B5C 002C4ABC B1 41 00 64 */ sth r10, 0x64(r1)
/* 802C7B60 002C4AC0 99 21 00 66 */ stb r9, 0x66(r1)
/* 802C7B64 002C4AC4 99 01 00 67 */ stb r8, 0x67(r1)
/* 802C7B68 002C4AC8 98 E1 00 68 */ stb r7, 0x68(r1)
/* 802C7B6C 002C4ACC 98 C1 00 69 */ stb r6, 0x69(r1)
/* 802C7B70 002C4AD0 98 A1 00 6A */ stb r5, 0x6a(r1)
/* 802C7B74 002C4AD4 90 81 00 6C */ stw r4, 0x6c(r1)
/* 802C7B78 002C4AD8 90 01 00 70 */ stw r0, 0x70(r1)
/* 802C7B7C 002C4ADC 48 07 70 AD */ bl ReadFloat__12CInputStreamFv
/* 802C7B80 002C4AE0 FF E0 08 90 */ fmr f31, f1
/* 802C7B84 002C4AE4 7F C3 F3 78 */ mr r3, r30
/* 802C7B88 002C4AE8 48 07 70 A1 */ bl ReadFloat__12CInputStreamFv
/* 802C7B8C 002C4AEC FF C0 08 90 */ fmr f30, f1
/* 802C7B90 002C4AF0 7F C4 F3 78 */ mr r4, r30
/* 802C7B94 002C4AF4 38 61 00 38 */ addi r3, r1, 0x38
/* 802C7B98 002C4AF8 48 04 CF F5 */ bl __ct__9CVector3fFR12CInputStream
/* 802C7B9C 002C4AFC 7F C3 F3 78 */ mr r3, r30
/* 802C7BA0 002C4B00 48 07 70 E5 */ bl ReadLong__12CInputStreamFv
/* 802C7BA4 002C4B04 7C 60 1B 78 */ mr r0, r3
/* 802C7BA8 002C4B08 7F C3 F3 78 */ mr r3, r30
/* 802C7BAC 002C4B0C 7C 17 03 78 */ mr r23, r0
/* 802C7BB0 002C4B10 48 07 71 2D */ bl ReadBool__12CInputStreamFv
/* 802C7BB4 002C4B14 7C 7B 1B 78 */ mr r27, r3
/* 802C7BB8 002C4B18 7F C3 F3 78 */ mr r3, r30
/* 802C7BBC 002C4B1C 48 07 71 21 */ bl ReadBool__12CInputStreamFv
/* 802C7BC0 002C4B20 7C 7C 1B 78 */ mr r28, r3
/* 802C7BC4 002C4B24 7F C3 F3 78 */ mr r3, r30
/* 802C7BC8 002C4B28 48 07 70 BD */ bl ReadLong__12CInputStreamFv
/* 802C7BCC 002C4B2C 7C 7A 1B 78 */ mr r26, r3
/* 802C7BD0 002C4B30 7F C3 F3 78 */ mr r3, r30
/* 802C7BD4 002C4B34 48 07 70 B1 */ bl ReadLong__12CInputStreamFv
/* 802C7BD8 002C4B38 7C 79 1B 78 */ mr r25, r3
/* 802C7BDC 002C4B3C 7F C4 F3 78 */ mr r4, r30
/* 802C7BE0 002C4B40 38 61 00 14 */ addi r3, r1, 0x14
/* 802C7BE4 002C4B44 48 09 B8 69 */ bl __ct__6CColorFR12CInputStream
/* 802C7BE8 002C4B48 7F C4 F3 78 */ mr r4, r30
/* 802C7BEC 002C4B4C 38 61 00 10 */ addi r3, r1, 0x10
/* 802C7BF0 002C4B50 48 09 B8 5D */ bl __ct__6CColorFR12CInputStream
/* 802C7BF4 002C4B54 7F C3 F3 78 */ mr r3, r30
/* 802C7BF8 002C4B58 48 07 70 31 */ bl ReadFloat__12CInputStreamFv
/* 802C7BFC 002C4B5C FC 00 08 1E */ fctiwz f0, f1
/* 802C7C00 002C4B60 7F C3 F3 78 */ mr r3, r30
/* 802C7C04 002C4B64 D8 01 00 78 */ stfd f0, 0x78(r1)
/* 802C7C08 002C4B68 83 01 00 7C */ lwz r24, 0x7c(r1)
/* 802C7C0C 002C4B6C 48 07 70 1D */ bl ReadFloat__12CInputStreamFv
/* 802C7C10 002C4B70 FC 00 08 1E */ fctiwz f0, f1
/* 802C7C14 002C4B74 7F 46 D3 78 */ mr r6, r26
/* 802C7C18 002C4B78 7F 27 CB 78 */ mr r7, r25
/* 802C7C1C 002C4B7C 38 61 00 28 */ addi r3, r1, 0x28
/* 802C7C20 002C4B80 57 64 06 3E */ clrlwi r4, r27, 0x18
/* 802C7C24 002C4B84 57 85 06 3E */ clrlwi r5, r28, 0x18
/* 802C7C28 002C4B88 D8 01 00 80 */ stfd f0, 0x80(r1)
/* 802C7C2C 002C4B8C 39 00 00 00 */ li r8, 0
/* 802C7C30 002C4B90 83 21 00 84 */ lwz r25, 0x84(r1)
/* 802C7C34 002C4B94 48 00 24 11 */ bl __ct__18CGuiTextPropertiesFv
/* 802C7C38 002C4B98 3C 80 80 3D */ lis r4, lbl_803D68D8@ha
/* 802C7C3C 002C4B9C 38 60 03 E0 */ li r3, 0x3e0
/* 802C7C40 002C4BA0 38 84 68 D8 */ addi r4, r4, lbl_803D68D8@l
/* 802C7C44 002C4BA4 38 A0 00 00 */ li r5, 0
/* 802C7C48 002C4BA8 48 04 DC 25 */ bl __nw__FUlPCcPCc
/* 802C7C4C 002C4BAC 7C 7A 1B 79 */ or. r26, r3, r3
/* 802C7C50 002C4BB0 41 82 00 38 */ beq lbl_802C7C88
/* 802C7C54 002C4BB4 93 01 00 08 */ stw r24, 8(r1)
/* 802C7C58 002C4BB8 FC 20 F8 90 */ fmr f1, f31
/* 802C7C5C 002C4BBC FC 40 F0 90 */ fmr f2, f30
/* 802C7C60 002C4BC0 7F E5 FB 78 */ mr r5, r31
/* 802C7C64 002C4BC4 93 21 00 0C */ stw r25, 0xc(r1)
/* 802C7C68 002C4BC8 7E E7 BB 78 */ mr r7, r23
/* 802C7C6C 002C4BCC 38 81 00 5C */ addi r4, r1, 0x5c
/* 802C7C70 002C4BD0 38 C1 00 38 */ addi r6, r1, 0x38
/* 802C7C74 002C4BD4 39 01 00 28 */ addi r8, r1, 0x28
/* 802C7C78 002C4BD8 39 21 00 14 */ addi r9, r1, 0x14
/* 802C7C7C 002C4BDC 39 41 00 10 */ addi r10, r1, 0x10
/* 802C7C80 002C4BE0 4B FF FD E5 */ bl __ct__12CGuiTextPaneFRCQ210CGuiWidget15CGuiWidgetParmsP11CSimplePoolRC9CVector2fRC9CVector3fUiRC18CGuiTextPropertiesRC6CColorRC6CColorii
/* 802C7C84 002C4BE4 7C 7A 1B 78 */ mr r26, r3
lbl_802C7C88:
/* 802C7C88 002C4BE8 7F 43 D3 78 */ mr r3, r26
/* 802C7C8C 002C4BEC 7F A4 EB 78 */ mr r4, r29
/* 802C7C90 002C4BF0 7F C5 F3 78 */ mr r5, r30
/* 802C7C94 002C4BF4 38 C1 00 5C */ addi r6, r1, 0x5c
/* 802C7C98 002C4BF8 48 00 2D F1 */ bl ParseBaseInfo__10CGuiWidgetFP9CGuiFrameR12CInputStreamRCQ210CGuiWidget15CGuiWidgetParms
/* 802C7C9C 002C4BFC 7F 43 D3 78 */ mr r3, r26
/* 802C7CA0 002C4C00 81 9A 00 00 */ lwz r12, 0(r26)
/* 802C7CA4 002C4C04 81 8C 00 48 */ lwz r12, 0x48(r12)
/* 802C7CA8 002C4C08 7D 89 03 A6 */ mtctr r12
/* 802C7CAC 002C4C0C 4E 80 04 21 */ bctrl
/* 802C7CB0 002C4C10 3C 80 80 3D */ lis r4, lbl_803D68D8@ha
/* 802C7CB4 002C4C14 38 61 00 18 */ addi r3, r1, 0x18
/* 802C7CB8 002C4C18 38 84 68 D8 */ addi r4, r4, lbl_803D68D8@l
/* 802C7CBC 002C4C1C 38 84 00 07 */ addi r4, r4, 7
/* 802C7CC0 002C4C20 4B D3 CF F9 */ bl string_l__4rstlFPCc
/* 802C7CC4 002C4C24 38 7A 00 D4 */ addi r3, r26, 0xd4
/* 802C7CC8 002C4C28 38 81 00 18 */ addi r4, r1, 0x18
/* 802C7CCC 002C4C2C 38 A0 00 00 */ li r5, 0
/* 802C7CD0 002C4C30 48 00 1E 39 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 802C7CD4 002C4C34 38 61 00 18 */ addi r3, r1, 0x18
/* 802C7CD8 002C4C38 48 07 5E 09 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 802C7CDC 002C4C3C CB E1 00 B8 */ lfd f31, 0xb8(r1)
/* 802C7CE0 002C4C40 7F 43 D3 78 */ mr r3, r26
/* 802C7CE4 002C4C44 CB C1 00 B0 */ lfd f30, 0xb0(r1)
/* 802C7CE8 002C4C48 BA E1 00 8C */ lmw r23, 0x8c(r1)
/* 802C7CEC 002C4C4C 80 01 00 C4 */ lwz r0, 0xc4(r1)
/* 802C7CF0 002C4C50 7C 08 03 A6 */ mtlr r0
/* 802C7CF4 002C4C54 38 21 00 C0 */ addi r1, r1, 0xc0
/* 802C7CF8 002C4C58 4E 80 00 20 */ blr

3057
asm/GuiSys/CGuiTextSupport.s Normal file

File diff suppressed because it is too large Load Diff

708
asm/GuiSys/CGuiWidget.s Normal file
View File

@ -0,0 +1,708 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global OnActivate__10CGuiWidgetFv
OnActivate__10CGuiWidgetFv:
/* 802CA5DC 002C753C 4E 80 00 20 */ blr
.global OnVisible__10CGuiWidgetFv
OnVisible__10CGuiWidgetFv:
/* 802CA5E0 002C7540 4E 80 00 20 */ blr
.global SetIsActive__10CGuiWidgetFb
SetIsActive__10CGuiWidgetFb:
/* 802CA5E4 002C7544 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802CA5E8 002C7548 7C 08 02 A6 */ mflr r0
/* 802CA5EC 002C754C 90 01 00 14 */ stw r0, 0x14(r1)
/* 802CA5F0 002C7550 54 80 06 3E */ clrlwi r0, r4, 0x18
/* 802CA5F4 002C7554 88 A3 00 B6 */ lbz r5, 0xb6(r3)
/* 802CA5F8 002C7558 54 A4 DF FE */ rlwinm r4, r5, 0x1b, 0x1f, 0x1f
/* 802CA5FC 002C755C 7C 04 00 40 */ cmplw r4, r0
/* 802CA600 002C7560 41 82 00 1C */ beq lbl_802CA61C
/* 802CA604 002C7564 50 05 2E B4 */ rlwimi r5, r0, 5, 0x1a, 0x1a
/* 802CA608 002C7568 98 A3 00 B6 */ stb r5, 0xb6(r3)
/* 802CA60C 002C756C 81 83 00 00 */ lwz r12, 0(r3)
/* 802CA610 002C7570 81 8C 00 38 */ lwz r12, 0x38(r12)
/* 802CA614 002C7574 7D 89 03 A6 */ mtctr r12
/* 802CA618 002C7578 4E 80 04 21 */ bctrl
lbl_802CA61C:
/* 802CA61C 002C757C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802CA620 002C7580 7C 08 03 A6 */ mtlr r0
/* 802CA624 002C7584 38 21 00 10 */ addi r1, r1, 0x10
/* 802CA628 002C7588 4E 80 00 20 */ blr
.global SetIsVisible__10CGuiWidgetFb
SetIsVisible__10CGuiWidgetFb:
/* 802CA62C 002C758C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802CA630 002C7590 7C 08 02 A6 */ mflr r0
/* 802CA634 002C7594 90 01 00 14 */ stw r0, 0x14(r1)
/* 802CA638 002C7598 88 03 00 B6 */ lbz r0, 0xb6(r3)
/* 802CA63C 002C759C 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19
/* 802CA640 002C75A0 98 03 00 B6 */ stb r0, 0xb6(r3)
/* 802CA644 002C75A4 81 83 00 00 */ lwz r12, 0(r3)
/* 802CA648 002C75A8 81 8C 00 34 */ lwz r12, 0x34(r12)
/* 802CA64C 002C75AC 7D 89 03 A6 */ mtctr r12
/* 802CA650 002C75B0 4E 80 04 21 */ bctrl
/* 802CA654 002C75B4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802CA658 002C75B8 7C 08 03 A6 */ mtlr r0
/* 802CA65C 002C75BC 38 21 00 10 */ addi r1, r1, 0x10
/* 802CA660 002C75C0 4E 80 00 20 */ blr
.global ReapplyXform__10CGuiWidgetFv
ReapplyXform__10CGuiWidgetFv:
/* 802CA664 002C75C4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802CA668 002C75C8 7C 08 02 A6 */ mflr r0
/* 802CA66C 002C75CC 90 01 00 14 */ stw r0, 0x14(r1)
/* 802CA670 002C75D0 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802CA674 002C75D4 7C 7F 1B 78 */ mr r31, r3
/* 802CA678 002C75D8 4B FF AA C9 */ bl RotateReset__10CGuiObjectFv
/* 802CA67C 002C75DC 3C 80 80 5A */ lis r4, skZero3f@ha
/* 802CA680 002C75E0 7F E3 FB 78 */ mr r3, r31
/* 802CA684 002C75E4 38 84 66 A0 */ addi r4, r4, skZero3f@l
/* 802CA688 002C75E8 4B FF AB 41 */ bl SetLocalPosition__10CGuiObjectFRC9CVector3f
/* 802CA68C 002C75EC 7F E3 FB 78 */ mr r3, r31
/* 802CA690 002C75F0 38 9F 00 74 */ addi r4, r31, 0x74
/* 802CA694 002C75F4 4B FF A9 95 */ bl MultiplyO2P__10CGuiObjectFRC12CTransform4f
/* 802CA698 002C75F8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802CA69C 002C75FC 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802CA6A0 002C7600 7C 08 03 A6 */ mtlr r0
/* 802CA6A4 002C7604 38 21 00 10 */ addi r1, r1, 0x10
/* 802CA6A8 002C7608 4E 80 00 20 */ blr
.global GetIdlePosition__10CGuiWidgetFv
GetIdlePosition__10CGuiWidgetFv:
/* 802CA6AC 002C760C C0 24 00 A0 */ lfs f1, 0xa0(r4)
/* 802CA6B0 002C7610 C0 44 00 90 */ lfs f2, 0x90(r4)
/* 802CA6B4 002C7614 C0 04 00 80 */ lfs f0, 0x80(r4)
/* 802CA6B8 002C7618 D0 03 00 00 */ stfs f0, 0(r3)
/* 802CA6BC 002C761C D0 43 00 04 */ stfs f2, 4(r3)
/* 802CA6C0 002C7620 D0 23 00 08 */ stfs f1, 8(r3)
/* 802CA6C4 002C7624 4E 80 00 20 */ blr
.global AddChildWidget__10CGuiWidgetFP10CGuiWidgetbb
AddChildWidget__10CGuiWidgetFP10CGuiWidgetbb:
/* 802CA6C8 002C7628 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802CA6CC 002C762C 7C 08 02 A6 */ mflr r0
/* 802CA6D0 002C7630 90 01 00 14 */ stw r0, 0x14(r1)
/* 802CA6D4 002C7634 4B FF A6 6D */ bl AddChildObject__10CGuiObjectFP10CGuiObjectbb
/* 802CA6D8 002C7638 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802CA6DC 002C763C 7C 08 03 A6 */ mtlr r0
/* 802CA6E0 002C7640 38 21 00 10 */ addi r1, r1, 0x10
/* 802CA6E4 002C7644 4E 80 00 20 */ blr
.global SetVisibility__10CGuiWidgetFb14ETraversalMode
SetVisibility__10CGuiWidgetFb14ETraversalMode:
/* 802CA6E8 002C7648 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802CA6EC 002C764C 7C 08 02 A6 */ mflr r0
/* 802CA6F0 002C7650 2C 05 00 01 */ cmpwi r5, 1
/* 802CA6F4 002C7654 90 01 00 14 */ stw r0, 0x14(r1)
/* 802CA6F8 002C7658 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802CA6FC 002C765C 7C 9F 23 78 */ mr r31, r4
/* 802CA700 002C7660 93 C1 00 08 */ stw r30, 8(r1)
/* 802CA704 002C7664 7C 7E 1B 78 */ mr r30, r3
/* 802CA708 002C7668 41 82 00 18 */ beq lbl_802CA720
/* 802CA70C 002C766C 40 80 00 7C */ bge lbl_802CA788
/* 802CA710 002C7670 2C 05 00 00 */ cmpwi r5, 0
/* 802CA714 002C7674 40 80 00 30 */ bge lbl_802CA744
/* 802CA718 002C7678 48 00 00 70 */ b lbl_802CA788
/* 802CA71C 002C767C 48 00 00 6C */ b lbl_802CA788
lbl_802CA720:
/* 802CA720 002C7680 4B FF A6 11 */ bl GetChildObject__10CGuiObjectFv
/* 802CA724 002C7684 28 03 00 00 */ cmplwi r3, 0
/* 802CA728 002C7688 41 82 00 60 */ beq lbl_802CA788
/* 802CA72C 002C768C 7F C3 F3 78 */ mr r3, r30
/* 802CA730 002C7690 4B FF A6 01 */ bl GetChildObject__10CGuiObjectFv
/* 802CA734 002C7694 7F E4 FB 78 */ mr r4, r31
/* 802CA738 002C7698 38 A0 00 00 */ li r5, 0
/* 802CA73C 002C769C 4B FF FF AD */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode
/* 802CA740 002C76A0 48 00 00 48 */ b lbl_802CA788
lbl_802CA744:
/* 802CA744 002C76A4 4B FF A5 ED */ bl GetChildObject__10CGuiObjectFv
/* 802CA748 002C76A8 28 03 00 00 */ cmplwi r3, 0
/* 802CA74C 002C76AC 41 82 00 18 */ beq lbl_802CA764
/* 802CA750 002C76B0 7F C3 F3 78 */ mr r3, r30
/* 802CA754 002C76B4 4B FF A5 DD */ bl GetChildObject__10CGuiObjectFv
/* 802CA758 002C76B8 7F E4 FB 78 */ mr r4, r31
/* 802CA75C 002C76BC 38 A0 00 00 */ li r5, 0
/* 802CA760 002C76C0 4B FF FF 89 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode
lbl_802CA764:
/* 802CA764 002C76C4 7F C3 F3 78 */ mr r3, r30
/* 802CA768 002C76C8 4B FF A5 B9 */ bl GetNextSibling__10CGuiObjectFv
/* 802CA76C 002C76CC 28 03 00 00 */ cmplwi r3, 0
/* 802CA770 002C76D0 41 82 00 18 */ beq lbl_802CA788
/* 802CA774 002C76D4 7F C3 F3 78 */ mr r3, r30
/* 802CA778 002C76D8 4B FF A5 A9 */ bl GetNextSibling__10CGuiObjectFv
/* 802CA77C 002C76DC 7F E4 FB 78 */ mr r4, r31
/* 802CA780 002C76E0 38 A0 00 00 */ li r5, 0
/* 802CA784 002C76E4 4B FF FF 65 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode
lbl_802CA788:
/* 802CA788 002C76E8 7F C3 F3 78 */ mr r3, r30
/* 802CA78C 002C76EC 57 E4 06 3E */ clrlwi r4, r31, 0x18
/* 802CA790 002C76F0 4B FF FE 9D */ bl SetIsVisible__10CGuiWidgetFb
/* 802CA794 002C76F4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802CA798 002C76F8 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802CA79C 002C76FC 83 C1 00 08 */ lwz r30, 8(r1)
/* 802CA7A0 002C7700 7C 08 03 A6 */ mtlr r0
/* 802CA7A4 002C7704 38 21 00 10 */ addi r1, r1, 0x10
/* 802CA7A8 002C7708 4E 80 00 20 */ blr
.global RecalcWidgetColor__10CGuiWidgetF14ETraversalMode
RecalcWidgetColor__10CGuiWidgetF14ETraversalMode:
/* 802CA7AC 002C770C 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 802CA7B0 002C7710 7C 08 02 A6 */ mflr r0
/* 802CA7B4 002C7714 90 01 00 24 */ stw r0, 0x24(r1)
/* 802CA7B8 002C7718 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 802CA7BC 002C771C 7C 9F 23 78 */ mr r31, r4
/* 802CA7C0 002C7720 93 C1 00 18 */ stw r30, 0x18(r1)
/* 802CA7C4 002C7724 7C 7E 1B 78 */ mr r30, r3
/* 802CA7C8 002C7728 4B FF A5 51 */ bl GetParent__10CGuiObjectFv
/* 802CA7CC 002C772C 7C 65 1B 79 */ or. r5, r3, r3
/* 802CA7D0 002C7730 41 82 00 20 */ beq lbl_802CA7F0
/* 802CA7D4 002C7734 38 61 00 08 */ addi r3, r1, 8
/* 802CA7D8 002C7738 38 9E 00 A4 */ addi r4, r30, 0xa4
/* 802CA7DC 002C773C 38 A5 00 A8 */ addi r5, r5, 0xa8
/* 802CA7E0 002C7740 48 09 89 99 */ bl Modulate__6CColorFRC6CColorRC6CColor
/* 802CA7E4 002C7744 80 01 00 08 */ lwz r0, 8(r1)
/* 802CA7E8 002C7748 90 1E 00 A8 */ stw r0, 0xa8(r30)
/* 802CA7EC 002C774C 48 00 00 0C */ b lbl_802CA7F8
lbl_802CA7F0:
/* 802CA7F0 002C7750 80 1E 00 A4 */ lwz r0, 0xa4(r30)
/* 802CA7F4 002C7754 90 1E 00 A8 */ stw r0, 0xa8(r30)
lbl_802CA7F8:
/* 802CA7F8 002C7758 2C 1F 00 01 */ cmpwi r31, 1
/* 802CA7FC 002C775C 41 82 00 38 */ beq lbl_802CA834
/* 802CA800 002C7760 40 80 00 54 */ bge lbl_802CA854
/* 802CA804 002C7764 2C 1F 00 00 */ cmpwi r31, 0
/* 802CA808 002C7768 40 80 00 0C */ bge lbl_802CA814
/* 802CA80C 002C776C 48 00 00 48 */ b lbl_802CA854
/* 802CA810 002C7770 48 00 00 44 */ b lbl_802CA854
lbl_802CA814:
/* 802CA814 002C7774 7F C3 F3 78 */ mr r3, r30
/* 802CA818 002C7778 4B FF A5 09 */ bl GetNextSibling__10CGuiObjectFv
/* 802CA81C 002C777C 28 03 00 00 */ cmplwi r3, 0
/* 802CA820 002C7780 41 82 00 14 */ beq lbl_802CA834
/* 802CA824 002C7784 7F C3 F3 78 */ mr r3, r30
/* 802CA828 002C7788 4B FF A4 F9 */ bl GetNextSibling__10CGuiObjectFv
/* 802CA82C 002C778C 38 80 00 00 */ li r4, 0
/* 802CA830 002C7790 4B FF FF 7D */ bl RecalcWidgetColor__10CGuiWidgetF14ETraversalMode
lbl_802CA834:
/* 802CA834 002C7794 7F C3 F3 78 */ mr r3, r30
/* 802CA838 002C7798 4B FF A4 F9 */ bl GetChildObject__10CGuiObjectFv
/* 802CA83C 002C779C 28 03 00 00 */ cmplwi r3, 0
/* 802CA840 002C77A0 41 82 00 14 */ beq lbl_802CA854
/* 802CA844 002C77A4 7F C3 F3 78 */ mr r3, r30
/* 802CA848 002C77A8 4B FF A4 E9 */ bl GetChildObject__10CGuiObjectFv
/* 802CA84C 002C77AC 38 80 00 00 */ li r4, 0
/* 802CA850 002C77B0 4B FF FF 5D */ bl RecalcWidgetColor__10CGuiWidgetF14ETraversalMode
lbl_802CA854:
/* 802CA854 002C77B4 80 01 00 24 */ lwz r0, 0x24(r1)
/* 802CA858 002C77B8 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 802CA85C 002C77BC 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 802CA860 002C77C0 7C 08 03 A6 */ mtlr r0
/* 802CA864 002C77C4 38 21 00 20 */ addi r1, r1, 0x20
/* 802CA868 002C77C8 4E 80 00 20 */ blr
.global SetColor__10CGuiWidgetFRC6CColor
SetColor__10CGuiWidgetFRC6CColor:
/* 802CA86C 002C77CC 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802CA870 002C77D0 7C 08 02 A6 */ mflr r0
/* 802CA874 002C77D4 90 01 00 14 */ stw r0, 0x14(r1)
/* 802CA878 002C77D8 80 04 00 00 */ lwz r0, 0(r4)
/* 802CA87C 002C77DC 38 80 00 01 */ li r4, 1
/* 802CA880 002C77E0 90 03 00 A4 */ stw r0, 0xa4(r3)
/* 802CA884 002C77E4 4B FF FF 29 */ bl RecalcWidgetColor__10CGuiWidgetF14ETraversalMode
/* 802CA888 002C77E8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802CA88C 002C77EC 7C 08 03 A6 */ mtlr r0
/* 802CA890 002C77F0 38 21 00 10 */ addi r1, r1, 0x10
/* 802CA894 002C77F4 4E 80 00 20 */ blr
.global FindWidget__10CGuiWidgetFs
FindWidget__10CGuiWidgetFs:
/* 802CA898 002C77F8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802CA89C 002C77FC 7C 08 02 A6 */ mflr r0
/* 802CA8A0 002C7800 90 01 00 14 */ stw r0, 0x14(r1)
/* 802CA8A4 002C7804 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802CA8A8 002C7808 7C 9F 23 78 */ mr r31, r4
/* 802CA8AC 002C780C 7F E0 07 34 */ extsh r0, r31
/* 802CA8B0 002C7810 93 C1 00 08 */ stw r30, 8(r1)
/* 802CA8B4 002C7814 7C 7E 1B 78 */ mr r30, r3
/* 802CA8B8 002C7818 A8 83 00 70 */ lha r4, 0x70(r3)
/* 802CA8BC 002C781C 7C 04 00 00 */ cmpw r4, r0
/* 802CA8C0 002C7820 40 82 00 08 */ bne lbl_802CA8C8
/* 802CA8C4 002C7824 48 00 00 5C */ b lbl_802CA920
lbl_802CA8C8:
/* 802CA8C8 002C7828 4B FF A4 69 */ bl GetChildObject__10CGuiObjectFv
/* 802CA8CC 002C782C 28 03 00 00 */ cmplwi r3, 0
/* 802CA8D0 002C7830 41 82 00 20 */ beq lbl_802CA8F0
/* 802CA8D4 002C7834 7F C3 F3 78 */ mr r3, r30
/* 802CA8D8 002C7838 4B FF A4 59 */ bl GetChildObject__10CGuiObjectFv
/* 802CA8DC 002C783C 7F E4 FB 78 */ mr r4, r31
/* 802CA8E0 002C7840 4B FF FF B9 */ bl FindWidget__10CGuiWidgetFs
/* 802CA8E4 002C7844 28 03 00 00 */ cmplwi r3, 0
/* 802CA8E8 002C7848 41 82 00 08 */ beq lbl_802CA8F0
/* 802CA8EC 002C784C 48 00 00 34 */ b lbl_802CA920
lbl_802CA8F0:
/* 802CA8F0 002C7850 7F C3 F3 78 */ mr r3, r30
/* 802CA8F4 002C7854 4B FF A4 2D */ bl GetNextSibling__10CGuiObjectFv
/* 802CA8F8 002C7858 28 03 00 00 */ cmplwi r3, 0
/* 802CA8FC 002C785C 41 82 00 20 */ beq lbl_802CA91C
/* 802CA900 002C7860 7F C3 F3 78 */ mr r3, r30
/* 802CA904 002C7864 4B FF A4 1D */ bl GetNextSibling__10CGuiObjectFv
/* 802CA908 002C7868 7F E4 FB 78 */ mr r4, r31
/* 802CA90C 002C786C 4B FF FF 8D */ bl FindWidget__10CGuiWidgetFs
/* 802CA910 002C7870 28 03 00 00 */ cmplwi r3, 0
/* 802CA914 002C7874 41 82 00 08 */ beq lbl_802CA91C
/* 802CA918 002C7878 48 00 00 08 */ b lbl_802CA920
lbl_802CA91C:
/* 802CA91C 002C787C 38 60 00 00 */ li r3, 0
lbl_802CA920:
/* 802CA920 002C7880 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802CA924 002C7884 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802CA928 002C7888 83 C1 00 08 */ lwz r30, 8(r1)
/* 802CA92C 002C788C 7C 08 03 A6 */ mtlr r0
/* 802CA930 002C7890 38 21 00 10 */ addi r1, r1, 0x10
/* 802CA934 002C7894 4E 80 00 20 */ blr
.global GetIsFinishedLoading__10CGuiWidgetCFv
GetIsFinishedLoading__10CGuiWidgetCFv:
/* 802CA938 002C7898 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802CA93C 002C789C 7C 08 02 A6 */ mflr r0
/* 802CA940 002C78A0 90 01 00 14 */ stw r0, 0x14(r1)
/* 802CA944 002C78A4 81 83 00 00 */ lwz r12, 0(r3)
/* 802CA948 002C78A8 81 8C 00 30 */ lwz r12, 0x30(r12)
/* 802CA94C 002C78AC 7D 89 03 A6 */ mtctr r12
/* 802CA950 002C78B0 4E 80 04 21 */ bctrl
/* 802CA954 002C78B4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802CA958 002C78B8 7C 08 03 A6 */ mtlr r0
/* 802CA95C 002C78BC 38 21 00 10 */ addi r1, r1, 0x10
/* 802CA960 002C78C0 4E 80 00 20 */ blr
.global DispatchInitialize__10CGuiWidgetFv
DispatchInitialize__10CGuiWidgetFv:
/* 802CA964 002C78C4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802CA968 002C78C8 7C 08 02 A6 */ mflr r0
/* 802CA96C 002C78CC 90 01 00 14 */ stw r0, 0x14(r1)
/* 802CA970 002C78D0 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802CA974 002C78D4 7C 7F 1B 78 */ mr r31, r3
/* 802CA978 002C78D8 81 83 00 00 */ lwz r12, 0(r3)
/* 802CA97C 002C78DC 81 8C 00 14 */ lwz r12, 0x14(r12)
/* 802CA980 002C78E0 7D 89 03 A6 */ mtctr r12
/* 802CA984 002C78E4 4E 80 04 21 */ bctrl
/* 802CA988 002C78E8 7F E3 FB 78 */ mr r3, r31
/* 802CA98C 002C78EC 4B FF A3 A5 */ bl GetChildObject__10CGuiObjectFv
/* 802CA990 002C78F0 28 03 00 00 */ cmplwi r3, 0
/* 802CA994 002C78F4 41 82 00 10 */ beq lbl_802CA9A4
/* 802CA998 002C78F8 7F E3 FB 78 */ mr r3, r31
/* 802CA99C 002C78FC 4B FF A3 95 */ bl GetChildObject__10CGuiObjectFv
/* 802CA9A0 002C7900 4B FF FF C5 */ bl DispatchInitialize__10CGuiWidgetFv
lbl_802CA9A4:
/* 802CA9A4 002C7904 7F E3 FB 78 */ mr r3, r31
/* 802CA9A8 002C7908 4B FF A3 79 */ bl GetNextSibling__10CGuiObjectFv
/* 802CA9AC 002C790C 28 03 00 00 */ cmplwi r3, 0
/* 802CA9B0 002C7910 41 82 00 10 */ beq lbl_802CA9C0
/* 802CA9B4 002C7914 7F E3 FB 78 */ mr r3, r31
/* 802CA9B8 002C7918 4B FF A3 69 */ bl GetNextSibling__10CGuiObjectFv
/* 802CA9BC 002C791C 4B FF FF A9 */ bl DispatchInitialize__10CGuiWidgetFv
lbl_802CA9C0:
/* 802CA9C0 002C7920 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802CA9C4 002C7924 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802CA9C8 002C7928 7C 08 03 A6 */ mtlr r0
/* 802CA9CC 002C792C 38 21 00 10 */ addi r1, r1, 0x10
/* 802CA9D0 002C7930 4E 80 00 20 */ blr
.global Update__10CGuiWidgetFf
Update__10CGuiWidgetFf:
/* 802CA9D4 002C7934 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 802CA9D8 002C7938 7C 08 02 A6 */ mflr r0
/* 802CA9DC 002C793C 90 01 00 24 */ stw r0, 0x24(r1)
/* 802CA9E0 002C7940 DB E1 00 18 */ stfd f31, 0x18(r1)
/* 802CA9E4 002C7944 FF E0 08 90 */ fmr f31, f1
/* 802CA9E8 002C7948 93 E1 00 14 */ stw r31, 0x14(r1)
/* 802CA9EC 002C794C 7C 7F 1B 78 */ mr r31, r3
/* 802CA9F0 002C7950 4B FF A3 41 */ bl GetChildObject__10CGuiObjectFv
/* 802CA9F4 002C7954 28 03 00 00 */ cmplwi r3, 0
/* 802CA9F8 002C7958 41 82 00 20 */ beq lbl_802CAA18
/* 802CA9FC 002C795C 7F E3 FB 78 */ mr r3, r31
/* 802CAA00 002C7960 4B FF A3 31 */ bl GetChildObject__10CGuiObjectFv
/* 802CAA04 002C7964 81 83 00 00 */ lwz r12, 0(r3)
/* 802CAA08 002C7968 FC 20 F8 90 */ fmr f1, f31
/* 802CAA0C 002C796C 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 802CAA10 002C7970 7D 89 03 A6 */ mtctr r12
/* 802CAA14 002C7974 4E 80 04 21 */ bctrl
lbl_802CAA18:
/* 802CAA18 002C7978 7F E3 FB 78 */ mr r3, r31
/* 802CAA1C 002C797C 4B FF A3 05 */ bl GetNextSibling__10CGuiObjectFv
/* 802CAA20 002C7980 28 03 00 00 */ cmplwi r3, 0
/* 802CAA24 002C7984 41 82 00 20 */ beq lbl_802CAA44
/* 802CAA28 002C7988 7F E3 FB 78 */ mr r3, r31
/* 802CAA2C 002C798C 4B FF A2 F5 */ bl GetNextSibling__10CGuiObjectFv
/* 802CAA30 002C7990 81 83 00 00 */ lwz r12, 0(r3)
/* 802CAA34 002C7994 FC 20 F8 90 */ fmr f1, f31
/* 802CAA38 002C7998 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 802CAA3C 002C799C 7D 89 03 A6 */ mtctr r12
/* 802CAA40 002C79A0 4E 80 04 21 */ bctrl
lbl_802CAA44:
/* 802CAA44 002C79A4 80 01 00 24 */ lwz r0, 0x24(r1)
/* 802CAA48 002C79A8 CB E1 00 18 */ lfd f31, 0x18(r1)
/* 802CAA4C 002C79AC 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 802CAA50 002C79B0 7C 08 03 A6 */ mtlr r0
/* 802CAA54 002C79B4 38 21 00 20 */ addi r1, r1, 0x20
/* 802CAA58 002C79B8 4E 80 00 20 */ blr
.global ProcessUserInput__10CGuiWidgetFRC11CFinalInput
ProcessUserInput__10CGuiWidgetFRC11CFinalInput:
/* 802CAA5C 002C79BC 4E 80 00 20 */ blr
.global Draw__10CGuiWidgetCFRC19CGuiWidgetDrawParms
Draw__10CGuiWidgetCFRC19CGuiWidgetDrawParms:
/* 802CAA60 002C79C0 4E 80 00 20 */ blr
.global ReadUnusedThing__10CGuiWidgetFR12CInputStream
ReadUnusedThing__10CGuiWidgetFR12CInputStream:
/* 802CAA64 002C79C4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802CAA68 002C79C8 7C 08 02 A6 */ mflr r0
/* 802CAA6C 002C79CC 7C 83 23 78 */ mr r3, r4
/* 802CAA70 002C79D0 90 01 00 14 */ stw r0, 0x14(r1)
/* 802CAA74 002C79D4 48 07 42 11 */ bl ReadLong__12CInputStreamFv
/* 802CAA78 002C79D8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802CAA7C 002C79DC 7C 08 03 A6 */ mtlr r0
/* 802CAA80 002C79E0 38 21 00 10 */ addi r1, r1, 0x10
/* 802CAA84 002C79E4 4E 80 00 20 */ blr
.global ParseBaseInfo__10CGuiWidgetFP9CGuiFrameR12CInputStreamRCQ210CGuiWidget15CGuiWidgetParms
ParseBaseInfo__10CGuiWidgetFP9CGuiFrameR12CInputStreamRCQ210CGuiWidget15CGuiWidgetParms:
/* 802CAA88 002C79E8 94 21 FF 70 */ stwu r1, -0x90(r1)
/* 802CAA8C 002C79EC 7C 08 02 A6 */ mflr r0
/* 802CAA90 002C79F0 90 01 00 94 */ stw r0, 0x94(r1)
/* 802CAA94 002C79F4 7C 80 23 78 */ mr r0, r4
/* 802CAA98 002C79F8 93 E1 00 8C */ stw r31, 0x8c(r1)
/* 802CAA9C 002C79FC 93 C1 00 88 */ stw r30, 0x88(r1)
/* 802CAAA0 002C7A00 93 A1 00 84 */ stw r29, 0x84(r1)
/* 802CAAA4 002C7A04 7C BD 2B 78 */ mr r29, r5
/* 802CAAA8 002C7A08 93 81 00 80 */ stw r28, 0x80(r1)
/* 802CAAAC 002C7A0C 7C 7C 1B 78 */ mr r28, r3
/* 802CAAB0 002C7A10 7C 03 03 78 */ mr r3, r0
/* 802CAAB4 002C7A14 A8 86 00 08 */ lha r4, 8(r6)
/* 802CAAB8 002C7A18 4B FF 76 F9 */ bl FindWidget__9CGuiFrameCFs
/* 802CAABC 002C7A1C 7C 60 1B 78 */ mr r0, r3
/* 802CAAC0 002C7A20 7F A3 EB 78 */ mr r3, r29
/* 802CAAC4 002C7A24 7C 1E 03 78 */ mr r30, r0
/* 802CAAC8 002C7A28 48 07 42 15 */ bl ReadBool__12CInputStreamFv
/* 802CAACC 002C7A2C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 802CAAD0 002C7A30 7C 7F 1B 78 */ mr r31, r3
/* 802CAAD4 002C7A34 41 82 00 10 */ beq lbl_802CAAE4
/* 802CAAD8 002C7A38 7F A3 EB 78 */ mr r3, r29
/* 802CAADC 002C7A3C 48 07 41 D5 */ bl ReadShort__12CInputStreamFv
/* 802CAAE0 002C7A40 B0 7C 00 B4 */ sth r3, 0xb4(r28)
lbl_802CAAE4:
/* 802CAAE4 002C7A44 7F A4 EB 78 */ mr r4, r29
/* 802CAAE8 002C7A48 38 61 00 14 */ addi r3, r1, 0x14
/* 802CAAEC 002C7A4C 48 04 A0 A1 */ bl __ct__9CVector3fFR12CInputStream
/* 802CAAF0 002C7A50 7F A4 EB 78 */ mr r4, r29
/* 802CAAF4 002C7A54 38 61 00 50 */ addi r3, r1, 0x50
/* 802CAAF8 002C7A58 48 04 5A 29 */ bl __ct__9CMatrix3fFR12CInputStream
/* 802CAAFC 002C7A5C 38 61 00 20 */ addi r3, r1, 0x20
/* 802CAB00 002C7A60 38 81 00 50 */ addi r4, r1, 0x50
/* 802CAB04 002C7A64 38 A1 00 14 */ addi r5, r1, 0x14
/* 802CAB08 002C7A68 48 04 87 71 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f
/* 802CAB0C 002C7A6C 38 7C 00 74 */ addi r3, r28, 0x74
/* 802CAB10 002C7A70 38 81 00 20 */ addi r4, r1, 0x20
/* 802CAB14 002C7A74 48 04 80 2D */ bl __as__12CTransform4fFRC12CTransform4f
/* 802CAB18 002C7A78 7F 83 E3 78 */ mr r3, r28
/* 802CAB1C 002C7A7C 4B FF FB 49 */ bl ReapplyXform__10CGuiWidgetFv
/* 802CAB20 002C7A80 7F A4 EB 78 */ mr r4, r29
/* 802CAB24 002C7A84 38 61 00 08 */ addi r3, r1, 8
/* 802CAB28 002C7A88 48 04 A0 65 */ bl __ct__9CVector3fFR12CInputStream
/* 802CAB2C 002C7A8C 7F 83 E3 78 */ mr r3, r28
/* 802CAB30 002C7A90 7F A4 EB 78 */ mr r4, r29
/* 802CAB34 002C7A94 4B FF FF 31 */ bl ReadUnusedThing__10CGuiWidgetFR12CInputStream
/* 802CAB38 002C7A98 7F A3 EB 78 */ mr r3, r29
/* 802CAB3C 002C7A9C 48 07 41 75 */ bl ReadShort__12CInputStreamFv
/* 802CAB40 002C7AA0 57 E0 06 3F */ clrlwi. r0, r31, 0x18
/* 802CAB44 002C7AA4 41 82 00 3C */ beq lbl_802CAB80
/* 802CAB48 002C7AA8 7F C3 F3 78 */ mr r3, r30
/* 802CAB4C 002C7AAC 7F 84 E3 78 */ mr r4, r28
/* 802CAB50 002C7AB0 81 9E 00 00 */ lwz r12, 0(r30)
/* 802CAB54 002C7AB4 81 8C 00 2C */ lwz r12, 0x2c(r12)
/* 802CAB58 002C7AB8 7D 89 03 A6 */ mtctr r12
/* 802CAB5C 002C7ABC 4E 80 04 21 */ bctrl
/* 802CAB60 002C7AC0 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 802CAB64 002C7AC4 40 82 00 1C */ bne lbl_802CAB80
/* 802CAB68 002C7AC8 3C 60 80 3D */ lis r3, lbl_803D68F8@ha
/* 802CAB6C 002C7ACC 38 63 68 F8 */ addi r3, r3, lbl_803D68F8@l
/* 802CAB70 002C7AD0 4C C6 31 82 */ crclr 6
/* 802CAB74 002C7AD4 48 0C 33 3D */ bl printf
/* 802CAB78 002C7AD8 38 00 FF FF */ li r0, -1
/* 802CAB7C 002C7ADC B0 1C 00 B4 */ sth r0, 0xb4(r28)
lbl_802CAB80:
/* 802CAB80 002C7AE0 7F C3 F3 78 */ mr r3, r30
/* 802CAB84 002C7AE4 7F 84 E3 78 */ mr r4, r28
/* 802CAB88 002C7AE8 38 A0 00 00 */ li r5, 0
/* 802CAB8C 002C7AEC 38 C0 00 01 */ li r6, 1
/* 802CAB90 002C7AF0 4B FF FB 39 */ bl AddChildWidget__10CGuiWidgetFP10CGuiWidgetbb
/* 802CAB94 002C7AF4 80 01 00 94 */ lwz r0, 0x94(r1)
/* 802CAB98 002C7AF8 83 E1 00 8C */ lwz r31, 0x8c(r1)
/* 802CAB9C 002C7AFC 83 C1 00 88 */ lwz r30, 0x88(r1)
/* 802CABA0 002C7B00 83 A1 00 84 */ lwz r29, 0x84(r1)
/* 802CABA4 002C7B04 83 81 00 80 */ lwz r28, 0x80(r1)
/* 802CABA8 002C7B08 7C 08 03 A6 */ mtlr r0
/* 802CABAC 002C7B0C 38 21 00 90 */ addi r1, r1, 0x90
/* 802CABB0 002C7B10 4E 80 00 20 */ blr
.global __dt__10CGuiWidgetFv
__dt__10CGuiWidgetFv:
/* 802CABB4 002C7B14 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802CABB8 002C7B18 7C 08 02 A6 */ mflr r0
/* 802CABBC 002C7B1C 90 01 00 14 */ stw r0, 0x14(r1)
/* 802CABC0 002C7B20 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802CABC4 002C7B24 7C 9F 23 78 */ mr r31, r4
/* 802CABC8 002C7B28 93 C1 00 08 */ stw r30, 8(r1)
/* 802CABCC 002C7B2C 7C 7E 1B 79 */ or. r30, r3, r3
/* 802CABD0 002C7B30 41 82 00 38 */ beq lbl_802CAC08
/* 802CABD4 002C7B34 3C 60 80 3F */ lis r3, lbl_803ECA10@ha
/* 802CABD8 002C7B38 7F C4 F3 78 */ mr r4, r30
/* 802CABDC 002C7B3C 38 03 CA 10 */ addi r0, r3, lbl_803ECA10@l
/* 802CABE0 002C7B40 90 1E 00 00 */ stw r0, 0(r30)
/* 802CABE4 002C7B44 80 7E 00 B0 */ lwz r3, 0xb0(r30)
/* 802CABE8 002C7B48 4B FF 76 3D */ bl sub_802c2224
/* 802CABEC 002C7B4C 7F C3 F3 78 */ mr r3, r30
/* 802CABF0 002C7B50 38 80 00 00 */ li r4, 0
/* 802CABF4 002C7B54 4B FF A7 E1 */ bl __dt__10CGuiObjectFv
/* 802CABF8 002C7B58 7F E0 07 35 */ extsh. r0, r31
/* 802CABFC 002C7B5C 40 81 00 0C */ ble lbl_802CAC08
/* 802CAC00 002C7B60 7F C3 F3 78 */ mr r3, r30
/* 802CAC04 002C7B64 48 04 AD 2D */ bl Free__7CMemoryFPCv
lbl_802CAC08:
/* 802CAC08 002C7B68 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802CAC0C 002C7B6C 7F C3 F3 78 */ mr r3, r30
/* 802CAC10 002C7B70 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802CAC14 002C7B74 83 C1 00 08 */ lwz r30, 8(r1)
/* 802CAC18 002C7B78 7C 08 03 A6 */ mtlr r0
/* 802CAC1C 002C7B7C 38 21 00 10 */ addi r1, r1, 0x10
/* 802CAC20 002C7B80 4E 80 00 20 */ blr
.global __ct__10CGuiWidgetFRCQ210CGuiWidget15CGuiWidgetParms
__ct__10CGuiWidgetFRCQ210CGuiWidget15CGuiWidgetParms:
/* 802CAC24 002C7B84 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802CAC28 002C7B88 7C 08 02 A6 */ mflr r0
/* 802CAC2C 002C7B8C 90 01 00 14 */ stw r0, 0x14(r1)
/* 802CAC30 002C7B90 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802CAC34 002C7B94 7C 9F 23 78 */ mr r31, r4
/* 802CAC38 002C7B98 93 C1 00 08 */ stw r30, 8(r1)
/* 802CAC3C 002C7B9C 7C 7E 1B 78 */ mr r30, r3
/* 802CAC40 002C7BA0 4B FF A8 3D */ bl __ct__10CGuiObjectFv
/* 802CAC44 002C7BA4 3C 60 80 3F */ lis r3, lbl_803ECA10@ha
/* 802CAC48 002C7BA8 3C 80 80 5A */ lis r4, skIdentity4f@ha
/* 802CAC4C 002C7BAC 38 03 CA 10 */ addi r0, r3, lbl_803ECA10@l
/* 802CAC50 002C7BB0 90 1E 00 00 */ stw r0, 0(r30)
/* 802CAC54 002C7BB4 38 7E 00 74 */ addi r3, r30, 0x74
/* 802CAC58 002C7BB8 38 84 66 70 */ addi r4, r4, skIdentity4f@l
/* 802CAC5C 002C7BBC A8 1F 00 06 */ lha r0, 6(r31)
/* 802CAC60 002C7BC0 B0 1E 00 70 */ sth r0, 0x70(r30)
/* 802CAC64 002C7BC4 A8 1F 00 08 */ lha r0, 8(r31)
/* 802CAC68 002C7BC8 B0 1E 00 72 */ sth r0, 0x72(r30)
/* 802CAC6C 002C7BCC 48 04 7F 09 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 802CAC70 002C7BD0 80 7F 00 10 */ lwz r3, 0x10(r31)
/* 802CAC74 002C7BD4 38 00 FF FF */ li r0, -1
/* 802CAC78 002C7BD8 38 E0 00 01 */ li r7, 1
/* 802CAC7C 002C7BDC 38 C0 00 00 */ li r6, 0
/* 802CAC80 002C7BE0 90 7E 00 A4 */ stw r3, 0xa4(r30)
/* 802CAC84 002C7BE4 7F C3 F3 78 */ mr r3, r30
/* 802CAC88 002C7BE8 38 80 00 02 */ li r4, 2
/* 802CAC8C 002C7BEC 80 BE 00 A4 */ lwz r5, 0xa4(r30)
/* 802CAC90 002C7BF0 90 BE 00 A8 */ stw r5, 0xa8(r30)
/* 802CAC94 002C7BF4 80 BF 00 14 */ lwz r5, 0x14(r31)
/* 802CAC98 002C7BF8 90 BE 00 AC */ stw r5, 0xac(r30)
/* 802CAC9C 002C7BFC 80 BF 00 00 */ lwz r5, 0(r31)
/* 802CACA0 002C7C00 90 BE 00 B0 */ stw r5, 0xb0(r30)
/* 802CACA4 002C7C04 B0 1E 00 B4 */ sth r0, 0xb4(r30)
/* 802CACA8 002C7C08 88 BF 00 0D */ lbz r5, 0xd(r31)
/* 802CACAC 002C7C0C 88 1E 00 B6 */ lbz r0, 0xb6(r30)
/* 802CACB0 002C7C10 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18
/* 802CACB4 002C7C14 98 1E 00 B6 */ stb r0, 0xb6(r30)
/* 802CACB8 002C7C18 88 BF 00 0A */ lbz r5, 0xa(r31)
/* 802CACBC 002C7C1C 88 1E 00 B6 */ lbz r0, 0xb6(r30)
/* 802CACC0 002C7C20 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19
/* 802CACC4 002C7C24 98 1E 00 B6 */ stb r0, 0xb6(r30)
/* 802CACC8 002C7C28 88 BF 00 0B */ lbz r5, 0xb(r31)
/* 802CACCC 002C7C2C 88 1E 00 B6 */ lbz r0, 0xb6(r30)
/* 802CACD0 002C7C30 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a
/* 802CACD4 002C7C34 98 1E 00 B6 */ stb r0, 0xb6(r30)
/* 802CACD8 002C7C38 88 1E 00 B6 */ lbz r0, 0xb6(r30)
/* 802CACDC 002C7C3C 50 E0 26 F6 */ rlwimi r0, r7, 4, 0x1b, 0x1b
/* 802CACE0 002C7C40 98 1E 00 B6 */ stb r0, 0xb6(r30)
/* 802CACE4 002C7C44 88 1E 00 B6 */ lbz r0, 0xb6(r30)
/* 802CACE8 002C7C48 50 C0 1F 38 */ rlwimi r0, r6, 3, 0x1c, 0x1c
/* 802CACEC 002C7C4C 98 1E 00 B6 */ stb r0, 0xb6(r30)
/* 802CACF0 002C7C50 88 BF 00 0C */ lbz r5, 0xc(r31)
/* 802CACF4 002C7C54 88 1E 00 B6 */ lbz r0, 0xb6(r30)
/* 802CACF8 002C7C58 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d
/* 802CACFC 002C7C5C 98 1E 00 B6 */ stb r0, 0xb6(r30)
/* 802CAD00 002C7C60 88 1E 00 B6 */ lbz r0, 0xb6(r30)
/* 802CAD04 002C7C64 50 C0 0F BC */ rlwimi r0, r6, 1, 0x1e, 0x1e
/* 802CAD08 002C7C68 98 1E 00 B6 */ stb r0, 0xb6(r30)
/* 802CAD0C 002C7C6C 88 1E 00 B6 */ lbz r0, 0xb6(r30)
/* 802CAD10 002C7C70 50 E0 07 FE */ rlwimi r0, r7, 0, 0x1f, 0x1f
/* 802CAD14 002C7C74 98 1E 00 B6 */ stb r0, 0xb6(r30)
/* 802CAD18 002C7C78 88 1E 00 B7 */ lbz r0, 0xb7(r30)
/* 802CAD1C 002C7C7C 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18
/* 802CAD20 002C7C80 98 1E 00 B7 */ stb r0, 0xb7(r30)
/* 802CAD24 002C7C84 88 1E 00 B7 */ lbz r0, 0xb7(r30)
/* 802CAD28 002C7C88 50 E0 36 72 */ rlwimi r0, r7, 6, 0x19, 0x19
/* 802CAD2C 002C7C8C 98 1E 00 B7 */ stb r0, 0xb7(r30)
/* 802CAD30 002C7C90 4B FF FA 7D */ bl RecalcWidgetColor__10CGuiWidgetF14ETraversalMode
/* 802CAD34 002C7C94 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802CAD38 002C7C98 7F C3 F3 78 */ mr r3, r30
/* 802CAD3C 002C7C9C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802CAD40 002C7CA0 83 C1 00 08 */ lwz r30, 8(r1)
/* 802CAD44 002C7CA4 7C 08 03 A6 */ mtlr r0
/* 802CAD48 002C7CA8 38 21 00 10 */ addi r1, r1, 0x10
/* 802CAD4C 002C7CAC 4E 80 00 20 */ blr
.global ReadWidgetHeader__10CGuiWidgetFP9CGuiFrameR12CInputStreamb
ReadWidgetHeader__10CGuiWidgetFP9CGuiFrameR12CInputStreamb:
/* 802CAD50 002C7CB0 94 21 FF 90 */ stwu r1, -0x70(r1)
/* 802CAD54 002C7CB4 7C 08 02 A6 */ mflr r0
/* 802CAD58 002C7CB8 90 01 00 74 */ stw r0, 0x74(r1)
/* 802CAD5C 002C7CBC BE E1 00 4C */ stmw r23, 0x4c(r1)
/* 802CAD60 002C7CC0 7C B9 2B 78 */ mr r25, r5
/* 802CAD64 002C7CC4 7C 77 1B 78 */ mr r23, r3
/* 802CAD68 002C7CC8 7C 98 23 78 */ mr r24, r4
/* 802CAD6C 002C7CCC 38 61 00 34 */ addi r3, r1, 0x34
/* 802CAD70 002C7CD0 7F 24 CB 78 */ mr r4, r25
/* 802CAD74 002C7CD4 38 A1 00 1C */ addi r5, r1, 0x1c
/* 802CAD78 002C7CD8 48 07 35 81 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator"
/* 802CAD7C 002C7CDC 38 78 00 18 */ addi r3, r24, 0x18
/* 802CAD80 002C7CE0 38 81 00 34 */ addi r4, r1, 0x34
/* 802CAD84 002C7CE4 48 00 02 79 */ bl "AddWidget__14CGuiWidgetIdDBFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 802CAD88 002C7CE8 7C 7C 1B 78 */ mr r28, r3
/* 802CAD8C 002C7CEC 7F 24 CB 78 */ mr r4, r25
/* 802CAD90 002C7CF0 38 61 00 24 */ addi r3, r1, 0x24
/* 802CAD94 002C7CF4 38 A1 00 18 */ addi r5, r1, 0x18
/* 802CAD98 002C7CF8 48 07 35 61 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator"
/* 802CAD9C 002C7CFC 38 78 00 18 */ addi r3, r24, 0x18
/* 802CADA0 002C7D00 38 81 00 24 */ addi r4, r1, 0x24
/* 802CADA4 002C7D04 48 00 02 59 */ bl "AddWidget__14CGuiWidgetIdDBFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 802CADA8 002C7D08 7C 7B 1B 78 */ mr r27, r3
/* 802CADAC 002C7D0C 7F 23 CB 78 */ mr r3, r25
/* 802CADB0 002C7D10 48 07 3F 2D */ bl ReadBool__12CInputStreamFv
/* 802CADB4 002C7D14 7C 60 1B 78 */ mr r0, r3
/* 802CADB8 002C7D18 7F 23 CB 78 */ mr r3, r25
/* 802CADBC 002C7D1C 7C 1A 03 78 */ mr r26, r0
/* 802CADC0 002C7D20 48 07 3F 1D */ bl ReadBool__12CInputStreamFv
/* 802CADC4 002C7D24 7C 7D 1B 78 */ mr r29, r3
/* 802CADC8 002C7D28 7F 23 CB 78 */ mr r3, r25
/* 802CADCC 002C7D2C 48 07 3F 11 */ bl ReadBool__12CInputStreamFv
/* 802CADD0 002C7D30 7C 7E 1B 78 */ mr r30, r3
/* 802CADD4 002C7D34 7F 23 CB 78 */ mr r3, r25
/* 802CADD8 002C7D38 48 07 3F 05 */ bl ReadBool__12CInputStreamFv
/* 802CADDC 002C7D3C 7C 7F 1B 78 */ mr r31, r3
/* 802CADE0 002C7D40 7F 24 CB 78 */ mr r4, r25
/* 802CADE4 002C7D44 38 61 00 20 */ addi r3, r1, 0x20
/* 802CADE8 002C7D48 48 09 86 65 */ bl __ct__6CColorFR12CInputStream
/* 802CADEC 002C7D4C 7F 23 CB 78 */ mr r3, r25
/* 802CADF0 002C7D50 48 07 3E 95 */ bl ReadLong__12CInputStreamFv
/* 802CADF4 002C7D54 38 01 00 20 */ addi r0, r1, 0x20
/* 802CADF8 002C7D58 39 00 00 01 */ li r8, 1
/* 802CADFC 002C7D5C 90 01 00 08 */ stw r0, 8(r1)
/* 802CAE00 002C7D60 38 00 00 00 */ li r0, 0
/* 802CAE04 002C7D64 7F 04 C3 78 */ mr r4, r24
/* 802CAE08 002C7D68 7F 45 D3 78 */ mr r5, r26
/* 802CAE0C 002C7D6C 90 61 00 0C */ stw r3, 0xc(r1)
/* 802CAE10 002C7D70 7E E3 BB 78 */ mr r3, r23
/* 802CAE14 002C7D74 7F 86 E3 78 */ mr r6, r28
/* 802CAE18 002C7D78 7F 67 DB 78 */ mr r7, r27
/* 802CAE1C 002C7D7C 91 01 00 10 */ stw r8, 0x10(r1)
/* 802CAE20 002C7D80 57 A8 06 3E */ clrlwi r8, r29, 0x18
/* 802CAE24 002C7D84 57 C9 06 3E */ clrlwi r9, r30, 0x18
/* 802CAE28 002C7D88 57 EA 06 3E */ clrlwi r10, r31, 0x18
/* 802CAE2C 002C7D8C 90 01 00 14 */ stw r0, 0x14(r1)
/* 802CAE30 002C7D90 48 00 01 01 */ bl __ct__Q210CGuiWidget15CGuiWidgetParmsFP9CGuiFramebssbbbRC6CColorQ210CGuiWidget18EGuiModelDrawFlagsbb
/* 802CAE34 002C7D94 38 61 00 24 */ addi r3, r1, 0x24
/* 802CAE38 002C7D98 48 07 2C A9 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 802CAE3C 002C7D9C 38 61 00 34 */ addi r3, r1, 0x34
/* 802CAE40 002C7DA0 48 07 2C A1 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 802CAE44 002C7DA4 BA E1 00 4C */ lmw r23, 0x4c(r1)
/* 802CAE48 002C7DA8 80 01 00 74 */ lwz r0, 0x74(r1)
/* 802CAE4C 002C7DAC 7C 08 03 A6 */ mtlr r0
/* 802CAE50 002C7DB0 38 21 00 70 */ addi r1, r1, 0x70
/* 802CAE54 002C7DB4 4E 80 00 20 */ blr
.global Create__10CGuiWidgetFP9CGuiFrameR12CInputStreamb
Create__10CGuiWidgetFP9CGuiFrameR12CInputStreamb:
/* 802CAE58 002C7DB8 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 802CAE5C 002C7DBC 7C 08 02 A6 */ mflr r0
/* 802CAE60 002C7DC0 90 01 00 54 */ stw r0, 0x54(r1)
/* 802CAE64 002C7DC4 BF 61 00 3C */ stmw r27, 0x3c(r1)
/* 802CAE68 002C7DC8 7C 7E 1B 78 */ mr r30, r3
/* 802CAE6C 002C7DCC 7C 9F 23 78 */ mr r31, r4
/* 802CAE70 002C7DD0 38 61 00 08 */ addi r3, r1, 8
/* 802CAE74 002C7DD4 7F C4 F3 78 */ mr r4, r30
/* 802CAE78 002C7DD8 7F E5 FB 78 */ mr r5, r31
/* 802CAE7C 002C7DDC 4B FF FE D5 */ bl ReadWidgetHeader__10CGuiWidgetFP9CGuiFrameR12CInputStreamb
/* 802CAE80 002C7DE0 83 61 00 08 */ lwz r27, 8(r1)
/* 802CAE84 002C7DE4 3C 60 80 3D */ lis r3, lbl_803D68F8@ha
/* 802CAE88 002C7DE8 8B 81 00 0C */ lbz r28, 0xc(r1)
/* 802CAE8C 002C7DEC 38 63 68 F8 */ addi r3, r3, lbl_803D68F8@l
/* 802CAE90 002C7DF0 AB A1 00 0E */ lha r29, 0xe(r1)
/* 802CAE94 002C7DF4 38 83 00 49 */ addi r4, r3, 0x49
/* 802CAE98 002C7DF8 A9 81 00 10 */ lha r12, 0x10(r1)
/* 802CAE9C 002C7DFC 38 60 00 B8 */ li r3, 0xb8
/* 802CAEA0 002C7E00 89 61 00 12 */ lbz r11, 0x12(r1)
/* 802CAEA4 002C7E04 38 A0 00 00 */ li r5, 0
/* 802CAEA8 002C7E08 89 41 00 13 */ lbz r10, 0x13(r1)
/* 802CAEAC 002C7E0C 89 21 00 14 */ lbz r9, 0x14(r1)
/* 802CAEB0 002C7E10 89 01 00 15 */ lbz r8, 0x15(r1)
/* 802CAEB4 002C7E14 88 E1 00 16 */ lbz r7, 0x16(r1)
/* 802CAEB8 002C7E18 80 C1 00 18 */ lwz r6, 0x18(r1)
/* 802CAEBC 002C7E1C 80 01 00 1C */ lwz r0, 0x1c(r1)
/* 802CAEC0 002C7E20 93 61 00 20 */ stw r27, 0x20(r1)
/* 802CAEC4 002C7E24 9B 81 00 24 */ stb r28, 0x24(r1)
/* 802CAEC8 002C7E28 B3 A1 00 26 */ sth r29, 0x26(r1)
/* 802CAECC 002C7E2C B1 81 00 28 */ sth r12, 0x28(r1)
/* 802CAED0 002C7E30 99 61 00 2A */ stb r11, 0x2a(r1)
/* 802CAED4 002C7E34 99 41 00 2B */ stb r10, 0x2b(r1)
/* 802CAED8 002C7E38 99 21 00 2C */ stb r9, 0x2c(r1)
/* 802CAEDC 002C7E3C 99 01 00 2D */ stb r8, 0x2d(r1)
/* 802CAEE0 002C7E40 98 E1 00 2E */ stb r7, 0x2e(r1)
/* 802CAEE4 002C7E44 90 C1 00 30 */ stw r6, 0x30(r1)
/* 802CAEE8 002C7E48 90 01 00 34 */ stw r0, 0x34(r1)
/* 802CAEEC 002C7E4C 48 04 A9 81 */ bl __nw__FUlPCcPCc
/* 802CAEF0 002C7E50 7C 7B 1B 79 */ or. r27, r3, r3
/* 802CAEF4 002C7E54 41 82 00 10 */ beq lbl_802CAF04
/* 802CAEF8 002C7E58 38 81 00 20 */ addi r4, r1, 0x20
/* 802CAEFC 002C7E5C 4B FF FD 29 */ bl __ct__10CGuiWidgetFRCQ210CGuiWidget15CGuiWidgetParms
/* 802CAF00 002C7E60 7C 7B 1B 78 */ mr r27, r3
lbl_802CAF04:
/* 802CAF04 002C7E64 7F 63 DB 78 */ mr r3, r27
/* 802CAF08 002C7E68 7F C4 F3 78 */ mr r4, r30
/* 802CAF0C 002C7E6C 7F E5 FB 78 */ mr r5, r31
/* 802CAF10 002C7E70 38 C1 00 20 */ addi r6, r1, 0x20
/* 802CAF14 002C7E74 4B FF FB 75 */ bl ParseBaseInfo__10CGuiWidgetFP9CGuiFrameR12CInputStreamRCQ210CGuiWidget15CGuiWidgetParms
/* 802CAF18 002C7E78 7F 63 DB 78 */ mr r3, r27
/* 802CAF1C 002C7E7C BB 61 00 3C */ lmw r27, 0x3c(r1)
/* 802CAF20 002C7E80 80 01 00 54 */ lwz r0, 0x54(r1)
/* 802CAF24 002C7E84 7C 08 03 A6 */ mtlr r0
/* 802CAF28 002C7E88 38 21 00 50 */ addi r1, r1, 0x50
/* 802CAF2C 002C7E8C 4E 80 00 20 */ blr
.global __ct__Q210CGuiWidget15CGuiWidgetParmsFP9CGuiFramebssbbbRC6CColorQ210CGuiWidget18EGuiModelDrawFlagsbb
__ct__Q210CGuiWidget15CGuiWidgetParmsFP9CGuiFramebssbbbRC6CColorQ210CGuiWidget18EGuiModelDrawFlagsbb:
/* 802CAF30 002C7E90 90 83 00 00 */ stw r4, 0(r3)
/* 802CAF34 002C7E94 88 81 00 13 */ lbz r4, 0x13(r1)
/* 802CAF38 002C7E98 98 A3 00 04 */ stb r5, 4(r3)
/* 802CAF3C 002C7E9C 88 01 00 17 */ lbz r0, 0x17(r1)
/* 802CAF40 002C7EA0 B0 C3 00 06 */ sth r6, 6(r3)
/* 802CAF44 002C7EA4 80 C1 00 08 */ lwz r6, 8(r1)
/* 802CAF48 002C7EA8 B0 E3 00 08 */ sth r7, 8(r3)
/* 802CAF4C 002C7EAC 80 A1 00 0C */ lwz r5, 0xc(r1)
/* 802CAF50 002C7EB0 99 03 00 0A */ stb r8, 0xa(r3)
/* 802CAF54 002C7EB4 99 23 00 0B */ stb r9, 0xb(r3)
/* 802CAF58 002C7EB8 99 43 00 0C */ stb r10, 0xc(r3)
/* 802CAF5C 002C7EBC 98 83 00 0D */ stb r4, 0xd(r3)
/* 802CAF60 002C7EC0 98 03 00 0E */ stb r0, 0xe(r3)
/* 802CAF64 002C7EC4 80 06 00 00 */ lwz r0, 0(r6)
/* 802CAF68 002C7EC8 90 03 00 10 */ stw r0, 0x10(r3)
/* 802CAF6C 002C7ECC 90 A3 00 14 */ stw r5, 0x14(r3)
/* 802CAF70 002C7ED0 4E 80 00 20 */ blr

View File

@ -0,0 +1,14 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global __sinit_CGuiWidgetDrawParms_cpp
__sinit_CGuiWidgetDrawParms_cpp:
/* 802CB1B0 002C8110 C0 22 C4 18 */ lfs f1, lbl_805AE138@sda21(r2)
/* 802CB1B4 002C8114 3C 60 80 5A */ lis r3, lbl_8059FD08@ha
/* 802CB1B8 002C8118 C0 02 C4 1C */ lfs f0, lbl_805AE13C@sda21(r2)
/* 802CB1BC 002C811C D4 23 FD 08 */ stfsu f1, lbl_8059FD08@l(r3)
/* 802CB1C0 002C8120 D0 03 00 04 */ stfs f0, 4(r3)
/* 802CB1C4 002C8124 D0 03 00 08 */ stfs f0, 8(r3)
/* 802CB1C8 002C8128 D0 03 00 0C */ stfs f0, 0xc(r3)
/* 802CB1CC 002C812C 4E 80 00 20 */ blr

166
asm/GuiSys/CGuiWidgetIdDB.s Normal file
View File

@ -0,0 +1,166 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global "FindWidgetID__14CGuiWidgetIdDBCFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
"FindWidgetID__14CGuiWidgetIdDBCFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>":
/* 802CAF74 002C7ED4 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 802CAF78 002C7ED8 7C 08 02 A6 */ mflr r0
/* 802CAF7C 002C7EDC 90 01 00 24 */ stw r0, 0x24(r1)
/* 802CAF80 002C7EE0 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 802CAF84 002C7EE4 3B E0 00 00 */ li r31, 0
/* 802CAF88 002C7EE8 93 C1 00 18 */ stw r30, 0x18(r1)
/* 802CAF8C 002C7EEC 3B C0 00 00 */ li r30, 0
/* 802CAF90 002C7EF0 93 A1 00 14 */ stw r29, 0x14(r1)
/* 802CAF94 002C7EF4 7C 9D 23 78 */ mr r29, r4
/* 802CAF98 002C7EF8 93 81 00 10 */ stw r28, 0x10(r1)
/* 802CAF9C 002C7EFC 7C 7C 1B 78 */ mr r28, r3
/* 802CAFA0 002C7F00 48 00 00 2C */ b lbl_802CAFCC
lbl_802CAFA4:
/* 802CAFA4 002C7F04 80 1C 00 0C */ lwz r0, 0xc(r28)
/* 802CAFA8 002C7F08 7F A4 EB 78 */ mr r4, r29
/* 802CAFAC 002C7F0C 7C 60 FA 14 */ add r3, r0, r31
/* 802CAFB0 002C7F10 4B D8 76 31 */ bl "find__Q24rstl418red_black_tree<Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>,Q24rstl83pair<Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>,s>,0,Q24rstl103select1st<Q24rstl83pair<Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>,s>>,Q24rstl81less<Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>CFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocat"
/* 802CAFB4 002C7F14 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 802CAFB8 002C7F18 41 82 00 0C */ beq lbl_802CAFC4
/* 802CAFBC 002C7F1C 7F C3 07 34 */ extsh r3, r30
/* 802CAFC0 002C7F20 48 00 00 1C */ b lbl_802CAFDC
lbl_802CAFC4:
/* 802CAFC4 002C7F24 3B FF 00 10 */ addi r31, r31, 0x10
/* 802CAFC8 002C7F28 3B DE 00 01 */ addi r30, r30, 1
lbl_802CAFCC:
/* 802CAFCC 002C7F2C 80 1C 00 04 */ lwz r0, 4(r28)
/* 802CAFD0 002C7F30 7C 1E 00 00 */ cmpw r30, r0
/* 802CAFD4 002C7F34 41 80 FF D0 */ blt lbl_802CAFA4
/* 802CAFD8 002C7F38 A8 62 C4 12 */ lha r3, lbl_805AE132@sda21(r2)
lbl_802CAFDC:
/* 802CAFDC 002C7F3C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 802CAFE0 002C7F40 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 802CAFE4 002C7F44 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 802CAFE8 002C7F48 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 802CAFEC 002C7F4C 83 81 00 10 */ lwz r28, 0x10(r1)
/* 802CAFF0 002C7F50 7C 08 03 A6 */ mtlr r0
/* 802CAFF4 002C7F54 38 21 00 20 */ addi r1, r1, 0x20
/* 802CAFF8 002C7F58 4E 80 00 20 */ blr
.global "AddWidget__14CGuiWidgetIdDBFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
"AddWidget__14CGuiWidgetIdDBFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>":
/* 802CAFFC 002C7F5C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802CB000 002C7F60 7C 08 02 A6 */ mflr r0
/* 802CB004 002C7F64 90 01 00 14 */ stw r0, 0x14(r1)
/* 802CB008 002C7F68 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802CB00C 002C7F6C 7C 9F 23 78 */ mr r31, r4
/* 802CB010 002C7F70 93 C1 00 08 */ stw r30, 8(r1)
/* 802CB014 002C7F74 7C 7E 1B 78 */ mr r30, r3
/* 802CB018 002C7F78 4B FF FF 5D */ bl "FindWidgetID__14CGuiWidgetIdDBCFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 802CB01C 002C7F7C A8 02 C4 12 */ lha r0, lbl_805AE132@sda21(r2)
/* 802CB020 002C7F80 7C 64 07 34 */ extsh r4, r3
/* 802CB024 002C7F84 7C 04 00 00 */ cmpw r4, r0
/* 802CB028 002C7F88 40 82 00 60 */ bne lbl_802CB088
/* 802CB02C 002C7F8C 80 1E 00 04 */ lwz r0, 4(r30)
/* 802CB030 002C7F90 80 BE 00 08 */ lwz r5, 8(r30)
/* 802CB034 002C7F94 7C 00 28 00 */ cmpw r0, r5
/* 802CB038 002C7F98 41 80 00 1C */ blt lbl_802CB054
/* 802CB03C 002C7F9C 2C 05 00 00 */ cmpwi r5, 0
/* 802CB040 002C7FA0 7F C3 F3 78 */ mr r3, r30
/* 802CB044 002C7FA4 38 80 00 04 */ li r4, 4
/* 802CB048 002C7FA8 41 82 00 08 */ beq lbl_802CB050
/* 802CB04C 002C7FAC 54 A4 08 3C */ slwi r4, r5, 1
lbl_802CB050:
/* 802CB050 002C7FB0 4B D8 EB 65 */ bl "reserve__Q24rstl110vector<Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Fi"
lbl_802CB054:
/* 802CB054 002C7FB4 80 1E 00 04 */ lwz r0, 4(r30)
/* 802CB058 002C7FB8 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 802CB05C 002C7FBC 54 00 20 36 */ slwi r0, r0, 4
/* 802CB060 002C7FC0 7C 63 02 15 */ add. r3, r3, r0
/* 802CB064 002C7FC4 41 82 00 0C */ beq lbl_802CB070
/* 802CB068 002C7FC8 7F E4 FB 78 */ mr r4, r31
/* 802CB06C 002C7FCC 48 07 30 F5 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
lbl_802CB070:
/* 802CB070 002C7FD0 80 7E 00 04 */ lwz r3, 4(r30)
/* 802CB074 002C7FD4 38 03 00 01 */ addi r0, r3, 1
/* 802CB078 002C7FD8 90 1E 00 04 */ stw r0, 4(r30)
/* 802CB07C 002C7FDC 80 7E 00 04 */ lwz r3, 4(r30)
/* 802CB080 002C7FE0 38 03 FF FF */ addi r0, r3, -1
/* 802CB084 002C7FE4 7C 03 07 34 */ extsh r3, r0
lbl_802CB088:
/* 802CB088 002C7FE8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802CB08C 002C7FEC 7C 63 07 34 */ extsh r3, r3
/* 802CB090 002C7FF0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802CB094 002C7FF4 83 C1 00 08 */ lwz r30, 8(r1)
/* 802CB098 002C7FF8 7C 08 03 A6 */ mtlr r0
/* 802CB09C 002C7FFC 38 21 00 10 */ addi r1, r1, 0x10
/* 802CB0A0 002C8000 4E 80 00 20 */ blr
.global sub_802cb0a4
sub_802cb0a4:
/* 802CB0A4 002C8004 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802CB0A8 002C8008 7C 08 02 A6 */ mflr r0
/* 802CB0AC 002C800C 90 01 00 14 */ stw r0, 0x14(r1)
/* 802CB0B0 002C8010 80 03 00 04 */ lwz r0, 4(r3)
/* 802CB0B4 002C8014 7C 84 02 14 */ add r4, r4, r0
/* 802CB0B8 002C8018 4B D8 EA FD */ bl "reserve__Q24rstl110vector<Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Fi"
/* 802CB0BC 002C801C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802CB0C0 002C8020 7C 08 03 A6 */ mtlr r0
/* 802CB0C4 002C8024 38 21 00 10 */ addi r1, r1, 0x10
/* 802CB0C8 002C8028 4E 80 00 20 */ blr
.global __ct__14CGuiWidgetIdDBFv
__ct__14CGuiWidgetIdDBFv:
/* 802CB0CC 002C802C 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 802CB0D0 002C8030 7C 08 02 A6 */ mflr r0
/* 802CB0D4 002C8034 38 80 00 04 */ li r4, 4
/* 802CB0D8 002C8038 90 01 00 54 */ stw r0, 0x54(r1)
/* 802CB0DC 002C803C 38 00 00 00 */ li r0, 0
/* 802CB0E0 002C8040 93 E1 00 4C */ stw r31, 0x4c(r1)
/* 802CB0E4 002C8044 7C 7F 1B 78 */ mr r31, r3
/* 802CB0E8 002C8048 90 03 00 04 */ stw r0, 4(r3)
/* 802CB0EC 002C804C 90 03 00 08 */ stw r0, 8(r3)
/* 802CB0F0 002C8050 90 03 00 0C */ stw r0, 0xc(r3)
/* 802CB0F4 002C8054 4B D8 EA C1 */ bl "reserve__Q24rstl110vector<Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Fi"
/* 802CB0F8 002C8058 3C 80 80 3D */ lis r4, lbl_803D6948@ha
/* 802CB0FC 002C805C 38 61 00 38 */ addi r3, r1, 0x38
/* 802CB100 002C8060 38 84 69 48 */ addi r4, r4, lbl_803D6948@l
/* 802CB104 002C8064 38 84 00 0A */ addi r4, r4, 0xa
/* 802CB108 002C8068 4B D3 9B B1 */ bl string_l__4rstlFPCc
/* 802CB10C 002C806C 7F E3 FB 78 */ mr r3, r31
/* 802CB110 002C8070 38 81 00 38 */ addi r4, r1, 0x38
/* 802CB114 002C8074 4B FF FE E9 */ bl "AddWidget__14CGuiWidgetIdDBFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 802CB118 002C8078 38 61 00 38 */ addi r3, r1, 0x38
/* 802CB11C 002C807C 48 07 29 C5 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 802CB120 002C8080 3C 80 80 3D */ lis r4, lbl_803D6948@ha
/* 802CB124 002C8084 38 61 00 28 */ addi r3, r1, 0x28
/* 802CB128 002C8088 38 84 69 48 */ addi r4, r4, lbl_803D6948@l
/* 802CB12C 002C808C 38 84 00 1E */ addi r4, r4, 0x1e
/* 802CB130 002C8090 4B D3 9B 89 */ bl string_l__4rstlFPCc
/* 802CB134 002C8094 7F E3 FB 78 */ mr r3, r31
/* 802CB138 002C8098 38 81 00 28 */ addi r4, r1, 0x28
/* 802CB13C 002C809C 4B FF FE C1 */ bl "AddWidget__14CGuiWidgetIdDBFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 802CB140 002C80A0 38 61 00 28 */ addi r3, r1, 0x28
/* 802CB144 002C80A4 48 07 29 9D */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 802CB148 002C80A8 3C 80 80 3D */ lis r4, lbl_803D6948@ha
/* 802CB14C 002C80AC 38 61 00 18 */ addi r3, r1, 0x18
/* 802CB150 002C80B0 38 84 69 48 */ addi r4, r4, lbl_803D6948@l
/* 802CB154 002C80B4 38 84 00 31 */ addi r4, r4, 0x31
/* 802CB158 002C80B8 4B D3 9B 61 */ bl string_l__4rstlFPCc
/* 802CB15C 002C80BC 7F E3 FB 78 */ mr r3, r31
/* 802CB160 002C80C0 38 81 00 18 */ addi r4, r1, 0x18
/* 802CB164 002C80C4 4B FF FE 99 */ bl "AddWidget__14CGuiWidgetIdDBFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 802CB168 002C80C8 38 61 00 18 */ addi r3, r1, 0x18
/* 802CB16C 002C80CC 48 07 29 75 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 802CB170 002C80D0 3C 80 80 3D */ lis r4, lbl_803D6948@ha
/* 802CB174 002C80D4 38 61 00 08 */ addi r3, r1, 8
/* 802CB178 002C80D8 38 84 69 48 */ addi r4, r4, lbl_803D6948@l
/* 802CB17C 002C80DC 38 84 00 47 */ addi r4, r4, 0x47
/* 802CB180 002C80E0 4B D3 9B 39 */ bl string_l__4rstlFPCc
/* 802CB184 002C80E4 7F E3 FB 78 */ mr r3, r31
/* 802CB188 002C80E8 38 81 00 08 */ addi r4, r1, 8
/* 802CB18C 002C80EC 4B FF FE 71 */ bl "AddWidget__14CGuiWidgetIdDBFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 802CB190 002C80F0 38 61 00 08 */ addi r3, r1, 8
/* 802CB194 002C80F4 48 07 29 4D */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 802CB198 002C80F8 80 01 00 54 */ lwz r0, 0x54(r1)
/* 802CB19C 002C80FC 7F E3 FB 78 */ mr r3, r31
/* 802CB1A0 002C8100 83 E1 00 4C */ lwz r31, 0x4c(r1)
/* 802CB1A4 002C8104 7C 08 03 A6 */ mtlr r0
/* 802CB1A8 002C8108 38 21 00 50 */ addi r1, r1, 0x50
/* 802CB1AC 002C810C 4E 80 00 20 */ blr

41
asm/GuiSys/CRepeatState.s Normal file
View File

@ -0,0 +1,41 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global Update__Q214CGuiTableGroup12CRepeatStateFfb
Update__Q214CGuiTableGroup12CRepeatStateFfb:
/* 802CD454 002CA3B4 C0 42 C4 70 */ lfs f2, lbl_805AE190@sda21(r2)
/* 802CD458 002CA3B8 38 A0 00 00 */ li r5, 0
/* 802CD45C 002CA3BC C0 03 00 00 */ lfs f0, 0(r3)
/* 802CD460 002CA3C0 FC 02 00 00 */ fcmpu cr0, f2, f0
/* 802CD464 002CA3C4 40 82 00 1C */ bne lbl_802CD480
/* 802CD468 002CA3C8 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 802CD46C 002CA3CC 41 82 00 48 */ beq lbl_802CD4B4
/* 802CD470 002CA3D0 C0 02 C4 74 */ lfs f0, lbl_805AE194@sda21(r2)
/* 802CD474 002CA3D4 38 A0 00 01 */ li r5, 1
/* 802CD478 002CA3D8 D0 03 00 00 */ stfs f0, 0(r3)
/* 802CD47C 002CA3DC 48 00 00 38 */ b lbl_802CD4B4
lbl_802CD480:
/* 802CD480 002CA3E0 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 802CD484 002CA3E4 41 82 00 2C */ beq lbl_802CD4B0
/* 802CD488 002CA3E8 EC 00 08 28 */ fsubs f0, f0, f1
/* 802CD48C 002CA3EC D0 03 00 00 */ stfs f0, 0(r3)
/* 802CD490 002CA3F0 C0 03 00 00 */ lfs f0, 0(r3)
/* 802CD494 002CA3F4 FC 00 10 40 */ fcmpo cr0, f0, f2
/* 802CD498 002CA3F8 4C 40 13 82 */ cror 2, 0, 2
/* 802CD49C 002CA3FC 40 82 00 18 */ bne lbl_802CD4B4
/* 802CD4A0 002CA400 C0 02 C4 78 */ lfs f0, lbl_805AE198@sda21(r2)
/* 802CD4A4 002CA404 38 A0 00 01 */ li r5, 1
/* 802CD4A8 002CA408 D0 03 00 00 */ stfs f0, 0(r3)
/* 802CD4AC 002CA40C 48 00 00 08 */ b lbl_802CD4B4
lbl_802CD4B0:
/* 802CD4B0 002CA410 D0 43 00 00 */ stfs f2, 0(r3)
lbl_802CD4B4:
/* 802CD4B4 002CA414 54 A3 06 3E */ clrlwi r3, r5, 0x18
/* 802CD4B8 002CA418 4E 80 00 20 */ blr
.global sub_802cd4bc
sub_802cd4bc:
/* 802CD4BC 002CA41C C0 02 C4 70 */ lfs f0, lbl_805AE190@sda21(r2)
/* 802CD4C0 002CA420 D0 03 00 00 */ stfs f0, 0(r3)
/* 802CD4C4 002CA424 4E 80 00 20 */ blr

View File

@ -0,0 +1,999 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global GetArtifactHeadScanIndex__13CArtifactDollFUi
GetArtifactHeadScanIndex__13CArtifactDollFUi:
/* 8029C884 002997E4 3C 80 80 3D */ lis r4, lbl_803D5D80@ha
/* 8029C888 002997E8 38 00 00 02 */ li r0, 2
/* 8029C88C 002997EC 38 84 5D 80 */ addi r4, r4, lbl_803D5D80@l
/* 8029C890 002997F0 38 A0 00 00 */ li r5, 0
/* 8029C894 002997F4 7C 09 03 A6 */ mtctr r0
lbl_8029C898:
/* 8029C898 002997F8 80 04 00 00 */ lwz r0, 0(r4)
/* 8029C89C 002997FC 7C 03 00 40 */ cmplw r3, r0
/* 8029C8A0 00299800 40 82 00 0C */ bne lbl_8029C8AC
/* 8029C8A4 00299804 7C A3 2B 78 */ mr r3, r5
/* 8029C8A8 00299808 4E 80 00 20 */ blr
lbl_8029C8AC:
/* 8029C8AC 0029980C 84 04 00 04 */ lwzu r0, 4(r4)
/* 8029C8B0 00299810 38 A5 00 01 */ addi r5, r5, 1
/* 8029C8B4 00299814 7C 03 00 40 */ cmplw r3, r0
/* 8029C8B8 00299818 40 82 00 0C */ bne lbl_8029C8C4
/* 8029C8BC 0029981C 7C A3 2B 78 */ mr r3, r5
/* 8029C8C0 00299820 4E 80 00 20 */ blr
lbl_8029C8C4:
/* 8029C8C4 00299824 84 04 00 04 */ lwzu r0, 4(r4)
/* 8029C8C8 00299828 38 A5 00 01 */ addi r5, r5, 1
/* 8029C8CC 0029982C 7C 03 00 40 */ cmplw r3, r0
/* 8029C8D0 00299830 40 82 00 0C */ bne lbl_8029C8DC
/* 8029C8D4 00299834 7C A3 2B 78 */ mr r3, r5
/* 8029C8D8 00299838 4E 80 00 20 */ blr
lbl_8029C8DC:
/* 8029C8DC 0029983C 84 04 00 04 */ lwzu r0, 4(r4)
/* 8029C8E0 00299840 38 A5 00 01 */ addi r5, r5, 1
/* 8029C8E4 00299844 7C 03 00 40 */ cmplw r3, r0
/* 8029C8E8 00299848 40 82 00 0C */ bne lbl_8029C8F4
/* 8029C8EC 0029984C 7C A3 2B 78 */ mr r3, r5
/* 8029C8F0 00299850 4E 80 00 20 */ blr
lbl_8029C8F4:
/* 8029C8F4 00299854 84 04 00 04 */ lwzu r0, 4(r4)
/* 8029C8F8 00299858 38 A5 00 01 */ addi r5, r5, 1
/* 8029C8FC 0029985C 7C 03 00 40 */ cmplw r3, r0
/* 8029C900 00299860 40 82 00 0C */ bne lbl_8029C90C
/* 8029C904 00299864 7C A3 2B 78 */ mr r3, r5
/* 8029C908 00299868 4E 80 00 20 */ blr
lbl_8029C90C:
/* 8029C90C 0029986C 84 04 00 04 */ lwzu r0, 4(r4)
/* 8029C910 00299870 38 A5 00 01 */ addi r5, r5, 1
/* 8029C914 00299874 7C 03 00 40 */ cmplw r3, r0
/* 8029C918 00299878 40 82 00 0C */ bne lbl_8029C924
/* 8029C91C 0029987C 7C A3 2B 78 */ mr r3, r5
/* 8029C920 00299880 4E 80 00 20 */ blr
lbl_8029C924:
/* 8029C924 00299884 38 84 00 04 */ addi r4, r4, 4
/* 8029C928 00299888 38 A5 00 01 */ addi r5, r5, 1
/* 8029C92C 0029988C 42 00 FF 6C */ bdnz lbl_8029C898
/* 8029C930 00299890 38 60 FF FF */ li r3, -1
/* 8029C934 00299894 4E 80 00 20 */ blr
.global GetArtifactHeadScanFromItemType__13CArtifactDollF9EItemType
GetArtifactHeadScanFromItemType__13CArtifactDollF9EItemType:
/* 8029C938 00299898 2C 03 00 1D */ cmpwi r3, 0x1d
/* 8029C93C 0029989C 41 80 00 24 */ blt lbl_8029C960
/* 8029C940 002998A0 2C 03 00 28 */ cmpwi r3, 0x28
/* 8029C944 002998A4 41 81 00 1C */ bgt lbl_8029C960
/* 8029C948 002998A8 38 03 FF E3 */ addi r0, r3, -29
/* 8029C94C 002998AC 3C 60 80 3D */ lis r3, lbl_803D5D80@ha
/* 8029C950 002998B0 54 00 10 3A */ slwi r0, r0, 2
/* 8029C954 002998B4 38 63 5D 80 */ addi r3, r3, lbl_803D5D80@l
/* 8029C958 002998B8 7C 63 00 2E */ lwzx r3, r3, r0
/* 8029C95C 002998BC 4E 80 00 20 */ blr
lbl_8029C960:
/* 8029C960 002998C0 38 60 FF FF */ li r3, -1
/* 8029C964 002998C4 4E 80 00 20 */ blr
.global Draw__13CArtifactDollFfRC13CStateManagerbUi
Draw__13CArtifactDollFfRC13CStateManagerbUi:
/* 8029C968 002998C8 94 21 FD 90 */ stwu r1, -0x270(r1)
/* 8029C96C 002998CC 7C 08 02 A6 */ mflr r0
/* 8029C970 002998D0 90 01 02 74 */ stw r0, 0x274(r1)
/* 8029C974 002998D4 DB E1 02 60 */ stfd f31, 0x260(r1)
/* 8029C978 002998D8 F3 E1 02 68 */ psq_st f31, 616(r1), 0, qr0
/* 8029C97C 002998DC DB C1 02 50 */ stfd f30, 0x250(r1)
/* 8029C980 002998E0 F3 C1 02 58 */ psq_st f30, 600(r1), 0, qr0
/* 8029C984 002998E4 DB A1 02 40 */ stfd f29, 0x240(r1)
/* 8029C988 002998E8 F3 A1 02 48 */ psq_st f29, 584(r1), 0, qr0
/* 8029C98C 002998EC DB 81 02 30 */ stfd f28, 0x230(r1)
/* 8029C990 002998F0 F3 81 02 38 */ psq_st f28, 568(r1), 0, qr0
/* 8029C994 002998F4 DB 61 02 20 */ stfd f27, 0x220(r1)
/* 8029C998 002998F8 F3 61 02 28 */ psq_st f27, 552(r1), 0, qr0
/* 8029C99C 002998FC DB 41 02 10 */ stfd f26, 0x210(r1)
/* 8029C9A0 00299900 F3 41 02 18 */ psq_st f26, 536(r1), 0, qr0
/* 8029C9A4 00299904 BE C1 01 E8 */ stmw r22, 0x1e8(r1)
/* 8029C9A8 00299908 FF 40 08 90 */ fmr f26, f1
/* 8029C9AC 0029990C 7C 7D 1B 78 */ mr r29, r3
/* 8029C9B0 00299910 7C 9E 23 78 */ mr r30, r4
/* 8029C9B4 00299914 7C B6 2B 78 */ mr r22, r5
/* 8029C9B8 00299918 7C DF 33 78 */ mr r31, r6
/* 8029C9BC 0029991C 48 00 0A 65 */ bl IsLoaded__13CArtifactDollCFv
/* 8029C9C0 00299920 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8029C9C4 00299924 41 82 03 F4 */ beq lbl_8029CDB8
/* 8029C9C8 00299928 3C 60 80 3F */ lis r3, lbl_803ED910@ha
/* 8029C9CC 0029992C 3C 80 43 30 */ lis r4, 0x4330
/* 8029C9D0 00299930 38 C3 D9 10 */ addi r6, r3, lbl_803ED910@l
/* 8029C9D4 00299934 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 8029C9D8 00299938 80 A6 00 08 */ lwz r5, 8(r6)
/* 8029C9DC 0029993C 80 06 00 0C */ lwz r0, 0xc(r6)
/* 8029C9E0 00299940 6C A5 80 00 */ xoris r5, r5, 0x8000
/* 8029C9E4 00299944 81 83 00 00 */ lwz r12, 0(r3)
/* 8029C9E8 00299948 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 8029C9EC 0029994C 90 A1 01 DC */ stw r5, 0x1dc(r1)
/* 8029C9F0 00299950 C0 1D 00 24 */ lfs f0, 0x24(r29)
/* 8029C9F4 00299954 90 81 01 D8 */ stw r4, 0x1d8(r1)
/* 8029C9F8 00299958 C8 62 C0 78 */ lfd f3, lbl_805ADD98@sda21(r2)
/* 8029C9FC 0029995C EF BA 00 32 */ fmuls f29, f26, f0
/* 8029CA00 00299960 C8 01 01 D8 */ lfd f0, 0x1d8(r1)
/* 8029CA04 00299964 90 01 01 E4 */ stw r0, 0x1e4(r1)
/* 8029CA08 00299968 81 8C 00 4C */ lwz r12, 0x4c(r12)
/* 8029CA0C 0029996C EC 40 18 28 */ fsubs f2, f0, f3
/* 8029CA10 00299970 90 81 01 E0 */ stw r4, 0x1e0(r1)
/* 8029CA14 00299974 C0 22 C0 40 */ lfs f1, lbl_805ADD60@sda21(r2)
/* 8029CA18 00299978 C8 01 01 E0 */ lfd f0, 0x1e0(r1)
/* 8029CA1C 0029997C C0 82 C0 44 */ lfs f4, lbl_805ADD64@sda21(r2)
/* 8029CA20 00299980 EC 60 18 28 */ fsubs f3, f0, f3
/* 8029CA24 00299984 C0 A2 C0 48 */ lfs f5, lbl_805ADD68@sda21(r2)
/* 8029CA28 00299988 7D 89 03 A6 */ mtctr r12
/* 8029CA2C 0029998C 4E 80 04 21 */ bctrl
/* 8029CA30 00299990 C0 22 C0 4C */ lfs f1, lbl_805ADD6C@sda21(r2)
/* 8029CA34 00299994 38 61 01 A4 */ addi r3, r1, 0x1a4
/* 8029CA38 00299998 C0 42 C0 50 */ lfs f2, lbl_805ADD70@sda21(r2)
/* 8029CA3C 0029999C FC 60 08 90 */ fmr f3, f1
/* 8029CA40 002999A0 48 07 67 49 */ bl Translate__12CTransform4fFfff
/* 8029CA44 002999A4 38 61 01 A4 */ addi r3, r1, 0x1a4
/* 8029CA48 002999A8 48 06 FD 05 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f
/* 8029CA4C 002999AC 80 7D 00 20 */ lwz r3, 0x20(r29)
/* 8029CA50 002999B0 4B E6 83 39 */ bl ActivateLights__12CActorLightsCFv
/* 8029CA54 002999B4 48 06 D4 8D */ bl GetSecondsMod900__9CGraphicsFv
/* 8029CA58 002999B8 C0 02 C0 5C */ lfs f0, lbl_805ADD7C@sda21(r2)
/* 8029CA5C 002999BC C0 42 C0 58 */ lfs f2, lbl_805ADD78@sda21(r2)
/* 8029CA60 002999C0 EC 20 00 72 */ fmuls f1, f0, f1
/* 8029CA64 002999C4 C0 02 C0 54 */ lfs f0, lbl_805ADD74@sda21(r2)
/* 8029CA68 002999C8 EC 22 00 72 */ fmuls f1, f2, f1
/* 8029CA6C 002999CC EF 60 00 72 */ fmuls f27, f0, f1
/* 8029CA70 002999D0 FC 20 D8 90 */ fmr f1, f27
/* 8029CA74 002999D4 48 07 88 95 */ bl SlowSineR__5CMathFf
/* 8029CA78 002999D8 C0 02 C0 60 */ lfs f0, lbl_805ADD80@sda21(r2)
/* 8029CA7C 002999DC EF 80 00 72 */ fmuls f28, f0, f1
/* 8029CA80 002999E0 FC 20 D8 90 */ fmr f1, f27
/* 8029CA84 002999E4 48 07 88 61 */ bl SlowCosineR__5CMathFf
/* 8029CA88 002999E8 C0 02 C0 60 */ lfs f0, lbl_805ADD80@sda21(r2)
/* 8029CA8C 002999EC 38 61 00 54 */ addi r3, r1, 0x54
/* 8029CA90 002999F0 C0 42 C0 68 */ lfs f2, lbl_805ADD88@sda21(r2)
/* 8029CA94 002999F4 EC 80 00 72 */ fmuls f4, f0, f1
/* 8029CA98 002999F8 C0 62 C0 64 */ lfs f3, lbl_805ADD84@sda21(r2)
/* 8029CA9C 002999FC EC 02 07 32 */ fmuls f0, f2, f28
/* 8029CAA0 00299A00 C0 22 C0 44 */ lfs f1, lbl_805ADD64@sda21(r2)
/* 8029CAA4 00299A04 D0 61 00 1C */ stfs f3, 0x1c(r1)
/* 8029CAA8 00299A08 EC 42 01 32 */ fmuls f2, f2, f4
/* 8029CAAC 00299A0C D0 01 00 24 */ stfs f0, 0x24(r1)
/* 8029CAB0 00299A10 D0 41 00 20 */ stfs f2, 0x20(r1)
/* 8029CAB4 00299A14 48 07 67 8D */ bl Scale__12CTransform4fFf
/* 8029CAB8 00299A18 38 61 00 84 */ addi r3, r1, 0x84
/* 8029CABC 00299A1C 38 81 00 1C */ addi r4, r1, 0x1c
/* 8029CAC0 00299A20 48 07 6E 81 */ bl RotateX__12CTransform4fFRC9CRelAngle
/* 8029CAC4 00299A24 38 61 00 B4 */ addi r3, r1, 0xb4
/* 8029CAC8 00299A28 38 81 00 20 */ addi r4, r1, 0x20
/* 8029CACC 00299A2C 48 07 6D 45 */ bl RotateZ__12CTransform4fFRC9CRelAngle
/* 8029CAD0 00299A30 38 61 00 E4 */ addi r3, r1, 0xe4
/* 8029CAD4 00299A34 38 81 00 24 */ addi r4, r1, 0x24
/* 8029CAD8 00299A38 48 07 6E 69 */ bl RotateX__12CTransform4fFRC9CRelAngle
/* 8029CADC 00299A3C 38 61 01 14 */ addi r3, r1, 0x114
/* 8029CAE0 00299A40 38 81 00 E4 */ addi r4, r1, 0xe4
/* 8029CAE4 00299A44 38 A1 00 B4 */ addi r5, r1, 0xb4
/* 8029CAE8 00299A48 48 07 5E 69 */ bl __ml__12CTransform4fCFRC12CTransform4f
/* 8029CAEC 00299A4C 38 61 01 44 */ addi r3, r1, 0x144
/* 8029CAF0 00299A50 38 81 01 14 */ addi r4, r1, 0x114
/* 8029CAF4 00299A54 38 A1 00 84 */ addi r5, r1, 0x84
/* 8029CAF8 00299A58 48 07 5E 59 */ bl __ml__12CTransform4fCFRC12CTransform4f
/* 8029CAFC 00299A5C 38 61 01 74 */ addi r3, r1, 0x174
/* 8029CB00 00299A60 38 81 01 44 */ addi r4, r1, 0x144
/* 8029CB04 00299A64 38 A1 00 54 */ addi r5, r1, 0x54
/* 8029CB08 00299A68 48 07 5E 49 */ bl __ml__12CTransform4fCFRC12CTransform4f
/* 8029CB0C 00299A6C 38 61 01 74 */ addi r3, r1, 0x174
/* 8029CB10 00299A70 48 06 FA D1 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f
/* 8029CB14 00299A74 80 9E 08 B8 */ lwz r4, 0x8b8(r30)
/* 8029CB18 00299A78 38 60 00 00 */ li r3, 0
/* 8029CB1C 00299A7C 83 44 00 00 */ lwz r26, 0(r4)
/* 8029CB20 00299A80 48 06 EF 51 */ bl SetCullMode__9CGraphicsF12ERglCullMode
/* 8029CB24 00299A84 3C 60 80 3D */ lis r3, lbl_803D5D80@ha
/* 8029CB28 00299A88 CB 82 C0 80 */ lfd f28, lbl_805ADDA0@sda21(r2)
/* 8029CB2C 00299A8C 56 DB 06 3E */ clrlwi r27, r22, 0x18
/* 8029CB30 00299A90 3A E1 00 40 */ addi r23, r1, 0x40
/* 8029CB34 00299A94 3B 03 5D 80 */ addi r24, r3, lbl_803D5D80@l
/* 8029CB38 00299A98 3A C0 00 00 */ li r22, 0
/* 8029CB3C 00299A9C 3B 20 00 00 */ li r25, 0
/* 8029CB40 00299AA0 3F 80 43 30 */ lis r28, 0x4330
/* 8029CB44 00299AA4 48 00 02 5C */ b lbl_8029CDA0
lbl_8029CB48:
/* 8029CB48 00299AA8 80 1D 00 0C */ lwz r0, 0xc(r29)
/* 8029CB4C 00299AAC 38 61 00 4C */ addi r3, r1, 0x4c
/* 8029CB50 00299AB0 7C 80 CA 14 */ add r4, r0, r25
/* 8029CB54 00299AB4 48 0A 43 55 */ bl __ct__6CTokenFRC6CToken
/* 8029CB58 00299AB8 7F 43 D3 78 */ mr r3, r26
/* 8029CB5C 00299ABC 38 96 00 1D */ addi r4, r22, 0x1d
/* 8029CB60 00299AC0 4B DF 4F 61 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 8029CB64 00299AC4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8029CB68 00299AC8 80 6D A5 B4 */ lwz r3, lbl_805A9174@sda21(r13)
/* 8029CB6C 00299ACC 90 61 00 28 */ stw r3, 0x28(r1)
/* 8029CB70 00299AD0 41 82 00 98 */ beq lbl_8029CC08
/* 8029CB74 00299AD4 80 98 00 00 */ lwz r4, 0(r24)
/* 8029CB78 00299AD8 3C 04 00 01 */ addis r0, r4, 1
/* 8029CB7C 00299ADC 28 00 FF FF */ cmplwi r0, 0xffff
/* 8029CB80 00299AE0 41 82 00 80 */ beq lbl_8029CC00
/* 8029CB84 00299AE4 80 7E 08 B8 */ lwz r3, 0x8b8(r30)
/* 8029CB88 00299AE8 80 63 00 00 */ lwz r3, 0(r3)
/* 8029CB8C 00299AEC 4B DF 4B 05 */ bl GetScanTime__12CPlayerStateCFUi
/* 8029CB90 00299AF0 C0 42 C0 6C */ lfs f2, lbl_805ADD8C@sda21(r2)
/* 8029CB94 00299AF4 C0 62 C0 58 */ lfs f3, lbl_805ADD78@sda21(r2)
/* 8029CB98 00299AF8 EC 01 10 28 */ fsubs f0, f1, f2
/* 8029CB9C 00299AFC EF 63 00 32 */ fmuls f27, f3, f0
/* 8029CBA0 00299B00 FC 1B 10 40 */ fcmpo cr0, f27, f2
/* 8029CBA4 00299B04 40 80 00 2C */ bge lbl_8029CBD0
/* 8029CBA8 00299B08 48 0A D4 05 */ bl White__6CColorFv
/* 8029CBAC 00299B0C C0 02 C0 58 */ lfs f0, lbl_805ADD78@sda21(r2)
/* 8029CBB0 00299B10 7C 65 1B 78 */ mr r5, r3
/* 8029CBB4 00299B14 38 61 00 18 */ addi r3, r1, 0x18
/* 8029CBB8 00299B18 38 8D A5 B4 */ addi r4, r13, lbl_805A9174@sda21
/* 8029CBBC 00299B1C EC 20 06 F2 */ fmuls f1, f0, f27
/* 8029CBC0 00299B20 48 0C 66 ED */ bl Lerp__6CColorFRC6CColorRC6CColorf
/* 8029CBC4 00299B24 80 01 00 18 */ lwz r0, 0x18(r1)
/* 8029CBC8 00299B28 90 01 00 28 */ stw r0, 0x28(r1)
/* 8029CBCC 00299B2C 48 00 00 3C */ b lbl_8029CC08
lbl_8029CBD0:
/* 8029CBD0 00299B30 48 0A D3 DD */ bl White__6CColorFv
/* 8029CBD4 00299B34 C0 02 C0 6C */ lfs f0, lbl_805ADD8C@sda21(r2)
/* 8029CBD8 00299B38 7C 64 1B 78 */ mr r4, r3
/* 8029CBDC 00299B3C C0 22 C0 58 */ lfs f1, lbl_805ADD78@sda21(r2)
/* 8029CBE0 00299B40 38 61 00 14 */ addi r3, r1, 0x14
/* 8029CBE4 00299B44 EC 1B 00 28 */ fsubs f0, f27, f0
/* 8029CBE8 00299B48 38 AD A5 B0 */ addi r5, r13, lbl_805A9170@sda21
/* 8029CBEC 00299B4C EC 21 00 32 */ fmuls f1, f1, f0
/* 8029CBF0 00299B50 48 0C 66 BD */ bl Lerp__6CColorFRC6CColorRC6CColorf
/* 8029CBF4 00299B54 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8029CBF8 00299B58 90 01 00 28 */ stw r0, 0x28(r1)
/* 8029CBFC 00299B5C 48 00 00 0C */ b lbl_8029CC08
lbl_8029CC00:
/* 8029CC00 00299B60 80 0D A5 B0 */ lwz r0, lbl_805A9170@sda21(r13)
/* 8029CC04 00299B64 90 01 00 28 */ stw r0, 0x28(r1)
lbl_8029CC08:
/* 8029CC08 00299B68 28 1B 00 00 */ cmplwi r27, 0
/* 8029CC0C 00299B6C 41 82 00 A0 */ beq lbl_8029CCAC
/* 8029CC10 00299B70 7C 16 F8 00 */ cmpw r22, r31
/* 8029CC14 00299B74 40 82 00 98 */ bne lbl_8029CCAC
/* 8029CC18 00299B78 48 06 D2 C9 */ bl GetSecondsMod900__9CGraphicsFv
/* 8029CC1C 00299B7C C0 42 C0 5C */ lfs f2, lbl_805ADD7C@sda21(r2)
/* 8029CC20 00299B80 C0 02 C0 58 */ lfs f0, lbl_805ADD78@sda21(r2)
/* 8029CC24 00299B84 EC 22 00 72 */ fmuls f1, f2, f1
/* 8029CC28 00299B88 EC 20 00 72 */ fmuls f1, f0, f1
/* 8029CC2C 00299B8C 48 07 86 DD */ bl SlowSineR__5CMathFf
/* 8029CC30 00299B90 C0 02 C0 70 */ lfs f0, lbl_805ADD90@sda21(r2)
/* 8029CC34 00299B94 38 81 00 0C */ addi r4, r1, 0xc
/* 8029CC38 00299B98 C0 42 C0 6C */ lfs f2, lbl_805ADD8C@sda21(r2)
/* 8029CC3C 00299B9C 38 6D 9A 18 */ addi r3, r13, lbl_805A85D8@sda21
/* 8029CC40 00299BA0 EC 20 08 2A */ fadds f1, f0, f1
/* 8029CC44 00299BA4 C0 02 C0 74 */ lfs f0, lbl_805ADD94@sda21(r2)
/* 8029CC48 00299BA8 38 AD 9A 1C */ addi r5, r13, lbl_805A85DC@sda21
/* 8029CC4C 00299BAC EF 42 00 72 */ fmuls f26, f2, f1
/* 8029CC50 00299BB0 EC 00 D0 28 */ fsubs f0, f0, f26
/* 8029CC54 00299BB4 D0 01 00 0C */ stfs f0, 0xc(r1)
/* 8029CC58 00299BB8 4B D6 F6 5D */ bl "Clamp<f>__5CMathFRCfRCfRCf"
/* 8029CC5C 00299BBC C3 63 00 00 */ lfs f27, 0(r3)
/* 8029CC60 00299BC0 48 0A D3 4D */ bl White__6CColorFv
/* 8029CC64 00299BC4 FC 20 D0 90 */ fmr f1, f26
/* 8029CC68 00299BC8 7C 64 1B 78 */ mr r4, r3
/* 8029CC6C 00299BCC 38 61 00 10 */ addi r3, r1, 0x10
/* 8029CC70 00299BD0 38 A1 00 28 */ addi r5, r1, 0x28
/* 8029CC74 00299BD4 48 0C 66 39 */ bl Lerp__6CColorFRC6CColorRC6CColorf
/* 8029CC78 00299BD8 88 61 00 13 */ lbz r3, 0x13(r1)
/* 8029CC7C 00299BDC 3C 00 43 30 */ lis r0, 0x4330
/* 8029CC80 00299BE0 90 01 01 E0 */ stw r0, 0x1e0(r1)
/* 8029CC84 00299BE4 C8 22 C0 80 */ lfd f1, lbl_805ADDA0@sda21(r2)
/* 8029CC88 00299BE8 90 61 01 E4 */ stw r3, 0x1e4(r1)
/* 8029CC8C 00299BEC C8 01 01 E0 */ lfd f0, 0x1e0(r1)
/* 8029CC90 00299BF0 EC 00 08 28 */ fsubs f0, f0, f1
/* 8029CC94 00299BF4 EF DB 00 32 */ fmuls f30, f27, f0
/* 8029CC98 00299BF8 F3 C1 A0 08 */ psq_st f30, 8(r1), 1, qr2
/* 8029CC9C 00299BFC 80 61 00 10 */ lwz r3, 0x10(r1)
/* 8029CCA0 00299C00 88 01 00 08 */ lbz r0, 8(r1)
/* 8029CCA4 00299C04 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17
/* 8029CCA8 00299C08 90 01 00 28 */ stw r0, 0x28(r1)
lbl_8029CCAC:
/* 8029CCAC 00299C0C C0 22 C0 70 */ lfs f1, lbl_805ADD90@sda21(r2)
/* 8029CCB0 00299C10 38 80 00 07 */ li r4, 7
/* 8029CCB4 00299C14 38 60 00 00 */ li r3, 0
/* 8029CCB8 00299C18 38 00 00 03 */ li r0, 3
/* 8029CCBC 00299C1C FC 40 08 90 */ fmr f2, f1
/* 8029CCC0 00299C20 98 81 00 3C */ stb r4, 0x3c(r1)
/* 8029CCC4 00299C24 FC 60 08 90 */ fmr f3, f1
/* 8029CCC8 00299C28 C0 82 C0 4C */ lfs f4, lbl_805ADD6C@sda21(r2)
/* 8029CCCC 00299C2C 98 61 00 3D */ stb r3, 0x3d(r1)
/* 8029CCD0 00299C30 7E E3 BB 78 */ mr r3, r23
/* 8029CCD4 00299C34 B0 01 00 3E */ sth r0, 0x3e(r1)
/* 8029CCD8 00299C38 48 0C 67 15 */ bl __ct__6CColorFffff
/* 8029CCDC 00299C3C A0 01 00 3E */ lhz r0, 0x3e(r1)
/* 8029CCE0 00299C40 38 61 00 4C */ addi r3, r1, 0x4c
/* 8029CCE4 00299C44 88 C1 00 3C */ lbz r6, 0x3c(r1)
/* 8029CCE8 00299C48 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d
/* 8029CCEC 00299C4C 88 A1 00 3D */ lbz r5, 0x3d(r1)
/* 8029CCF0 00299C50 60 04 00 03 */ ori r4, r0, 3
/* 8029CCF4 00299C54 80 01 00 40 */ lwz r0, 0x40(r1)
/* 8029CCF8 00299C58 98 C1 00 44 */ stb r6, 0x44(r1)
/* 8029CCFC 00299C5C 98 A1 00 45 */ stb r5, 0x45(r1)
/* 8029CD00 00299C60 B0 81 00 46 */ sth r4, 0x46(r1)
/* 8029CD04 00299C64 90 01 00 48 */ stw r0, 0x48(r1)
/* 8029CD08 00299C68 48 0A 41 05 */ bl GetObj__6CTokenFv
/* 8029CD0C 00299C6C 80 63 00 04 */ lwz r3, 4(r3)
/* 8029CD10 00299C70 38 81 00 44 */ addi r4, r1, 0x44
/* 8029CD14 00299C74 48 0B 8E C1 */ bl Draw__6CModelCFRC11CModelFlags
/* 8029CD18 00299C78 38 61 00 4C */ addi r3, r1, 0x4c
/* 8029CD1C 00299C7C 48 0A 40 F1 */ bl GetObj__6CTokenFv
/* 8029CD20 00299C80 88 01 00 2B */ lbz r0, 0x2b(r1)
/* 8029CD24 00299C84 93 81 01 E0 */ stw r28, 0x1e0(r1)
/* 8029CD28 00299C88 80 63 00 04 */ lwz r3, 4(r3)
/* 8029CD2C 00299C8C 90 01 01 E4 */ stw r0, 0x1e4(r1)
/* 8029CD30 00299C90 C8 01 01 E0 */ lfd f0, 0x1e0(r1)
/* 8029CD34 00299C94 EC 00 E0 28 */ fsubs f0, f0, f28
/* 8029CD38 00299C98 EF FD 00 32 */ fmuls f31, f29, f0
/* 8029CD3C 00299C9C F3 E1 A0 09 */ psq_st f31, 9(r1), 1, qr2
/* 8029CD40 00299CA0 38 A0 00 03 */ li r5, 3
/* 8029CD44 00299CA4 54 A0 00 3A */ rlwinm r0, r5, 0, 0, 0x1d
/* 8029CD48 00299CA8 80 81 00 28 */ lwz r4, 0x28(r1)
/* 8029CD4C 00299CAC 38 E0 00 08 */ li r7, 8
/* 8029CD50 00299CB0 38 C0 00 00 */ li r6, 0
/* 8029CD54 00299CB4 89 01 00 09 */ lbz r8, 9(r1)
/* 8029CD58 00299CB8 50 88 00 2E */ rlwimi r8, r4, 0, 0, 0x17
/* 8029CD5C 00299CBC 60 00 00 01 */ ori r0, r0, 1
/* 8029CD60 00299CC0 98 E1 00 2C */ stb r7, 0x2c(r1)
/* 8029CD64 00299CC4 38 81 00 34 */ addi r4, r1, 0x34
/* 8029CD68 00299CC8 98 C1 00 2D */ stb r6, 0x2d(r1)
/* 8029CD6C 00299CCC B0 A1 00 2E */ sth r5, 0x2e(r1)
/* 8029CD70 00299CD0 91 01 00 30 */ stw r8, 0x30(r1)
/* 8029CD74 00299CD4 98 E1 00 34 */ stb r7, 0x34(r1)
/* 8029CD78 00299CD8 98 C1 00 35 */ stb r6, 0x35(r1)
/* 8029CD7C 00299CDC B0 01 00 36 */ sth r0, 0x36(r1)
/* 8029CD80 00299CE0 91 01 00 38 */ stw r8, 0x38(r1)
/* 8029CD84 00299CE4 48 0B 8E 51 */ bl Draw__6CModelCFRC11CModelFlags
/* 8029CD88 00299CE8 38 61 00 4C */ addi r3, r1, 0x4c
/* 8029CD8C 00299CEC 38 80 00 00 */ li r4, 0
/* 8029CD90 00299CF0 48 0A 40 B1 */ bl __dt__6CTokenFv
/* 8029CD94 00299CF4 3B 39 00 08 */ addi r25, r25, 8
/* 8029CD98 00299CF8 3B 18 00 04 */ addi r24, r24, 4
/* 8029CD9C 00299CFC 3A D6 00 01 */ addi r22, r22, 1
lbl_8029CDA0:
/* 8029CDA0 00299D00 80 1D 00 04 */ lwz r0, 4(r29)
/* 8029CDA4 00299D04 7C 16 00 00 */ cmpw r22, r0
/* 8029CDA8 00299D08 41 80 FD A0 */ blt lbl_8029CB48
/* 8029CDAC 00299D0C 38 60 00 01 */ li r3, 1
/* 8029CDB0 00299D10 48 06 EC C1 */ bl SetCullMode__9CGraphicsF12ERglCullMode
/* 8029CDB4 00299D14 48 06 FB C9 */ bl DisableAllLights__9CGraphicsFv
lbl_8029CDB8:
/* 8029CDB8 00299D18 E3 E1 02 68 */ psq_l f31, 616(r1), 0, qr0
/* 8029CDBC 00299D1C CB E1 02 60 */ lfd f31, 0x260(r1)
/* 8029CDC0 00299D20 E3 C1 02 58 */ psq_l f30, 600(r1), 0, qr0
/* 8029CDC4 00299D24 CB C1 02 50 */ lfd f30, 0x250(r1)
/* 8029CDC8 00299D28 E3 A1 02 48 */ psq_l f29, 584(r1), 0, qr0
/* 8029CDCC 00299D2C CB A1 02 40 */ lfd f29, 0x240(r1)
/* 8029CDD0 00299D30 E3 81 02 38 */ psq_l f28, 568(r1), 0, qr0
/* 8029CDD4 00299D34 CB 81 02 30 */ lfd f28, 0x230(r1)
/* 8029CDD8 00299D38 E3 61 02 28 */ psq_l f27, 552(r1), 0, qr0
/* 8029CDDC 00299D3C CB 61 02 20 */ lfd f27, 0x220(r1)
/* 8029CDE0 00299D40 E3 41 02 18 */ psq_l f26, 536(r1), 0, qr0
/* 8029CDE4 00299D44 CB 41 02 10 */ lfd f26, 0x210(r1)
/* 8029CDE8 00299D48 BA C1 01 E8 */ lmw r22, 0x1e8(r1)
/* 8029CDEC 00299D4C 80 01 02 74 */ lwz r0, 0x274(r1)
/* 8029CDF0 00299D50 7C 08 03 A6 */ mtlr r0
/* 8029CDF4 00299D54 38 21 02 70 */ addi r1, r1, 0x270
/* 8029CDF8 00299D58 4E 80 00 20 */ blr
.global UpdateArtifactHeadScan__13CArtifactDollFRC13CStateManagerf
UpdateArtifactHeadScan__13CArtifactDollFRC13CStateManagerf:
/* 8029CDFC 00299D5C 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8029CE00 00299D60 7C 08 02 A6 */ mflr r0
/* 8029CE04 00299D64 90 01 00 34 */ stw r0, 0x34(r1)
/* 8029CE08 00299D68 DB E1 00 20 */ stfd f31, 0x20(r1)
/* 8029CE0C 00299D6C F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0
/* 8029CE10 00299D70 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8029CE14 00299D74 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8029CE18 00299D78 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8029CE1C 00299D7C 93 81 00 10 */ stw r28, 0x10(r1)
/* 8029CE20 00299D80 FF E0 08 90 */ fmr f31, f1
/* 8029CE24 00299D84 3C 80 80 3D */ lis r4, lbl_803D5D80@ha
/* 8029CE28 00299D88 3B E4 5D 80 */ addi r31, r4, lbl_803D5D80@l
/* 8029CE2C 00299D8C 7C 7C 1B 78 */ mr r28, r3
/* 8029CE30 00299D90 3B C0 00 00 */ li r30, 0
lbl_8029CE34:
/* 8029CE34 00299D94 80 7C 08 B8 */ lwz r3, 0x8b8(r28)
/* 8029CE38 00299D98 38 9E 00 1D */ addi r4, r30, 0x1d
/* 8029CE3C 00299D9C 80 63 00 00 */ lwz r3, 0(r3)
/* 8029CE40 00299DA0 4B DF 4C 81 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 8029CE44 00299DA4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8029CE48 00299DA8 41 82 00 4C */ beq lbl_8029CE94
/* 8029CE4C 00299DAC 80 7C 08 B8 */ lwz r3, 0x8b8(r28)
/* 8029CE50 00299DB0 83 BF 00 00 */ lwz r29, 0(r31)
/* 8029CE54 00299DB4 80 63 00 00 */ lwz r3, 0(r3)
/* 8029CE58 00299DB8 7F A4 EB 78 */ mr r4, r29
/* 8029CE5C 00299DBC 4B DF 48 35 */ bl GetScanTime__12CPlayerStateCFUi
/* 8029CE60 00299DC0 EC 21 F8 2A */ fadds f1, f1, f31
/* 8029CE64 00299DC4 C0 0D 9A 14 */ lfs f0, lbl_805A85D4@sda21(r13)
/* 8029CE68 00299DC8 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8029CE6C 00299DCC D0 21 00 08 */ stfs f1, 8(r1)
/* 8029CE70 00299DD0 40 80 00 0C */ bge lbl_8029CE7C
/* 8029CE74 00299DD4 38 A1 00 08 */ addi r5, r1, 8
/* 8029CE78 00299DD8 48 00 00 08 */ b lbl_8029CE80
lbl_8029CE7C:
/* 8029CE7C 00299DDC 38 AD 9A 14 */ addi r5, r13, lbl_805A85D4@sda21
lbl_8029CE80:
/* 8029CE80 00299DE0 80 7C 08 B8 */ lwz r3, 0x8b8(r28)
/* 8029CE84 00299DE4 7F A4 EB 78 */ mr r4, r29
/* 8029CE88 00299DE8 C0 25 00 00 */ lfs f1, 0(r5)
/* 8029CE8C 00299DEC 80 63 00 00 */ lwz r3, 0(r3)
/* 8029CE90 00299DF0 4B DF 47 45 */ bl SetScanTime__12CPlayerStateFUif
lbl_8029CE94:
/* 8029CE94 00299DF4 3B DE 00 01 */ addi r30, r30, 1
/* 8029CE98 00299DF8 3B FF 00 04 */ addi r31, r31, 4
/* 8029CE9C 00299DFC 2C 1E 00 0C */ cmpwi r30, 0xc
/* 8029CEA0 00299E00 41 80 FF 94 */ blt lbl_8029CE34
/* 8029CEA4 00299E04 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0
/* 8029CEA8 00299E08 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8029CEAC 00299E0C CB E1 00 20 */ lfd f31, 0x20(r1)
/* 8029CEB0 00299E10 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8029CEB4 00299E14 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8029CEB8 00299E18 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8029CEBC 00299E1C 83 81 00 10 */ lwz r28, 0x10(r1)
/* 8029CEC0 00299E20 7C 08 03 A6 */ mtlr r0
/* 8029CEC4 00299E24 38 21 00 30 */ addi r1, r1, 0x30
/* 8029CEC8 00299E28 4E 80 00 20 */ blr
.global CompleteArtifactHeadScan__13CArtifactDollFRC13CStateManager
CompleteArtifactHeadScan__13CArtifactDollFRC13CStateManager:
/* 8029CECC 00299E2C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8029CED0 00299E30 7C 08 02 A6 */ mflr r0
/* 8029CED4 00299E34 C0 22 C0 70 */ lfs f1, lbl_805ADD90@sda21(r2)
/* 8029CED8 00299E38 7C 83 23 78 */ mr r3, r4
/* 8029CEDC 00299E3C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8029CEE0 00299E40 4B FF FF 1D */ bl UpdateArtifactHeadScan__13CArtifactDollFRC13CStateManagerf
/* 8029CEE4 00299E44 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8029CEE8 00299E48 7C 08 03 A6 */ mtlr r0
/* 8029CEEC 00299E4C 38 21 00 10 */ addi r1, r1, 0x10
/* 8029CEF0 00299E50 4E 80 00 20 */ blr
.global Update__13CArtifactDollFfRC13CStateManager
Update__13CArtifactDollFfRC13CStateManager:
/* 8029CEF4 00299E54 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8029CEF8 00299E58 7C 08 02 A6 */ mflr r0
/* 8029CEFC 00299E5C 90 01 00 34 */ stw r0, 0x34(r1)
/* 8029CF00 00299E60 DB E1 00 20 */ stfd f31, 0x20(r1)
/* 8029CF04 00299E64 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0
/* 8029CF08 00299E68 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8029CF0C 00299E6C 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8029CF10 00299E70 FF E0 08 90 */ fmr f31, f1
/* 8029CF14 00299E74 7C 7E 1B 78 */ mr r30, r3
/* 8029CF18 00299E78 7C 9F 23 78 */ mr r31, r4
/* 8029CF1C 00299E7C 48 00 05 1D */ bl CheckLoadComplete__13CArtifactDollFv
/* 8029CF20 00299E80 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8029CF24 00299E84 41 82 00 6C */ beq lbl_8029CF90
/* 8029CF28 00299E88 C0 42 C0 58 */ lfs f2, lbl_805ADD78@sda21(r2)
/* 8029CF2C 00299E8C C0 3E 00 24 */ lfs f1, 0x24(r30)
/* 8029CF30 00299E90 C0 0D 9A 10 */ lfs f0, lbl_805A85D0@sda21(r13)
/* 8029CF34 00299E94 EC 22 0F FA */ fmadds f1, f2, f31, f1
/* 8029CF38 00299E98 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8029CF3C 00299E9C D0 21 00 08 */ stfs f1, 8(r1)
/* 8029CF40 00299EA0 40 80 00 0C */ bge lbl_8029CF4C
/* 8029CF44 00299EA4 38 61 00 08 */ addi r3, r1, 8
/* 8029CF48 00299EA8 48 00 00 08 */ b lbl_8029CF50
lbl_8029CF4C:
/* 8029CF4C 00299EAC 38 6D 9A 10 */ addi r3, r13, lbl_805A85D0@sda21
lbl_8029CF50:
/* 8029CF50 00299EB0 C0 03 00 00 */ lfs f0, 0(r3)
/* 8029CF54 00299EB4 C0 22 C0 70 */ lfs f1, lbl_805ADD90@sda21(r2)
/* 8029CF58 00299EB8 D0 1E 00 24 */ stfs f0, 0x24(r30)
/* 8029CF5C 00299EBC C0 02 C0 88 */ lfs f0, lbl_805ADDA8@sda21(r2)
/* 8029CF60 00299EC0 C0 5E 00 24 */ lfs f2, 0x24(r30)
/* 8029CF64 00299EC4 EC 22 08 28 */ fsubs f1, f2, f1
/* 8029CF68 00299EC8 FC 20 0A 10 */ fabs f1, f1
/* 8029CF6C 00299ECC FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8029CF70 00299ED0 40 80 00 18 */ bge lbl_8029CF88
/* 8029CF74 00299ED4 C0 22 C0 6C */ lfs f1, lbl_805ADD8C@sda21(r2)
/* 8029CF78 00299ED8 7F E3 FB 78 */ mr r3, r31
/* 8029CF7C 00299EDC EC 01 07 F2 */ fmuls f0, f1, f31
/* 8029CF80 00299EE0 EC 20 00 72 */ fmuls f1, f0, f1
/* 8029CF84 00299EE4 4B FF FE 79 */ bl UpdateArtifactHeadScan__13CArtifactDollFRC13CStateManagerf
lbl_8029CF88:
/* 8029CF88 00299EE8 7F C3 F3 78 */ mr r3, r30
/* 8029CF8C 00299EEC 48 00 00 B9 */ bl UpdateActorLights__13CArtifactDollFv
lbl_8029CF90:
/* 8029CF90 00299EF0 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0
/* 8029CF94 00299EF4 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8029CF98 00299EF8 CB E1 00 20 */ lfd f31, 0x20(r1)
/* 8029CF9C 00299EFC 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8029CFA0 00299F00 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8029CFA4 00299F04 7C 08 03 A6 */ mtlr r0
/* 8029CFA8 00299F08 38 21 00 30 */ addi r1, r1, 0x30
/* 8029CFAC 00299F0C 4E 80 00 20 */ blr
.global Touch__13CArtifactDollFv
Touch__13CArtifactDollFv:
/* 8029CFB0 00299F10 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8029CFB4 00299F14 7C 08 02 A6 */ mflr r0
/* 8029CFB8 00299F18 90 01 00 24 */ stw r0, 0x24(r1)
/* 8029CFBC 00299F1C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8029CFC0 00299F20 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8029CFC4 00299F24 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8029CFC8 00299F28 7C 7D 1B 78 */ mr r29, r3
/* 8029CFCC 00299F2C 48 00 04 6D */ bl CheckLoadComplete__13CArtifactDollFv
/* 8029CFD0 00299F30 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8029CFD4 00299F34 41 82 00 54 */ beq lbl_8029D028
/* 8029CFD8 00299F38 3B C0 00 00 */ li r30, 0
/* 8029CFDC 00299F3C 3B E0 00 00 */ li r31, 0
/* 8029CFE0 00299F40 48 00 00 3C */ b lbl_8029D01C
lbl_8029CFE4:
/* 8029CFE4 00299F44 80 1D 00 0C */ lwz r0, 0xc(r29)
/* 8029CFE8 00299F48 38 61 00 08 */ addi r3, r1, 8
/* 8029CFEC 00299F4C 7C 80 FA 14 */ add r4, r0, r31
/* 8029CFF0 00299F50 48 0A 3E B9 */ bl __ct__6CTokenFRC6CToken
/* 8029CFF4 00299F54 38 61 00 08 */ addi r3, r1, 8
/* 8029CFF8 00299F58 48 0A 3E 15 */ bl GetObj__6CTokenFv
/* 8029CFFC 00299F5C 80 63 00 04 */ lwz r3, 4(r3)
/* 8029D000 00299F60 38 80 00 00 */ li r4, 0
/* 8029D004 00299F64 48 0B 86 31 */ bl Touch__6CModelCFi
/* 8029D008 00299F68 38 61 00 08 */ addi r3, r1, 8
/* 8029D00C 00299F6C 38 80 00 00 */ li r4, 0
/* 8029D010 00299F70 48 0A 3E 31 */ bl __dt__6CTokenFv
/* 8029D014 00299F74 3B FF 00 08 */ addi r31, r31, 8
/* 8029D018 00299F78 3B DE 00 01 */ addi r30, r30, 1
lbl_8029D01C:
/* 8029D01C 00299F7C 80 1D 00 04 */ lwz r0, 4(r29)
/* 8029D020 00299F80 7C 1E 00 00 */ cmpw r30, r0
/* 8029D024 00299F84 41 80 FF C0 */ blt lbl_8029CFE4
lbl_8029D028:
/* 8029D028 00299F88 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8029D02C 00299F8C 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8029D030 00299F90 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8029D034 00299F94 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8029D038 00299F98 7C 08 03 A6 */ mtlr r0
/* 8029D03C 00299F9C 38 21 00 20 */ addi r1, r1, 0x20
/* 8029D040 00299FA0 4E 80 00 20 */ blr
.global UpdateActorLights__13CArtifactDollFv
UpdateActorLights__13CArtifactDollFv:
/* 8029D044 00299FA4 94 21 FE F0 */ stwu r1, -0x110(r1)
/* 8029D048 00299FA8 7C 08 02 A6 */ mflr r0
/* 8029D04C 00299FAC 3C 80 80 5A */ lis r4, lbl_805A6718@ha
/* 8029D050 00299FB0 3C C0 80 5A */ lis r6, lbl_805A6700@ha
/* 8029D054 00299FB4 90 01 01 14 */ stw r0, 0x114(r1)
/* 8029D058 00299FB8 38 A4 67 18 */ addi r5, r4, lbl_805A6718@l
/* 8029D05C 00299FBC C0 62 C0 54 */ lfs f3, lbl_805ADD74@sda21(r2)
/* 8029D060 00299FC0 3C 80 80 5A */ lis r4, lbl_805A6724@ha
/* 8029D064 00299FC4 93 E1 01 0C */ stw r31, 0x10c(r1)
/* 8029D068 00299FC8 3B E4 67 24 */ addi r31, r4, lbl_805A6724@l
/* 8029D06C 00299FCC 38 C6 67 00 */ addi r6, r6, lbl_805A6700@l
/* 8029D070 00299FD0 C0 C2 C0 8C */ lfs f6, lbl_805ADDAC@sda21(r2)
/* 8029D074 00299FD4 93 C1 01 08 */ stw r30, 0x108(r1)
/* 8029D078 00299FD8 7C 7E 1B 78 */ mr r30, r3
/* 8029D07C 00299FDC 38 61 00 50 */ addi r3, r1, 0x50
/* 8029D080 00299FE0 38 81 00 44 */ addi r4, r1, 0x44
/* 8029D084 00299FE4 C0 45 00 08 */ lfs f2, 8(r5)
/* 8029D088 00299FE8 C0 25 00 00 */ lfs f1, 0(r5)
/* 8029D08C 00299FEC EC E3 00 B2 */ fmuls f7, f3, f2
/* 8029D090 00299FF0 C0 05 00 04 */ lfs f0, 4(r5)
/* 8029D094 00299FF4 EC 83 00 72 */ fmuls f4, f3, f1
/* 8029D098 00299FF8 C0 3F 00 08 */ lfs f1, 8(r31)
/* 8029D09C 00299FFC EC 63 00 32 */ fmuls f3, f3, f0
/* 8029D0A0 0029A000 C0 1F 00 00 */ lfs f0, 0(r31)
/* 8029D0A4 0029A004 ED 01 38 2A */ fadds f8, f1, f7
/* 8029D0A8 0029A008 C0 5F 00 04 */ lfs f2, 4(r31)
/* 8029D0AC 0029A00C EC 20 20 2A */ fadds f1, f0, f4
/* 8029D0B0 0029A010 C0 06 00 00 */ lfs f0, 0(r6)
/* 8029D0B4 0029A014 ED 22 18 2A */ fadds f9, f2, f3
/* 8029D0B8 0029A018 C0 46 00 08 */ lfs f2, 8(r6)
/* 8029D0BC 0029A01C EC A6 00 32 */ fmuls f5, f6, f0
/* 8029D0C0 0029A020 C0 06 00 04 */ lfs f0, 4(r6)
/* 8029D0C4 0029A024 ED 46 00 B2 */ fmuls f10, f6, f2
/* 8029D0C8 0029A028 D0 81 00 2C */ stfs f4, 0x2c(r1)
/* 8029D0CC 0029A02C EC 46 00 32 */ fmuls f2, f6, f0
/* 8029D0D0 0029A030 EC 01 28 2A */ fadds f0, f1, f5
/* 8029D0D4 0029A034 EC 88 50 2A */ fadds f4, f8, f10
/* 8029D0D8 0029A038 D0 A1 00 20 */ stfs f5, 0x20(r1)
/* 8029D0DC 0029A03C EC A9 10 2A */ fadds f5, f9, f2
/* 8029D0E0 0029A040 D0 41 00 24 */ stfs f2, 0x24(r1)
/* 8029D0E4 0029A044 D1 41 00 28 */ stfs f10, 0x28(r1)
/* 8029D0E8 0029A048 D0 61 00 30 */ stfs f3, 0x30(r1)
/* 8029D0EC 0029A04C D0 E1 00 34 */ stfs f7, 0x34(r1)
/* 8029D0F0 0029A050 D0 21 00 38 */ stfs f1, 0x38(r1)
/* 8029D0F4 0029A054 D1 21 00 3C */ stfs f9, 0x3c(r1)
/* 8029D0F8 0029A058 D1 01 00 40 */ stfs f8, 0x40(r1)
/* 8029D0FC 0029A05C D0 01 00 44 */ stfs f0, 0x44(r1)
/* 8029D100 0029A060 D0 A1 00 48 */ stfs f5, 0x48(r1)
/* 8029D104 0029A064 D0 81 00 4C */ stfs f4, 0x4c(r1)
/* 8029D108 0029A068 48 07 77 49 */ bl AsNormalized__9CVector3fCFv
/* 8029D10C 0029A06C 38 00 00 FF */ li r0, 0xff
/* 8029D110 0029A070 3C 60 80 5A */ lis r3, lbl_805A6724@ha
/* 8029D114 0029A074 98 01 00 10 */ stb r0, 0x10(r1)
/* 8029D118 0029A078 38 83 67 24 */ addi r4, r3, lbl_805A6724@l
/* 8029D11C 0029A07C 38 61 00 AC */ addi r3, r1, 0xac
/* 8029D120 0029A080 38 A1 00 10 */ addi r5, r1, 0x10
/* 8029D124 0029A084 98 01 00 11 */ stb r0, 0x11(r1)
/* 8029D128 0029A088 98 01 00 12 */ stb r0, 0x12(r1)
/* 8029D12C 0029A08C 98 01 00 13 */ stb r0, 0x13(r1)
/* 8029D130 0029A090 48 06 93 3D */ bl BuildDirectional__6CLightFRC9CVector3fRC6CColor
/* 8029D134 0029A094 81 5E 00 1C */ lwz r10, 0x1c(r30)
/* 8029D138 0029A098 3C 60 80 5A */ lis r3, lbl_805A6724@ha
/* 8029D13C 0029A09C 80 81 00 AC */ lwz r4, 0xac(r1)
/* 8029D140 0029A0A0 38 C3 67 24 */ addi r6, r3, lbl_805A6724@l
/* 8029D144 0029A0A4 81 01 00 B0 */ lwz r8, 0xb0(r1)
/* 8029D148 0029A0A8 38 E0 00 00 */ li r7, 0
/* 8029D14C 0029A0AC 38 00 00 FF */ li r0, 0xff
/* 8029D150 0029A0B0 38 61 00 5C */ addi r3, r1, 0x5c
/* 8029D154 0029A0B4 90 8A 00 00 */ stw r4, 0(r10)
/* 8029D158 0029A0B8 38 81 00 14 */ addi r4, r1, 0x14
/* 8029D15C 0029A0BC 38 A1 00 0C */ addi r5, r1, 0xc
/* 8029D160 0029A0C0 91 0A 00 04 */ stw r8, 4(r10)
/* 8029D164 0029A0C4 81 01 00 B4 */ lwz r8, 0xb4(r1)
/* 8029D168 0029A0C8 91 0A 00 08 */ stw r8, 8(r10)
/* 8029D16C 0029A0CC 81 21 00 B8 */ lwz r9, 0xb8(r1)
/* 8029D170 0029A0D0 81 01 00 BC */ lwz r8, 0xbc(r1)
/* 8029D174 0029A0D4 91 2A 00 0C */ stw r9, 0xc(r10)
/* 8029D178 0029A0D8 91 0A 00 10 */ stw r8, 0x10(r10)
/* 8029D17C 0029A0DC 81 01 00 C0 */ lwz r8, 0xc0(r1)
/* 8029D180 0029A0E0 91 0A 00 14 */ stw r8, 0x14(r10)
/* 8029D184 0029A0E4 81 01 00 C4 */ lwz r8, 0xc4(r1)
/* 8029D188 0029A0E8 91 0A 00 18 */ stw r8, 0x18(r10)
/* 8029D18C 0029A0EC 81 01 00 C8 */ lwz r8, 0xc8(r1)
/* 8029D190 0029A0F0 91 0A 00 1C */ stw r8, 0x1c(r10)
/* 8029D194 0029A0F4 C0 01 00 CC */ lfs f0, 0xcc(r1)
/* 8029D198 0029A0F8 D0 0A 00 20 */ stfs f0, 0x20(r10)
/* 8029D19C 0029A0FC C0 01 00 D0 */ lfs f0, 0xd0(r1)
/* 8029D1A0 0029A100 D0 0A 00 24 */ stfs f0, 0x24(r10)
/* 8029D1A4 0029A104 C0 01 00 D4 */ lfs f0, 0xd4(r1)
/* 8029D1A8 0029A108 D0 0A 00 28 */ stfs f0, 0x28(r10)
/* 8029D1AC 0029A10C C0 01 00 D8 */ lfs f0, 0xd8(r1)
/* 8029D1B0 0029A110 D0 0A 00 2C */ stfs f0, 0x2c(r10)
/* 8029D1B4 0029A114 C0 01 00 DC */ lfs f0, 0xdc(r1)
/* 8029D1B8 0029A118 D0 0A 00 30 */ stfs f0, 0x30(r10)
/* 8029D1BC 0029A11C C0 01 00 E0 */ lfs f0, 0xe0(r1)
/* 8029D1C0 0029A120 D0 0A 00 34 */ stfs f0, 0x34(r10)
/* 8029D1C4 0029A124 C0 01 00 E4 */ lfs f0, 0xe4(r1)
/* 8029D1C8 0029A128 D0 0A 00 38 */ stfs f0, 0x38(r10)
/* 8029D1CC 0029A12C 81 01 00 E8 */ lwz r8, 0xe8(r1)
/* 8029D1D0 0029A130 91 0A 00 3C */ stw r8, 0x3c(r10)
/* 8029D1D4 0029A134 81 01 00 EC */ lwz r8, 0xec(r1)
/* 8029D1D8 0029A138 91 0A 00 40 */ stw r8, 0x40(r10)
/* 8029D1DC 0029A13C C0 01 00 F0 */ lfs f0, 0xf0(r1)
/* 8029D1E0 0029A140 D0 0A 00 44 */ stfs f0, 0x44(r10)
/* 8029D1E4 0029A144 C0 01 00 F4 */ lfs f0, 0xf4(r1)
/* 8029D1E8 0029A148 D0 0A 00 48 */ stfs f0, 0x48(r10)
/* 8029D1EC 0029A14C 89 01 00 F8 */ lbz r8, 0xf8(r1)
/* 8029D1F0 0029A150 99 0A 00 4C */ stb r8, 0x4c(r10)
/* 8029D1F4 0029A154 C0 46 00 00 */ lfs f2, 0(r6)
/* 8029D1F8 0029A158 C0 3F 00 04 */ lfs f1, 4(r31)
/* 8029D1FC 0029A15C C0 1F 00 08 */ lfs f0, 8(r31)
/* 8029D200 0029A160 FC 40 10 50 */ fneg f2, f2
/* 8029D204 0029A164 FC 20 08 50 */ fneg f1, f1
/* 8029D208 0029A168 98 E1 00 0C */ stb r7, 0xc(r1)
/* 8029D20C 0029A16C FC 00 00 50 */ fneg f0, f0
/* 8029D210 0029A170 98 E1 00 0D */ stb r7, 0xd(r1)
/* 8029D214 0029A174 98 E1 00 0E */ stb r7, 0xe(r1)
/* 8029D218 0029A178 98 01 00 0F */ stb r0, 0xf(r1)
/* 8029D21C 0029A17C D0 41 00 14 */ stfs f2, 0x14(r1)
/* 8029D220 0029A180 D0 21 00 18 */ stfs f1, 0x18(r1)
/* 8029D224 0029A184 D0 01 00 1C */ stfs f0, 0x1c(r1)
/* 8029D228 0029A188 48 06 92 45 */ bl BuildDirectional__6CLightFRC9CVector3fRC6CColor
/* 8029D22C 0029A18C 80 BE 00 1C */ lwz r5, 0x1c(r30)
/* 8029D230 0029A190 38 61 00 08 */ addi r3, r1, 8
/* 8029D234 0029A194 80 81 00 5C */ lwz r4, 0x5c(r1)
/* 8029D238 0029A198 80 01 00 60 */ lwz r0, 0x60(r1)
/* 8029D23C 0029A19C C0 22 C0 54 */ lfs f1, lbl_805ADD74@sda21(r2)
/* 8029D240 0029A1A0 90 85 00 50 */ stw r4, 0x50(r5)
/* 8029D244 0029A1A4 FC 40 08 90 */ fmr f2, f1
/* 8029D248 0029A1A8 C0 82 C0 70 */ lfs f4, lbl_805ADD90@sda21(r2)
/* 8029D24C 0029A1AC 90 05 00 54 */ stw r0, 0x54(r5)
/* 8029D250 0029A1B0 FC 60 08 90 */ fmr f3, f1
/* 8029D254 0029A1B4 80 01 00 64 */ lwz r0, 0x64(r1)
/* 8029D258 0029A1B8 90 05 00 58 */ stw r0, 0x58(r5)
/* 8029D25C 0029A1BC 80 81 00 68 */ lwz r4, 0x68(r1)
/* 8029D260 0029A1C0 80 01 00 6C */ lwz r0, 0x6c(r1)
/* 8029D264 0029A1C4 90 85 00 5C */ stw r4, 0x5c(r5)
/* 8029D268 0029A1C8 90 05 00 60 */ stw r0, 0x60(r5)
/* 8029D26C 0029A1CC 80 01 00 70 */ lwz r0, 0x70(r1)
/* 8029D270 0029A1D0 90 05 00 64 */ stw r0, 0x64(r5)
/* 8029D274 0029A1D4 80 01 00 74 */ lwz r0, 0x74(r1)
/* 8029D278 0029A1D8 90 05 00 68 */ stw r0, 0x68(r5)
/* 8029D27C 0029A1DC 80 01 00 78 */ lwz r0, 0x78(r1)
/* 8029D280 0029A1E0 90 05 00 6C */ stw r0, 0x6c(r5)
/* 8029D284 0029A1E4 C0 01 00 7C */ lfs f0, 0x7c(r1)
/* 8029D288 0029A1E8 D0 05 00 70 */ stfs f0, 0x70(r5)
/* 8029D28C 0029A1EC C0 01 00 80 */ lfs f0, 0x80(r1)
/* 8029D290 0029A1F0 D0 05 00 74 */ stfs f0, 0x74(r5)
/* 8029D294 0029A1F4 C0 01 00 84 */ lfs f0, 0x84(r1)
/* 8029D298 0029A1F8 D0 05 00 78 */ stfs f0, 0x78(r5)
/* 8029D29C 0029A1FC C0 01 00 88 */ lfs f0, 0x88(r1)
/* 8029D2A0 0029A200 D0 05 00 7C */ stfs f0, 0x7c(r5)
/* 8029D2A4 0029A204 C0 01 00 8C */ lfs f0, 0x8c(r1)
/* 8029D2A8 0029A208 D0 05 00 80 */ stfs f0, 0x80(r5)
/* 8029D2AC 0029A20C C0 01 00 90 */ lfs f0, 0x90(r1)
/* 8029D2B0 0029A210 D0 05 00 84 */ stfs f0, 0x84(r5)
/* 8029D2B4 0029A214 C0 01 00 94 */ lfs f0, 0x94(r1)
/* 8029D2B8 0029A218 D0 05 00 88 */ stfs f0, 0x88(r5)
/* 8029D2BC 0029A21C 80 01 00 98 */ lwz r0, 0x98(r1)
/* 8029D2C0 0029A220 90 05 00 8C */ stw r0, 0x8c(r5)
/* 8029D2C4 0029A224 80 01 00 9C */ lwz r0, 0x9c(r1)
/* 8029D2C8 0029A228 90 05 00 90 */ stw r0, 0x90(r5)
/* 8029D2CC 0029A22C C0 01 00 A0 */ lfs f0, 0xa0(r1)
/* 8029D2D0 0029A230 D0 05 00 94 */ stfs f0, 0x94(r5)
/* 8029D2D4 0029A234 C0 01 00 A4 */ lfs f0, 0xa4(r1)
/* 8029D2D8 0029A238 D0 05 00 98 */ stfs f0, 0x98(r5)
/* 8029D2DC 0029A23C 88 01 00 A8 */ lbz r0, 0xa8(r1)
/* 8029D2E0 0029A240 98 05 00 9C */ stb r0, 0x9c(r5)
/* 8029D2E4 0029A244 83 FE 00 20 */ lwz r31, 0x20(r30)
/* 8029D2E8 0029A248 48 0C 61 05 */ bl __ct__6CColorFffff
/* 8029D2EC 0029A24C 7C 65 1B 78 */ mr r5, r3
/* 8029D2F0 0029A250 7F E3 FB 78 */ mr r3, r31
/* 8029D2F4 0029A254 38 9E 00 10 */ addi r4, r30, 0x10
/* 8029D2F8 0029A258 4B E6 5E 35 */ bl "BuildFakeLightList__12CActorLightsFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>RC6CColor"
/* 8029D2FC 0029A25C 80 01 01 14 */ lwz r0, 0x114(r1)
/* 8029D300 0029A260 83 E1 01 0C */ lwz r31, 0x10c(r1)
/* 8029D304 0029A264 83 C1 01 08 */ lwz r30, 0x108(r1)
/* 8029D308 0029A268 7C 08 03 A6 */ mtlr r0
/* 8029D30C 0029A26C 38 21 01 10 */ addi r1, r1, 0x110
/* 8029D310 0029A270 4E 80 00 20 */ blr
.global __dt__13CArtifactDollFv
__dt__13CArtifactDollFv:
/* 8029D314 0029A274 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 8029D318 0029A278 7C 08 02 A6 */ mflr r0
/* 8029D31C 0029A27C 90 01 00 44 */ stw r0, 0x44(r1)
/* 8029D320 0029A280 93 E1 00 3C */ stw r31, 0x3c(r1)
/* 8029D324 0029A284 93 C1 00 38 */ stw r30, 0x38(r1)
/* 8029D328 0029A288 93 A1 00 34 */ stw r29, 0x34(r1)
/* 8029D32C 0029A28C 7C 9D 23 78 */ mr r29, r4
/* 8029D330 0029A290 93 81 00 30 */ stw r28, 0x30(r1)
/* 8029D334 0029A294 7C 7C 1B 79 */ or. r28, r3, r3
/* 8029D338 0029A298 41 82 00 C4 */ beq lbl_8029D3FC
/* 8029D33C 0029A29C 34 1C 00 20 */ addic. r0, r28, 0x20
/* 8029D340 0029A2A0 41 82 00 10 */ beq lbl_8029D350
/* 8029D344 0029A2A4 80 7C 00 20 */ lwz r3, 0x20(r28)
/* 8029D348 0029A2A8 38 80 00 01 */ li r4, 1
/* 8029D34C 0029A2AC 4B E6 7D 89 */ bl __dt__12CActorLightsFv
lbl_8029D350:
/* 8029D350 0029A2B0 34 1C 00 10 */ addic. r0, r28, 0x10
/* 8029D354 0029A2B4 41 82 00 44 */ beq lbl_8029D398
/* 8029D358 0029A2B8 80 1C 00 14 */ lwz r0, 0x14(r28)
/* 8029D35C 0029A2BC 80 7C 00 1C */ lwz r3, 0x1c(r28)
/* 8029D360 0029A2C0 1C 00 00 50 */ mulli r0, r0, 0x50
/* 8029D364 0029A2C4 90 61 00 1C */ stw r3, 0x1c(r1)
/* 8029D368 0029A2C8 7C 64 1B 78 */ mr r4, r3
/* 8029D36C 0029A2CC 7C 03 02 14 */ add r0, r3, r0
/* 8029D370 0029A2D0 90 61 00 18 */ stw r3, 0x18(r1)
/* 8029D374 0029A2D4 90 01 00 24 */ stw r0, 0x24(r1)
/* 8029D378 0029A2D8 90 01 00 20 */ stw r0, 0x20(r1)
/* 8029D37C 0029A2DC 48 00 00 08 */ b lbl_8029D384
lbl_8029D380:
/* 8029D380 0029A2E0 38 84 00 50 */ addi r4, r4, 0x50
lbl_8029D384:
/* 8029D384 0029A2E4 7C 04 00 40 */ cmplw r4, r0
/* 8029D388 0029A2E8 40 82 FF F8 */ bne lbl_8029D380
/* 8029D38C 0029A2EC 28 03 00 00 */ cmplwi r3, 0
/* 8029D390 0029A2F0 41 82 00 08 */ beq lbl_8029D398
/* 8029D394 0029A2F4 48 07 85 9D */ bl Free__7CMemoryFPCv
lbl_8029D398:
/* 8029D398 0029A2F8 28 1C 00 00 */ cmplwi r28, 0
/* 8029D39C 0029A2FC 41 82 00 50 */ beq lbl_8029D3EC
/* 8029D3A0 0029A300 80 1C 00 04 */ lwz r0, 4(r28)
/* 8029D3A4 0029A304 83 DC 00 0C */ lwz r30, 0xc(r28)
/* 8029D3A8 0029A308 54 00 18 38 */ slwi r0, r0, 3
/* 8029D3AC 0029A30C 7F FE 02 14 */ add r31, r30, r0
/* 8029D3B0 0029A310 93 C1 00 0C */ stw r30, 0xc(r1)
/* 8029D3B4 0029A314 93 E1 00 14 */ stw r31, 0x14(r1)
/* 8029D3B8 0029A318 93 E1 00 10 */ stw r31, 0x10(r1)
/* 8029D3BC 0029A31C 93 C1 00 08 */ stw r30, 8(r1)
/* 8029D3C0 0029A320 48 00 00 14 */ b lbl_8029D3D4
lbl_8029D3C4:
/* 8029D3C4 0029A324 7F C3 F3 78 */ mr r3, r30
/* 8029D3C8 0029A328 38 80 FF FF */ li r4, -1
/* 8029D3CC 0029A32C 48 0A 3A 75 */ bl __dt__6CTokenFv
/* 8029D3D0 0029A330 3B DE 00 08 */ addi r30, r30, 8
lbl_8029D3D4:
/* 8029D3D4 0029A334 7C 1E F8 40 */ cmplw r30, r31
/* 8029D3D8 0029A338 40 82 FF EC */ bne lbl_8029D3C4
/* 8029D3DC 0029A33C 80 7C 00 0C */ lwz r3, 0xc(r28)
/* 8029D3E0 0029A340 28 03 00 00 */ cmplwi r3, 0
/* 8029D3E4 0029A344 41 82 00 08 */ beq lbl_8029D3EC
/* 8029D3E8 0029A348 48 07 85 49 */ bl Free__7CMemoryFPCv
lbl_8029D3EC:
/* 8029D3EC 0029A34C 7F A0 07 35 */ extsh. r0, r29
/* 8029D3F0 0029A350 40 81 00 0C */ ble lbl_8029D3FC
/* 8029D3F4 0029A354 7F 83 E3 78 */ mr r3, r28
/* 8029D3F8 0029A358 48 07 85 39 */ bl Free__7CMemoryFPCv
lbl_8029D3FC:
/* 8029D3FC 0029A35C 80 01 00 44 */ lwz r0, 0x44(r1)
/* 8029D400 0029A360 7F 83 E3 78 */ mr r3, r28
/* 8029D404 0029A364 83 E1 00 3C */ lwz r31, 0x3c(r1)
/* 8029D408 0029A368 83 C1 00 38 */ lwz r30, 0x38(r1)
/* 8029D40C 0029A36C 83 A1 00 34 */ lwz r29, 0x34(r1)
/* 8029D410 0029A370 83 81 00 30 */ lwz r28, 0x30(r1)
/* 8029D414 0029A374 7C 08 03 A6 */ mtlr r0
/* 8029D418 0029A378 38 21 00 40 */ addi r1, r1, 0x40
/* 8029D41C 0029A37C 4E 80 00 20 */ blr
.global IsLoaded__13CArtifactDollCFv
IsLoaded__13CArtifactDollCFv:
/* 8029D420 0029A380 88 03 00 28 */ lbz r0, 0x28(r3)
/* 8029D424 0029A384 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f
/* 8029D428 0029A388 7C 03 00 D0 */ neg r0, r3
/* 8029D42C 0029A38C 7C 00 1B 78 */ or r0, r0, r3
/* 8029D430 0029A390 54 03 0F FE */ srwi r3, r0, 0x1f
/* 8029D434 0029A394 4E 80 00 20 */ blr
.global CheckLoadComplete__13CArtifactDollFv
CheckLoadComplete__13CArtifactDollFv:
/* 8029D438 0029A398 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8029D43C 0029A39C 7C 08 02 A6 */ mflr r0
/* 8029D440 0029A3A0 90 01 00 14 */ stw r0, 0x14(r1)
/* 8029D444 0029A3A4 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8029D448 0029A3A8 7C 7F 1B 78 */ mr r31, r3
/* 8029D44C 0029A3AC 4B FF FF D5 */ bl IsLoaded__13CArtifactDollCFv
/* 8029D450 0029A3B0 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8029D454 0029A3B4 41 82 00 0C */ beq lbl_8029D460
/* 8029D458 0029A3B8 38 60 00 01 */ li r3, 1
/* 8029D45C 0029A3BC 48 00 00 50 */ b lbl_8029D4AC
lbl_8029D460:
/* 8029D460 0029A3C0 80 1F 00 04 */ lwz r0, 4(r31)
/* 8029D464 0029A3C4 80 BF 00 0C */ lwz r5, 0xc(r31)
/* 8029D468 0029A3C8 54 00 18 38 */ slwi r0, r0, 3
/* 8029D46C 0029A3CC 7C 85 02 14 */ add r4, r5, r0
/* 8029D470 0029A3D0 48 00 00 20 */ b lbl_8029D490
lbl_8029D474:
/* 8029D474 0029A3D4 80 65 00 00 */ lwz r3, 0(r5)
/* 8029D478 0029A3D8 80 03 00 10 */ lwz r0, 0x10(r3)
/* 8029D47C 0029A3DC 28 00 00 00 */ cmplwi r0, 0
/* 8029D480 0029A3E0 40 82 00 0C */ bne lbl_8029D48C
/* 8029D484 0029A3E4 38 60 00 00 */ li r3, 0
/* 8029D488 0029A3E8 48 00 00 24 */ b lbl_8029D4AC
lbl_8029D48C:
/* 8029D48C 0029A3EC 38 A5 00 08 */ addi r5, r5, 8
lbl_8029D490:
/* 8029D490 0029A3F0 7C 05 20 40 */ cmplw r5, r4
/* 8029D494 0029A3F4 40 82 FF E0 */ bne lbl_8029D474
/* 8029D498 0029A3F8 88 1F 00 28 */ lbz r0, 0x28(r31)
/* 8029D49C 0029A3FC 38 60 00 01 */ li r3, 1
/* 8029D4A0 0029A400 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 8029D4A4 0029A404 38 60 00 01 */ li r3, 1
/* 8029D4A8 0029A408 98 1F 00 28 */ stb r0, 0x28(r31)
lbl_8029D4AC:
/* 8029D4AC 0029A40C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8029D4B0 0029A410 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8029D4B4 0029A414 7C 08 03 A6 */ mtlr r0
/* 8029D4B8 0029A418 38 21 00 10 */ addi r1, r1, 0x10
/* 8029D4BC 0029A41C 4E 80 00 20 */ blr
.global __ct__13CArtifactDollFv
__ct__13CArtifactDollFv:
/* 8029D4C0 0029A420 94 21 FF 70 */ stwu r1, -0x90(r1)
/* 8029D4C4 0029A424 7C 08 02 A6 */ mflr r0
/* 8029D4C8 0029A428 38 C0 00 00 */ li r6, 0
/* 8029D4CC 0029A42C 90 01 00 94 */ stw r0, 0x94(r1)
/* 8029D4D0 0029A430 38 00 FF FF */ li r0, -1
/* 8029D4D4 0029A434 38 A1 00 0C */ addi r5, r1, 0xc
/* 8029D4D8 0029A438 93 E1 00 8C */ stw r31, 0x8c(r1)
/* 8029D4DC 0029A43C 7C 7F 1B 78 */ mr r31, r3
/* 8029D4E0 0029A440 93 C1 00 88 */ stw r30, 0x88(r1)
/* 8029D4E4 0029A444 93 A1 00 84 */ stw r29, 0x84(r1)
/* 8029D4E8 0029A448 90 C3 00 04 */ stw r6, 4(r3)
/* 8029D4EC 0029A44C 3C 60 80 5A */ lis r3, lbl_805A6724@ha
/* 8029D4F0 0029A450 38 83 67 24 */ addi r4, r3, lbl_805A6724@l
/* 8029D4F4 0029A454 90 DF 00 08 */ stw r6, 8(r31)
/* 8029D4F8 0029A458 38 61 00 2C */ addi r3, r1, 0x2c
/* 8029D4FC 0029A45C 90 DF 00 0C */ stw r6, 0xc(r31)
/* 8029D500 0029A460 90 01 00 0C */ stw r0, 0xc(r1)
/* 8029D504 0029A464 48 06 8F 69 */ bl BuildDirectional__6CLightFRC9CVector3fRC6CColor
/* 8029D508 0029A468 38 7F 00 10 */ addi r3, r31, 0x10
/* 8029D50C 0029A46C 38 A1 00 2C */ addi r5, r1, 0x2c
/* 8029D510 0029A470 38 C1 00 08 */ addi r6, r1, 8
/* 8029D514 0029A474 38 80 00 02 */ li r4, 2
/* 8029D518 0029A478 4B E4 11 B1 */ bl "__ct__Q24rstl42vector<6CLight,Q24rstl17rmemory_allocator>FiRC6CLightRCQ24rstl17rmemory_allocator"
/* 8029D51C 0029A47C 3C 80 80 3D */ lis r4, lbl_803D5DB0@ha
/* 8029D520 0029A480 38 60 02 E0 */ li r3, 0x2e0
/* 8029D524 0029A484 38 84 5D B0 */ addi r4, r4, lbl_803D5DB0@l
/* 8029D528 0029A488 38 A0 00 00 */ li r5, 0
/* 8029D52C 0029A48C 38 84 00 93 */ addi r4, r4, 0x93
/* 8029D530 0029A490 48 07 83 3D */ bl __nw__FUlPCcPCc
/* 8029D534 0029A494 7C 60 1B 79 */ or. r0, r3, r3
/* 8029D538 0029A498 41 82 00 4C */ beq lbl_8029D584
/* 8029D53C 0029A49C 3C 80 80 5A */ lis r4, skZero3f@ha
/* 8029D540 0029A4A0 C0 22 94 04 */ lfs f1, lbl_805AB124@sda21(r2)
/* 8029D544 0029A4A4 38 E4 66 A0 */ addi r7, r4, skZero3f@l
/* 8029D548 0029A4A8 38 A1 00 20 */ addi r5, r1, 0x20
/* 8029D54C 0029A4AC 81 07 00 00 */ lwz r8, 0(r7)
/* 8029D550 0029A4B0 38 80 00 08 */ li r4, 8
/* 8029D554 0029A4B4 81 67 00 04 */ lwz r11, 4(r7)
/* 8029D558 0029A4B8 38 C0 00 04 */ li r6, 4
/* 8029D55C 0029A4BC 80 07 00 08 */ lwz r0, 8(r7)
/* 8029D560 0029A4C0 38 E0 00 04 */ li r7, 4
/* 8029D564 0029A4C4 91 01 00 20 */ stw r8, 0x20(r1)
/* 8029D568 0029A4C8 39 00 00 00 */ li r8, 0
/* 8029D56C 0029A4CC 39 20 00 00 */ li r9, 0
/* 8029D570 0029A4D0 39 40 00 00 */ li r10, 0
/* 8029D574 0029A4D4 91 61 00 24 */ stw r11, 0x24(r1)
/* 8029D578 0029A4D8 90 01 00 28 */ stw r0, 0x28(r1)
/* 8029D57C 0029A4DC 4B E6 7C 51 */ bl __ct__12CActorLightsFUi9CVector3fiif
/* 8029D580 0029A4E0 7C 60 1B 78 */ mr r0, r3
lbl_8029D584:
/* 8029D584 0029A4E4 90 1F 00 20 */ stw r0, 0x20(r31)
/* 8029D588 0029A4E8 38 A0 00 00 */ li r5, 0
/* 8029D58C 0029A4EC C0 02 C0 4C */ lfs f0, lbl_805ADD6C@sda21(r2)
/* 8029D590 0029A4F0 7F E3 FB 78 */ mr r3, r31
/* 8029D594 0029A4F4 38 80 00 0C */ li r4, 0xc
/* 8029D598 0029A4F8 D0 1F 00 24 */ stfs f0, 0x24(r31)
/* 8029D59C 0029A4FC 88 1F 00 28 */ lbz r0, 0x28(r31)
/* 8029D5A0 0029A500 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18
/* 8029D5A4 0029A504 98 1F 00 28 */ stb r0, 0x28(r31)
/* 8029D5A8 0029A508 4B D6 B3 B5 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi"
/* 8029D5AC 0029A50C 3C 60 80 3D */ lis r3, lbl_803D5D50@ha
/* 8029D5B0 0029A510 3B A0 00 00 */ li r29, 0
/* 8029D5B4 0029A514 3B C3 5D 50 */ addi r30, r3, lbl_803D5D50@l
lbl_8029D5B8:
/* 8029D5B8 0029A518 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 8029D5BC 0029A51C 38 61 00 10 */ addi r3, r1, 0x10
/* 8029D5C0 0029A520 80 BE 00 00 */ lwz r5, 0(r30)
/* 8029D5C4 0029A524 81 84 00 00 */ lwz r12, 0(r4)
/* 8029D5C8 0029A528 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 8029D5CC 0029A52C 7D 89 03 A6 */ mtctr r12
/* 8029D5D0 0029A530 4E 80 04 21 */ bctrl
/* 8029D5D4 0029A534 38 61 00 18 */ addi r3, r1, 0x18
/* 8029D5D8 0029A538 38 81 00 10 */ addi r4, r1, 0x10
/* 8029D5DC 0029A53C 48 0A 38 CD */ bl __ct__6CTokenFRC6CToken
/* 8029D5E0 0029A540 38 61 00 10 */ addi r3, r1, 0x10
/* 8029D5E4 0029A544 38 80 FF FF */ li r4, -1
/* 8029D5E8 0029A548 48 0A 38 59 */ bl __dt__6CTokenFv
/* 8029D5EC 0029A54C 38 61 00 18 */ addi r3, r1, 0x18
/* 8029D5F0 0029A550 48 0A 37 95 */ bl Lock__6CTokenFv
/* 8029D5F4 0029A554 80 1F 00 04 */ lwz r0, 4(r31)
/* 8029D5F8 0029A558 80 BF 00 08 */ lwz r5, 8(r31)
/* 8029D5FC 0029A55C 7C 00 28 00 */ cmpw r0, r5
/* 8029D600 0029A560 41 80 00 1C */ blt lbl_8029D61C
/* 8029D604 0029A564 2C 05 00 00 */ cmpwi r5, 0
/* 8029D608 0029A568 7F E3 FB 78 */ mr r3, r31
/* 8029D60C 0029A56C 38 80 00 04 */ li r4, 4
/* 8029D610 0029A570 41 82 00 08 */ beq lbl_8029D618
/* 8029D614 0029A574 54 A4 08 3C */ slwi r4, r5, 1
lbl_8029D618:
/* 8029D618 0029A578 4B D6 B3 45 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi"
lbl_8029D61C:
/* 8029D61C 0029A57C 80 1F 00 04 */ lwz r0, 4(r31)
/* 8029D620 0029A580 80 7F 00 0C */ lwz r3, 0xc(r31)
/* 8029D624 0029A584 54 00 18 38 */ slwi r0, r0, 3
/* 8029D628 0029A588 7C 63 02 15 */ add. r3, r3, r0
/* 8029D62C 0029A58C 41 82 00 0C */ beq lbl_8029D638
/* 8029D630 0029A590 38 81 00 18 */ addi r4, r1, 0x18
/* 8029D634 0029A594 48 0A 38 75 */ bl __ct__6CTokenFRC6CToken
lbl_8029D638:
/* 8029D638 0029A598 80 BF 00 04 */ lwz r5, 4(r31)
/* 8029D63C 0029A59C 38 61 00 18 */ addi r3, r1, 0x18
/* 8029D640 0029A5A0 38 80 FF FF */ li r4, -1
/* 8029D644 0029A5A4 38 05 00 01 */ addi r0, r5, 1
/* 8029D648 0029A5A8 90 1F 00 04 */ stw r0, 4(r31)
/* 8029D64C 0029A5AC 48 0A 37 F5 */ bl __dt__6CTokenFv
/* 8029D650 0029A5B0 3B BD 00 01 */ addi r29, r29, 1
/* 8029D654 0029A5B4 3B DE 00 04 */ addi r30, r30, 4
/* 8029D658 0029A5B8 2C 1D 00 0C */ cmpwi r29, 0xc
/* 8029D65C 0029A5BC 41 80 FF 5C */ blt lbl_8029D5B8
/* 8029D660 0029A5C0 80 01 00 94 */ lwz r0, 0x94(r1)
/* 8029D664 0029A5C4 7F E3 FB 78 */ mr r3, r31
/* 8029D668 0029A5C8 83 E1 00 8C */ lwz r31, 0x8c(r1)
/* 8029D66C 0029A5CC 83 C1 00 88 */ lwz r30, 0x88(r1)
/* 8029D670 0029A5D0 83 A1 00 84 */ lwz r29, 0x84(r1)
/* 8029D674 0029A5D4 7C 08 03 A6 */ mtlr r0
/* 8029D678 0029A5D8 38 21 00 90 */ addi r1, r1, 0x90
/* 8029D67C 0029A5DC 4E 80 00 20 */ blr
.global __sinit_CArtifactDoll_cpp
__sinit_CArtifactDoll_cpp:
/* 8029D680 0029A5E0 39 40 00 FF */ li r10, 0xff
/* 8029D684 0029A5E4 39 0D A5 B0 */ addi r8, r13, lbl_805A9170@sda21
/* 8029D688 0029A5E8 39 20 00 A0 */ li r9, 0xa0
/* 8029D68C 0029A5EC 38 E0 00 05 */ li r7, 5
/* 8029D690 0029A5F0 38 C0 00 67 */ li r6, 0x67
/* 8029D694 0029A5F4 38 A0 00 AE */ li r5, 0xae
/* 8029D698 0029A5F8 38 8D A5 B4 */ addi r4, r13, lbl_805A9174@sda21
/* 8029D69C 0029A5FC 38 60 00 E1 */ li r3, 0xe1
/* 8029D6A0 0029A600 38 00 00 CD */ li r0, 0xcd
/* 8029D6A4 0029A604 99 4D A5 B0 */ stb r10, lbl_805A9170@sda21(r13)
/* 8029D6A8 0029A608 99 28 00 01 */ stb r9, 1(r8)
/* 8029D6AC 0029A60C 98 E8 00 02 */ stb r7, 2(r8)
/* 8029D6B0 0029A610 99 48 00 03 */ stb r10, 3(r8)
/* 8029D6B4 0029A614 98 CD A5 B4 */ stb r6, lbl_805A9174@sda21(r13)
/* 8029D6B8 0029A618 98 A4 00 01 */ stb r5, 1(r4)
/* 8029D6BC 0029A61C 98 64 00 02 */ stb r3, 2(r4)
/* 8029D6C0 0029A620 98 04 00 03 */ stb r0, 3(r4)
/* 8029D6C4 0029A624 4E 80 00 20 */ blr

View File

@ -0,0 +1,575 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global sub_80269478
sub_80269478:
/* 80269478 002663D8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8026947C 002663DC 7C 08 02 A6 */ mflr r0
/* 80269480 002663E0 90 01 00 14 */ stw r0, 0x14(r1)
/* 80269484 002663E4 80 03 00 1C */ lwz r0, 0x1c(r3)
/* 80269488 002663E8 28 00 00 00 */ cmplwi r0, 0
/* 8026948C 002663EC 41 82 00 08 */ beq lbl_80269494
/* 80269490 002663F0 48 00 01 69 */ bl sub_802695f8
lbl_80269494:
/* 80269494 002663F4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80269498 002663F8 7C 08 03 A6 */ mtlr r0
/* 8026949C 002663FC 38 21 00 10 */ addi r1, r1, 0x10
/* 802694A0 00266400 4E 80 00 20 */ blr
.global sub_802694a4
sub_802694a4:
/* 802694A4 00266404 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802694A8 00266408 7C 08 02 A6 */ mflr r0
/* 802694AC 0026640C 90 01 00 14 */ stw r0, 0x14(r1)
/* 802694B0 00266410 48 00 04 89 */ bl UpdateWindow__18CErrorOutputWindowFv
/* 802694B4 00266414 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802694B8 00266418 7C 08 03 A6 */ mtlr r0
/* 802694BC 0026641C 38 21 00 10 */ addi r1, r1, 0x10
/* 802694C0 00266420 4E 80 00 20 */ blr
.global sub_802694c4
sub_802694c4:
/* 802694C4 00266424 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 802694C8 00266428 7C 08 02 A6 */ mflr r0
/* 802694CC 0026642C 90 01 00 24 */ stw r0, 0x24(r1)
/* 802694D0 00266430 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 802694D4 00266434 7C 9F 23 79 */ or. r31, r4, r4
/* 802694D8 00266438 93 C1 00 18 */ stw r30, 0x18(r1)
/* 802694DC 0026643C 7C 7E 1B 78 */ mr r30, r3
/* 802694E0 00266440 93 A1 00 14 */ stw r29, 0x14(r1)
/* 802694E4 00266444 41 82 00 3C */ beq lbl_80269520
/* 802694E8 00266448 80 0D A0 7C */ lwz r0, gpController@sda21(r13)
/* 802694EC 0026644C 28 00 00 00 */ cmplwi r0, 0
/* 802694F0 00266450 41 82 00 30 */ beq lbl_80269520
/* 802694F4 00266454 3B A0 00 00 */ li r29, 0
lbl_802694F8:
/* 802694F8 00266458 80 6D A0 7C */ lwz r3, gpController@sda21(r13)
/* 802694FC 0026645C 7F A4 EB 78 */ mr r4, r29
/* 80269500 00266460 38 A0 00 00 */ li r5, 0
/* 80269504 00266464 81 83 00 00 */ lwz r12, 0(r3)
/* 80269508 00266468 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 8026950C 0026646C 7D 89 03 A6 */ mtctr r12
/* 80269510 00266470 4E 80 04 21 */ bctrl
/* 80269514 00266474 3B BD 00 01 */ addi r29, r29, 1
/* 80269518 00266478 2C 1D 00 04 */ cmpwi r29, 4
/* 8026951C 0026647C 41 80 FF DC */ blt lbl_802694F8
lbl_80269520:
/* 80269520 00266480 80 1E 00 14 */ lwz r0, 0x14(r30)
/* 80269524 00266484 7C 1F 00 00 */ cmpw r31, r0
/* 80269528 00266488 41 82 00 B4 */ beq lbl_802695DC
/* 8026952C 0026648C 2C 00 00 00 */ cmpwi r0, 0
/* 80269530 00266490 40 82 00 74 */ bne lbl_802695A4
/* 80269534 00266494 80 8D A0 68 */ lwz r4, gpRender@sda21(r13)
/* 80269538 00266498 28 04 00 00 */ cmplwi r4, 0
/* 8026953C 0026649C 41 82 00 14 */ beq lbl_80269550
/* 80269540 002664A0 88 04 03 18 */ lbz r0, 0x318(r4)
/* 80269544 002664A4 38 60 00 01 */ li r3, 1
/* 80269548 002664A8 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a
/* 8026954C 002664AC 98 04 03 18 */ stb r0, 0x318(r4)
lbl_80269550:
/* 80269550 002664B0 88 7E 00 18 */ lbz r3, 0x18(r30)
/* 80269554 002664B4 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f
/* 80269558 002664B8 41 82 00 80 */ beq lbl_802695D8
/* 8026955C 002664BC 88 0D 9E 80 */ lbz r0, lbl_805A8A40@sda21(r13)
/* 80269560 002664C0 50 03 2E B4 */ rlwimi r3, r0, 5, 0x1a, 0x1a
/* 80269564 002664C4 98 7E 00 18 */ stb r3, 0x18(r30)
/* 80269568 002664C8 88 6D 9E 81 */ lbz r3, lbl_805A8A41@sda21(r13)
/* 8026956C 002664CC 88 1E 00 18 */ lbz r0, 0x18(r30)
/* 80269570 002664D0 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b
/* 80269574 002664D4 98 1E 00 18 */ stb r0, 0x18(r30)
/* 80269578 002664D8 48 0F 20 95 */ bl sub_8035b60c
/* 8026957C 002664DC 88 1E 00 18 */ lbz r0, 0x18(r30)
/* 80269580 002664E0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19
/* 80269584 002664E4 38 60 00 00 */ li r3, 0
/* 80269588 002664E8 98 1E 00 18 */ stb r0, 0x18(r30)
/* 8026958C 002664EC 48 0F C3 3D */ bl SetMusicUnmute__19CStreamAudioManagerFb
/* 80269590 002664F0 38 00 00 00 */ li r0, 0
/* 80269594 002664F4 38 60 00 00 */ li r3, 0
/* 80269598 002664F8 98 0D 9E 81 */ stb r0, lbl_805A8A41@sda21(r13)
/* 8026959C 002664FC 48 0F 20 79 */ bl sub_8035b614
/* 802695A0 00266500 48 00 00 38 */ b lbl_802695D8
lbl_802695A4:
/* 802695A4 00266504 2C 1F 00 00 */ cmpwi r31, 0
/* 802695A8 00266508 40 82 00 30 */ bne lbl_802695D8
/* 802695AC 0026650C 88 7E 00 18 */ lbz r3, 0x18(r30)
/* 802695B0 00266510 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f
/* 802695B4 00266514 41 82 00 24 */ beq lbl_802695D8
/* 802695B8 00266518 54 63 DF FE */ rlwinm r3, r3, 0x1b, 0x1f, 0x1f
/* 802695BC 0026651C 48 0F C3 0D */ bl SetMusicUnmute__19CStreamAudioManagerFb
/* 802695C0 00266520 88 1E 00 18 */ lbz r0, 0x18(r30)
/* 802695C4 00266524 54 00 E7 FE */ rlwinm r0, r0, 0x1c, 0x1f, 0x1f
/* 802695C8 00266528 98 0D 9E 81 */ stb r0, lbl_805A8A41@sda21(r13)
/* 802695CC 0026652C 88 1E 00 18 */ lbz r0, 0x18(r30)
/* 802695D0 00266530 54 03 D7 FE */ rlwinm r3, r0, 0x1a, 0x1f, 0x1f
/* 802695D4 00266534 48 0F 20 41 */ bl sub_8035b614
lbl_802695D8:
/* 802695D8 00266538 93 FE 00 14 */ stw r31, 0x14(r30)
lbl_802695DC:
/* 802695DC 0026653C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 802695E0 00266540 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 802695E4 00266544 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 802695E8 00266548 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 802695EC 0026654C 7C 08 03 A6 */ mtlr r0
/* 802695F0 00266550 38 21 00 20 */ addi r1, r1, 0x20
/* 802695F4 00266554 4E 80 00 20 */ blr
.global sub_802695f8
sub_802695f8:
/* 802695F8 00266558 94 21 FB D0 */ stwu r1, -0x430(r1)
/* 802695FC 0026655C 7C 08 02 A6 */ mflr r0
/* 80269600 00266560 90 01 04 34 */ stw r0, 0x434(r1)
/* 80269604 00266564 DB E1 04 20 */ stfd f31, 0x420(r1)
/* 80269608 00266568 F3 E1 04 28 */ psq_st f31, 1064(r1), 0, qr0
/* 8026960C 0026656C 93 E1 04 1C */ stw r31, 0x41c(r1)
/* 80269610 00266570 93 C1 04 18 */ stw r30, 0x418(r1)
/* 80269614 00266574 93 A1 04 14 */ stw r29, 0x414(r1)
/* 80269618 00266578 7C 7D 1B 78 */ mr r29, r3
/* 8026961C 0026657C 80 03 00 1C */ lwz r0, 0x1c(r3)
/* 80269620 00266580 28 00 00 00 */ cmplwi r0, 0
/* 80269624 00266584 41 82 02 80 */ beq lbl_802698A4
/* 80269628 00266588 3C 80 80 3F */ lis r4, lbl_803ED910@ha
/* 8026962C 0026658C 38 61 00 B4 */ addi r3, r1, 0xb4
/* 80269630 00266590 39 24 D9 10 */ addi r9, r4, lbl_803ED910@l
/* 80269634 00266594 81 09 00 00 */ lwz r8, 0(r9)
/* 80269638 00266598 80 E9 00 04 */ lwz r7, 4(r9)
/* 8026963C 0026659C 80 C9 00 08 */ lwz r6, 8(r9)
/* 80269640 002665A0 80 A9 00 0C */ lwz r5, 0xc(r9)
/* 80269644 002665A4 80 89 00 10 */ lwz r4, 0x10(r9)
/* 80269648 002665A8 80 09 00 14 */ lwz r0, 0x14(r9)
/* 8026964C 002665AC 91 01 00 3C */ stw r8, 0x3c(r1)
/* 80269650 002665B0 90 E1 00 40 */ stw r7, 0x40(r1)
/* 80269654 002665B4 90 C1 00 44 */ stw r6, 0x44(r1)
/* 80269658 002665B8 90 A1 00 48 */ stw r5, 0x48(r1)
/* 8026965C 002665BC 90 81 00 4C */ stw r4, 0x4c(r1)
/* 80269660 002665C0 90 01 00 50 */ stw r0, 0x50(r1)
/* 80269664 002665C4 48 09 A7 15 */ bl __ct__18CTextExecuteBufferFv
/* 80269668 002665C8 38 00 00 01 */ li r0, 1
/* 8026966C 002665CC 83 C1 00 44 */ lwz r30, 0x44(r1)
/* 80269670 002665D0 98 01 01 48 */ stb r0, 0x148(r1)
/* 80269674 002665D4 38 61 00 B4 */ addi r3, r1, 0xb4
/* 80269678 002665D8 83 E1 00 48 */ lwz r31, 0x48(r1)
/* 8026967C 002665DC 7F C6 F3 78 */ mr r6, r30
/* 80269680 002665E0 90 01 00 08 */ stw r0, 8(r1)
/* 80269684 002665E4 38 80 00 00 */ li r4, 0
/* 80269688 002665E8 7F E7 FB 78 */ mr r7, r31
/* 8026968C 002665EC 38 A0 00 00 */ li r5, 0
/* 80269690 002665F0 39 00 00 00 */ li r8, 0
/* 80269694 002665F4 39 20 00 00 */ li r9, 0
/* 80269698 002665F8 39 40 00 01 */ li r10, 1
/* 8026969C 002665FC 48 09 A4 D1 */ bl BeginBlock__18CTextExecuteBufferFiiiib14ETextDirection14EJustification22EVerticalJustification
/* 802696A0 00266600 80 8D A0 8C */ lwz r4, gpDefaultFont@sda21(r13)
/* 802696A4 00266604 38 61 00 18 */ addi r3, r1, 0x18
/* 802696A8 00266608 48 0D 78 01 */ bl __ct__6CTokenFRC6CToken
/* 802696AC 0026660C 38 61 00 B4 */ addi r3, r1, 0xb4
/* 802696B0 00266610 38 81 00 18 */ addi r4, r1, 0x18
/* 802696B4 00266614 48 09 A2 A1 */ bl "AddFont__18CTextExecuteBufferFRC21TToken<11CRasterFont>"
/* 802696B8 00266618 38 61 00 18 */ addi r3, r1, 0x18
/* 802696BC 0026661C 38 80 00 00 */ li r4, 0
/* 802696C0 00266620 48 0D 77 81 */ bl __dt__6CTokenFv
/* 802696C4 00266624 80 9D 00 1C */ lwz r4, 0x1c(r29)
/* 802696C8 00266628 38 61 00 2C */ addi r3, r1, 0x2c
/* 802696CC 0026662C 4B DA C3 25 */ bl wstring_l__4rstlFPCw
/* 802696D0 00266630 80 81 00 2C */ lwz r4, 0x2c(r1)
/* 802696D4 00266634 38 61 00 B4 */ addi r3, r1, 0xb4
/* 802696D8 00266638 80 A1 00 34 */ lwz r5, 0x34(r1)
/* 802696DC 0026663C 48 09 8D 95 */ bl AddString__18CTextExecuteBufferFPCwi
/* 802696E0 00266640 38 61 00 2C */ addi r3, r1, 0x2c
/* 802696E4 00266644 48 0D 3A 51 */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
/* 802696E8 00266648 38 61 00 B4 */ addi r3, r1, 0xb4
/* 802696EC 0026664C 48 09 A4 3D */ bl EndBlock__18CTextExecuteBufferFv
/* 802696F0 00266650 88 1D 00 18 */ lbz r0, 0x18(r29)
/* 802696F4 00266654 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f
/* 802696F8 00266658 41 82 00 38 */ beq lbl_80269730
/* 802696FC 0026665C 48 0E 08 B9 */ bl Black__6CColorFv
/* 80269700 00266660 C3 E2 BB 28 */ lfs f31, lbl_805AD848@sda21(r2)
/* 80269704 00266664 F3 E1 A0 10 */ psq_st f31, 16(r1), 1, qr2
/* 80269708 00266668 38 A1 00 14 */ addi r5, r1, 0x14
/* 8026970C 0026666C 80 E3 00 00 */ lwz r7, 0(r3)
/* 80269710 00266670 38 60 00 05 */ li r3, 5
/* 80269714 00266674 88 01 00 10 */ lbz r0, 0x10(r1)
/* 80269718 00266678 38 80 00 00 */ li r4, 0
/* 8026971C 0026667C 50 E0 00 2E */ rlwimi r0, r7, 0, 0, 0x17
/* 80269720 00266680 C0 22 BB 2C */ lfs f1, lbl_805AD84C@sda21(r2)
/* 80269724 00266684 90 01 00 14 */ stw r0, 0x14(r1)
/* 80269728 00266688 38 C0 00 00 */ li r6, 0
/* 8026972C 0026668C 4B E8 2A 1D */ bl DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef
lbl_80269730:
/* 80269730 00266690 83 A1 00 40 */ lwz r29, 0x40(r1)
/* 80269734 00266694 3C 00 43 30 */ lis r0, 0x4330
/* 80269738 00266698 90 01 03 E8 */ stw r0, 0x3e8(r1)
/* 8026973C 0026669C 3C 60 80 5A */ lis r3, skIdentity4f@ha
/* 80269740 002666A0 6F A0 80 00 */ xoris r0, r29, 0x8000
/* 80269744 002666A4 C8 22 BB 40 */ lfd f1, lbl_805AD860@sda21(r2)
/* 80269748 002666A8 90 01 03 EC */ stw r0, 0x3ec(r1)
/* 8026974C 002666AC 38 63 66 70 */ addi r3, r3, skIdentity4f@l
/* 80269750 002666B0 C8 01 03 E8 */ lfd f0, 0x3e8(r1)
/* 80269754 002666B4 EF E0 08 28 */ fsubs f31, f0, f1
/* 80269758 002666B8 48 0A 2F F5 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f
/* 8026975C 002666BC 80 A1 00 3C */ lwz r5, 0x3c(r1)
/* 80269760 002666C0 3C 80 43 30 */ lis r4, 0x4330
/* 80269764 002666C4 7C 1D FA 14 */ add r0, r29, r31
/* 80269768 002666C8 90 81 03 F0 */ stw r4, 0x3f0(r1)
/* 8026976C 002666CC 7C 65 F2 14 */ add r3, r5, r30
/* 80269770 002666D0 6C A5 80 00 */ xoris r5, r5, 0x8000
/* 80269774 002666D4 6C 63 80 00 */ xoris r3, r3, 0x8000
/* 80269778 002666D8 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 8026977C 002666DC 90 A1 03 F4 */ stw r5, 0x3f4(r1)
/* 80269780 002666E0 FC 80 F8 90 */ fmr f4, f31
/* 80269784 002666E4 C8 62 BB 40 */ lfd f3, lbl_805AD860@sda21(r2)
/* 80269788 002666E8 C8 01 03 F0 */ lfd f0, 0x3f0(r1)
/* 8026978C 002666EC 90 61 03 FC */ stw r3, 0x3fc(r1)
/* 80269790 002666F0 EC 20 18 28 */ fsubs f1, f0, f3
/* 80269794 002666F4 C0 A2 BB 30 */ lfs f5, lbl_805AD850@sda21(r2)
/* 80269798 002666F8 90 81 03 F8 */ stw r4, 0x3f8(r1)
/* 8026979C 002666FC C0 C2 BB 34 */ lfs f6, lbl_805AD854@sda21(r2)
/* 802697A0 00266700 C8 01 03 F8 */ lfd f0, 0x3f8(r1)
/* 802697A4 00266704 90 01 04 04 */ stw r0, 0x404(r1)
/* 802697A8 00266708 EC 40 18 28 */ fsubs f2, f0, f3
/* 802697AC 0026670C 90 81 04 00 */ stw r4, 0x400(r1)
/* 802697B0 00266710 C8 01 04 00 */ lfd f0, 0x400(r1)
/* 802697B4 00266714 EC 60 18 28 */ fsubs f3, f0, f3
/* 802697B8 00266718 48 0A 2D 9D */ bl SetOrtho__9CGraphicsFffffff
/* 802697BC 0026671C 38 60 00 01 */ li r3, 1
/* 802697C0 00266720 38 80 00 04 */ li r4, 4
/* 802697C4 00266724 38 A0 00 05 */ li r5, 5
/* 802697C8 00266728 38 C0 00 00 */ li r6, 0
/* 802697CC 0026672C 48 0A 22 85 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp
/* 802697D0 00266730 38 60 00 00 */ li r3, 0
/* 802697D4 00266734 48 0A 22 9D */ bl SetCullMode__9CGraphicsF12ERglCullMode
/* 802697D8 00266738 38 60 00 01 */ li r3, 1
/* 802697DC 0026673C 38 80 00 07 */ li r4, 7
/* 802697E0 00266740 38 A0 00 00 */ li r5, 0
/* 802697E4 00266744 48 0A 22 B1 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb
/* 802697E8 00266748 38 60 00 07 */ li r3, 7
/* 802697EC 0026674C 38 80 00 00 */ li r4, 0
/* 802697F0 00266750 38 A0 00 00 */ li r5, 0
/* 802697F4 00266754 38 C0 00 07 */ li r6, 7
/* 802697F8 00266758 38 E0 00 00 */ li r7, 0
/* 802697FC 0026675C 48 0A 22 2D */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc
/* 80269800 00266760 6F E3 80 00 */ xoris r3, r31, 0x8000
/* 80269804 00266764 3C 00 43 30 */ lis r0, 0x4330
/* 80269808 00266768 90 61 04 0C */ stw r3, 0x40c(r1)
/* 8026980C 0026676C 3C 80 80 5A */ lis r4, lbl_805A6718@ha
/* 80269810 00266770 C0 42 BB 38 */ lfs f2, lbl_805AD858@sda21(r2)
/* 80269814 00266774 3C A0 80 5A */ lis r5, lbl_805A6724@ha
/* 80269818 00266778 90 01 04 08 */ stw r0, 0x408(r1)
/* 8026981C 0026677C 3C 60 80 5A */ lis r3, lbl_805A6700@ha
/* 80269820 00266780 C8 22 BB 40 */ lfd f1, lbl_805AD860@sda21(r2)
/* 80269824 00266784 38 C3 67 00 */ addi r6, r3, lbl_805A6700@l
/* 80269828 00266788 C8 01 04 08 */ lfd f0, 0x408(r1)
/* 8026982C 0026678C 38 84 67 18 */ addi r4, r4, lbl_805A6718@l
/* 80269830 00266790 D0 41 00 20 */ stfs f2, 0x20(r1)
/* 80269834 00266794 38 A5 67 24 */ addi r5, r5, lbl_805A6724@l
/* 80269838 00266798 EC 00 08 28 */ fsubs f0, f0, f1
/* 8026983C 0026679C 38 61 00 54 */ addi r3, r1, 0x54
/* 80269840 002667A0 D0 41 00 24 */ stfs f2, 0x24(r1)
/* 80269844 002667A4 38 E1 00 20 */ addi r7, r1, 0x20
/* 80269848 002667A8 D0 01 00 28 */ stfs f0, 0x28(r1)
/* 8026984C 002667AC 48 0A 96 11 */ bl __ct__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f_0
/* 80269850 002667B0 38 61 00 84 */ addi r3, r1, 0x84
/* 80269854 002667B4 38 81 00 54 */ addi r4, r1, 0x54
/* 80269858 002667B8 48 0A 93 1D */ bl __ct__12CTransform4fFRC12CTransform4f
/* 8026985C 002667BC 38 61 00 84 */ addi r3, r1, 0x84
/* 80269860 002667C0 48 0A 2D 81 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f
/* 80269864 002667C4 38 61 01 90 */ addi r3, r1, 0x190
/* 80269868 002667C8 38 81 00 B4 */ addi r4, r1, 0xb4
/* 8026986C 002667CC 48 09 89 45 */ bl BuildRenderBuffer__18CTextExecuteBufferFv
/* 80269870 002667D0 48 0E 07 3D */ bl White__6CColorFv
/* 80269874 002667D4 C0 22 BB 38 */ lfs f1, lbl_805AD858@sda21(r2)
/* 80269878 002667D8 7C 64 1B 78 */ mr r4, r3
/* 8026987C 002667DC 38 61 01 90 */ addi r3, r1, 0x190
/* 80269880 002667E0 48 0F 0C 3D */ bl Render__17CTextRenderBufferCFRC6CColorf
/* 80269884 002667E4 38 61 01 90 */ addi r3, r1, 0x190
/* 80269888 002667E8 38 80 FF FF */ li r4, -1
/* 8026988C 002667EC 4B DB F0 D1 */ bl __dt__17CTextRenderBufferFv
/* 80269890 002667F0 38 60 00 01 */ li r3, 1
/* 80269894 002667F4 48 0A 21 DD */ bl SetCullMode__9CGraphicsF12ERglCullMode
/* 80269898 002667F8 38 61 00 B4 */ addi r3, r1, 0xb4
/* 8026989C 002667FC 38 80 FF FF */ li r4, -1
/* 802698A0 00266800 4B DB F4 15 */ bl __dt__18CTextExecuteBufferFv
lbl_802698A4:
/* 802698A4 00266804 E3 E1 04 28 */ psq_l f31, 1064(r1), 0, qr0
/* 802698A8 00266808 80 01 04 34 */ lwz r0, 0x434(r1)
/* 802698AC 0026680C CB E1 04 20 */ lfd f31, 0x420(r1)
/* 802698B0 00266810 83 E1 04 1C */ lwz r31, 0x41c(r1)
/* 802698B4 00266814 83 C1 04 18 */ lwz r30, 0x418(r1)
/* 802698B8 00266818 83 A1 04 14 */ lwz r29, 0x414(r1)
/* 802698BC 0026681C 7C 08 03 A6 */ mtlr r0
/* 802698C0 00266820 38 21 04 30 */ addi r1, r1, 0x430
/* 802698C4 00266824 4E 80 00 20 */ blr
.global Draw__18CErrorOutputWindowCFv
Draw__18CErrorOutputWindowCFv:
/* 802698C8 00266828 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802698CC 0026682C 7C 08 02 A6 */ mflr r0
/* 802698D0 00266830 90 01 00 14 */ stw r0, 0x14(r1)
/* 802698D4 00266834 80 03 00 14 */ lwz r0, 0x14(r3)
/* 802698D8 00266838 2C 00 00 02 */ cmpwi r0, 2
/* 802698DC 0026683C 41 82 00 24 */ beq lbl_80269900
/* 802698E0 00266840 40 80 00 14 */ bge lbl_802698F4
/* 802698E4 00266844 2C 00 00 00 */ cmpwi r0, 0
/* 802698E8 00266848 41 82 00 40 */ beq lbl_80269928
/* 802698EC 0026684C 40 80 00 18 */ bge lbl_80269904
/* 802698F0 00266850 48 00 00 38 */ b lbl_80269928
lbl_802698F4:
/* 802698F4 00266854 2C 00 00 04 */ cmpwi r0, 4
/* 802698F8 00266858 40 80 00 30 */ bge lbl_80269928
/* 802698FC 0026685C 48 00 00 08 */ b lbl_80269904
lbl_80269900:
/* 80269900 00266860 4B FF FC F9 */ bl sub_802695f8
lbl_80269904:
/* 80269904 00266864 38 60 00 00 */ li r3, 0
/* 80269908 00266868 48 09 FB A1 */ bl SetIsBeginSceneClearFb__9CGraphicsFb
/* 8026990C 0026686C 80 8D A0 68 */ lwz r4, gpRender@sda21(r13)
/* 80269910 00266870 28 04 00 00 */ cmplwi r4, 0
/* 80269914 00266874 41 82 00 14 */ beq lbl_80269928
/* 80269918 00266878 88 04 03 18 */ lbz r0, 0x318(r4)
/* 8026991C 0026687C 38 60 00 01 */ li r3, 1
/* 80269920 00266880 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a
/* 80269924 00266884 98 04 03 18 */ stb r0, 0x318(r4)
lbl_80269928:
/* 80269928 00266888 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8026992C 0026688C 7C 08 03 A6 */ mtlr r0
/* 80269930 00266890 38 21 00 10 */ addi r1, r1, 0x10
/* 80269934 00266894 4E 80 00 20 */ blr
.global UpdateWindow__18CErrorOutputWindowFv
UpdateWindow__18CErrorOutputWindowFv:
/* 80269938 00266898 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8026993C 0026689C 7C 08 02 A6 */ mflr r0
/* 80269940 002668A0 90 01 00 14 */ stw r0, 0x14(r1)
/* 80269944 002668A4 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80269948 002668A8 7C 7F 1B 78 */ mr r31, r3
/* 8026994C 002668AC 80 03 00 14 */ lwz r0, 0x14(r3)
/* 80269950 002668B0 2C 00 00 01 */ cmpwi r0, 1
/* 80269954 002668B4 40 82 00 10 */ bne lbl_80269964
/* 80269958 002668B8 38 80 00 02 */ li r4, 2
/* 8026995C 002668BC 4B FF FB 69 */ bl sub_802694c4
/* 80269960 002668C0 48 00 01 94 */ b lbl_80269AF4
lbl_80269964:
/* 80269964 002668C4 48 10 A7 ED */ bl DVDGetDriveStatus
/* 80269968 002668C8 80 BF 00 14 */ lwz r5, 0x14(r31)
/* 8026996C 002668CC 38 C0 00 00 */ li r6, 0
/* 80269970 002668D0 88 0D A5 6C */ lbz r0, lbl_805A912C@sda21(r13)
/* 80269974 002668D4 7C 85 00 D0 */ neg r4, r5
/* 80269978 002668D8 7C 84 2B 78 */ or r4, r4, r5
/* 8026997C 002668DC 7C 00 07 75 */ extsb. r0, r0
/* 80269980 002668E0 54 85 0F FE */ srwi r5, r4, 0x1f
/* 80269984 002668E4 40 82 00 14 */ bne lbl_80269998
/* 80269988 002668E8 38 80 00 00 */ li r4, 0
/* 8026998C 002668EC 38 00 00 01 */ li r0, 1
/* 80269990 002668F0 90 8D A5 68 */ stw r4, lbl_805A9128@sda21(r13)
/* 80269994 002668F4 98 0D A5 6C */ stb r0, lbl_805A912C@sda21(r13)
lbl_80269998:
/* 80269998 002668F8 80 0D A5 68 */ lwz r0, lbl_805A9128@sda21(r13)
/* 8026999C 002668FC 7C 03 00 00 */ cmpw r3, r0
/* 802699A0 00266900 41 82 00 08 */ beq lbl_802699A8
/* 802699A4 00266904 90 6D A5 68 */ stw r3, lbl_805A9128@sda21(r13)
lbl_802699A8:
/* 802699A8 00266908 38 03 00 01 */ addi r0, r3, 1
/* 802699AC 0026690C 28 00 00 0C */ cmplwi r0, 0xc
/* 802699B0 00266910 41 81 00 68 */ bgt lbl_80269A18
/* 802699B4 00266914 3C 80 80 3F */ lis r4, lbl_803EA3DC@ha
/* 802699B8 00266918 54 00 10 3A */ slwi r0, r0, 2
/* 802699BC 0026691C 38 84 A3 DC */ addi r4, r4, lbl_803EA3DC@l
/* 802699C0 00266920 7C 04 00 2E */ lwzx r0, r4, r0
/* 802699C4 00266924 7C 09 03 A6 */ mtctr r0
/* 802699C8 00266928 4E 80 04 20 */ bctr
/* 802699CC 0026692C 3C 80 80 3F */ lis r4, lbl_803EA410@ha
/* 802699D0 00266930 38 04 A4 10 */ addi r0, r4, lbl_803EA410@l
/* 802699D4 00266934 7C 06 03 78 */ mr r6, r0
/* 802699D8 00266938 48 00 00 40 */ b lbl_80269A18
/* 802699DC 0026693C 3C 80 80 3F */ lis r4, lbl_803EA410@ha
/* 802699E0 00266940 38 84 A4 10 */ addi r4, r4, lbl_803EA410@l
/* 802699E4 00266944 38 C4 00 AE */ addi r6, r4, 0xae
/* 802699E8 00266948 48 00 00 30 */ b lbl_80269A18
/* 802699EC 0026694C 3C 80 80 3F */ lis r4, lbl_803EA410@ha
/* 802699F0 00266950 38 84 A4 10 */ addi r4, r4, lbl_803EA410@l
/* 802699F4 00266954 38 C4 01 04 */ addi r6, r4, 0x104
/* 802699F8 00266958 48 00 00 20 */ b lbl_80269A18
/* 802699FC 0026695C 3C 80 80 3F */ lis r4, lbl_803EA410@ha
/* 80269A00 00266960 38 84 A4 10 */ addi r4, r4, lbl_803EA410@l
/* 80269A04 00266964 38 C4 01 B0 */ addi r6, r4, 0x1b0
/* 80269A08 00266968 48 00 00 10 */ b lbl_80269A18
/* 80269A0C 0026696C 3C 80 80 3F */ lis r4, lbl_803EA410@ha
/* 80269A10 00266970 38 84 A4 10 */ addi r4, r4, lbl_803EA410@l
/* 80269A14 00266974 38 C4 02 A6 */ addi r6, r4, 0x2a6
lbl_80269A18:
/* 80269A18 00266978 2C 03 00 02 */ cmpwi r3, 2
/* 80269A1C 0026697C 38 80 00 00 */ li r4, 0
/* 80269A20 00266980 41 82 00 3C */ beq lbl_80269A5C
/* 80269A24 00266984 2C 03 00 01 */ cmpwi r3, 1
/* 80269A28 00266988 41 82 00 34 */ beq lbl_80269A5C
/* 80269A2C 0026698C 7C 06 00 D0 */ neg r0, r6
/* 80269A30 00266990 28 06 00 00 */ cmplwi r6, 0
/* 80269A34 00266994 7C 00 33 78 */ or r0, r0, r6
/* 80269A38 00266998 54 05 0F FE */ srwi r5, r0, 0x1f
/* 80269A3C 0026699C 41 82 00 20 */ beq lbl_80269A5C
/* 80269A40 002669A0 80 1F 00 1C */ lwz r0, 0x1c(r31)
/* 80269A44 002669A4 28 00 00 00 */ cmplwi r0, 0
/* 80269A48 002669A8 41 82 00 10 */ beq lbl_80269A58
/* 80269A4C 002669AC 7C 06 00 40 */ cmplw r6, r0
/* 80269A50 002669B0 41 82 00 08 */ beq lbl_80269A58
/* 80269A54 002669B4 38 80 00 01 */ li r4, 1
lbl_80269A58:
/* 80269A58 002669B8 90 DF 00 1C */ stw r6, 0x1c(r31)
lbl_80269A5C:
/* 80269A5C 002669BC 54 A0 06 3F */ clrlwi. r0, r5, 0x18
/* 80269A60 002669C0 40 82 00 34 */ bne lbl_80269A94
/* 80269A64 002669C4 80 1F 00 14 */ lwz r0, 0x14(r31)
/* 80269A68 002669C8 2C 00 00 00 */ cmpwi r0, 0
/* 80269A6C 002669CC 41 82 00 88 */ beq lbl_80269AF4
/* 80269A70 002669D0 88 7F 00 18 */ lbz r3, 0x18(r31)
/* 80269A74 002669D4 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f
/* 80269A78 002669D8 41 82 00 0C */ beq lbl_80269A84
/* 80269A7C 002669DC 54 63 CF FE */ rlwinm r3, r3, 0x19, 0x1f, 0x1f
/* 80269A80 002669E0 48 09 FA 29 */ bl SetIsBeginSceneClearFb__9CGraphicsFb
lbl_80269A84:
/* 80269A84 002669E4 7F E3 FB 78 */ mr r3, r31
/* 80269A88 002669E8 38 80 00 00 */ li r4, 0
/* 80269A8C 002669EC 4B FF FA 39 */ bl sub_802694c4
/* 80269A90 002669F0 48 00 00 64 */ b lbl_80269AF4
lbl_80269A94:
/* 80269A94 002669F4 80 1F 00 14 */ lwz r0, 0x14(r31)
/* 80269A98 002669F8 2C 00 00 03 */ cmpwi r0, 3
/* 80269A9C 002669FC 41 82 00 30 */ beq lbl_80269ACC
/* 80269AA0 00266A00 2C 00 00 00 */ cmpwi r0, 0
/* 80269AA4 00266A04 40 82 00 14 */ bne lbl_80269AB8
/* 80269AA8 00266A08 88 6D 9C 6C */ lbz r3, lbl_805A882C@sda21(r13)
/* 80269AAC 00266A0C 88 1F 00 18 */ lbz r0, 0x18(r31)
/* 80269AB0 00266A10 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 80269AB4 00266A14 98 1F 00 18 */ stb r0, 0x18(r31)
lbl_80269AB8:
/* 80269AB8 00266A18 80 9F 00 14 */ lwz r4, 0x14(r31)
/* 80269ABC 00266A1C 7F E3 FB 78 */ mr r3, r31
/* 80269AC0 00266A20 38 84 00 01 */ addi r4, r4, 1
/* 80269AC4 00266A24 4B FF FA 01 */ bl sub_802694c4
/* 80269AC8 00266A28 48 00 00 2C */ b lbl_80269AF4
lbl_80269ACC:
/* 80269ACC 00266A2C 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 80269AD0 00266A30 41 82 00 24 */ beq lbl_80269AF4
/* 80269AD4 00266A34 88 7F 00 18 */ lbz r3, 0x18(r31)
/* 80269AD8 00266A38 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f
/* 80269ADC 00266A3C 41 82 00 0C */ beq lbl_80269AE8
/* 80269AE0 00266A40 54 63 CF FE */ rlwinm r3, r3, 0x19, 0x1f, 0x1f
/* 80269AE4 00266A44 48 09 F9 C5 */ bl SetIsBeginSceneClearFb__9CGraphicsFb
lbl_80269AE8:
/* 80269AE8 00266A48 7F E3 FB 78 */ mr r3, r31
/* 80269AEC 00266A4C 38 80 00 02 */ li r4, 2
/* 80269AF0 00266A50 4B FF F9 D5 */ bl sub_802694c4
lbl_80269AF4:
/* 80269AF4 00266A54 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80269AF8 00266A58 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80269AFC 00266A5C 7C 08 03 A6 */ mtlr r0
/* 80269B00 00266A60 38 21 00 10 */ addi r1, r1, 0x10
/* 80269B04 00266A64 4E 80 00 20 */ blr
.global OnMessage__18CErrorOutputWindowCFv
OnMessage__18CErrorOutputWindowCFv:
/* 80269B08 00266A68 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80269B0C 00266A6C 7C 08 02 A6 */ mflr r0
/* 80269B10 00266A70 90 01 00 14 */ stw r0, 0x14(r1)
/* 80269B14 00266A74 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80269B18 00266A78 7C 7F 1B 78 */ mr r31, r3
/* 80269B1C 00266A7C 80 04 00 04 */ lwz r0, 4(r4)
/* 80269B20 00266A80 2C 00 00 0A */ cmpwi r0, 0xa
/* 80269B24 00266A84 41 82 00 40 */ beq lbl_80269B64
/* 80269B28 00266A88 40 80 00 1C */ bge lbl_80269B44
/* 80269B2C 00266A8C 2C 00 00 05 */ cmpwi r0, 5
/* 80269B30 00266A90 41 82 00 20 */ beq lbl_80269B50
/* 80269B34 00266A94 40 80 00 54 */ bge lbl_80269B88
/* 80269B38 00266A98 2C 00 00 04 */ cmpwi r0, 4
/* 80269B3C 00266A9C 40 80 00 2C */ bge lbl_80269B68
/* 80269B40 00266AA0 48 00 00 48 */ b lbl_80269B88
lbl_80269B44:
/* 80269B44 00266AA4 2C 00 00 0C */ cmpwi r0, 0xc
/* 80269B48 00266AA8 40 80 00 40 */ bge lbl_80269B88
/* 80269B4C 00266AAC 48 00 00 1C */ b lbl_80269B68
lbl_80269B50:
/* 80269B50 00266AB0 80 7F 00 14 */ lwz r3, 0x14(r31)
/* 80269B54 00266AB4 7C 03 00 D0 */ neg r0, r3
/* 80269B58 00266AB8 7C 00 1B 78 */ or r0, r0, r3
/* 80269B5C 00266ABC 54 03 0F FE */ srwi r3, r0, 0x1f
/* 80269B60 00266AC0 48 00 00 2C */ b lbl_80269B8C
lbl_80269B64:
/* 80269B64 00266AC4 4B FF FD D5 */ bl UpdateWindow__18CErrorOutputWindowFv
lbl_80269B68:
/* 80269B68 00266AC8 80 9F 00 14 */ lwz r4, 0x14(r31)
/* 80269B6C 00266ACC 38 00 00 01 */ li r0, 1
/* 80269B70 00266AD0 7C 80 02 78 */ xor r0, r4, r0
/* 80269B74 00266AD4 7C 03 0E 70 */ srawi r3, r0, 1
/* 80269B78 00266AD8 7C 00 20 38 */ and r0, r0, r4
/* 80269B7C 00266ADC 7C 00 18 50 */ subf r0, r0, r3
/* 80269B80 00266AE0 54 03 0F FE */ srwi r3, r0, 0x1f
/* 80269B84 00266AE4 48 00 00 08 */ b lbl_80269B8C
lbl_80269B88:
/* 80269B88 00266AE8 38 60 00 00 */ li r3, 0
lbl_80269B8C:
/* 80269B8C 00266AEC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80269B90 00266AF0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80269B94 00266AF4 7C 08 03 A6 */ mtlr r0
/* 80269B98 00266AF8 38 21 00 10 */ addi r1, r1, 0x10
/* 80269B9C 00266AFC 4E 80 00 20 */ blr
.global GetIsContinueDraw__18CErrorOutputWindowCFv
GetIsContinueDraw__18CErrorOutputWindowCFv:
/* 80269BA0 00266B00 80 03 00 14 */ lwz r0, 0x14(r3)
/* 80269BA4 00266B04 38 80 00 02 */ li r4, 2
/* 80269BA8 00266B08 7C 80 02 78 */ xor r0, r4, r0
/* 80269BAC 00266B0C 7C 03 0E 70 */ srawi r3, r0, 1
/* 80269BB0 00266B10 7C 00 20 38 */ and r0, r0, r4
/* 80269BB4 00266B14 7C 00 18 50 */ subf r0, r0, r3
/* 80269BB8 00266B18 54 03 0F FE */ srwi r3, r0, 0x1f
/* 80269BBC 00266B1C 4E 80 00 20 */ blr
.global __ct__18CErrorOutputWindowFiff
__ct__18CErrorOutputWindowFiff:
/* 80269BC0 00266B20 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80269BC4 00266B24 7C 08 02 A6 */ mflr r0
/* 80269BC8 00266B28 3C A0 80 3D */ lis r5, lbl_803D53E0@ha
/* 80269BCC 00266B2C 90 01 00 24 */ stw r0, 0x24(r1)
/* 80269BD0 00266B30 38 05 53 E0 */ addi r0, r5, lbl_803D53E0@l
/* 80269BD4 00266B34 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80269BD8 00266B38 7C 9F 23 78 */ mr r31, r4
/* 80269BDC 00266B3C 7C 04 03 78 */ mr r4, r0
/* 80269BE0 00266B40 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80269BE4 00266B44 7C 7E 1B 78 */ mr r30, r3
/* 80269BE8 00266B48 38 61 00 08 */ addi r3, r1, 8
/* 80269BEC 00266B4C 4B D9 B0 CD */ bl string_l__4rstlFPCc
/* 80269BF0 00266B50 7F C3 F3 78 */ mr r3, r30
/* 80269BF4 00266B54 38 81 00 08 */ addi r4, r1, 8
/* 80269BF8 00266B58 4B DE 90 15 */ bl "__ct__6CIOWinFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 80269BFC 00266B5C 38 61 00 08 */ addi r3, r1, 8
/* 80269C00 00266B60 48 0D 3E E1 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 80269C04 00266B64 3C 60 80 3F */ lis r3, lbl_803EA3C0@ha
/* 80269C08 00266B68 7F E0 00 34 */ cntlzw r0, r31
/* 80269C0C 00266B6C 38 63 A3 C0 */ addi r3, r3, lbl_803EA3C0@l
/* 80269C10 00266B70 38 C0 00 00 */ li r6, 0
/* 80269C14 00266B74 90 7E 00 00 */ stw r3, 0(r30)
/* 80269C18 00266B78 38 A0 00 01 */ li r5, 1
/* 80269C1C 00266B7C 54 04 D9 7E */ srwi r4, r0, 5
/* 80269C20 00266B80 7F C3 F3 78 */ mr r3, r30
/* 80269C24 00266B84 90 DE 00 14 */ stw r6, 0x14(r30)
/* 80269C28 00266B88 88 1E 00 18 */ lbz r0, 0x18(r30)
/* 80269C2C 00266B8C 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18
/* 80269C30 00266B90 98 1E 00 18 */ stb r0, 0x18(r30)
/* 80269C34 00266B94 88 1E 00 18 */ lbz r0, 0x18(r30)
/* 80269C38 00266B98 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19
/* 80269C3C 00266B9C 98 1E 00 18 */ stb r0, 0x18(r30)
/* 80269C40 00266BA0 88 1E 00 18 */ lbz r0, 0x18(r30)
/* 80269C44 00266BA4 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a
/* 80269C48 00266BA8 98 1E 00 18 */ stb r0, 0x18(r30)
/* 80269C4C 00266BAC 88 1E 00 18 */ lbz r0, 0x18(r30)
/* 80269C50 00266BB0 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b
/* 80269C54 00266BB4 98 1E 00 18 */ stb r0, 0x18(r30)
/* 80269C58 00266BB8 88 1E 00 18 */ lbz r0, 0x18(r30)
/* 80269C5C 00266BBC 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c
/* 80269C60 00266BC0 98 1E 00 18 */ stb r0, 0x18(r30)
/* 80269C64 00266BC4 90 DE 00 1C */ stw r6, 0x1c(r30)
/* 80269C68 00266BC8 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80269C6C 00266BCC 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80269C70 00266BD0 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80269C74 00266BD4 7C 08 03 A6 */ mtlr r0
/* 80269C78 00266BD8 38 21 00 20 */ addi r1, r1, 0x20
/* 80269C7C 00266BDC 4E 80 00 20 */ blr

File diff suppressed because it is too large Load Diff

View File

@ -4336,7 +4336,7 @@ lbl_80061700:
/* 80061734 0005E694 41 82 00 14 */ beq lbl_80061748 /* 80061734 0005E694 41 82 00 14 */ beq lbl_80061748
/* 80061738 0005E698 38 81 01 C8 */ addi r4, r1, 0x1c8 /* 80061738 0005E698 38 81 01 C8 */ addi r4, r1, 0x1c8
/* 8006173C 0005E69C 38 BF 00 0C */ addi r5, r31, 0xc /* 8006173C 0005E69C 38 BF 00 0C */ addi r5, r31, 0xc
/* 80061740 0005E6A0 48 24 11 E1 */ bl sub_802a2920 /* 80061740 0005E6A0 48 24 11 E1 */ bl __ct__12CAreaBspTreeFR12CInputStreamRC12CTransform4f
/* 80061744 0005E6A4 7C 7D 1B 78 */ mr r29, r3 /* 80061744 0005E6A4 7C 7D 1B 78 */ mr r29, r3
lbl_80061748: lbl_80061748:
/* 80061748 0005E6A8 83 3F 01 2C */ lwz r25, 0x12c(r31) /* 80061748 0005E6A8 83 3F 01 2C */ lwz r25, 0x12c(r31)

View File

@ -0,0 +1,462 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global Draw__13CGameCubeDollFf
Draw__13CGameCubeDollFf:
/* 8029E644 0029B5A4 94 21 FE F0 */ stwu r1, -0x110(r1)
/* 8029E648 0029B5A8 7C 08 02 A6 */ mflr r0
/* 8029E64C 0029B5AC 90 01 01 14 */ stw r0, 0x114(r1)
/* 8029E650 0029B5B0 DB E1 01 00 */ stfd f31, 0x100(r1)
/* 8029E654 0029B5B4 F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0
/* 8029E658 0029B5B8 93 E1 00 FC */ stw r31, 0xfc(r1)
/* 8029E65C 0029B5BC 7C 7F 1B 78 */ mr r31, r3
/* 8029E660 0029B5C0 FF E0 08 90 */ fmr f31, f1
/* 8029E664 0029B5C4 48 00 04 D5 */ bl IsLoaded__13CGameCubeDollCFv
/* 8029E668 0029B5C8 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8029E66C 0029B5CC 41 82 01 44 */ beq lbl_8029E7B0
/* 8029E670 0029B5D0 3C 60 80 3F */ lis r3, lbl_803ED910@ha
/* 8029E674 0029B5D4 3C 80 43 30 */ lis r4, 0x4330
/* 8029E678 0029B5D8 38 C3 D9 10 */ addi r6, r3, lbl_803ED910@l
/* 8029E67C 0029B5DC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 8029E680 0029B5E0 80 A6 00 08 */ lwz r5, 8(r6)
/* 8029E684 0029B5E4 80 06 00 0C */ lwz r0, 0xc(r6)
/* 8029E688 0029B5E8 6C A5 80 00 */ xoris r5, r5, 0x8000
/* 8029E68C 0029B5EC 81 83 00 00 */ lwz r12, 0(r3)
/* 8029E690 0029B5F0 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 8029E694 0029B5F4 90 A1 00 E4 */ stw r5, 0xe4(r1)
/* 8029E698 0029B5F8 C0 1F 00 1C */ lfs f0, 0x1c(r31)
/* 8029E69C 0029B5FC 90 81 00 E0 */ stw r4, 0xe0(r1)
/* 8029E6A0 0029B600 C8 62 C0 D8 */ lfd f3, lbl_805ADDF8@sda21(r2)
/* 8029E6A4 0029B604 EF FF 00 32 */ fmuls f31, f31, f0
/* 8029E6A8 0029B608 C8 01 00 E0 */ lfd f0, 0xe0(r1)
/* 8029E6AC 0029B60C 90 01 00 EC */ stw r0, 0xec(r1)
/* 8029E6B0 0029B610 81 8C 00 4C */ lwz r12, 0x4c(r12)
/* 8029E6B4 0029B614 EC 40 18 28 */ fsubs f2, f0, f3
/* 8029E6B8 0029B618 90 81 00 E8 */ stw r4, 0xe8(r1)
/* 8029E6BC 0029B61C C0 22 C0 B0 */ lfs f1, lbl_805ADDD0@sda21(r2)
/* 8029E6C0 0029B620 C8 01 00 E8 */ lfd f0, 0xe8(r1)
/* 8029E6C4 0029B624 C0 82 C0 B4 */ lfs f4, lbl_805ADDD4@sda21(r2)
/* 8029E6C8 0029B628 EC 60 18 28 */ fsubs f3, f0, f3
/* 8029E6CC 0029B62C C0 A2 C0 B8 */ lfs f5, lbl_805ADDD8@sda21(r2)
/* 8029E6D0 0029B630 7D 89 03 A6 */ mtctr r12
/* 8029E6D4 0029B634 4E 80 04 21 */ bctrl
/* 8029E6D8 0029B638 C0 22 C0 BC */ lfs f1, lbl_805ADDDC@sda21(r2)
/* 8029E6DC 0029B63C 38 61 00 AC */ addi r3, r1, 0xac
/* 8029E6E0 0029B640 C0 42 C0 C0 */ lfs f2, lbl_805ADDE0@sda21(r2)
/* 8029E6E4 0029B644 FC 60 08 90 */ fmr f3, f1
/* 8029E6E8 0029B648 48 07 4A A1 */ bl Translate__12CTransform4fFfff
/* 8029E6EC 0029B64C 38 61 00 AC */ addi r3, r1, 0xac
/* 8029E6F0 0029B650 48 06 E0 5D */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f
/* 8029E6F4 0029B654 80 7F 00 18 */ lwz r3, 0x18(r31)
/* 8029E6F8 0029B658 4B E6 66 91 */ bl ActivateLights__12CActorLightsCFv
/* 8029E6FC 0029B65C 48 06 B7 E5 */ bl GetSecondsMod900__9CGraphicsFv
/* 8029E700 0029B660 C0 42 C0 C8 */ lfs f2, lbl_805ADDE8@sda21(r2)
/* 8029E704 0029B664 38 61 00 1C */ addi r3, r1, 0x1c
/* 8029E708 0029B668 C0 02 C0 C4 */ lfs f0, lbl_805ADDE4@sda21(r2)
/* 8029E70C 0029B66C EC 62 00 72 */ fmuls f3, f2, f1
/* 8029E710 0029B670 C0 42 C0 CC */ lfs f2, lbl_805ADDEC@sda21(r2)
/* 8029E714 0029B674 C0 22 C0 B4 */ lfs f1, lbl_805ADDD4@sda21(r2)
/* 8029E718 0029B678 EC 00 00 F2 */ fmuls f0, f0, f3
/* 8029E71C 0029B67C FC 00 00 50 */ fneg f0, f0
/* 8029E720 0029B680 EC 02 00 32 */ fmuls f0, f2, f0
/* 8029E724 0029B684 D0 01 00 08 */ stfs f0, 8(r1)
/* 8029E728 0029B688 48 07 4B 19 */ bl Scale__12CTransform4fFf
/* 8029E72C 0029B68C 38 61 00 4C */ addi r3, r1, 0x4c
/* 8029E730 0029B690 38 81 00 08 */ addi r4, r1, 8
/* 8029E734 0029B694 48 07 50 DD */ bl RotateZ__12CTransform4fFRC9CRelAngle
/* 8029E738 0029B698 38 61 00 7C */ addi r3, r1, 0x7c
/* 8029E73C 0029B69C 38 81 00 4C */ addi r4, r1, 0x4c
/* 8029E740 0029B6A0 38 A1 00 1C */ addi r5, r1, 0x1c
/* 8029E744 0029B6A4 48 07 42 0D */ bl __ml__12CTransform4fCFRC12CTransform4f
/* 8029E748 0029B6A8 38 61 00 7C */ addi r3, r1, 0x7c
/* 8029E74C 0029B6AC 48 06 DE 95 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f
/* 8029E750 0029B6B0 7F E4 FB 78 */ mr r4, r31
/* 8029E754 0029B6B4 38 61 00 14 */ addi r3, r1, 0x14
/* 8029E758 0029B6B8 48 0A 27 51 */ bl __ct__6CTokenFRC6CToken
/* 8029E75C 0029B6BC C0 22 C0 D0 */ lfs f1, lbl_805ADDF0@sda21(r2)
/* 8029E760 0029B6C0 38 60 00 05 */ li r3, 5
/* 8029E764 0029B6C4 38 80 00 00 */ li r4, 0
/* 8029E768 0029B6C8 38 00 00 03 */ li r0, 3
/* 8029E76C 0029B6CC FC 40 08 90 */ fmr f2, f1
/* 8029E770 0029B6D0 98 61 00 0C */ stb r3, 0xc(r1)
/* 8029E774 0029B6D4 FC 60 08 90 */ fmr f3, f1
/* 8029E778 0029B6D8 38 61 00 10 */ addi r3, r1, 0x10
/* 8029E77C 0029B6DC FC 80 F8 90 */ fmr f4, f31
/* 8029E780 0029B6E0 98 81 00 0D */ stb r4, 0xd(r1)
/* 8029E784 0029B6E4 B0 01 00 0E */ sth r0, 0xe(r1)
/* 8029E788 0029B6E8 48 0C 4C 65 */ bl __ct__6CColorFffff
/* 8029E78C 0029B6EC 38 61 00 14 */ addi r3, r1, 0x14
/* 8029E790 0029B6F0 48 0A 26 7D */ bl GetObj__6CTokenFv
/* 8029E794 0029B6F4 80 63 00 04 */ lwz r3, 4(r3)
/* 8029E798 0029B6F8 38 81 00 0C */ addi r4, r1, 0xc
/* 8029E79C 0029B6FC 48 0B 74 39 */ bl Draw__6CModelCFRC11CModelFlags
/* 8029E7A0 0029B700 48 06 E1 DD */ bl DisableAllLights__9CGraphicsFv
/* 8029E7A4 0029B704 38 61 00 14 */ addi r3, r1, 0x14
/* 8029E7A8 0029B708 38 80 00 00 */ li r4, 0
/* 8029E7AC 0029B70C 48 0A 26 95 */ bl __dt__6CTokenFv
lbl_8029E7B0:
/* 8029E7B0 0029B710 E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0
/* 8029E7B4 0029B714 80 01 01 14 */ lwz r0, 0x114(r1)
/* 8029E7B8 0029B718 CB E1 01 00 */ lfd f31, 0x100(r1)
/* 8029E7BC 0029B71C 83 E1 00 FC */ lwz r31, 0xfc(r1)
/* 8029E7C0 0029B720 7C 08 03 A6 */ mtlr r0
/* 8029E7C4 0029B724 38 21 01 10 */ addi r1, r1, 0x110
/* 8029E7C8 0029B728 4E 80 00 20 */ blr
.global Update__13CGameCubeDollFf
Update__13CGameCubeDollFf:
/* 8029E7CC 0029B72C 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8029E7D0 0029B730 7C 08 02 A6 */ mflr r0
/* 8029E7D4 0029B734 90 01 00 34 */ stw r0, 0x34(r1)
/* 8029E7D8 0029B738 DB E1 00 20 */ stfd f31, 0x20(r1)
/* 8029E7DC 0029B73C F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0
/* 8029E7E0 0029B740 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8029E7E4 0029B744 7C 7F 1B 78 */ mr r31, r3
/* 8029E7E8 0029B748 FF E0 08 90 */ fmr f31, f1
/* 8029E7EC 0029B74C 48 00 03 65 */ bl CheckLoadComplete__13CGameCubeDollFv
/* 8029E7F0 0029B750 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8029E7F4 0029B754 41 82 00 3C */ beq lbl_8029E830
/* 8029E7F8 0029B758 C0 42 C0 E0 */ lfs f2, lbl_805ADE00@sda21(r2)
/* 8029E7FC 0029B75C C0 3F 00 1C */ lfs f1, 0x1c(r31)
/* 8029E800 0029B760 C0 0D 9A 28 */ lfs f0, lbl_805A85E8@sda21(r13)
/* 8029E804 0029B764 EC 22 0F FA */ fmadds f1, f2, f31, f1
/* 8029E808 0029B768 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8029E80C 0029B76C D0 21 00 08 */ stfs f1, 8(r1)
/* 8029E810 0029B770 40 80 00 0C */ bge lbl_8029E81C
/* 8029E814 0029B774 38 61 00 08 */ addi r3, r1, 8
/* 8029E818 0029B778 48 00 00 08 */ b lbl_8029E820
lbl_8029E81C:
/* 8029E81C 0029B77C 38 6D 9A 28 */ addi r3, r13, lbl_805A85E8@sda21
lbl_8029E820:
/* 8029E820 0029B780 C0 03 00 00 */ lfs f0, 0(r3)
/* 8029E824 0029B784 7F E3 FB 78 */ mr r3, r31
/* 8029E828 0029B788 D0 1F 00 1C */ stfs f0, 0x1c(r31)
/* 8029E82C 0029B78C 48 00 00 81 */ bl UpdateActorLights__13CGameCubeDollFv
lbl_8029E830:
/* 8029E830 0029B790 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0
/* 8029E834 0029B794 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8029E838 0029B798 CB E1 00 20 */ lfd f31, 0x20(r1)
/* 8029E83C 0029B79C 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8029E840 0029B7A0 7C 08 03 A6 */ mtlr r0
/* 8029E844 0029B7A4 38 21 00 30 */ addi r1, r1, 0x30
/* 8029E848 0029B7A8 4E 80 00 20 */ blr
.global Touch__13CGameCubeDollFv
Touch__13CGameCubeDollFv:
/* 8029E84C 0029B7AC 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8029E850 0029B7B0 7C 08 02 A6 */ mflr r0
/* 8029E854 0029B7B4 90 01 00 24 */ stw r0, 0x24(r1)
/* 8029E858 0029B7B8 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8029E85C 0029B7BC 7C 7F 1B 78 */ mr r31, r3
/* 8029E860 0029B7C0 48 00 02 F1 */ bl CheckLoadComplete__13CGameCubeDollFv
/* 8029E864 0029B7C4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8029E868 0029B7C8 41 82 00 30 */ beq lbl_8029E898
/* 8029E86C 0029B7CC 7F E4 FB 78 */ mr r4, r31
/* 8029E870 0029B7D0 38 61 00 08 */ addi r3, r1, 8
/* 8029E874 0029B7D4 48 0A 26 35 */ bl __ct__6CTokenFRC6CToken
/* 8029E878 0029B7D8 38 61 00 08 */ addi r3, r1, 8
/* 8029E87C 0029B7DC 48 0A 25 91 */ bl GetObj__6CTokenFv
/* 8029E880 0029B7E0 80 63 00 04 */ lwz r3, 4(r3)
/* 8029E884 0029B7E4 38 80 00 00 */ li r4, 0
/* 8029E888 0029B7E8 48 0B 6D AD */ bl Touch__6CModelCFi
/* 8029E88C 0029B7EC 38 61 00 08 */ addi r3, r1, 8
/* 8029E890 0029B7F0 38 80 00 00 */ li r4, 0
/* 8029E894 0029B7F4 48 0A 25 AD */ bl __dt__6CTokenFv
lbl_8029E898:
/* 8029E898 0029B7F8 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8029E89C 0029B7FC 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8029E8A0 0029B800 7C 08 03 A6 */ mtlr r0
/* 8029E8A4 0029B804 38 21 00 20 */ addi r1, r1, 0x20
/* 8029E8A8 0029B808 4E 80 00 20 */ blr
.global UpdateActorLights__13CGameCubeDollFv
UpdateActorLights__13CGameCubeDollFv:
/* 8029E8AC 0029B80C 94 21 FF 50 */ stwu r1, -0xb0(r1)
/* 8029E8B0 0029B810 7C 08 02 A6 */ mflr r0
/* 8029E8B4 0029B814 3C 80 80 5A */ lis r4, lbl_805A6718@ha
/* 8029E8B8 0029B818 3C C0 80 5A */ lis r6, lbl_805A6700@ha
/* 8029E8BC 0029B81C 90 01 00 B4 */ stw r0, 0xb4(r1)
/* 8029E8C0 0029B820 38 A4 67 18 */ addi r5, r4, lbl_805A6718@l
/* 8029E8C4 0029B824 3C 80 80 5A */ lis r4, lbl_805A6724@ha
/* 8029E8C8 0029B828 C0 62 C0 C4 */ lfs f3, lbl_805ADDE4@sda21(r2)
/* 8029E8CC 0029B82C 93 E1 00 AC */ stw r31, 0xac(r1)
/* 8029E8D0 0029B830 7C 7F 1B 78 */ mr r31, r3
/* 8029E8D4 0029B834 38 84 67 24 */ addi r4, r4, lbl_805A6724@l
/* 8029E8D8 0029B838 38 C6 67 00 */ addi r6, r6, lbl_805A6700@l
/* 8029E8DC 0029B83C 93 C1 00 A8 */ stw r30, 0xa8(r1)
/* 8029E8E0 0029B840 38 61 00 40 */ addi r3, r1, 0x40
/* 8029E8E4 0029B844 C0 C2 C0 E4 */ lfs f6, lbl_805ADE04@sda21(r2)
/* 8029E8E8 0029B848 C0 45 00 08 */ lfs f2, 8(r5)
/* 8029E8EC 0029B84C C0 25 00 00 */ lfs f1, 0(r5)
/* 8029E8F0 0029B850 EC E3 00 B2 */ fmuls f7, f3, f2
/* 8029E8F4 0029B854 C0 05 00 04 */ lfs f0, 4(r5)
/* 8029E8F8 0029B858 EC 83 00 72 */ fmuls f4, f3, f1
/* 8029E8FC 0029B85C C0 24 00 08 */ lfs f1, 8(r4)
/* 8029E900 0029B860 EC 63 00 32 */ fmuls f3, f3, f0
/* 8029E904 0029B864 C0 04 00 00 */ lfs f0, 0(r4)
/* 8029E908 0029B868 C0 44 00 04 */ lfs f2, 4(r4)
/* 8029E90C 0029B86C ED 01 38 2A */ fadds f8, f1, f7
/* 8029E910 0029B870 EC 20 20 2A */ fadds f1, f0, f4
/* 8029E914 0029B874 C0 06 00 00 */ lfs f0, 0(r6)
/* 8029E918 0029B878 ED 22 18 2A */ fadds f9, f2, f3
/* 8029E91C 0029B87C C0 46 00 08 */ lfs f2, 8(r6)
/* 8029E920 0029B880 EC A6 00 32 */ fmuls f5, f6, f0
/* 8029E924 0029B884 ED 46 00 B2 */ fmuls f10, f6, f2
/* 8029E928 0029B888 C0 06 00 04 */ lfs f0, 4(r6)
/* 8029E92C 0029B88C 38 81 00 34 */ addi r4, r1, 0x34
/* 8029E930 0029B890 D0 81 00 1C */ stfs f4, 0x1c(r1)
/* 8029E934 0029B894 EC 46 00 32 */ fmuls f2, f6, f0
/* 8029E938 0029B898 EC 88 50 2A */ fadds f4, f8, f10
/* 8029E93C 0029B89C D0 A1 00 10 */ stfs f5, 0x10(r1)
/* 8029E940 0029B8A0 EC 01 28 2A */ fadds f0, f1, f5
/* 8029E944 0029B8A4 EC A9 10 2A */ fadds f5, f9, f2
/* 8029E948 0029B8A8 D0 41 00 14 */ stfs f2, 0x14(r1)
/* 8029E94C 0029B8AC D1 41 00 18 */ stfs f10, 0x18(r1)
/* 8029E950 0029B8B0 D0 61 00 20 */ stfs f3, 0x20(r1)
/* 8029E954 0029B8B4 D0 E1 00 24 */ stfs f7, 0x24(r1)
/* 8029E958 0029B8B8 D0 21 00 28 */ stfs f1, 0x28(r1)
/* 8029E95C 0029B8BC D1 21 00 2C */ stfs f9, 0x2c(r1)
/* 8029E960 0029B8C0 D1 01 00 30 */ stfs f8, 0x30(r1)
/* 8029E964 0029B8C4 D0 01 00 34 */ stfs f0, 0x34(r1)
/* 8029E968 0029B8C8 D0 A1 00 38 */ stfs f5, 0x38(r1)
/* 8029E96C 0029B8CC D0 81 00 3C */ stfs f4, 0x3c(r1)
/* 8029E970 0029B8D0 48 07 5E E1 */ bl AsNormalized__9CVector3fCFv
/* 8029E974 0029B8D4 38 00 00 FF */ li r0, 0xff
/* 8029E978 0029B8D8 3C 60 80 5A */ lis r3, lbl_805A6724@ha
/* 8029E97C 0029B8DC 98 01 00 0C */ stb r0, 0xc(r1)
/* 8029E980 0029B8E0 38 83 67 24 */ addi r4, r3, lbl_805A6724@l
/* 8029E984 0029B8E4 38 61 00 4C */ addi r3, r1, 0x4c
/* 8029E988 0029B8E8 38 A1 00 0C */ addi r5, r1, 0xc
/* 8029E98C 0029B8EC 98 01 00 0D */ stb r0, 0xd(r1)
/* 8029E990 0029B8F0 98 01 00 0E */ stb r0, 0xe(r1)
/* 8029E994 0029B8F4 98 01 00 0F */ stb r0, 0xf(r1)
/* 8029E998 0029B8F8 48 06 7A D5 */ bl BuildDirectional__6CLightFRC9CVector3fRC6CColor
/* 8029E99C 0029B8FC 80 BF 00 14 */ lwz r5, 0x14(r31)
/* 8029E9A0 0029B900 38 61 00 08 */ addi r3, r1, 8
/* 8029E9A4 0029B904 80 81 00 4C */ lwz r4, 0x4c(r1)
/* 8029E9A8 0029B908 80 01 00 50 */ lwz r0, 0x50(r1)
/* 8029E9AC 0029B90C C0 22 C0 C4 */ lfs f1, lbl_805ADDE4@sda21(r2)
/* 8029E9B0 0029B910 90 85 00 00 */ stw r4, 0(r5)
/* 8029E9B4 0029B914 FC 40 08 90 */ fmr f2, f1
/* 8029E9B8 0029B918 C0 82 C0 D0 */ lfs f4, lbl_805ADDF0@sda21(r2)
/* 8029E9BC 0029B91C 90 05 00 04 */ stw r0, 4(r5)
/* 8029E9C0 0029B920 FC 60 08 90 */ fmr f3, f1
/* 8029E9C4 0029B924 80 01 00 54 */ lwz r0, 0x54(r1)
/* 8029E9C8 0029B928 90 05 00 08 */ stw r0, 8(r5)
/* 8029E9CC 0029B92C 80 81 00 58 */ lwz r4, 0x58(r1)
/* 8029E9D0 0029B930 80 01 00 5C */ lwz r0, 0x5c(r1)
/* 8029E9D4 0029B934 90 85 00 0C */ stw r4, 0xc(r5)
/* 8029E9D8 0029B938 90 05 00 10 */ stw r0, 0x10(r5)
/* 8029E9DC 0029B93C 80 01 00 60 */ lwz r0, 0x60(r1)
/* 8029E9E0 0029B940 90 05 00 14 */ stw r0, 0x14(r5)
/* 8029E9E4 0029B944 80 01 00 64 */ lwz r0, 0x64(r1)
/* 8029E9E8 0029B948 90 05 00 18 */ stw r0, 0x18(r5)
/* 8029E9EC 0029B94C 80 01 00 68 */ lwz r0, 0x68(r1)
/* 8029E9F0 0029B950 90 05 00 1C */ stw r0, 0x1c(r5)
/* 8029E9F4 0029B954 C0 01 00 6C */ lfs f0, 0x6c(r1)
/* 8029E9F8 0029B958 D0 05 00 20 */ stfs f0, 0x20(r5)
/* 8029E9FC 0029B95C C0 01 00 70 */ lfs f0, 0x70(r1)
/* 8029EA00 0029B960 D0 05 00 24 */ stfs f0, 0x24(r5)
/* 8029EA04 0029B964 C0 01 00 74 */ lfs f0, 0x74(r1)
/* 8029EA08 0029B968 D0 05 00 28 */ stfs f0, 0x28(r5)
/* 8029EA0C 0029B96C C0 01 00 78 */ lfs f0, 0x78(r1)
/* 8029EA10 0029B970 D0 05 00 2C */ stfs f0, 0x2c(r5)
/* 8029EA14 0029B974 C0 01 00 7C */ lfs f0, 0x7c(r1)
/* 8029EA18 0029B978 D0 05 00 30 */ stfs f0, 0x30(r5)
/* 8029EA1C 0029B97C C0 01 00 80 */ lfs f0, 0x80(r1)
/* 8029EA20 0029B980 D0 05 00 34 */ stfs f0, 0x34(r5)
/* 8029EA24 0029B984 C0 01 00 84 */ lfs f0, 0x84(r1)
/* 8029EA28 0029B988 D0 05 00 38 */ stfs f0, 0x38(r5)
/* 8029EA2C 0029B98C 80 01 00 88 */ lwz r0, 0x88(r1)
/* 8029EA30 0029B990 90 05 00 3C */ stw r0, 0x3c(r5)
/* 8029EA34 0029B994 80 01 00 8C */ lwz r0, 0x8c(r1)
/* 8029EA38 0029B998 90 05 00 40 */ stw r0, 0x40(r5)
/* 8029EA3C 0029B99C C0 01 00 90 */ lfs f0, 0x90(r1)
/* 8029EA40 0029B9A0 D0 05 00 44 */ stfs f0, 0x44(r5)
/* 8029EA44 0029B9A4 C0 01 00 94 */ lfs f0, 0x94(r1)
/* 8029EA48 0029B9A8 D0 05 00 48 */ stfs f0, 0x48(r5)
/* 8029EA4C 0029B9AC 88 01 00 98 */ lbz r0, 0x98(r1)
/* 8029EA50 0029B9B0 98 05 00 4C */ stb r0, 0x4c(r5)
/* 8029EA54 0029B9B4 83 DF 00 18 */ lwz r30, 0x18(r31)
/* 8029EA58 0029B9B8 48 0C 49 95 */ bl __ct__6CColorFffff
/* 8029EA5C 0029B9BC 7C 65 1B 78 */ mr r5, r3
/* 8029EA60 0029B9C0 7F C3 F3 78 */ mr r3, r30
/* 8029EA64 0029B9C4 38 9F 00 08 */ addi r4, r31, 8
/* 8029EA68 0029B9C8 4B E6 46 C5 */ bl "BuildFakeLightList__12CActorLightsFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>RC6CColor"
/* 8029EA6C 0029B9CC 80 01 00 B4 */ lwz r0, 0xb4(r1)
/* 8029EA70 0029B9D0 83 E1 00 AC */ lwz r31, 0xac(r1)
/* 8029EA74 0029B9D4 83 C1 00 A8 */ lwz r30, 0xa8(r1)
/* 8029EA78 0029B9D8 7C 08 03 A6 */ mtlr r0
/* 8029EA7C 0029B9DC 38 21 00 B0 */ addi r1, r1, 0xb0
/* 8029EA80 0029B9E0 4E 80 00 20 */ blr
.global __dt__13CGameCubeDollFv
__dt__13CGameCubeDollFv:
/* 8029EA84 0029B9E4 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8029EA88 0029B9E8 7C 08 02 A6 */ mflr r0
/* 8029EA8C 0029B9EC 90 01 00 24 */ stw r0, 0x24(r1)
/* 8029EA90 0029B9F0 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8029EA94 0029B9F4 7C 9F 23 78 */ mr r31, r4
/* 8029EA98 0029B9F8 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8029EA9C 0029B9FC 7C 7E 1B 79 */ or. r30, r3, r3
/* 8029EAA0 0029BA00 41 82 00 7C */ beq lbl_8029EB1C
/* 8029EAA4 0029BA04 34 1E 00 18 */ addic. r0, r30, 0x18
/* 8029EAA8 0029BA08 41 82 00 10 */ beq lbl_8029EAB8
/* 8029EAAC 0029BA0C 80 7E 00 18 */ lwz r3, 0x18(r30)
/* 8029EAB0 0029BA10 38 80 00 01 */ li r4, 1
/* 8029EAB4 0029BA14 4B E6 66 21 */ bl __dt__12CActorLightsFv
lbl_8029EAB8:
/* 8029EAB8 0029BA18 34 1E 00 08 */ addic. r0, r30, 8
/* 8029EABC 0029BA1C 41 82 00 44 */ beq lbl_8029EB00
/* 8029EAC0 0029BA20 80 1E 00 0C */ lwz r0, 0xc(r30)
/* 8029EAC4 0029BA24 80 7E 00 14 */ lwz r3, 0x14(r30)
/* 8029EAC8 0029BA28 1C 00 00 50 */ mulli r0, r0, 0x50
/* 8029EACC 0029BA2C 90 61 00 0C */ stw r3, 0xc(r1)
/* 8029EAD0 0029BA30 7C 64 1B 78 */ mr r4, r3
/* 8029EAD4 0029BA34 7C 03 02 14 */ add r0, r3, r0
/* 8029EAD8 0029BA38 90 61 00 08 */ stw r3, 8(r1)
/* 8029EADC 0029BA3C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8029EAE0 0029BA40 90 01 00 10 */ stw r0, 0x10(r1)
/* 8029EAE4 0029BA44 48 00 00 08 */ b lbl_8029EAEC
lbl_8029EAE8:
/* 8029EAE8 0029BA48 38 84 00 50 */ addi r4, r4, 0x50
lbl_8029EAEC:
/* 8029EAEC 0029BA4C 7C 04 00 40 */ cmplw r4, r0
/* 8029EAF0 0029BA50 40 82 FF F8 */ bne lbl_8029EAE8
/* 8029EAF4 0029BA54 28 03 00 00 */ cmplwi r3, 0
/* 8029EAF8 0029BA58 41 82 00 08 */ beq lbl_8029EB00
/* 8029EAFC 0029BA5C 48 07 6E 35 */ bl Free__7CMemoryFPCv
lbl_8029EB00:
/* 8029EB00 0029BA60 7F C3 F3 78 */ mr r3, r30
/* 8029EB04 0029BA64 38 80 FF FF */ li r4, -1
/* 8029EB08 0029BA68 48 0A 23 39 */ bl __dt__6CTokenFv
/* 8029EB0C 0029BA6C 7F E0 07 35 */ extsh. r0, r31
/* 8029EB10 0029BA70 40 81 00 0C */ ble lbl_8029EB1C
/* 8029EB14 0029BA74 7F C3 F3 78 */ mr r3, r30
/* 8029EB18 0029BA78 48 07 6E 19 */ bl Free__7CMemoryFPCv
lbl_8029EB1C:
/* 8029EB1C 0029BA7C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8029EB20 0029BA80 7F C3 F3 78 */ mr r3, r30
/* 8029EB24 0029BA84 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8029EB28 0029BA88 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8029EB2C 0029BA8C 7C 08 03 A6 */ mtlr r0
/* 8029EB30 0029BA90 38 21 00 20 */ addi r1, r1, 0x20
/* 8029EB34 0029BA94 4E 80 00 20 */ blr
.global IsLoaded__13CGameCubeDollCFv
IsLoaded__13CGameCubeDollCFv:
/* 8029EB38 0029BA98 88 03 00 20 */ lbz r0, 0x20(r3)
/* 8029EB3C 0029BA9C 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f
/* 8029EB40 0029BAA0 7C 03 00 D0 */ neg r0, r3
/* 8029EB44 0029BAA4 7C 00 1B 78 */ or r0, r0, r3
/* 8029EB48 0029BAA8 54 03 0F FE */ srwi r3, r0, 0x1f
/* 8029EB4C 0029BAAC 4E 80 00 20 */ blr
.global CheckLoadComplete__13CGameCubeDollFv
CheckLoadComplete__13CGameCubeDollFv:
/* 8029EB50 0029BAB0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8029EB54 0029BAB4 7C 08 02 A6 */ mflr r0
/* 8029EB58 0029BAB8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8029EB5C 0029BABC 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8029EB60 0029BAC0 7C 7F 1B 78 */ mr r31, r3
/* 8029EB64 0029BAC4 4B FF FF D5 */ bl IsLoaded__13CGameCubeDollCFv
/* 8029EB68 0029BAC8 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8029EB6C 0029BACC 41 82 00 0C */ beq lbl_8029EB78
/* 8029EB70 0029BAD0 38 60 00 01 */ li r3, 1
/* 8029EB74 0029BAD4 48 00 00 30 */ b lbl_8029EBA4
lbl_8029EB78:
/* 8029EB78 0029BAD8 80 7F 00 00 */ lwz r3, 0(r31)
/* 8029EB7C 0029BADC 80 03 00 10 */ lwz r0, 0x10(r3)
/* 8029EB80 0029BAE0 28 00 00 00 */ cmplwi r0, 0
/* 8029EB84 0029BAE4 40 82 00 0C */ bne lbl_8029EB90
/* 8029EB88 0029BAE8 38 60 00 00 */ li r3, 0
/* 8029EB8C 0029BAEC 48 00 00 18 */ b lbl_8029EBA4
lbl_8029EB90:
/* 8029EB90 0029BAF0 88 1F 00 20 */ lbz r0, 0x20(r31)
/* 8029EB94 0029BAF4 38 60 00 01 */ li r3, 1
/* 8029EB98 0029BAF8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 8029EB9C 0029BAFC 38 60 00 01 */ li r3, 1
/* 8029EBA0 0029BB00 98 1F 00 20 */ stb r0, 0x20(r31)
lbl_8029EBA4:
/* 8029EBA4 0029BB04 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8029EBA8 0029BB08 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8029EBAC 0029BB0C 7C 08 03 A6 */ mtlr r0
/* 8029EBB0 0029BB10 38 21 00 10 */ addi r1, r1, 0x10
/* 8029EBB4 0029BB14 4E 80 00 20 */ blr
.global __ct__13CGameCubeDollFv
__ct__13CGameCubeDollFv:
/* 8029EBB8 0029BB18 94 21 FF 80 */ stwu r1, -0x80(r1)
/* 8029EBBC 0029BB1C 7C 08 02 A6 */ mflr r0
/* 8029EBC0 0029BB20 3C A0 80 3D */ lis r5, lbl_803D5E98@ha
/* 8029EBC4 0029BB24 90 01 00 84 */ stw r0, 0x84(r1)
/* 8029EBC8 0029BB28 38 A5 5E 98 */ addi r5, r5, lbl_803D5E98@l
/* 8029EBCC 0029BB2C 93 E1 00 7C */ stw r31, 0x7c(r1)
/* 8029EBD0 0029BB30 7C 7F 1B 78 */ mr r31, r3
/* 8029EBD4 0029BB34 38 61 00 10 */ addi r3, r1, 0x10
/* 8029EBD8 0029BB38 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 8029EBDC 0029BB3C 81 84 00 00 */ lwz r12, 0(r4)
/* 8029EBE0 0029BB40 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 8029EBE4 0029BB44 7D 89 03 A6 */ mtctr r12
/* 8029EBE8 0029BB48 4E 80 04 21 */ bctrl
/* 8029EBEC 0029BB4C 7F E3 FB 78 */ mr r3, r31
/* 8029EBF0 0029BB50 38 81 00 10 */ addi r4, r1, 0x10
/* 8029EBF4 0029BB54 48 0A 22 B5 */ bl __ct__6CTokenFRC6CToken
/* 8029EBF8 0029BB58 38 61 00 10 */ addi r3, r1, 0x10
/* 8029EBFC 0029BB5C 38 80 FF FF */ li r4, -1
/* 8029EC00 0029BB60 48 0A 22 41 */ bl __dt__6CTokenFv
/* 8029EC04 0029BB64 38 00 FF FF */ li r0, -1
/* 8029EC08 0029BB68 3C 60 80 5A */ lis r3, lbl_805A6724@ha
/* 8029EC0C 0029BB6C 90 01 00 0C */ stw r0, 0xc(r1)
/* 8029EC10 0029BB70 38 83 67 24 */ addi r4, r3, lbl_805A6724@l
/* 8029EC14 0029BB74 38 61 00 24 */ addi r3, r1, 0x24
/* 8029EC18 0029BB78 38 A1 00 0C */ addi r5, r1, 0xc
/* 8029EC1C 0029BB7C 48 06 78 51 */ bl BuildDirectional__6CLightFRC9CVector3fRC6CColor
/* 8029EC20 0029BB80 38 7F 00 08 */ addi r3, r31, 8
/* 8029EC24 0029BB84 38 A1 00 24 */ addi r5, r1, 0x24
/* 8029EC28 0029BB88 38 C1 00 08 */ addi r6, r1, 8
/* 8029EC2C 0029BB8C 38 80 00 01 */ li r4, 1
/* 8029EC30 0029BB90 4B E3 FA 99 */ bl "__ct__Q24rstl42vector<6CLight,Q24rstl17rmemory_allocator>FiRC6CLightRCQ24rstl17rmemory_allocator"
/* 8029EC34 0029BB94 3C 80 80 3D */ lis r4, lbl_803D5E98@ha
/* 8029EC38 0029BB98 38 60 02 E0 */ li r3, 0x2e0
/* 8029EC3C 0029BB9C 38 84 5E 98 */ addi r4, r4, lbl_803D5E98@l
/* 8029EC40 0029BBA0 38 A0 00 00 */ li r5, 0
/* 8029EC44 0029BBA4 38 84 00 0E */ addi r4, r4, 0xe
/* 8029EC48 0029BBA8 48 07 6C 25 */ bl __nw__FUlPCcPCc
/* 8029EC4C 0029BBAC 7C 60 1B 79 */ or. r0, r3, r3
/* 8029EC50 0029BBB0 41 82 00 4C */ beq lbl_8029EC9C
/* 8029EC54 0029BBB4 3C 80 80 5A */ lis r4, skZero3f@ha
/* 8029EC58 0029BBB8 C0 22 94 04 */ lfs f1, lbl_805AB124@sda21(r2)
/* 8029EC5C 0029BBBC 38 E4 66 A0 */ addi r7, r4, skZero3f@l
/* 8029EC60 0029BBC0 38 A1 00 18 */ addi r5, r1, 0x18
/* 8029EC64 0029BBC4 81 07 00 00 */ lwz r8, 0(r7)
/* 8029EC68 0029BBC8 38 80 00 08 */ li r4, 8
/* 8029EC6C 0029BBCC 81 67 00 04 */ lwz r11, 4(r7)
/* 8029EC70 0029BBD0 38 C0 00 04 */ li r6, 4
/* 8029EC74 0029BBD4 80 07 00 08 */ lwz r0, 8(r7)
/* 8029EC78 0029BBD8 38 E0 00 04 */ li r7, 4
/* 8029EC7C 0029BBDC 91 01 00 18 */ stw r8, 0x18(r1)
/* 8029EC80 0029BBE0 39 00 00 00 */ li r8, 0
/* 8029EC84 0029BBE4 39 20 00 00 */ li r9, 0
/* 8029EC88 0029BBE8 39 40 00 00 */ li r10, 0
/* 8029EC8C 0029BBEC 91 61 00 1C */ stw r11, 0x1c(r1)
/* 8029EC90 0029BBF0 90 01 00 20 */ stw r0, 0x20(r1)
/* 8029EC94 0029BBF4 4B E6 65 39 */ bl __ct__12CActorLightsFUi9CVector3fiif
/* 8029EC98 0029BBF8 7C 60 1B 78 */ mr r0, r3
lbl_8029EC9C:
/* 8029EC9C 0029BBFC 90 1F 00 18 */ stw r0, 0x18(r31)
/* 8029ECA0 0029BC00 38 80 00 00 */ li r4, 0
/* 8029ECA4 0029BC04 C0 02 C0 BC */ lfs f0, lbl_805ADDDC@sda21(r2)
/* 8029ECA8 0029BC08 7F E3 FB 78 */ mr r3, r31
/* 8029ECAC 0029BC0C D0 1F 00 1C */ stfs f0, 0x1c(r31)
/* 8029ECB0 0029BC10 88 1F 00 20 */ lbz r0, 0x20(r31)
/* 8029ECB4 0029BC14 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18
/* 8029ECB8 0029BC18 98 1F 00 20 */ stb r0, 0x20(r31)
/* 8029ECBC 0029BC1C 48 0A 20 C9 */ bl Lock__6CTokenFv
/* 8029ECC0 0029BC20 80 01 00 84 */ lwz r0, 0x84(r1)
/* 8029ECC4 0029BC24 7F E3 FB 78 */ mr r3, r31
/* 8029ECC8 0029BC28 83 E1 00 7C */ lwz r31, 0x7c(r1)
/* 8029ECCC 0029BC2C 7C 08 03 A6 */ mtlr r0
/* 8029ECD0 0029BC30 38 21 00 80 */ addi r1, r1, 0x80
/* 8029ECD4 0029BC34 4E 80 00 20 */ blr

1289
asm/Kyoto_CWD/CNESEmulator.s Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,448 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global GetBlurAmt__16CPauseScreenBlurCFv
GetBlurAmt__16CPauseScreenBlurCFv:
/* 8025D5B4 0025A514 C0 03 00 18 */ lfs f0, 0x18(r3)
/* 8025D5B8 0025A518 FC 00 02 10 */ fabs f0, f0
/* 8025D5BC 0025A51C FC 20 00 18 */ frsp f1, f0
/* 8025D5C0 0025A520 4E 80 00 20 */ blr
.global SetState__16CPauseScreenBlurFQ216CPauseScreenBlur6EState
SetState__16CPauseScreenBlurFQ216CPauseScreenBlur6EState:
/* 8025D5C4 0025A524 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8025D5C8 0025A528 7C 08 02 A6 */ mflr r0
/* 8025D5CC 0025A52C 90 01 00 24 */ stw r0, 0x24(r1)
/* 8025D5D0 0025A530 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8025D5D4 0025A534 7C 9F 23 78 */ mr r31, r4
/* 8025D5D8 0025A538 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8025D5DC 0025A53C 7C 7E 1B 78 */ mr r30, r3
/* 8025D5E0 0025A540 80 03 00 10 */ lwz r0, 0x10(r3)
/* 8025D5E4 0025A544 2C 00 00 00 */ cmpwi r0, 0
/* 8025D5E8 0025A548 41 82 00 0C */ beq lbl_8025D5F4
/* 8025D5EC 0025A54C 41 80 00 7C */ blt lbl_8025D668
/* 8025D5F0 0025A550 48 00 00 78 */ b lbl_8025D668
lbl_8025D5F4:
/* 8025D5F4 0025A554 2C 1F 00 00 */ cmpwi r31, 0
/* 8025D5F8 0025A558 41 82 00 70 */ beq lbl_8025D668
/* 8025D5FC 0025A55C 38 60 00 02 */ li r3, 2
/* 8025D600 0025A560 48 08 C2 B5 */ bl SetChannel__11CSfxManagerFQ211CSfxManager12ESfxChannels
/* 8025D604 0025A564 2C 1F 00 03 */ cmpwi r31, 3
/* 8025D608 0025A568 40 82 00 2C */ bne lbl_8025D634
/* 8025D60C 0025A56C A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2)
/* 8025D610 0025A570 38 61 00 14 */ addi r3, r1, 0x14
/* 8025D614 0025A574 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2)
/* 8025D618 0025A578 38 80 05 87 */ li r4, 0x587
/* 8025D61C 0025A57C 38 A0 00 7F */ li r5, 0x7f
/* 8025D620 0025A580 38 C0 00 40 */ li r6, 0x40
/* 8025D624 0025A584 38 E0 00 00 */ li r7, 0
/* 8025D628 0025A588 39 20 00 00 */ li r9, 0
/* 8025D62C 0025A58C 48 08 C7 49 */ bl SfxStart__11CSfxManagerFUsssbsbi
/* 8025D630 0025A590 48 00 00 30 */ b lbl_8025D660
lbl_8025D634:
/* 8025D634 0025A594 2C 1F 00 01 */ cmpwi r31, 1
/* 8025D638 0025A598 40 82 00 28 */ bne lbl_8025D660
/* 8025D63C 0025A59C A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2)
/* 8025D640 0025A5A0 38 61 00 10 */ addi r3, r1, 0x10
/* 8025D644 0025A5A4 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2)
/* 8025D648 0025A5A8 38 80 05 62 */ li r4, 0x562
/* 8025D64C 0025A5AC 38 A0 00 7F */ li r5, 0x7f
/* 8025D650 0025A5B0 38 C0 00 40 */ li r6, 0x40
/* 8025D654 0025A5B4 38 E0 00 00 */ li r7, 0
/* 8025D658 0025A5B8 39 20 00 00 */ li r9, 0
/* 8025D65C 0025A5BC 48 08 C7 19 */ bl SfxStart__11CSfxManagerFUsssbsbi
lbl_8025D660:
/* 8025D660 0025A5C0 C0 02 BA 10 */ lfs f0, lbl_805AD730@sda21(r2)
/* 8025D664 0025A5C4 D0 1E 00 18 */ stfs f0, 0x18(r30)
lbl_8025D668:
/* 8025D668 0025A5C8 2C 1F 00 00 */ cmpwi r31, 0
/* 8025D66C 0025A5CC 41 82 00 0C */ beq lbl_8025D678
/* 8025D670 0025A5D0 41 80 00 A0 */ blt lbl_8025D710
/* 8025D674 0025A5D4 48 00 00 9C */ b lbl_8025D710
lbl_8025D678:
/* 8025D678 0025A5D8 80 1E 00 10 */ lwz r0, 0x10(r30)
/* 8025D67C 0025A5DC 38 60 00 01 */ li r3, 1
/* 8025D680 0025A5E0 2C 00 00 00 */ cmpwi r0, 0
/* 8025D684 0025A5E4 40 82 00 14 */ bne lbl_8025D698
/* 8025D688 0025A5E8 80 1E 00 14 */ lwz r0, 0x14(r30)
/* 8025D68C 0025A5EC 2C 00 00 00 */ cmpwi r0, 0
/* 8025D690 0025A5F0 40 82 00 08 */ bne lbl_8025D698
/* 8025D694 0025A5F4 38 60 00 00 */ li r3, 0
lbl_8025D698:
/* 8025D698 0025A5F8 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8025D69C 0025A5FC 41 82 00 74 */ beq lbl_8025D710
/* 8025D6A0 0025A600 38 60 00 01 */ li r3, 1
/* 8025D6A4 0025A604 48 08 C2 11 */ bl SetChannel__11CSfxManagerFQ211CSfxManager12ESfxChannels
/* 8025D6A8 0025A608 80 1E 00 10 */ lwz r0, 0x10(r30)
/* 8025D6AC 0025A60C 2C 00 00 03 */ cmpwi r0, 3
/* 8025D6B0 0025A610 40 82 00 2C */ bne lbl_8025D6DC
/* 8025D6B4 0025A614 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2)
/* 8025D6B8 0025A618 38 61 00 0C */ addi r3, r1, 0xc
/* 8025D6BC 0025A61C 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2)
/* 8025D6C0 0025A620 38 80 05 88 */ li r4, 0x588
/* 8025D6C4 0025A624 38 A0 00 7F */ li r5, 0x7f
/* 8025D6C8 0025A628 38 C0 00 40 */ li r6, 0x40
/* 8025D6CC 0025A62C 38 E0 00 00 */ li r7, 0
/* 8025D6D0 0025A630 39 20 00 00 */ li r9, 0
/* 8025D6D4 0025A634 48 08 C6 A1 */ bl SfxStart__11CSfxManagerFUsssbsbi
/* 8025D6D8 0025A638 48 00 00 30 */ b lbl_8025D708
lbl_8025D6DC:
/* 8025D6DC 0025A63C 2C 00 00 01 */ cmpwi r0, 1
/* 8025D6E0 0025A640 40 82 00 28 */ bne lbl_8025D708
/* 8025D6E4 0025A644 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2)
/* 8025D6E8 0025A648 38 61 00 08 */ addi r3, r1, 8
/* 8025D6EC 0025A64C 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2)
/* 8025D6F0 0025A650 38 80 05 64 */ li r4, 0x564
/* 8025D6F4 0025A654 38 A0 00 7F */ li r5, 0x7f
/* 8025D6F8 0025A658 38 C0 00 40 */ li r6, 0x40
/* 8025D6FC 0025A65C 38 E0 00 00 */ li r7, 0
/* 8025D700 0025A660 39 20 00 00 */ li r9, 0
/* 8025D704 0025A664 48 08 C6 71 */ bl SfxStart__11CSfxManagerFUsssbsbi
lbl_8025D708:
/* 8025D708 0025A668 C0 02 BA 14 */ lfs f0, lbl_805AD734@sda21(r2)
/* 8025D70C 0025A66C D0 1E 00 18 */ stfs f0, 0x18(r30)
lbl_8025D710:
/* 8025D710 0025A670 93 FE 00 14 */ stw r31, 0x14(r30)
/* 8025D714 0025A674 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8025D718 0025A678 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8025D71C 0025A67C 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8025D720 0025A680 7C 08 03 A6 */ mtlr r0
/* 8025D724 0025A684 38 21 00 20 */ addi r1, r1, 0x20
/* 8025D728 0025A688 4E 80 00 20 */ blr
.global sub_8025d72c
sub_8025d72c:
/* 8025D72C 0025A68C 80 03 00 14 */ lwz r0, 0x14(r3)
/* 8025D730 0025A690 2C 00 00 00 */ cmpwi r0, 0
/* 8025D734 0025A694 40 82 00 0C */ bne lbl_8025D740
/* 8025D738 0025A698 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 8025D73C 0025A69C 4D 82 00 20 */ beqlr
lbl_8025D740:
/* 8025D740 0025A6A0 80 03 00 14 */ lwz r0, 0x14(r3)
/* 8025D744 0025A6A4 90 03 00 10 */ stw r0, 0x10(r3)
/* 8025D748 0025A6A8 80 03 00 10 */ lwz r0, 0x10(r3)
/* 8025D74C 0025A6AC 2C 00 00 00 */ cmpwi r0, 0
/* 8025D750 0025A6B0 4C 82 00 20 */ bnelr
/* 8025D754 0025A6B4 88 03 00 50 */ lbz r0, 0x50(r3)
/* 8025D758 0025A6B8 38 80 00 01 */ li r4, 1
/* 8025D75C 0025A6BC 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19
/* 8025D760 0025A6C0 98 03 00 50 */ stb r0, 0x50(r3)
/* 8025D764 0025A6C4 4E 80 00 20 */ blr
.global Draw__16CPauseScreenBlurFRC13CStateManager
Draw__16CPauseScreenBlurFRC13CStateManager:
/* 8025D768 0025A6C8 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8025D76C 0025A6CC 7C 08 02 A6 */ mflr r0
/* 8025D770 0025A6D0 90 01 00 34 */ stw r0, 0x34(r1)
/* 8025D774 0025A6D4 DB E1 00 20 */ stfd f31, 0x20(r1)
/* 8025D778 0025A6D8 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0
/* 8025D77C 0025A6DC 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8025D780 0025A6E0 7C 7F 1B 78 */ mr r31, r3
/* 8025D784 0025A6E4 38 7F 00 1C */ addi r3, r31, 0x1c
/* 8025D788 0025A6E8 4B E8 D3 01 */ bl Draw__15CCameraBlurPassCFv
/* 8025D78C 0025A6EC 48 0A F1 F1 */ bl DisableAllLights__9CGraphicsFv
/* 8025D790 0025A6F0 38 00 FF FF */ li r0, -1
/* 8025D794 0025A6F4 38 61 00 14 */ addi r3, r1, 0x14
/* 8025D798 0025A6F8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8025D79C 0025A6FC 48 0A E8 81 */ bl SetAmbientColor__9CGraphicsFRC6CColor
/* 8025D7A0 0025A700 C0 1F 00 18 */ lfs f0, 0x18(r31)
/* 8025D7A4 0025A704 80 1F 00 2C */ lwz r0, 0x2c(r31)
/* 8025D7A8 0025A708 FC 00 02 10 */ fabs f0, f0
/* 8025D7AC 0025A70C 2C 00 00 00 */ cmpwi r0, 0
/* 8025D7B0 0025A710 FF E0 00 18 */ frsp f31, f0
/* 8025D7B4 0025A714 41 82 00 74 */ beq lbl_8025D828
/* 8025D7B8 0025A718 48 0E C7 F5 */ bl White__6CColorFv
/* 8025D7BC 0025A71C 80 AD A1 3C */ lwz r5, gpTweakGuiColors@sda21(r13)
/* 8025D7C0 0025A720 FC 20 F8 90 */ fmr f1, f31
/* 8025D7C4 0025A724 7C 64 1B 78 */ mr r4, r3
/* 8025D7C8 0025A728 38 61 00 10 */ addi r3, r1, 0x10
/* 8025D7CC 0025A72C 38 A5 00 04 */ addi r5, r5, 4
/* 8025D7D0 0025A730 48 10 5A DD */ bl Lerp__6CColorFRC6CColorRC6CColorf
/* 8025D7D4 0025A734 FC 20 F8 90 */ fmr f1, f31
/* 8025D7D8 0025A738 80 DF 00 0C */ lwz r6, 0xc(r31)
/* 8025D7DC 0025A73C 38 A1 00 10 */ addi r5, r1, 0x10
/* 8025D7E0 0025A740 38 60 00 01 */ li r3, 1
/* 8025D7E4 0025A744 38 80 00 03 */ li r4, 3
/* 8025D7E8 0025A748 4B E8 E9 61 */ bl DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef
/* 8025D7EC 0025A74C 3C 60 C0 C1 */ lis r3, 0xC0C0C0FF@ha
/* 8025D7F0 0025A750 38 03 C0 FF */ addi r0, r3, 0xC0C0C0FF@l
/* 8025D7F4 0025A754 90 01 00 08 */ stw r0, 8(r1)
/* 8025D7F8 0025A758 48 0E C7 B5 */ bl White__6CColorFv
/* 8025D7FC 0025A75C FC 20 F8 90 */ fmr f1, f31
/* 8025D800 0025A760 7C 64 1B 78 */ mr r4, r3
/* 8025D804 0025A764 38 61 00 0C */ addi r3, r1, 0xc
/* 8025D808 0025A768 38 A1 00 08 */ addi r5, r1, 8
/* 8025D80C 0025A76C 48 10 5A A1 */ bl Lerp__6CColorFRC6CColorRC6CColorf
/* 8025D810 0025A770 FC 20 F8 90 */ fmr f1, f31
/* 8025D814 0025A774 38 A1 00 0C */ addi r5, r1, 0xc
/* 8025D818 0025A778 38 60 00 01 */ li r3, 1
/* 8025D81C 0025A77C 38 80 00 05 */ li r4, 5
/* 8025D820 0025A780 38 C0 00 00 */ li r6, 0
/* 8025D824 0025A784 4B E8 E9 25 */ bl DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef
lbl_8025D828:
/* 8025D828 0025A788 88 9F 00 50 */ lbz r4, 0x50(r31)
/* 8025D82C 0025A78C 54 80 CF FF */ rlwinm. r0, r4, 0x19, 0x1f, 0x1f
/* 8025D830 0025A790 41 82 00 28 */ beq lbl_8025D858
/* 8025D834 0025A794 88 1F 00 49 */ lbz r0, 0x49(r31)
/* 8025D838 0025A798 28 00 00 00 */ cmplwi r0, 0
/* 8025D83C 0025A79C 41 82 00 1C */ beq lbl_8025D858
/* 8025D840 0025A7A0 38 60 00 00 */ li r3, 0
/* 8025D844 0025A7A4 50 64 3E 30 */ rlwimi r4, r3, 7, 0x18, 0x18
/* 8025D848 0025A7A8 98 9F 00 50 */ stb r4, 0x50(r31)
/* 8025D84C 0025A7AC 88 1F 00 50 */ lbz r0, 0x50(r31)
/* 8025D850 0025A7B0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19
/* 8025D854 0025A7B4 98 1F 00 50 */ stb r0, 0x50(r31)
lbl_8025D858:
/* 8025D858 0025A7B8 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0
/* 8025D85C 0025A7BC 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8025D860 0025A7C0 CB E1 00 20 */ lfd f31, 0x20(r1)
/* 8025D864 0025A7C4 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8025D868 0025A7C8 7C 08 03 A6 */ mtlr r0
/* 8025D86C 0025A7CC 38 21 00 30 */ addi r1, r1, 0x30
/* 8025D870 0025A7D0 4E 80 00 20 */ blr
.global Update__16CPauseScreenBlurfRC13CStateManagerb
Update__16CPauseScreenBlurfRC13CStateManagerb:
/* 8025D874 0025A7D4 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8025D878 0025A7D8 7C 08 02 A6 */ mflr r0
/* 8025D87C 0025A7DC 90 01 00 24 */ stw r0, 0x24(r1)
/* 8025D880 0025A7E0 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8025D884 0025A7E4 7C BF 2B 78 */ mr r31, r5
/* 8025D888 0025A7E8 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8025D88C 0025A7EC 7C 7E 1B 78 */ mr r30, r3
/* 8025D890 0025A7F0 80 63 00 10 */ lwz r3, 0x10(r3)
/* 8025D894 0025A7F4 80 1E 00 14 */ lwz r0, 0x14(r30)
/* 8025D898 0025A7F8 7C 03 00 00 */ cmpw r3, r0
/* 8025D89C 0025A7FC 41 82 00 F8 */ beq lbl_8025D994
/* 8025D8A0 0025A800 C0 7E 00 18 */ lfs f3, 0x18(r30)
/* 8025D8A4 0025A804 C0 02 BA 18 */ lfs f0, lbl_805AD738@sda21(r2)
/* 8025D8A8 0025A808 FC 03 00 40 */ fcmpo cr0, f3, f0
/* 8025D8AC 0025A80C 40 80 00 34 */ bge lbl_8025D8E0
/* 8025D8B0 0025A810 C0 42 BA 1C */ lfs f2, lbl_805AD73C@sda21(r2)
/* 8025D8B4 0025A814 C0 0D 97 D8 */ lfs f0, lbl_805A8398@sda21(r13)
/* 8025D8B8 0025A818 EC 22 18 7A */ fmadds f1, f2, f1, f3
/* 8025D8BC 0025A81C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8025D8C0 0025A820 D0 21 00 0C */ stfs f1, 0xc(r1)
/* 8025D8C4 0025A824 40 80 00 0C */ bge lbl_8025D8D0
/* 8025D8C8 0025A828 38 61 00 0C */ addi r3, r1, 0xc
/* 8025D8CC 0025A82C 48 00 00 08 */ b lbl_8025D8D4
lbl_8025D8D0:
/* 8025D8D0 0025A830 38 6D 97 D8 */ addi r3, r13, lbl_805A8398@sda21
lbl_8025D8D4:
/* 8025D8D4 0025A834 C0 03 00 00 */ lfs f0, 0(r3)
/* 8025D8D8 0025A838 D0 1E 00 18 */ stfs f0, 0x18(r30)
/* 8025D8DC 0025A83C 48 00 00 34 */ b lbl_8025D910
lbl_8025D8E0:
/* 8025D8E0 0025A840 40 81 00 30 */ ble lbl_8025D910
/* 8025D8E4 0025A844 C0 42 BA 1C */ lfs f2, lbl_805AD73C@sda21(r2)
/* 8025D8E8 0025A848 C0 0D 97 DC */ lfs f0, lbl_805A839C@sda21(r13)
/* 8025D8EC 0025A84C EC 22 18 7A */ fmadds f1, f2, f1, f3
/* 8025D8F0 0025A850 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8025D8F4 0025A854 D0 21 00 08 */ stfs f1, 8(r1)
/* 8025D8F8 0025A858 40 80 00 0C */ bge lbl_8025D904
/* 8025D8FC 0025A85C 38 61 00 08 */ addi r3, r1, 8
/* 8025D900 0025A860 48 00 00 08 */ b lbl_8025D908
lbl_8025D904:
/* 8025D904 0025A864 38 6D 97 DC */ addi r3, r13, lbl_805A839C@sda21
lbl_8025D908:
/* 8025D908 0025A868 C0 03 00 00 */ lfs f0, 0(r3)
/* 8025D90C 0025A86C D0 1E 00 18 */ stfs f0, 0x18(r30)
lbl_8025D910:
/* 8025D910 0025A870 C0 02 BA 18 */ lfs f0, lbl_805AD738@sda21(r2)
/* 8025D914 0025A874 C0 3E 00 18 */ lfs f1, 0x18(r30)
/* 8025D918 0025A878 FC 00 08 00 */ fcmpu cr0, f0, f1
/* 8025D91C 0025A87C 41 82 00 10 */ beq lbl_8025D92C
/* 8025D920 0025A880 C0 02 BA 20 */ lfs f0, lbl_805AD740@sda21(r2)
/* 8025D924 0025A884 FC 00 08 00 */ fcmpu cr0, f0, f1
/* 8025D928 0025A888 40 82 00 10 */ bne lbl_8025D938
lbl_8025D92C:
/* 8025D92C 0025A88C 7F C3 F3 78 */ mr r3, r30
/* 8025D930 0025A890 7F E4 FB 78 */ mr r4, r31
/* 8025D934 0025A894 4B FF FD F9 */ bl sub_8025d72c
lbl_8025D938:
/* 8025D938 0025A898 C0 22 BA 18 */ lfs f1, lbl_805AD738@sda21(r2)
/* 8025D93C 0025A89C C0 1E 00 18 */ lfs f0, 0x18(r30)
/* 8025D940 0025A8A0 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 8025D944 0025A8A4 40 82 00 18 */ bne lbl_8025D95C
/* 8025D948 0025A8A8 57 E0 06 3F */ clrlwi. r0, r31, 0x18
/* 8025D94C 0025A8AC 41 82 00 10 */ beq lbl_8025D95C
/* 8025D950 0025A8B0 38 7E 00 1C */ addi r3, r30, 0x1c
/* 8025D954 0025A8B4 4B E8 E0 21 */ bl DisableBlur__15CCameraBlurPassFf
/* 8025D958 0025A8B8 48 00 00 3C */ b lbl_8025D994
lbl_8025D95C:
/* 8025D95C 0025A8BC FC 00 02 10 */ fabs f0, f0
/* 8025D960 0025A8C0 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13)
/* 8025D964 0025A8C4 C0 42 BA 18 */ lfs f2, lbl_805AD738@sda21(r2)
/* 8025D968 0025A8C8 38 7E 00 1C */ addi r3, r30, 0x1c
/* 8025D96C 0025A8CC C0 24 00 0C */ lfs f1, 0xc(r4)
/* 8025D970 0025A8D0 38 80 00 02 */ li r4, 2
/* 8025D974 0025A8D4 FC 00 00 18 */ frsp f0, f0
/* 8025D978 0025A8D8 38 A0 00 01 */ li r5, 1
/* 8025D97C 0025A8DC EC 21 00 32 */ fmuls f1, f1, f0
/* 8025D980 0025A8E0 4B E8 E0 25 */ bl SetBlur__15CCameraBlurPassFQ215CCameraBlurPass9EBlurTypeffb
/* 8025D984 0025A8E4 88 1E 00 50 */ lbz r0, 0x50(r30)
/* 8025D988 0025A8E8 38 60 00 01 */ li r3, 1
/* 8025D98C 0025A8EC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 8025D990 0025A8F0 98 1E 00 50 */ stb r0, 0x50(r30)
lbl_8025D994:
/* 8025D994 0025A8F4 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8025D998 0025A8F8 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8025D99C 0025A8FC 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8025D9A0 0025A900 7C 08 03 A6 */ mtlr r0
/* 8025D9A4 0025A904 38 21 00 20 */ addi r1, r1, 0x20
/* 8025D9A8 0025A908 4E 80 00 20 */ blr
.global OnNewInGameGuiState__16CPauseScreenBlurF15EInGameGuiStateR13CStateManager
OnNewInGameGuiState__16CPauseScreenBlurF15EInGameGuiStateR13CStateManager:
/* 8025D9AC 0025A90C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8025D9B0 0025A910 7C 08 02 A6 */ mflr r0
/* 8025D9B4 0025A914 2C 04 00 00 */ cmpwi r4, 0
/* 8025D9B8 0025A918 90 01 00 14 */ stw r0, 0x14(r1)
/* 8025D9BC 0025A91C 38 00 00 00 */ li r0, 0
/* 8025D9C0 0025A920 41 80 00 10 */ blt lbl_8025D9D0
/* 8025D9C4 0025A924 2C 04 00 01 */ cmpwi r4, 1
/* 8025D9C8 0025A928 41 81 00 08 */ bgt lbl_8025D9D0
/* 8025D9CC 0025A92C 38 00 00 01 */ li r0, 1
lbl_8025D9D0:
/* 8025D9D0 0025A930 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 8025D9D4 0025A934 41 82 00 10 */ beq lbl_8025D9E4
/* 8025D9D8 0025A938 38 80 00 00 */ li r4, 0
/* 8025D9DC 0025A93C 4B FF FB E9 */ bl SetState__16CPauseScreenBlurFQ216CPauseScreenBlur6EState
/* 8025D9E0 0025A940 48 00 00 58 */ b lbl_8025DA38
lbl_8025D9E4:
/* 8025D9E4 0025A944 2C 04 00 05 */ cmpwi r4, 5
/* 8025D9E8 0025A948 41 82 00 30 */ beq lbl_8025DA18
/* 8025D9EC 0025A94C 40 80 00 14 */ bge lbl_8025DA00
/* 8025D9F0 0025A950 2C 04 00 02 */ cmpwi r4, 2
/* 8025D9F4 0025A954 41 82 00 18 */ beq lbl_8025DA0C
/* 8025D9F8 0025A958 40 80 00 38 */ bge lbl_8025DA30
/* 8025D9FC 0025A95C 48 00 00 3C */ b lbl_8025DA38
lbl_8025DA00:
/* 8025DA00 0025A960 2C 04 00 07 */ cmpwi r4, 7
/* 8025DA04 0025A964 40 80 00 34 */ bge lbl_8025DA38
/* 8025DA08 0025A968 48 00 00 1C */ b lbl_8025DA24
lbl_8025DA0C:
/* 8025DA0C 0025A96C 38 80 00 01 */ li r4, 1
/* 8025DA10 0025A970 4B FF FB B5 */ bl SetState__16CPauseScreenBlurFQ216CPauseScreenBlur6EState
/* 8025DA14 0025A974 48 00 00 24 */ b lbl_8025DA38
lbl_8025DA18:
/* 8025DA18 0025A978 38 80 00 02 */ li r4, 2
/* 8025DA1C 0025A97C 4B FF FB A9 */ bl SetState__16CPauseScreenBlurFQ216CPauseScreenBlur6EState
/* 8025DA20 0025A980 48 00 00 18 */ b lbl_8025DA38
lbl_8025DA24:
/* 8025DA24 0025A984 38 80 00 03 */ li r4, 3
/* 8025DA28 0025A988 4B FF FB 9D */ bl SetState__16CPauseScreenBlurFQ216CPauseScreenBlur6EState
/* 8025DA2C 0025A98C 48 00 00 0C */ b lbl_8025DA38
lbl_8025DA30:
/* 8025DA30 0025A990 38 80 00 04 */ li r4, 4
/* 8025DA34 0025A994 4B FF FB 91 */ bl SetState__16CPauseScreenBlurFQ216CPauseScreenBlur6EState
lbl_8025DA38:
/* 8025DA38 0025A998 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8025DA3C 0025A99C 7C 08 03 A6 */ mtlr r0
/* 8025DA40 0025A9A0 38 21 00 10 */ addi r1, r1, 0x10
/* 8025DA44 0025A9A4 4E 80 00 20 */ blr
.global __dt__16CPauseScreenBlurFv
__dt__16CPauseScreenBlurFv:
/* 8025DA48 0025A9A8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8025DA4C 0025A9AC 7C 08 02 A6 */ mflr r0
/* 8025DA50 0025A9B0 90 01 00 14 */ stw r0, 0x14(r1)
/* 8025DA54 0025A9B4 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8025DA58 0025A9B8 7C 9F 23 78 */ mr r31, r4
/* 8025DA5C 0025A9BC 93 C1 00 08 */ stw r30, 8(r1)
/* 8025DA60 0025A9C0 7C 7E 1B 79 */ or. r30, r3, r3
/* 8025DA64 0025A9C4 41 82 00 78 */ beq lbl_8025DADC
/* 8025DA68 0025A9C8 3C 60 80 3F */ lis r3, lbl_803E9A00@ha
/* 8025DA6C 0025A9CC 34 1E 00 1C */ addic. r0, r30, 0x1c
/* 8025DA70 0025A9D0 38 03 9A 00 */ addi r0, r3, lbl_803E9A00@l
/* 8025DA74 0025A9D4 90 1E 00 00 */ stw r0, 0(r30)
/* 8025DA78 0025A9D8 41 82 00 38 */ beq lbl_8025DAB0
/* 8025DA7C 0025A9DC 34 1E 00 1C */ addic. r0, r30, 0x1c
/* 8025DA80 0025A9E0 41 82 00 30 */ beq lbl_8025DAB0
/* 8025DA84 0025A9E4 88 1E 00 28 */ lbz r0, 0x28(r30)
/* 8025DA88 0025A9E8 28 00 00 00 */ cmplwi r0, 0
/* 8025DA8C 0025A9EC 41 82 00 1C */ beq lbl_8025DAA8
/* 8025DA90 0025A9F0 34 7E 00 1C */ addic. r3, r30, 0x1c
/* 8025DA94 0025A9F4 41 82 00 14 */ beq lbl_8025DAA8
/* 8025DA98 0025A9F8 28 03 00 00 */ cmplwi r3, 0
/* 8025DA9C 0025A9FC 41 82 00 0C */ beq lbl_8025DAA8
/* 8025DAA0 0025AA00 38 80 00 00 */ li r4, 0
/* 8025DAA4 0025AA04 48 0E 33 9D */ bl __dt__6CTokenFv
lbl_8025DAA8:
/* 8025DAA8 0025AA08 38 00 00 00 */ li r0, 0
/* 8025DAAC 0025AA0C 98 1E 00 28 */ stb r0, 0x28(r30)
lbl_8025DAB0:
/* 8025DAB0 0025AA10 34 1E 00 04 */ addic. r0, r30, 4
/* 8025DAB4 0025AA14 41 82 00 18 */ beq lbl_8025DACC
/* 8025DAB8 0025AA18 34 1E 00 04 */ addic. r0, r30, 4
/* 8025DABC 0025AA1C 41 82 00 10 */ beq lbl_8025DACC
/* 8025DAC0 0025AA20 38 7E 00 04 */ addi r3, r30, 4
/* 8025DAC4 0025AA24 38 80 00 00 */ li r4, 0
/* 8025DAC8 0025AA28 48 0E 33 79 */ bl __dt__6CTokenFv
lbl_8025DACC:
/* 8025DACC 0025AA2C 7F E0 07 35 */ extsh. r0, r31
/* 8025DAD0 0025AA30 40 81 00 0C */ ble lbl_8025DADC
/* 8025DAD4 0025AA34 7F C3 F3 78 */ mr r3, r30
/* 8025DAD8 0025AA38 48 0B 7E 59 */ bl Free__7CMemoryFPCv
lbl_8025DADC:
/* 8025DADC 0025AA3C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8025DAE0 0025AA40 7F C3 F3 78 */ mr r3, r30
/* 8025DAE4 0025AA44 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8025DAE8 0025AA48 83 C1 00 08 */ lwz r30, 8(r1)
/* 8025DAEC 0025AA4C 7C 08 03 A6 */ mtlr r0
/* 8025DAF0 0025AA50 38 21 00 10 */ addi r1, r1, 0x10
/* 8025DAF4 0025AA54 4E 80 00 20 */ blr
.global __ct__16CPauseScreenBlurFv
__ct__16CPauseScreenBlurFv:
/* 8025DAF8 0025AA58 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8025DAFC 0025AA5C 7C 08 02 A6 */ mflr r0
/* 8025DB00 0025AA60 3C 80 80 3F */ lis r4, lbl_803E9A00@ha
/* 8025DB04 0025AA64 90 01 00 24 */ stw r0, 0x24(r1)
/* 8025DB08 0025AA68 38 04 9A 00 */ addi r0, r4, lbl_803E9A00@l
/* 8025DB0C 0025AA6C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8025DB10 0025AA70 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8025DB14 0025AA74 7C 7E 1B 78 */ mr r30, r3
/* 8025DB18 0025AA78 3C 60 80 3D */ lis r3, lbl_803D5240@ha
/* 8025DB1C 0025AA7C 90 1E 00 00 */ stw r0, 0(r30)
/* 8025DB20 0025AA80 38 A3 52 40 */ addi r5, r3, lbl_803D5240@l
/* 8025DB24 0025AA84 38 61 00 08 */ addi r3, r1, 8
/* 8025DB28 0025AA88 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 8025DB2C 0025AA8C 81 84 00 00 */ lwz r12, 0(r4)
/* 8025DB30 0025AA90 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 8025DB34 0025AA94 7D 89 03 A6 */ mtctr r12
/* 8025DB38 0025AA98 4E 80 04 21 */ bctrl
/* 8025DB3C 0025AA9C 3B FE 00 04 */ addi r31, r30, 4
/* 8025DB40 0025AAA0 38 81 00 08 */ addi r4, r1, 8
/* 8025DB44 0025AAA4 7F E3 FB 78 */ mr r3, r31
/* 8025DB48 0025AAA8 48 0E 33 61 */ bl __ct__6CTokenFRC6CToken
/* 8025DB4C 0025AAAC 7F E3 FB 78 */ mr r3, r31
/* 8025DB50 0025AAB0 48 0E 32 BD */ bl GetObj__6CTokenFv
/* 8025DB54 0025AAB4 80 03 00 04 */ lwz r0, 4(r3)
/* 8025DB58 0025AAB8 38 61 00 08 */ addi r3, r1, 8
/* 8025DB5C 0025AABC 38 80 FF FF */ li r4, -1
/* 8025DB60 0025AAC0 90 1F 00 08 */ stw r0, 8(r31)
/* 8025DB64 0025AAC4 48 0E 32 DD */ bl __dt__6CTokenFv
/* 8025DB68 0025AAC8 38 00 00 00 */ li r0, 0
/* 8025DB6C 0025AACC C0 02 BA 18 */ lfs f0, lbl_805AD738@sda21(r2)
/* 8025DB70 0025AAD0 90 1E 00 10 */ stw r0, 0x10(r30)
/* 8025DB74 0025AAD4 38 7E 00 1C */ addi r3, r30, 0x1c
/* 8025DB78 0025AAD8 90 1E 00 14 */ stw r0, 0x14(r30)
/* 8025DB7C 0025AADC D0 1E 00 18 */ stfs f0, 0x18(r30)
/* 8025DB80 0025AAE0 4B E8 E4 BD */ bl __ct__15CCameraBlurPassFv
/* 8025DB84 0025AAE4 88 1E 00 50 */ lbz r0, 0x50(r30)
/* 8025DB88 0025AAE8 38 60 00 00 */ li r3, 0
/* 8025DB8C 0025AAEC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 8025DB90 0025AAF0 38 80 00 01 */ li r4, 1
/* 8025DB94 0025AAF4 98 1E 00 50 */ stb r0, 0x50(r30)
/* 8025DB98 0025AAF8 7F C3 F3 78 */ mr r3, r30
/* 8025DB9C 0025AAFC 88 1E 00 50 */ lbz r0, 0x50(r30)
/* 8025DBA0 0025AB00 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19
/* 8025DBA4 0025AB04 98 1E 00 50 */ stb r0, 0x50(r30)
/* 8025DBA8 0025AB08 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8025DBAC 0025AB0C 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8025DBB0 0025AB10 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8025DBB4 0025AB14 7C 08 03 A6 */ mtlr r0
/* 8025DBB8 0025AB18 38 21 00 20 */ addi r1, r1, 0x20
/* 8025DBBC 0025AB1C 4E 80 00 20 */ blr

View File

@ -0,0 +1,125 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global __dt__12CPreFrontEndFv
__dt__12CPreFrontEndFv:
/* 8029E4A4 0029B404 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8029E4A8 0029B408 7C 08 02 A6 */ mflr r0
/* 8029E4AC 0029B40C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8029E4B0 0029B410 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8029E4B4 0029B414 7C 9F 23 78 */ mr r31, r4
/* 8029E4B8 0029B418 93 C1 00 08 */ stw r30, 8(r1)
/* 8029E4BC 0029B41C 7C 7E 1B 79 */ or. r30, r3, r3
/* 8029E4C0 0029B420 41 82 00 28 */ beq lbl_8029E4E8
/* 8029E4C4 0029B424 3C A0 80 3F */ lis r5, lbl_803EC010@ha
/* 8029E4C8 0029B428 38 80 00 00 */ li r4, 0
/* 8029E4CC 0029B42C 38 05 C0 10 */ addi r0, r5, lbl_803EC010@l
/* 8029E4D0 0029B430 90 1E 00 00 */ stw r0, 0(r30)
/* 8029E4D4 0029B434 4B DB 46 D1 */ bl __dt__6CIOWinFv
/* 8029E4D8 0029B438 7F E0 07 35 */ extsh. r0, r31
/* 8029E4DC 0029B43C 40 81 00 0C */ ble lbl_8029E4E8
/* 8029E4E0 0029B440 7F C3 F3 78 */ mr r3, r30
/* 8029E4E4 0029B444 48 07 74 4D */ bl Free__7CMemoryFPCv
lbl_8029E4E8:
/* 8029E4E8 0029B448 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8029E4EC 0029B44C 7F C3 F3 78 */ mr r3, r30
/* 8029E4F0 0029B450 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8029E4F4 0029B454 83 C1 00 08 */ lwz r30, 8(r1)
/* 8029E4F8 0029B458 7C 08 03 A6 */ mtlr r0
/* 8029E4FC 0029B45C 38 21 00 10 */ addi r1, r1, 0x10
/* 8029E500 0029B460 4E 80 00 20 */ blr
.global Draw__12CPreFrontEndCFv
Draw__12CPreFrontEndCFv:
/* 8029E504 0029B464 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8029E508 0029B468 7C 08 02 A6 */ mflr r0
/* 8029E50C 0029B46C 38 60 00 01 */ li r3, 1
/* 8029E510 0029B470 90 01 00 14 */ stw r0, 0x14(r1)
/* 8029E514 0029B474 48 06 AF 95 */ bl SetIsBeginSceneClearFb__9CGraphicsFb
/* 8029E518 0029B478 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8029E51C 0029B47C 7C 08 03 A6 */ mtlr r0
/* 8029E520 0029B480 38 21 00 10 */ addi r1, r1, 0x10
/* 8029E524 0029B484 4E 80 00 20 */ blr
.global OnIOWinMessage__12CPreFrontEndFRC20CArchitectureMessage
OnIOWinMessage__12CPreFrontEndFRC20CArchitectureMessage:
/* 8029E528 0029B488 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8029E52C 0029B48C 7C 08 02 A6 */ mflr r0
/* 8029E530 0029B490 90 01 00 14 */ stw r0, 0x14(r1)
/* 8029E534 0029B494 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8029E538 0029B498 7C 7F 1B 78 */ mr r31, r3
/* 8029E53C 0029B49C 80 04 00 04 */ lwz r0, 4(r4)
/* 8029E540 0029B4A0 2C 00 00 04 */ cmpwi r0, 4
/* 8029E544 0029B4A4 40 82 00 84 */ bne lbl_8029E5C8
/* 8029E548 0029B4A8 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13)
/* 8029E54C 0029B4AC 38 63 00 04 */ addi r3, r3, 4
/* 8029E550 0029B4B0 48 09 D8 61 */ bl AreAllPaksLoaded__10CResLoaderCFv
/* 8029E554 0029B4B4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8029E558 0029B4B8 40 82 00 0C */ bne lbl_8029E564
/* 8029E55C 0029B4BC 38 60 00 01 */ li r3, 1
/* 8029E560 0029B4C0 48 00 00 6C */ b lbl_8029E5CC
lbl_8029E564:
/* 8029E564 0029B4C4 88 1F 00 14 */ lbz r0, 0x14(r31)
/* 8029E568 0029B4C8 28 00 00 00 */ cmplwi r0, 0
/* 8029E56C 0029B4CC 40 82 00 14 */ bne lbl_8029E580
/* 8029E570 0029B4D0 80 6D A0 78 */ lwz r3, gpMain@sda21(r13)
/* 8029E574 0029B4D4 4B D6 51 09 */ bl RegisterResourceTweaks__5CMainFv
/* 8029E578 0029B4D8 38 00 00 01 */ li r0, 1
/* 8029E57C 0029B4DC 98 1F 00 14 */ stb r0, 0x14(r31)
lbl_8029E580:
/* 8029E580 0029B4E0 3C 80 00 0F */ lis r4, 0x000F4240@ha
/* 8029E584 0029B4E4 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13)
/* 8029E588 0029B4E8 38 84 42 40 */ addi r4, r4, 0x000F4240@l
/* 8029E58C 0029B4EC 48 09 B6 45 */ bl AsyncIdle__11CResFactoryFUl
/* 8029E590 0029B4F0 80 6D A0 78 */ lwz r3, gpMain@sda21(r13)
/* 8029E594 0029B4F4 4B D6 80 A9 */ bl MemoryCardInitializePump__5CMainFv
/* 8029E598 0029B4F8 80 0D A0 84 */ lwz r0, gpMemoryCard@sda21(r13)
/* 8029E59C 0029B4FC 28 00 00 00 */ cmplwi r0, 0
/* 8029E5A0 0029B500 40 82 00 0C */ bne lbl_8029E5AC
/* 8029E5A4 0029B504 38 60 00 01 */ li r3, 1
/* 8029E5A8 0029B508 48 00 00 24 */ b lbl_8029E5CC
lbl_8029E5AC:
/* 8029E5AC 0029B50C 80 6D A0 78 */ lwz r3, gpMain@sda21(r13)
/* 8029E5B0 0029B510 4B D6 83 51 */ bl LoadAudio__5CMainFv
/* 8029E5B4 0029B514 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8029E5B8 0029B518 38 60 00 01 */ li r3, 1
/* 8029E5BC 0029B51C 41 82 00 10 */ beq lbl_8029E5CC
/* 8029E5C0 0029B520 38 60 00 02 */ li r3, 2
/* 8029E5C4 0029B524 48 00 00 08 */ b lbl_8029E5CC
lbl_8029E5C8:
/* 8029E5C8 0029B528 38 60 00 00 */ li r3, 0
lbl_8029E5CC:
/* 8029E5CC 0029B52C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8029E5D0 0029B530 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8029E5D4 0029B534 7C 08 03 A6 */ mtlr r0
/* 8029E5D8 0029B538 38 21 00 10 */ addi r1, r1, 0x10
/* 8029E5DC 0029B53C 4E 80 00 20 */ blr
.global __ct__12CPreFrontEndFv
__ct__12CPreFrontEndFv:
/* 8029E5E0 0029B540 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8029E5E4 0029B544 7C 08 02 A6 */ mflr r0
/* 8029E5E8 0029B548 3C 80 80 3D */ lis r4, lbl_803D5E80@ha
/* 8029E5EC 0029B54C 90 01 00 24 */ stw r0, 0x24(r1)
/* 8029E5F0 0029B550 38 84 5E 80 */ addi r4, r4, lbl_803D5E80@l
/* 8029E5F4 0029B554 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8029E5F8 0029B558 7C 7F 1B 78 */ mr r31, r3
/* 8029E5FC 0029B55C 38 61 00 08 */ addi r3, r1, 8
/* 8029E600 0029B560 4B D6 66 B9 */ bl string_l__4rstlFPCc
/* 8029E604 0029B564 7F E3 FB 78 */ mr r3, r31
/* 8029E608 0029B568 38 81 00 08 */ addi r4, r1, 8
/* 8029E60C 0029B56C 4B DB 46 01 */ bl "__ct__6CIOWinFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 8029E610 0029B570 38 61 00 08 */ addi r3, r1, 8
/* 8029E614 0029B574 48 09 F4 CD */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 8029E618 0029B578 3C 60 80 3F */ lis r3, lbl_803EC010@ha
/* 8029E61C 0029B57C 38 00 00 00 */ li r0, 0
/* 8029E620 0029B580 38 83 C0 10 */ addi r4, r3, lbl_803EC010@l
/* 8029E624 0029B584 7F E3 FB 78 */ mr r3, r31
/* 8029E628 0029B588 90 9F 00 00 */ stw r4, 0(r31)
/* 8029E62C 0029B58C 98 1F 00 14 */ stb r0, 0x14(r31)
/* 8029E630 0029B590 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8029E634 0029B594 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8029E638 0029B598 7C 08 03 A6 */ mtlr r0
/* 8029E63C 0029B59C 38 21 00 20 */ addi r1, r1, 0x20
/* 8029E640 0029B5A0 4E 80 00 20 */ blr

View File

@ -0,0 +1,931 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global sub_8029d6c8
sub_8029d6c8:
/* 8029D6C8 0029A628 38 00 00 00 */ li r0, 0
/* 8029D6CC 0029A62C 98 03 00 80 */ stb r0, 0x80(r3)
/* 8029D6D0 0029A630 4E 80 00 20 */ blr
.global Render__16CProjectedShadowFRC13CStateManager
Render__16CProjectedShadowFRC13CStateManager:
/* 8029D6D4 0029A634 94 21 F4 D0 */ stwu r1, -0xb30(r1)
/* 8029D6D8 0029A638 7C 08 02 A6 */ mflr r0
/* 8029D6DC 0029A63C 90 01 0B 34 */ stw r0, 0xb34(r1)
/* 8029D6E0 0029A640 DB E1 0B 20 */ stfd f31, 0xb20(r1)
/* 8029D6E4 0029A644 F3 E1 0B 28 */ psq_st f31, -1240(r1), 0, qr0
/* 8029D6E8 0029A648 DB C1 0B 10 */ stfd f30, 0xb10(r1)
/* 8029D6EC 0029A64C F3 C1 0B 18 */ psq_st f30, -1256(r1), 0, qr0
/* 8029D6F0 0029A650 BF 41 0A F8 */ stmw r26, 0xaf8(r1)
/* 8029D6F4 0029A654 7C 7E 1B 78 */ mr r30, r3
/* 8029D6F8 0029A658 7C 9F 23 78 */ mr r31, r4
/* 8029D6FC 0029A65C 88 03 00 80 */ lbz r0, 0x80(r3)
/* 8029D700 0029A660 28 00 00 00 */ cmplwi r0, 0
/* 8029D704 0029A664 41 82 05 70 */ beq lbl_8029DC74
/* 8029D708 0029A668 C0 2D 9A 20 */ lfs f1, lbl_805A85E0@sda21(r13)
/* 8029D70C 0029A66C C0 1E 00 84 */ lfs f0, 0x84(r30)
/* 8029D710 0029A670 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8029D714 0029A674 40 80 00 0C */ bge lbl_8029D720
/* 8029D718 0029A678 38 7E 00 84 */ addi r3, r30, 0x84
/* 8029D71C 0029A67C 48 00 00 08 */ b lbl_8029D724
lbl_8029D720:
/* 8029D720 0029A680 38 6D 9A 20 */ addi r3, r13, lbl_805A85E0@sda21
lbl_8029D724:
/* 8029D724 0029A684 C0 23 00 00 */ lfs f1, 0(r3)
/* 8029D728 0029A688 38 61 00 50 */ addi r3, r1, 0x50
/* 8029D72C 0029A68C 38 9E 00 68 */ addi r4, r30, 0x68
/* 8029D730 0029A690 38 BE 00 88 */ addi r5, r30, 0x88
/* 8029D734 0029A694 48 00 05 65 */ bl sub_8029dc98
/* 8029D738 0029A698 C0 A1 00 50 */ lfs f5, 0x50(r1)
/* 8029D73C 0029A69C 7F C3 F3 78 */ mr r3, r30
/* 8029D740 0029A6A0 C0 81 00 54 */ lfs f4, 0x54(r1)
/* 8029D744 0029A6A4 3B 81 00 8C */ addi r28, r1, 0x8c
/* 8029D748 0029A6A8 C0 61 00 58 */ lfs f3, 0x58(r1)
/* 8029D74C 0029A6AC 38 80 00 07 */ li r4, 7
/* 8029D750 0029A6B0 C0 41 00 5C */ lfs f2, 0x5c(r1)
/* 8029D754 0029A6B4 38 A0 00 00 */ li r5, 0
/* 8029D758 0029A6B8 C0 21 00 60 */ lfs f1, 0x60(r1)
/* 8029D75C 0029A6BC C0 01 00 64 */ lfs f0, 0x64(r1)
/* 8029D760 0029A6C0 D0 A1 00 80 */ stfs f5, 0x80(r1)
/* 8029D764 0029A6C4 D0 81 00 84 */ stfs f4, 0x84(r1)
/* 8029D768 0029A6C8 D0 61 00 88 */ stfs f3, 0x88(r1)
/* 8029D76C 0029A6CC D0 41 00 8C */ stfs f2, 0x8c(r1)
/* 8029D770 0029A6D0 D0 21 00 90 */ stfs f1, 0x90(r1)
/* 8029D774 0029A6D4 D0 01 00 94 */ stfs f0, 0x94(r1)
/* 8029D778 0029A6D8 48 07 1F C5 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode
/* 8029D77C 0029A6DC 48 06 F2 01 */ bl DisableAllLights__9CGraphicsFv
/* 8029D780 0029A6E0 88 1E 00 81 */ lbz r0, 0x81(r30)
/* 8029D784 0029A6E4 28 00 00 00 */ cmplwi r0, 0
/* 8029D788 0029A6E8 41 82 00 BC */ beq lbl_8029D844
/* 8029D78C 0029A6EC C0 22 C0 94 */ lfs f1, lbl_805ADDB4@sda21(r2)
/* 8029D790 0029A6F0 C0 1E 00 98 */ lfs f0, 0x98(r30)
/* 8029D794 0029A6F4 EF E1 00 32 */ fmuls f31, f1, f0
/* 8029D798 0029A6F8 F3 E1 A0 09 */ psq_st f31, 9(r1), 1, qr2
/* 8029D79C 0029A6FC 3C 60 80 5A */ lis r3, lbl_805A6700@ha
/* 8029D7A0 0029A700 38 83 67 00 */ addi r4, r3, lbl_805A6700@l
/* 8029D7A4 0029A704 38 A1 00 1C */ addi r5, r1, 0x1c
/* 8029D7A8 0029A708 88 01 00 09 */ lbz r0, 9(r1)
/* 8029D7AC 0029A70C 38 61 02 48 */ addi r3, r1, 0x248
/* 8029D7B0 0029A710 98 01 00 1C */ stb r0, 0x1c(r1)
/* 8029D7B4 0029A714 98 01 00 1D */ stb r0, 0x1d(r1)
/* 8029D7B8 0029A718 98 01 00 1E */ stb r0, 0x1e(r1)
/* 8029D7BC 0029A71C 98 01 00 1F */ stb r0, 0x1f(r1)
/* 8029D7C0 0029A720 48 06 8C AD */ bl BuildDirectional__6CLightFRC9CVector3fRC6CColor
/* 8029D7C4 0029A724 38 61 02 98 */ addi r3, r1, 0x298
/* 8029D7C8 0029A728 38 81 02 48 */ addi r4, r1, 0x248
/* 8029D7CC 0029A72C 4B D9 DD A5 */ bl __ct__6CLightFCR6CLight
/* 8029D7D0 0029A730 38 81 02 98 */ addi r4, r1, 0x298
/* 8029D7D4 0029A734 38 60 00 00 */ li r3, 0
/* 8029D7D8 0029A738 48 06 F1 ED */ bl LoadLight__9CGraphicsF9ERglLightRC6CLight
/* 8029D7DC 0029A73C 38 60 00 00 */ li r3, 0
/* 8029D7E0 0029A740 48 06 F5 51 */ bl EnableLight__9CGraphicsF9ERglLight
/* 8029D7E4 0029A744 80 02 D7 60 */ lwz r0, lbl_805AF480@sda21(r2)
/* 8029D7E8 0029A748 38 81 00 18 */ addi r4, r1, 0x18
/* 8029D7EC 0029A74C 38 60 00 00 */ li r3, 0
/* 8029D7F0 0029A750 90 01 00 18 */ stw r0, 0x18(r1)
/* 8029D7F4 0029A754 48 06 B5 D1 */ bl SetChanAmbColor__3CGXFQ23CGX10EChannelIdRC8_GXColor
/* 8029D7F8 0029A758 80 02 C0 90 */ lwz r0, lbl_805ADDB0@sda21(r2)
/* 8029D7FC 0029A75C 38 81 00 14 */ addi r4, r1, 0x14
/* 8029D800 0029A760 38 60 00 00 */ li r3, 0
/* 8029D804 0029A764 90 01 00 14 */ stw r0, 0x14(r1)
/* 8029D808 0029A768 48 06 B5 55 */ bl SetChanMatColor__3CGXFQ23CGX10EChannelIdRC8_GXColor
/* 8029D80C 0029A76C 38 60 00 00 */ li r3, 0
/* 8029D810 0029A770 48 06 B6 41 */ bl SetNumChans__3CGXFUc
/* 8029D814 0029A774 48 06 A7 D1 */ bl FlushState__3CGXFv
/* 8029D818 0029A778 38 60 00 02 */ li r3, 2
/* 8029D81C 0029A77C 38 80 00 01 */ li r4, 1
/* 8029D820 0029A780 38 A0 00 00 */ li r5, 0
/* 8029D824 0029A784 38 C0 00 00 */ li r6, 0
/* 8029D828 0029A788 38 E0 00 01 */ li r7, 1
/* 8029D82C 0029A78C 39 00 00 02 */ li r8, 2
/* 8029D830 0029A790 39 20 00 01 */ li r9, 1
/* 8029D834 0029A794 48 0D C3 41 */ bl GXSetChanCtrl
/* 8029D838 0029A798 38 60 00 01 */ li r3, 1
/* 8029D83C 0029A79C 48 0D C2 F5 */ bl GXSetNumChans
/* 8029D840 0029A7A0 48 00 00 0C */ b lbl_8029D84C
lbl_8029D844:
/* 8029D844 0029A7A4 38 60 00 00 */ li r3, 0
/* 8029D848 0029A7A8 48 06 B6 09 */ bl SetNumChans__3CGXFUc
lbl_8029D84C:
/* 8029D84C 0029A7AC 38 60 00 00 */ li r3, 0
/* 8029D850 0029A7B0 48 06 AE 41 */ bl SetNumIndStages__3CGXFUc
/* 8029D854 0029A7B4 38 60 00 00 */ li r3, 0
/* 8029D858 0029A7B8 48 06 AE ED */ bl SetTevDirect__3CGXF13_GXTevStageID
/* 8029D85C 0029A7BC 38 60 00 01 */ li r3, 1
/* 8029D860 0029A7C0 48 06 B4 31 */ bl SetNumTevStages__3CGXFUc
/* 8029D864 0029A7C4 38 60 00 01 */ li r3, 1
/* 8029D868 0029A7C8 48 06 B5 AD */ bl SetNumTexGens__3CGXFUc
/* 8029D86C 0029A7CC 38 60 00 00 */ li r3, 0
/* 8029D870 0029A7D0 38 80 00 0F */ li r4, 0xf
/* 8029D874 0029A7D4 38 A0 00 0F */ li r5, 0xf
/* 8029D878 0029A7D8 38 C0 00 0F */ li r6, 0xf
/* 8029D87C 0029A7DC 38 E0 00 0F */ li r7, 0xf
/* 8029D880 0029A7E0 48 06 B3 6D */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg
/* 8029D884 0029A7E4 88 1E 00 81 */ lbz r0, 0x81(r30)
/* 8029D888 0029A7E8 28 00 00 00 */ cmplwi r0, 0
/* 8029D88C 0029A7EC 41 82 00 34 */ beq lbl_8029D8C0
/* 8029D890 0029A7F0 38 60 00 00 */ li r3, 0
/* 8029D894 0029A7F4 38 80 00 07 */ li r4, 7
/* 8029D898 0029A7F8 38 A0 00 04 */ li r5, 4
/* 8029D89C 0029A7FC 38 C0 00 05 */ li r6, 5
/* 8029D8A0 0029A800 38 E0 00 07 */ li r7, 7
/* 8029D8A4 0029A804 48 06 B2 F1 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg
/* 8029D8A8 0029A808 38 60 00 00 */ li r3, 0
/* 8029D8AC 0029A80C 38 80 00 00 */ li r4, 0
/* 8029D8B0 0029A810 38 A0 00 07 */ li r5, 7
/* 8029D8B4 0029A814 38 C0 00 04 */ li r6, 4
/* 8029D8B8 0029A818 48 06 B0 95 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID
/* 8029D8BC 0029A81C 48 00 00 6C */ b lbl_8029D928
lbl_8029D8C0:
/* 8029D8C0 0029A820 38 60 00 00 */ li r3, 0
/* 8029D8C4 0029A824 38 80 00 07 */ li r4, 7
/* 8029D8C8 0029A828 38 A0 00 04 */ li r5, 4
/* 8029D8CC 0029A82C 38 C0 00 06 */ li r6, 6
/* 8029D8D0 0029A830 38 E0 00 07 */ li r7, 7
/* 8029D8D4 0029A834 48 06 B2 C1 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg
/* 8029D8D8 0029A838 38 60 00 00 */ li r3, 0
/* 8029D8DC 0029A83C 38 80 00 00 */ li r4, 0
/* 8029D8E0 0029A840 38 A0 00 07 */ li r5, 7
/* 8029D8E4 0029A844 38 C0 00 FF */ li r6, 0xff
/* 8029D8E8 0029A848 48 06 B0 65 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID
/* 8029D8EC 0029A84C C3 FE 00 98 */ lfs f31, 0x98(r30)
/* 8029D8F0 0029A850 48 0A C6 BD */ bl White__6CColorFv
/* 8029D8F4 0029A854 C0 02 C0 94 */ lfs f0, lbl_805ADDB4@sda21(r2)
/* 8029D8F8 0029A858 EF C0 07 F2 */ fmuls f30, f0, f31
/* 8029D8FC 0029A85C F3 C1 A0 08 */ psq_st f30, 8(r1), 1, qr2
/* 8029D900 0029A860 38 81 00 10 */ addi r4, r1, 0x10
/* 8029D904 0029A864 80 A3 00 00 */ lwz r5, 0(r3)
/* 8029D908 0029A868 38 60 00 00 */ li r3, 0
/* 8029D90C 0029A86C 88 01 00 08 */ lbz r0, 8(r1)
/* 8029D910 0029A870 50 A0 00 2E */ rlwimi r0, r5, 0, 0, 0x17
/* 8029D914 0029A874 90 01 00 10 */ stw r0, 0x10(r1)
/* 8029D918 0029A878 48 06 B3 2D */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor
/* 8029D91C 0029A87C 38 60 00 00 */ li r3, 0
/* 8029D920 0029A880 38 80 00 1C */ li r4, 0x1c
/* 8029D924 0029A884 48 06 B0 79 */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel
lbl_8029D928:
/* 8029D928 0029A888 38 60 00 00 */ li r3, 0
/* 8029D92C 0029A88C 48 06 A3 25 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID
/* 8029D930 0029A890 38 60 00 01 */ li r3, 1
/* 8029D934 0029A894 38 80 00 02 */ li r4, 2
/* 8029D938 0029A898 38 A0 00 00 */ li r5, 0
/* 8029D93C 0029A89C 48 06 AF 41 */ bl SetZMode__3CGXFb10_GXCompareb
/* 8029D940 0029A8A0 38 60 00 01 */ li r3, 1
/* 8029D944 0029A8A4 38 80 00 04 */ li r4, 4
/* 8029D948 0029A8A8 38 A0 00 05 */ li r5, 5
/* 8029D94C 0029A8AC 38 C0 00 00 */ li r6, 0
/* 8029D950 0029A8B0 48 06 AF 81 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp
/* 8029D954 0029A8B4 38 60 00 04 */ li r3, 4
/* 8029D958 0029A8B8 38 80 00 00 */ li r4, 0
/* 8029D95C 0029A8BC 38 A0 00 00 */ li r5, 0
/* 8029D960 0029A8C0 38 C0 00 07 */ li r6, 7
/* 8029D964 0029A8C4 38 E0 00 00 */ li r7, 0
/* 8029D968 0029A8C8 48 06 AE AD */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc
/* 8029D96C 0029A8CC 3C 60 80 3D */ lis r3, lbl_803D5E50@ha
/* 8029D970 0029A8D0 38 80 00 40 */ li r4, 0x40
/* 8029D974 0029A8D4 38 63 5E 50 */ addi r3, r3, lbl_803D5E50@l
/* 8029D978 0029A8D8 38 A0 00 00 */ li r5, 0
/* 8029D97C 0029A8DC 48 0D EB 15 */ bl GXLoadTexMtxImm
/* 8029D980 0029A8E0 C0 41 00 80 */ lfs f2, 0x80(r1)
/* 8029D984 0029A8E4 38 61 01 28 */ addi r3, r1, 0x128
/* 8029D988 0029A8E8 C0 01 00 8C */ lfs f0, 0x8c(r1)
/* 8029D98C 0029A8EC 38 81 00 38 */ addi r4, r1, 0x38
/* 8029D990 0029A8F0 C0 81 00 84 */ lfs f4, 0x84(r1)
/* 8029D994 0029A8F4 FC 20 10 50 */ fneg f1, f2
/* 8029D998 0029A8F8 C0 61 00 90 */ lfs f3, 0x90(r1)
/* 8029D99C 0029A8FC EC C0 10 28 */ fsubs f6, f0, f2
/* 8029D9A0 0029A900 C0 E1 00 88 */ lfs f7, 0x88(r1)
/* 8029D9A4 0029A904 FC 00 20 50 */ fneg f0, f4
/* 8029D9A8 0029A908 C0 41 00 94 */ lfs f2, 0x94(r1)
/* 8029D9AC 0029A90C EC A3 20 28 */ fsubs f5, f3, f4
/* 8029D9B0 0029A910 C0 62 C0 98 */ lfs f3, lbl_805ADDB8@sda21(r2)
/* 8029D9B4 0029A914 EC 82 38 28 */ fsubs f4, f2, f7
/* 8029D9B8 0029A918 D0 C1 00 44 */ stfs f6, 0x44(r1)
/* 8029D9BC 0029A91C EC 43 30 24 */ fdivs f2, f3, f6
/* 8029D9C0 0029A920 D0 A1 00 48 */ stfs f5, 0x48(r1)
/* 8029D9C4 0029A924 D0 81 00 4C */ stfs f4, 0x4c(r1)
/* 8029D9C8 0029A928 D0 21 00 38 */ stfs f1, 0x38(r1)
/* 8029D9CC 0029A92C D0 01 00 3C */ stfs f0, 0x3c(r1)
/* 8029D9D0 0029A930 EC 03 28 24 */ fdivs f0, f3, f5
/* 8029D9D4 0029A934 D0 41 00 44 */ stfs f2, 0x44(r1)
/* 8029D9D8 0029A938 EC 23 20 24 */ fdivs f1, f3, f4
/* 8029D9DC 0029A93C D0 01 00 48 */ stfs f0, 0x48(r1)
/* 8029D9E0 0029A940 FC 00 38 50 */ fneg f0, f7
/* 8029D9E4 0029A944 D0 21 00 4C */ stfs f1, 0x4c(r1)
/* 8029D9E8 0029A948 D0 01 00 40 */ stfs f0, 0x40(r1)
/* 8029D9EC 0029A94C 48 07 57 55 */ bl Translate__12CTransform4fFRC9CVector3f
/* 8029D9F0 0029A950 38 61 01 58 */ addi r3, r1, 0x158
/* 8029D9F4 0029A954 38 81 00 44 */ addi r4, r1, 0x44
/* 8029D9F8 0029A958 48 07 57 CD */ bl Scale__12CTransform4fFRC9CVector3f
/* 8029D9FC 0029A95C 38 61 01 88 */ addi r3, r1, 0x188
/* 8029DA00 0029A960 38 81 01 58 */ addi r4, r1, 0x158
/* 8029DA04 0029A964 38 A1 01 28 */ addi r5, r1, 0x128
/* 8029DA08 0029A968 48 07 4F 49 */ bl __ml__12CTransform4fCFRC12CTransform4f
/* 8029DA0C 0029A96C 38 61 02 18 */ addi r3, r1, 0x218
/* 8029DA10 0029A970 38 81 01 88 */ addi r4, r1, 0x188
/* 8029DA14 0029A974 48 07 51 61 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 8029DA18 0029A978 C0 21 00 84 */ lfs f1, 0x84(r1)
/* 8029DA1C 0029A97C 7F 85 E3 78 */ mr r5, r28
/* 8029DA20 0029A980 C0 62 C0 9C */ lfs f3, lbl_805ADDBC@sda21(r2)
/* 8029DA24 0029A984 38 61 00 68 */ addi r3, r1, 0x68
/* 8029DA28 0029A988 C0 01 00 80 */ lfs f0, 0x80(r1)
/* 8029DA2C 0029A98C 38 81 00 2C */ addi r4, r1, 0x2c
/* 8029DA30 0029A990 EC 81 18 28 */ fsubs f4, f1, f3
/* 8029DA34 0029A994 C0 41 00 88 */ lfs f2, 0x88(r1)
/* 8029DA38 0029A998 C0 3E 00 94 */ lfs f1, 0x94(r30)
/* 8029DA3C 0029A99C EC 00 18 28 */ fsubs f0, f0, f3
/* 8029DA40 0029A9A0 EC 22 08 28 */ fsubs f1, f2, f1
/* 8029DA44 0029A9A4 D0 81 00 30 */ stfs f4, 0x30(r1)
/* 8029DA48 0029A9A8 D0 01 00 2C */ stfs f0, 0x2c(r1)
/* 8029DA4C 0029A9AC D0 21 00 34 */ stfs f1, 0x34(r1)
/* 8029DA50 0029A9B0 48 09 AA B9 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f
/* 8029DA54 0029A9B4 38 00 00 00 */ li r0, 0
/* 8029DA58 0029A9B8 3C 60 80 5A */ lis r3, lbl_8059FD18@ha
/* 8029DA5C 0029A9BC 90 01 02 E8 */ stw r0, 0x2e8(r1)
/* 8029DA60 0029A9C0 38 C3 FD 18 */ addi r6, r3, lbl_8059FD18@l
/* 8029DA64 0029A9C4 7F E3 FB 78 */ mr r3, r31
/* 8029DA68 0029A9C8 38 81 02 E8 */ addi r4, r1, 0x2e8
/* 8029DA6C 0029A9CC 38 A1 00 68 */ addi r5, r1, 0x68
/* 8029DA70 0029A9D0 38 E0 00 00 */ li r7, 0
/* 8029DA74 0029A9D4 4B DA EC AD */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor"
/* 8029DA78 0029A9D8 38 60 00 00 */ li r3, 0
/* 8029DA7C 0029A9DC 38 80 00 00 */ li r4, 0
/* 8029DA80 0029A9E0 38 A0 00 00 */ li r5, 0
/* 8029DA84 0029A9E4 38 C0 00 1E */ li r6, 0x1e
/* 8029DA88 0029A9E8 38 E0 00 00 */ li r7, 0
/* 8029DA8C 0029A9EC 39 00 00 40 */ li r8, 0x40
/* 8029DA90 0029A9F0 48 06 AC 3D */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx
/* 8029DA94 0029A9F4 3B 61 02 EC */ addi r27, r1, 0x2ec
/* 8029DA98 0029A9F8 7F 7A DB 78 */ mr r26, r27
/* 8029DA9C 0029A9FC 48 00 00 E4 */ b lbl_8029DB80
lbl_8029DAA0:
/* 8029DAA0 0029AA00 A0 1A 00 00 */ lhz r0, 0(r26)
/* 8029DAA4 0029AA04 7F E3 FB 78 */ mr r3, r31
/* 8029DAA8 0029AA08 38 81 00 0C */ addi r4, r1, 0xc
/* 8029DAAC 0029AA0C B0 01 00 0C */ sth r0, 0xc(r1)
/* 8029DAB0 0029AA10 4B DA EA F5 */ bl GetObjectById__13CStateManagerCF9TUniqueId
/* 8029DAB4 0029AA14 7C 7D 1B 79 */ or. r29, r3, r3
/* 8029DAB8 0029AA18 41 82 00 C4 */ beq lbl_8029DB7C
/* 8029DABC 0029AA1C 4B DB 52 19 */ bl CanDrawStatic__6CActorCFv
/* 8029DAC0 0029AA20 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8029DAC4 0029AA24 41 82 00 B8 */ beq lbl_8029DB7C
/* 8029DAC8 0029AA28 83 9D 00 64 */ lwz r28, 0x64(r29)
/* 8029DACC 0029AA2C 38 61 00 C8 */ addi r3, r1, 0xc8
/* 8029DAD0 0029AA30 38 81 00 20 */ addi r4, r1, 0x20
/* 8029DAD4 0029AA34 C0 1C 00 00 */ lfs f0, 0(r28)
/* 8029DAD8 0029AA38 D0 01 00 20 */ stfs f0, 0x20(r1)
/* 8029DADC 0029AA3C C0 1C 00 04 */ lfs f0, 4(r28)
/* 8029DAE0 0029AA40 D0 01 00 24 */ stfs f0, 0x24(r1)
/* 8029DAE4 0029AA44 C0 1C 00 08 */ lfs f0, 8(r28)
/* 8029DAE8 0029AA48 D0 01 00 28 */ stfs f0, 0x28(r1)
/* 8029DAEC 0029AA4C 48 07 56 D9 */ bl Scale__12CTransform4fFRC9CVector3f
/* 8029DAF0 0029AA50 38 61 00 F8 */ addi r3, r1, 0xf8
/* 8029DAF4 0029AA54 38 9D 00 34 */ addi r4, r29, 0x34
/* 8029DAF8 0029AA58 38 A1 00 C8 */ addi r5, r1, 0xc8
/* 8029DAFC 0029AA5C 48 07 4E 55 */ bl __ml__12CTransform4fCFRC12CTransform4f
/* 8029DB00 0029AA60 38 61 01 E8 */ addi r3, r1, 0x1e8
/* 8029DB04 0029AA64 38 81 00 F8 */ addi r4, r1, 0xf8
/* 8029DB08 0029AA68 48 07 50 6D */ bl __ct__12CTransform4fFRC12CTransform4f
/* 8029DB0C 0029AA6C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 8029DB10 0029AA70 38 81 01 E8 */ addi r4, r1, 0x1e8
/* 8029DB14 0029AA74 81 83 00 00 */ lwz r12, 0(r3)
/* 8029DB18 0029AA78 81 8C 00 30 */ lwz r12, 0x30(r12)
/* 8029DB1C 0029AA7C 7D 89 03 A6 */ mtctr r12
/* 8029DB20 0029AA80 4E 80 04 21 */ bctrl
/* 8029DB24 0029AA84 38 61 00 98 */ addi r3, r1, 0x98
/* 8029DB28 0029AA88 38 81 02 18 */ addi r4, r1, 0x218
/* 8029DB2C 0029AA8C 38 A1 01 E8 */ addi r5, r1, 0x1e8
/* 8029DB30 0029AA90 48 07 4E 21 */ bl __ml__12CTransform4fCFRC12CTransform4f
/* 8029DB34 0029AA94 38 61 01 B8 */ addi r3, r1, 0x1b8
/* 8029DB38 0029AA98 38 81 00 98 */ addi r4, r1, 0x98
/* 8029DB3C 0029AA9C 48 07 50 39 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 8029DB40 0029AAA0 38 61 01 B8 */ addi r3, r1, 0x1b8
/* 8029DB44 0029AAA4 38 80 00 1E */ li r4, 0x1e
/* 8029DB48 0029AAA8 38 A0 00 00 */ li r5, 0
/* 8029DB4C 0029AAAC 48 0D E9 45 */ bl GXLoadTexMtxImm
/* 8029DB50 0029AAB0 7F 83 E3 78 */ mr r3, r28
/* 8029DB54 0029AAB4 38 80 00 00 */ li r4, 0
/* 8029DB58 0029AAB8 4B E7 74 55 */ bl PickStaticModel__10CModelDataCFQ210CModelData11EWhichModel
/* 8029DB5C 0029AABC 83 83 00 08 */ lwz r28, 8(r3)
/* 8029DB60 0029AAC0 7F 83 E3 78 */ mr r3, r28
/* 8029DB64 0029AAC4 48 0B 75 BD */ bl UpdateLastFrame__6CModelFv
/* 8029DB68 0029AAC8 80 7C 00 28 */ lwz r3, 0x28(r28)
/* 8029DB6C 0029AACC 38 80 00 00 */ li r4, 0
/* 8029DB70 0029AAD0 38 A0 00 00 */ li r5, 0
/* 8029DB74 0029AAD4 38 C0 00 00 */ li r6, 0
/* 8029DB78 0029AAD8 48 06 8E 79 */ bl DrawFlat__10CCubeModelCFPCfPCf17ESurfaceSelection
lbl_8029DB7C:
/* 8029DB7C 0029AADC 3B 5A 00 02 */ addi r26, r26, 2
lbl_8029DB80:
/* 8029DB80 0029AAE0 80 01 02 E8 */ lwz r0, 0x2e8(r1)
/* 8029DB84 0029AAE4 54 00 08 3C */ slwi r0, r0, 1
/* 8029DB88 0029AAE8 7C 1B 02 14 */ add r0, r27, r0
/* 8029DB8C 0029AAEC 7C 1A 00 40 */ cmplw r26, r0
/* 8029DB90 0029AAF0 40 82 FF 10 */ bne lbl_8029DAA0
/* 8029DB94 0029AAF4 38 61 02 18 */ addi r3, r1, 0x218
/* 8029DB98 0029AAF8 38 80 00 1E */ li r4, 0x1e
/* 8029DB9C 0029AAFC 38 A0 00 00 */ li r5, 0
/* 8029DBA0 0029AB00 48 0D E8 F1 */ bl GXLoadTexMtxImm
/* 8029DBA4 0029AB04 3C 60 80 5A */ lis r3, skIdentity4f@ha
/* 8029DBA8 0029AB08 38 63 66 70 */ addi r3, r3, skIdentity4f@l
/* 8029DBAC 0029AB0C 48 06 EA 35 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f
/* 8029DBB0 0029AB10 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 8029DBB4 0029AB14 38 81 00 68 */ addi r4, r1, 0x68
/* 8029DBB8 0029AB18 38 A0 00 00 */ li r5, 0
/* 8029DBBC 0029AB1C 38 C0 00 00 */ li r6, 0
/* 8029DBC0 0029AB20 48 01 81 F9 */ bl DrawXRayOutline__13CCubeRendererFRC6CModelPCfPCf
/* 8029DBC4 0029AB24 38 60 00 01 */ li r3, 1
/* 8029DBC8 0029AB28 38 80 00 03 */ li r4, 3
/* 8029DBCC 0029AB2C 38 A0 00 01 */ li r5, 1
/* 8029DBD0 0029AB30 48 06 AC AD */ bl SetZMode__3CGXFb10_GXCompareb
/* 8029DBD4 0029AB34 38 60 00 07 */ li r3, 7
/* 8029DBD8 0029AB38 38 80 00 00 */ li r4, 0
/* 8029DBDC 0029AB3C 38 A0 00 00 */ li r5, 0
/* 8029DBE0 0029AB40 38 C0 00 07 */ li r6, 7
/* 8029DBE4 0029AB44 38 E0 00 00 */ li r7, 0
/* 8029DBE8 0029AB48 48 06 AC 2D */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc
/* 8029DBEC 0029AB4C 88 1E 00 81 */ lbz r0, 0x81(r30)
/* 8029DBF0 0029AB50 28 00 00 00 */ cmplwi r0, 0
/* 8029DBF4 0029AB54 41 82 00 2C */ beq lbl_8029DC20
/* 8029DBF8 0029AB58 38 60 00 02 */ li r3, 2
/* 8029DBFC 0029AB5C 38 80 00 00 */ li r4, 0
/* 8029DC00 0029AB60 38 A0 00 00 */ li r5, 0
/* 8029DC04 0029AB64 38 C0 00 01 */ li r6, 1
/* 8029DC08 0029AB68 38 E0 00 00 */ li r7, 0
/* 8029DC0C 0029AB6C 39 00 00 00 */ li r8, 0
/* 8029DC10 0029AB70 39 20 00 02 */ li r9, 2
/* 8029DC14 0029AB74 48 0D BF 61 */ bl GXSetChanCtrl
/* 8029DC18 0029AB78 38 60 00 00 */ li r3, 0
/* 8029DC1C 0029AB7C 48 0D BF 15 */ bl GXSetNumChans
lbl_8029DC20:
/* 8029DC20 0029AB80 80 A1 02 E8 */ lwz r5, 0x2e8(r1)
/* 8029DC24 0029AB84 38 60 00 00 */ li r3, 0
/* 8029DC28 0029AB88 2C 05 00 00 */ cmpwi r5, 0
/* 8029DC2C 0029AB8C 40 81 00 40 */ ble lbl_8029DC6C
/* 8029DC30 0029AB90 2C 05 00 08 */ cmpwi r5, 8
/* 8029DC34 0029AB94 38 85 FF F8 */ addi r4, r5, -8
/* 8029DC38 0029AB98 40 81 00 20 */ ble lbl_8029DC58
/* 8029DC3C 0029AB9C 38 04 00 07 */ addi r0, r4, 7
/* 8029DC40 0029ABA0 54 00 E8 FE */ srwi r0, r0, 3
/* 8029DC44 0029ABA4 7C 09 03 A6 */ mtctr r0
/* 8029DC48 0029ABA8 2C 04 00 00 */ cmpwi r4, 0
/* 8029DC4C 0029ABAC 40 81 00 0C */ ble lbl_8029DC58
lbl_8029DC50:
/* 8029DC50 0029ABB0 38 63 00 08 */ addi r3, r3, 8
/* 8029DC54 0029ABB4 42 00 FF FC */ bdnz lbl_8029DC50
lbl_8029DC58:
/* 8029DC58 0029ABB8 7C 03 28 50 */ subf r0, r3, r5
/* 8029DC5C 0029ABBC 7C 09 03 A6 */ mtctr r0
/* 8029DC60 0029ABC0 7C 03 28 00 */ cmpw r3, r5
/* 8029DC64 0029ABC4 40 80 00 08 */ bge lbl_8029DC6C
lbl_8029DC68:
/* 8029DC68 0029ABC8 42 00 00 00 */ bdnz lbl_8029DC68
lbl_8029DC6C:
/* 8029DC6C 0029ABCC 38 00 00 00 */ li r0, 0
/* 8029DC70 0029ABD0 90 01 02 E8 */ stw r0, 0x2e8(r1)
lbl_8029DC74:
/* 8029DC74 0029ABD4 E3 E1 0B 28 */ psq_l f31, -1240(r1), 0, qr0
/* 8029DC78 0029ABD8 CB E1 0B 20 */ lfd f31, 0xb20(r1)
/* 8029DC7C 0029ABDC E3 C1 0B 18 */ psq_l f30, -1256(r1), 0, qr0
/* 8029DC80 0029ABE0 CB C1 0B 10 */ lfd f30, 0xb10(r1)
/* 8029DC84 0029ABE4 BB 41 0A F8 */ lmw r26, 0xaf8(r1)
/* 8029DC88 0029ABE8 80 01 0B 34 */ lwz r0, 0xb34(r1)
/* 8029DC8C 0029ABEC 7C 08 03 A6 */ mtlr r0
/* 8029DC90 0029ABF0 38 21 0B 30 */ addi r1, r1, 0xb30
/* 8029DC94 0029ABF4 4E 80 00 20 */ blr
.global sub_8029dc98
sub_8029dc98:
/* 8029DC98 0029ABF8 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 8029DC9C 0029ABFC 7C 08 02 A6 */ mflr r0
/* 8029DCA0 0029AC00 90 01 00 54 */ stw r0, 0x54(r1)
/* 8029DCA4 0029AC04 DB E1 00 40 */ stfd f31, 0x40(r1)
/* 8029DCA8 0029AC08 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0
/* 8029DCAC 0029AC0C C1 84 00 0C */ lfs f12, 0xc(r4)
/* 8029DCB0 0029AC10 C1 64 00 00 */ lfs f11, 0(r4)
/* 8029DCB4 0029AC14 C1 44 00 10 */ lfs f10, 0x10(r4)
/* 8029DCB8 0029AC18 C1 24 00 04 */ lfs f9, 4(r4)
/* 8029DCBC 0029AC1C EC 6C 58 28 */ fsubs f3, f12, f11
/* 8029DCC0 0029AC20 C1 04 00 14 */ lfs f8, 0x14(r4)
/* 8029DCC4 0029AC24 C0 E4 00 08 */ lfs f7, 8(r4)
/* 8029DCC8 0029AC28 EF EA 48 28 */ fsubs f31, f10, f9
/* 8029DCCC 0029AC2C EC 01 00 F2 */ fmuls f0, f1, f3
/* 8029DCD0 0029AC30 C0 C2 C0 A0 */ lfs f6, lbl_805ADDC0@sda21(r2)
/* 8029DCD4 0029AC34 ED A8 38 28 */ fsubs f13, f8, f7
/* 8029DCD8 0029AC38 C0 85 00 04 */ lfs f4, 4(r5)
/* 8029DCDC 0029AC3C EC 41 07 F2 */ fmuls f2, f1, f31
/* 8029DCE0 0029AC40 EC A0 18 28 */ fsubs f5, f0, f3
/* 8029DCE4 0029AC44 EC 01 03 72 */ fmuls f0, f1, f13
/* 8029DCE8 0029AC48 C0 65 00 08 */ lfs f3, 8(r5)
/* 8029DCEC 0029AC4C EC 22 F8 28 */ fsubs f1, f2, f31
/* 8029DCF0 0029AC50 C0 45 00 00 */ lfs f2, 0(r5)
/* 8029DCF4 0029AC54 EF E6 01 72 */ fmuls f31, f6, f5
/* 8029DCF8 0029AC58 EC 00 68 28 */ fsubs f0, f0, f13
/* 8029DCFC 0029AC5C EC A6 00 72 */ fmuls f5, f6, f1
/* 8029DD00 0029AC60 38 81 00 2C */ addi r4, r1, 0x2c
/* 8029DD04 0029AC64 EC 2C F8 2A */ fadds f1, f12, f31
/* 8029DD08 0029AC68 38 A1 00 14 */ addi r5, r1, 0x14
/* 8029DD0C 0029AC6C EC 06 00 32 */ fmuls f0, f6, f0
/* 8029DD10 0029AC70 ED 4A 28 2A */ fadds f10, f10, f5
/* 8029DD14 0029AC74 EC C9 28 28 */ fsubs f6, f9, f5
/* 8029DD18 0029AC78 D0 21 00 08 */ stfs f1, 8(r1)
/* 8029DD1C 0029AC7C ED 08 00 2A */ fadds f8, f8, f0
/* 8029DD20 0029AC80 EC A7 00 28 */ fsubs f5, f7, f0
/* 8029DD24 0029AC84 D1 41 00 0C */ stfs f10, 0xc(r1)
/* 8029DD28 0029AC88 EC 0B F8 28 */ fsubs f0, f11, f31
/* 8029DD2C 0029AC8C ED 2A 20 2A */ fadds f9, f10, f4
/* 8029DD30 0029AC90 D1 01 00 10 */ stfs f8, 0x10(r1)
/* 8029DD34 0029AC94 EC E8 18 2A */ fadds f7, f8, f3
/* 8029DD38 0029AC98 EC 21 10 2A */ fadds f1, f1, f2
/* 8029DD3C 0029AC9C D0 01 00 20 */ stfs f0, 0x20(r1)
/* 8029DD40 0029ACA0 EC 86 20 2A */ fadds f4, f6, f4
/* 8029DD44 0029ACA4 EC 65 18 2A */ fadds f3, f5, f3
/* 8029DD48 0029ACA8 D1 21 00 18 */ stfs f9, 0x18(r1)
/* 8029DD4C 0029ACAC EC 00 10 2A */ fadds f0, f0, f2
/* 8029DD50 0029ACB0 D0 21 00 14 */ stfs f1, 0x14(r1)
/* 8029DD54 0029ACB4 D0 E1 00 1C */ stfs f7, 0x1c(r1)
/* 8029DD58 0029ACB8 D0 C1 00 24 */ stfs f6, 0x24(r1)
/* 8029DD5C 0029ACBC D0 A1 00 28 */ stfs f5, 0x28(r1)
/* 8029DD60 0029ACC0 D0 01 00 2C */ stfs f0, 0x2c(r1)
/* 8029DD64 0029ACC4 D0 81 00 30 */ stfs f4, 0x30(r1)
/* 8029DD68 0029ACC8 D0 61 00 34 */ stfs f3, 0x34(r1)
/* 8029DD6C 0029ACCC 48 09 A7 9D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f
/* 8029DD70 0029ACD0 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0
/* 8029DD74 0029ACD4 80 01 00 54 */ lwz r0, 0x54(r1)
/* 8029DD78 0029ACD8 CB E1 00 40 */ lfd f31, 0x40(r1)
/* 8029DD7C 0029ACDC 7C 08 03 A6 */ mtlr r0
/* 8029DD80 0029ACE0 38 21 00 50 */ addi r1, r1, 0x50
/* 8029DD84 0029ACE4 4E 80 00 20 */ blr
.global RenderShadowBuffer__16CProjectedShadowFR13CStateManagerRC10CModelDataRC12CTransform4fiRC9CVector3fff
RenderShadowBuffer__16CProjectedShadowFR13CStateManagerRC10CModelDataRC12CTransform4fiRC9CVector3fff:
/* 8029DD88 0029ACE8 94 21 FE 00 */ stwu r1, -0x200(r1)
/* 8029DD8C 0029ACEC 7C 08 02 A6 */ mflr r0
/* 8029DD90 0029ACF0 90 01 02 04 */ stw r0, 0x204(r1)
/* 8029DD94 0029ACF4 DB E1 01 F0 */ stfd f31, 0x1f0(r1)
/* 8029DD98 0029ACF8 F3 E1 01 F8 */ psq_st f31, 504(r1), 0, qr0
/* 8029DD9C 0029ACFC DB C1 01 E0 */ stfd f30, 0x1e0(r1)
/* 8029DDA0 0029AD00 F3 C1 01 E8 */ psq_st f30, 488(r1), 0, qr0
/* 8029DDA4 0029AD04 BE A1 01 B4 */ stmw r21, 0x1b4(r1)
/* 8029DDA8 0029AD08 FF E0 08 90 */ fmr f31, f1
/* 8029DDAC 0029AD0C 7C 77 1B 78 */ mr r23, r3
/* 8029DDB0 0029AD10 FF C0 10 90 */ fmr f30, f2
/* 8029DDB4 0029AD14 7C B9 2B 78 */ mr r25, r5
/* 8029DDB8 0029AD18 7C DA 33 78 */ mr r26, r6
/* 8029DDBC 0029AD1C 7C 98 23 78 */ mr r24, r4
/* 8029DDC0 0029AD20 7C FB 3B 78 */ mr r27, r7
/* 8029DDC4 0029AD24 7D 15 43 78 */ mr r21, r8
/* 8029DDC8 0029AD28 7F 24 CB 78 */ mr r4, r25
/* 8029DDCC 0029AD2C 7F 45 D3 78 */ mr r5, r26
/* 8029DDD0 0029AD30 38 61 00 28 */ addi r3, r1, 0x28
/* 8029DDD4 0029AD34 4B E7 79 E1 */ bl GetBounds__10CModelDataCFRC12CTransform4f
/* 8029DDD8 0029AD38 80 A1 00 28 */ lwz r5, 0x28(r1)
/* 8029DDDC 0029AD3C 38 00 00 01 */ li r0, 1
/* 8029DDE0 0029AD40 80 81 00 2C */ lwz r4, 0x2c(r1)
/* 8029DDE4 0029AD44 7E E3 BB 78 */ mr r3, r23
/* 8029DDE8 0029AD48 90 B7 00 68 */ stw r5, 0x68(r23)
/* 8029DDEC 0029AD4C 90 97 00 6C */ stw r4, 0x6c(r23)
/* 8029DDF0 0029AD50 80 81 00 30 */ lwz r4, 0x30(r1)
/* 8029DDF4 0029AD54 90 97 00 70 */ stw r4, 0x70(r23)
/* 8029DDF8 0029AD58 80 A1 00 34 */ lwz r5, 0x34(r1)
/* 8029DDFC 0029AD5C 80 81 00 38 */ lwz r4, 0x38(r1)
/* 8029DE00 0029AD60 90 B7 00 74 */ stw r5, 0x74(r23)
/* 8029DE04 0029AD64 90 97 00 78 */ stw r4, 0x78(r23)
/* 8029DE08 0029AD68 80 81 00 3C */ lwz r4, 0x3c(r1)
/* 8029DE0C 0029AD6C 90 97 00 7C */ stw r4, 0x7c(r23)
/* 8029DE10 0029AD70 D3 F7 00 84 */ stfs f31, 0x84(r23)
/* 8029DE14 0029AD74 C0 15 00 00 */ lfs f0, 0(r21)
/* 8029DE18 0029AD78 D0 17 00 88 */ stfs f0, 0x88(r23)
/* 8029DE1C 0029AD7C C0 15 00 04 */ lfs f0, 4(r21)
/* 8029DE20 0029AD80 D0 17 00 8C */ stfs f0, 0x8c(r23)
/* 8029DE24 0029AD84 C0 15 00 08 */ lfs f0, 8(r21)
/* 8029DE28 0029AD88 D0 17 00 90 */ stfs f0, 0x90(r23)
/* 8029DE2C 0029AD8C D3 D7 00 94 */ stfs f30, 0x94(r23)
/* 8029DE30 0029AD90 98 17 00 80 */ stb r0, 0x80(r23)
/* 8029DE34 0029AD94 48 00 03 E1 */ bl sub_8029e214
/* 8029DE38 0029AD98 3C 80 80 5A */ lis r4, lbl_805A61D4@ha
/* 8029DE3C 0029AD9C 38 61 01 34 */ addi r3, r1, 0x134
/* 8029DE40 0029ADA0 38 84 61 D4 */ addi r4, r4, lbl_805A61D4@l
/* 8029DE44 0029ADA4 48 07 4D 31 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 8029DE48 0029ADA8 C3 ED A7 E0 */ lfs f31, lbl_805A93A0@sda21(r13)
/* 8029DE4C 0029ADAC C3 CD 9C 78 */ lfs f30, lbl_805A8838@sda21(r13)
/* 8029DE50 0029ADB0 48 06 C0 0D */ bl GetProjectionState__9CGraphicsFv
/* 8029DE54 0029ADB4 88 03 00 00 */ lbz r0, 0(r3)
/* 8029DE58 0029ADB8 3C 80 80 3F */ lis r4, lbl_803ED910@ha
/* 8029DE5C 0029ADBC 3B 84 D9 10 */ addi r28, r4, lbl_803ED910@l
/* 8029DE60 0029ADC0 3C A0 80 5A */ lis r5, lbl_805A6700@ha
/* 8029DE64 0029ADC4 98 01 00 58 */ stb r0, 0x58(r1)
/* 8029DE68 0029ADC8 3C 80 80 5A */ lis r4, lbl_805A6718@ha
/* 8029DE6C 0029ADCC 81 9C 00 00 */ lwz r12, 0(r28)
/* 8029DE70 0029ADD0 3C C0 80 5A */ lis r6, lbl_805A6724@ha
/* 8029DE74 0029ADD4 C0 03 00 04 */ lfs f0, 4(r3)
/* 8029DE78 0029ADD8 38 84 67 18 */ addi r4, r4, lbl_805A6718@l
/* 8029DE7C 0029ADDC 81 7C 00 04 */ lwz r11, 4(r28)
/* 8029DE80 0029ADE0 38 A5 67 00 */ addi r5, r5, lbl_805A6700@l
/* 8029DE84 0029ADE4 D0 01 00 5C */ stfs f0, 0x5c(r1)
/* 8029DE88 0029ADE8 38 C6 67 24 */ addi r6, r6, lbl_805A6724@l
/* 8029DE8C 0029ADEC 81 5C 00 08 */ lwz r10, 8(r28)
/* 8029DE90 0029ADF0 38 E1 00 1C */ addi r7, r1, 0x1c
/* 8029DE94 0029ADF4 C0 03 00 08 */ lfs f0, 8(r3)
/* 8029DE98 0029ADF8 81 3C 00 0C */ lwz r9, 0xc(r28)
/* 8029DE9C 0029ADFC D0 01 00 60 */ stfs f0, 0x60(r1)
/* 8029DEA0 0029AE00 81 1C 00 10 */ lwz r8, 0x10(r28)
/* 8029DEA4 0029AE04 C0 03 00 0C */ lfs f0, 0xc(r3)
/* 8029DEA8 0029AE08 80 1C 00 14 */ lwz r0, 0x14(r28)
/* 8029DEAC 0029AE0C D0 01 00 64 */ stfs f0, 0x64(r1)
/* 8029DEB0 0029AE10 C0 82 C0 A0 */ lfs f4, lbl_805ADDC0@sda21(r2)
/* 8029DEB4 0029AE14 C0 03 00 10 */ lfs f0, 0x10(r3)
/* 8029DEB8 0029AE18 91 81 00 40 */ stw r12, 0x40(r1)
/* 8029DEBC 0029AE1C D0 01 00 68 */ stfs f0, 0x68(r1)
/* 8029DEC0 0029AE20 C0 03 00 14 */ lfs f0, 0x14(r3)
/* 8029DEC4 0029AE24 91 61 00 44 */ stw r11, 0x44(r1)
/* 8029DEC8 0029AE28 D0 01 00 6C */ stfs f0, 0x6c(r1)
/* 8029DECC 0029AE2C C0 03 00 18 */ lfs f0, 0x18(r3)
/* 8029DED0 0029AE30 38 61 00 D4 */ addi r3, r1, 0xd4
/* 8029DED4 0029AE34 91 41 00 48 */ stw r10, 0x48(r1)
/* 8029DED8 0029AE38 D0 01 00 70 */ stfs f0, 0x70(r1)
/* 8029DEDC 0029AE3C C0 77 00 6C */ lfs f3, 0x6c(r23)
/* 8029DEE0 0029AE40 C0 57 00 78 */ lfs f2, 0x78(r23)
/* 8029DEE4 0029AE44 C0 37 00 68 */ lfs f1, 0x68(r23)
/* 8029DEE8 0029AE48 C0 17 00 74 */ lfs f0, 0x74(r23)
/* 8029DEEC 0029AE4C EC 43 10 2A */ fadds f2, f3, f2
/* 8029DEF0 0029AE50 AB F7 00 04 */ lha r31, 4(r23)
/* 8029DEF4 0029AE54 EC 01 00 2A */ fadds f0, f1, f0
/* 8029DEF8 0029AE58 AB D7 00 06 */ lha r30, 6(r23)
/* 8029DEFC 0029AE5C C0 77 00 7C */ lfs f3, 0x7c(r23)
/* 8029DF00 0029AE60 EC 24 00 B2 */ fmuls f1, f4, f2
/* 8029DF04 0029AE64 91 21 00 4C */ stw r9, 0x4c(r1)
/* 8029DF08 0029AE68 57 FD 08 3C */ slwi r29, r31, 1
/* 8029DF0C 0029AE6C EC 04 00 32 */ fmuls f0, f4, f0
/* 8029DF10 0029AE70 91 01 00 50 */ stw r8, 0x50(r1)
/* 8029DF14 0029AE74 57 DC 08 3C */ slwi r28, r30, 1
/* 8029DF18 0029AE78 90 01 00 54 */ stw r0, 0x54(r1)
/* 8029DF1C 0029AE7C D0 01 00 1C */ stfs f0, 0x1c(r1)
/* 8029DF20 0029AE80 D0 21 00 20 */ stfs f1, 0x20(r1)
/* 8029DF24 0029AE84 D0 61 00 24 */ stfs f3, 0x24(r1)
/* 8029DF28 0029AE88 48 07 4F 35 */ bl __ct__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f_0
/* 8029DF2C 0029AE8C 38 61 01 04 */ addi r3, r1, 0x104
/* 8029DF30 0029AE90 38 81 00 D4 */ addi r4, r1, 0xd4
/* 8029DF34 0029AE94 48 07 4C 41 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 8029DF38 0029AE98 38 61 01 04 */ addi r3, r1, 0x104
/* 8029DF3C 0029AE9C 48 06 E8 11 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f
/* 8029DF40 0029AEA0 C0 22 C0 9C */ lfs f1, lbl_805ADDBC@sda21(r2)
/* 8029DF44 0029AEA4 C0 42 C0 98 */ lfs f2, lbl_805ADDB8@sda21(r2)
/* 8029DF48 0029AEA8 48 06 C4 99 */ bl SetDepthRange__9CGraphicsFff
/* 8029DF4C 0029AEAC C0 77 00 74 */ lfs f3, 0x74(r23)
/* 8029DF50 0029AEB0 C0 57 00 68 */ lfs f2, 0x68(r23)
/* 8029DF54 0029AEB4 C0 37 00 78 */ lfs f1, 0x78(r23)
/* 8029DF58 0029AEB8 C0 17 00 6C */ lfs f0, 0x6c(r23)
/* 8029DF5C 0029AEBC EC 43 10 28 */ fsubs f2, f3, f2
/* 8029DF60 0029AEC0 C0 82 C0 A0 */ lfs f4, lbl_805ADDC0@sda21(r2)
/* 8029DF64 0029AEC4 EC 61 00 28 */ fsubs f3, f1, f0
/* 8029DF68 0029AEC8 C0 37 00 7C */ lfs f1, 0x7c(r23)
/* 8029DF6C 0029AECC C0 17 00 70 */ lfs f0, 0x70(r23)
/* 8029DF70 0029AED0 EC 44 00 B2 */ fmuls f2, f4, f2
/* 8029DF74 0029AED4 C0 C2 C0 A4 */ lfs f6, lbl_805ADDC4@sda21(r2)
/* 8029DF78 0029AED8 EC 01 00 28 */ fsubs f0, f1, f0
/* 8029DF7C 0029AEDC EC 64 00 F2 */ fmuls f3, f4, f3
/* 8029DF80 0029AEE0 C0 A2 C0 9C */ lfs f5, lbl_805ADDBC@sda21(r2)
/* 8029DF84 0029AEE4 FC 20 10 50 */ fneg f1, f2
/* 8029DF88 0029AEE8 EC C6 00 2A */ fadds f6, f6, f0
/* 8029DF8C 0029AEEC FC 80 18 50 */ fneg f4, f3
/* 8029DF90 0029AEF0 48 06 E5 C5 */ bl SetOrtho__9CGraphicsFffffff
/* 8029DF94 0029AEF4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 8029DF98 0029AEF8 3C 80 80 5A */ lis r4, lbl_805A6500@ha
/* 8029DF9C 0029AEFC 38 84 65 00 */ addi r4, r4, lbl_805A6500@l
/* 8029DFA0 0029AF00 7F A6 EB 78 */ mr r6, r29
/* 8029DFA4 0029AF04 81 83 00 00 */ lwz r12, 0(r3)
/* 8029DFA8 0029AF08 7F 87 E3 78 */ mr r7, r28
/* 8029DFAC 0029AF0C A0 04 00 06 */ lhz r0, 6(r4)
/* 8029DFB0 0029AF10 38 80 00 00 */ li r4, 0
/* 8029DFB4 0029AF14 81 8C 00 5C */ lwz r12, 0x5c(r12)
/* 8029DFB8 0029AF18 7C BC 00 50 */ subf r5, r28, r0
/* 8029DFBC 0029AF1C 7D 89 03 A6 */ mtctr r12
/* 8029DFC0 0029AF20 4E 80 04 21 */ bctrl
/* 8029DFC4 0029AF24 38 60 00 01 */ li r3, 1
/* 8029DFC8 0029AF28 48 06 AC C9 */ bl SetNumTevStages__3CGXFUc
/* 8029DFCC 0029AF2C 38 60 00 01 */ li r3, 1
/* 8029DFD0 0029AF30 48 06 AE 45 */ bl SetNumTexGens__3CGXFUc
/* 8029DFD4 0029AF34 38 60 00 00 */ li r3, 0
/* 8029DFD8 0029AF38 48 06 AE 79 */ bl SetNumChans__3CGXFUc
/* 8029DFDC 0029AF3C 48 06 E9 A1 */ bl DisableAllLights__9CGraphicsFv
/* 8029DFE0 0029AF40 38 60 00 00 */ li r3, 0
/* 8029DFE4 0029AF44 48 06 A6 AD */ bl SetNumIndStages__3CGXFUc
/* 8029DFE8 0029AF48 38 60 00 00 */ li r3, 0
/* 8029DFEC 0029AF4C 48 06 A7 59 */ bl SetTevDirect__3CGXF13_GXTevStageID
/* 8029DFF0 0029AF50 38 60 00 00 */ li r3, 0
/* 8029DFF4 0029AF54 38 80 00 0F */ li r4, 0xf
/* 8029DFF8 0029AF58 38 A0 00 0F */ li r5, 0xf
/* 8029DFFC 0029AF5C 38 C0 00 0F */ li r6, 0xf
/* 8029E000 0029AF60 38 E0 00 0C */ li r7, 0xc
/* 8029E004 0029AF64 48 06 AB E9 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg
/* 8029E008 0029AF68 38 60 00 00 */ li r3, 0
/* 8029E00C 0029AF6C 38 80 00 07 */ li r4, 7
/* 8029E010 0029AF70 38 A0 00 07 */ li r5, 7
/* 8029E014 0029AF74 38 C0 00 07 */ li r6, 7
/* 8029E018 0029AF78 38 E0 00 06 */ li r7, 6
/* 8029E01C 0029AF7C 48 06 AB 79 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg
/* 8029E020 0029AF80 38 60 00 00 */ li r3, 0
/* 8029E024 0029AF84 38 80 00 00 */ li r4, 0
/* 8029E028 0029AF88 48 06 A9 75 */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel
/* 8029E02C 0029AF8C 38 60 00 00 */ li r3, 0
/* 8029E030 0029AF90 48 06 9C 21 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID
/* 8029E034 0029AF94 38 60 00 00 */ li r3, 0
/* 8029E038 0029AF98 38 80 00 FF */ li r4, 0xff
/* 8029E03C 0029AF9C 38 A0 00 FF */ li r5, 0xff
/* 8029E040 0029AFA0 38 C0 00 FF */ li r6, 0xff
/* 8029E044 0029AFA4 48 06 A9 09 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID
/* 8029E048 0029AFA8 38 60 00 00 */ li r3, 0
/* 8029E04C 0029AFAC 38 80 00 01 */ li r4, 1
/* 8029E050 0029AFB0 38 A0 00 00 */ li r5, 0
/* 8029E054 0029AFB4 38 C0 00 3C */ li r6, 0x3c
/* 8029E058 0029AFB8 38 E0 00 00 */ li r7, 0
/* 8029E05C 0029AFBC 39 00 00 7D */ li r8, 0x7d
/* 8029E060 0029AFC0 48 06 A6 6D */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx
/* 8029E064 0029AFC4 38 60 00 01 */ li r3, 1
/* 8029E068 0029AFC8 38 80 00 01 */ li r4, 1
/* 8029E06C 0029AFCC 38 A0 00 00 */ li r5, 0
/* 8029E070 0029AFD0 38 C0 00 00 */ li r6, 0
/* 8029E074 0029AFD4 48 06 A8 5D */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp
/* 8029E078 0029AFD8 38 60 00 07 */ li r3, 7
/* 8029E07C 0029AFDC 38 80 00 00 */ li r4, 0
/* 8029E080 0029AFE0 38 A0 00 00 */ li r5, 0
/* 8029E084 0029AFE4 38 C0 00 07 */ li r6, 7
/* 8029E088 0029AFE8 38 E0 00 00 */ li r7, 0
/* 8029E08C 0029AFEC 48 06 A7 89 */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc
/* 8029E090 0029AFF0 82 D9 00 10 */ lwz r22, 0x10(r25)
/* 8029E094 0029AFF4 7F 23 CB 78 */ mr r3, r25
/* 8029E098 0029AFF8 38 80 00 00 */ li r4, 0
/* 8029E09C 0029AFFC 4B E7 6E C1 */ bl PickAnimatedModel__10CModelDataCFQ210CModelData11EWhichModel
/* 8029E0A0 0029B000 38 00 00 00 */ li r0, 0
/* 8029E0A4 0029B004 7C 75 1B 78 */ mr r21, r3
/* 8029E0A8 0029B008 98 01 01 AC */ stb r0, 0x1ac(r1)
/* 8029E0AC 0029B00C 7E C3 B3 78 */ mr r3, r22
/* 8029E0B0 0029B010 38 A1 01 64 */ addi r5, r1, 0x164
/* 8029E0B4 0029B014 7E A4 AB 78 */ mr r4, r21
/* 8029E0B8 0029B018 38 C0 00 00 */ li r6, 0
/* 8029E0BC 0029B01C 4B D8 E8 BD */ bl "SetupRender__9CAnimDataCFRC13CSkinnedModelRCQ24rstl37optional_object<18CVertexMorphEffect>PCf"
/* 8029E0C0 0029B020 38 61 01 64 */ addi r3, r1, 0x164
/* 8029E0C4 0029B024 38 80 FF FF */ li r4, -1
/* 8029E0C8 0029B028 4B DD 9B C5 */ bl sub_80077c8c
/* 8029E0CC 0029B02C 7F 60 00 34 */ cntlzw r0, r27
/* 8029E0D0 0029B030 C0 59 00 00 */ lfs f2, 0(r25)
/* 8029E0D4 0029B034 C0 39 00 04 */ lfs f1, 4(r25)
/* 8029E0D8 0029B038 54 00 D9 7E */ srwi r0, r0, 5
/* 8029E0DC 0029B03C C0 19 00 08 */ lfs f0, 8(r25)
/* 8029E0E0 0029B040 38 61 00 74 */ addi r3, r1, 0x74
/* 8029E0E4 0029B044 92 A1 00 08 */ stw r21, 8(r1)
/* 8029E0E8 0029B048 38 81 00 10 */ addi r4, r1, 0x10
/* 8029E0EC 0029B04C 98 01 00 0C */ stb r0, 0xc(r1)
/* 8029E0F0 0029B050 D0 41 00 10 */ stfs f2, 0x10(r1)
/* 8029E0F4 0029B054 D0 21 00 14 */ stfs f1, 0x14(r1)
/* 8029E0F8 0029B058 D0 01 00 18 */ stfs f0, 0x18(r1)
/* 8029E0FC 0029B05C 48 07 50 C9 */ bl Scale__12CTransform4fFRC9CVector3f
/* 8029E100 0029B060 7F 44 D3 78 */ mr r4, r26
/* 8029E104 0029B064 38 61 00 A4 */ addi r3, r1, 0xa4
/* 8029E108 0029B068 38 A1 00 74 */ addi r5, r1, 0x74
/* 8029E10C 0029B06C 48 07 48 45 */ bl __ml__12CTransform4fCFRC12CTransform4f
/* 8029E110 0029B070 38 61 00 A4 */ addi r3, r1, 0xa4
/* 8029E114 0029B074 48 06 E4 CD */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f
/* 8029E118 0029B078 3C 80 80 2A */ lis r4, ModelDrawCallback__16CProjectedShadowFPCfPCfPC18SShadowDrawContext@ha
/* 8029E11C 0029B07C 7E A3 AB 78 */ mr r3, r21
/* 8029E120 0029B080 38 84 E3 04 */ addi r4, r4, ModelDrawCallback__16CProjectedShadowFPCfPCfPC18SShadowDrawContext@l
/* 8029E124 0029B084 38 A1 00 08 */ addi r5, r1, 8
/* 8029E128 0029B088 48 0B 4D F9 */ bl DoDrawCallback__13CSkinnedModelF14FCustomDrawCPv
/* 8029E12C 0029B08C 48 06 B6 D9 */ bl GetUseVideoFilter__9CGraphicsFv
/* 8029E130 0029B090 7C 79 1B 78 */ mr r25, r3
/* 8029E134 0029B094 38 60 00 00 */ li r3, 0
/* 8029E138 0029B098 48 06 B6 D5 */ bl SetUseVideoFilter__9CGraphicsFb
/* 8029E13C 0029B09C 38 60 00 01 */ li r3, 1
/* 8029E140 0029B0A0 38 80 00 03 */ li r4, 3
/* 8029E144 0029B0A4 38 A0 00 01 */ li r5, 1
/* 8029E148 0029B0A8 48 06 A7 35 */ bl SetZMode__3CGXFb10_GXCompareb
/* 8029E14C 0029B0AC 57 A5 04 3E */ clrlwi r5, r29, 0x10
/* 8029E150 0029B0B0 57 86 04 3E */ clrlwi r6, r28, 0x10
/* 8029E154 0029B0B4 38 60 00 00 */ li r3, 0
/* 8029E158 0029B0B8 38 80 00 00 */ li r4, 0
/* 8029E15C 0029B0BC 48 0D AC 59 */ bl GXSetTexCopySrc
/* 8029E160 0029B0C0 57 E3 04 3E */ clrlwi r3, r31, 0x10
/* 8029E164 0029B0C4 57 C4 04 3E */ clrlwi r4, r30, 0x10
/* 8029E168 0029B0C8 38 A0 00 20 */ li r5, 0x20
/* 8029E16C 0029B0CC 38 C0 00 01 */ li r6, 1
/* 8029E170 0029B0D0 48 0D AD 11 */ bl GXSetTexCopyDst
/* 8029E174 0029B0D4 88 17 00 0A */ lbz r0, 0xa(r23)
/* 8029E178 0029B0D8 38 60 00 01 */ li r3, 1
/* 8029E17C 0029B0DC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 8029E180 0029B0E0 7E E3 BB 78 */ mr r3, r23
/* 8029E184 0029B0E4 98 17 00 0A */ stb r0, 0xa(r23)
/* 8029E188 0029B0E8 38 80 00 00 */ li r4, 0
/* 8029E18C 0029B0EC 48 07 04 49 */ bl GetBitMapData__8CTextureFi
/* 8029E190 0029B0F0 38 80 00 01 */ li r4, 1
/* 8029E194 0029B0F4 48 0D B3 A1 */ bl GXCopyTex
/* 8029E198 0029B0F8 7E E3 BB 78 */ mr r3, r23
/* 8029E19C 0029B0FC 48 07 07 81 */ bl UnLock__8CTextureFv
/* 8029E1A0 0029B100 48 0D A3 C5 */ bl GXPixModeSync
/* 8029E1A4 0029B104 57 23 06 3E */ clrlwi r3, r25, 0x18
/* 8029E1A8 0029B108 48 06 B6 65 */ bl SetUseVideoFilter__9CGraphicsFb
/* 8029E1AC 0029B10C 38 61 01 34 */ addi r3, r1, 0x134
/* 8029E1B0 0029B110 48 06 E5 9D */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f
/* 8029E1B4 0029B114 38 61 00 58 */ addi r3, r1, 0x58
/* 8029E1B8 0029B118 48 06 BC 49 */ bl SetProjectionState__9CGraphicsFRCQ29CGraphics16CProjectionState
/* 8029E1BC 0029B11C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 8029E1C0 0029B120 80 81 00 40 */ lwz r4, 0x40(r1)
/* 8029E1C4 0029B124 81 83 00 00 */ lwz r12, 0(r3)
/* 8029E1C8 0029B128 80 A1 00 44 */ lwz r5, 0x44(r1)
/* 8029E1CC 0029B12C 81 8C 00 5C */ lwz r12, 0x5c(r12)
/* 8029E1D0 0029B130 80 C1 00 48 */ lwz r6, 0x48(r1)
/* 8029E1D4 0029B134 80 E1 00 4C */ lwz r7, 0x4c(r1)
/* 8029E1D8 0029B138 7D 89 03 A6 */ mtctr r12
/* 8029E1DC 0029B13C 4E 80 04 21 */ bctrl
/* 8029E1E0 0029B140 FC 20 F8 90 */ fmr f1, f31
/* 8029E1E4 0029B144 FC 40 F0 90 */ fmr f2, f30
/* 8029E1E8 0029B148 48 06 C1 F9 */ bl SetDepthRange__9CGraphicsFff
/* 8029E1EC 0029B14C 92 F8 0F 7C */ stw r23, 0xf7c(r24)
/* 8029E1F0 0029B150 E3 E1 01 F8 */ psq_l f31, 504(r1), 0, qr0
/* 8029E1F4 0029B154 CB E1 01 F0 */ lfd f31, 0x1f0(r1)
/* 8029E1F8 0029B158 E3 C1 01 E8 */ psq_l f30, 488(r1), 0, qr0
/* 8029E1FC 0029B15C CB C1 01 E0 */ lfd f30, 0x1e0(r1)
/* 8029E200 0029B160 BA A1 01 B4 */ lmw r21, 0x1b4(r1)
/* 8029E204 0029B164 80 01 02 04 */ lwz r0, 0x204(r1)
/* 8029E208 0029B168 7C 08 03 A6 */ mtlr r0
/* 8029E20C 0029B16C 38 21 02 00 */ addi r1, r1, 0x200
/* 8029E210 0029B170 4E 80 00 20 */ blr
.global sub_8029e214
sub_8029e214:
/* 8029E214 0029B174 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 8029E218 0029B178 7C 08 02 A6 */ mflr r0
/* 8029E21C 0029B17C C8 22 C0 A8 */ lfd f1, lbl_805ADDC8@sda21(r2)
/* 8029E220 0029B180 90 01 00 54 */ stw r0, 0x54(r1)
/* 8029E224 0029B184 3C 00 43 30 */ lis r0, 0x4330
/* 8029E228 0029B188 C0 E2 C0 98 */ lfs f7, lbl_805ADDB8@sda21(r2)
/* 8029E22C 0029B18C 38 81 00 14 */ addi r4, r1, 0x14
/* 8029E230 0029B190 93 E1 00 4C */ stw r31, 0x4c(r1)
/* 8029E234 0029B194 7C 7F 1B 78 */ mr r31, r3
/* 8029E238 0029B198 A8 A3 00 04 */ lha r5, 4(r3)
/* 8029E23C 0029B19C 38 61 00 20 */ addi r3, r1, 0x20
/* 8029E240 0029B1A0 90 01 00 38 */ stw r0, 0x38(r1)
/* 8029E244 0029B1A4 38 05 FF FE */ addi r0, r5, -2
/* 8029E248 0029B1A8 C0 DF 00 78 */ lfs f6, 0x78(r31)
/* 8029E24C 0029B1AC 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 8029E250 0029B1B0 C0 BF 00 6C */ lfs f5, 0x6c(r31)
/* 8029E254 0029B1B4 90 01 00 3C */ stw r0, 0x3c(r1)
/* 8029E258 0029B1B8 38 A1 00 08 */ addi r5, r1, 8
/* 8029E25C 0029B1BC C0 9F 00 74 */ lfs f4, 0x74(r31)
/* 8029E260 0029B1C0 C8 01 00 38 */ lfd f0, 0x38(r1)
/* 8029E264 0029B1C4 C0 7F 00 68 */ lfs f3, 0x68(r31)
/* 8029E268 0029B1C8 EC 40 08 28 */ fsubs f2, f0, f1
/* 8029E26C 0029B1CC C0 1F 00 7C */ lfs f0, 0x7c(r31)
/* 8029E270 0029B1D0 EC 26 28 28 */ fsubs f1, f6, f5
/* 8029E274 0029B1D4 ED 27 10 24 */ fdivs f9, f7, f2
/* 8029E278 0029B1D8 C0 42 C0 9C */ lfs f2, lbl_805ADDBC@sda21(r2)
/* 8029E27C 0029B1DC EC E9 00 72 */ fmuls f7, f9, f1
/* 8029E280 0029B1E0 EC 24 18 28 */ fsubs f1, f4, f3
/* 8029E284 0029B1E4 ED 00 10 2A */ fadds f8, f0, f2
/* 8029E288 0029B1E8 EC C6 38 2A */ fadds f6, f6, f7
/* 8029E28C 0029B1EC EC 09 00 72 */ fmuls f0, f9, f1
/* 8029E290 0029B1F0 D1 01 00 10 */ stfs f8, 0x10(r1)
/* 8029E294 0029B1F4 EC A5 38 28 */ fsubs f5, f5, f7
/* 8029E298 0029B1F8 EC 24 00 2A */ fadds f1, f4, f0
/* 8029E29C 0029B1FC D0 C1 00 0C */ stfs f6, 0xc(r1)
/* 8029E2A0 0029B200 EC 03 00 28 */ fsubs f0, f3, f0
/* 8029E2A4 0029B204 D0 21 00 08 */ stfs f1, 8(r1)
/* 8029E2A8 0029B208 C0 3F 00 70 */ lfs f1, 0x70(r31)
/* 8029E2AC 0029B20C EC 21 10 28 */ fsubs f1, f1, f2
/* 8029E2B0 0029B210 D0 01 00 14 */ stfs f0, 0x14(r1)
/* 8029E2B4 0029B214 D0 A1 00 18 */ stfs f5, 0x18(r1)
/* 8029E2B8 0029B218 D0 21 00 1C */ stfs f1, 0x1c(r1)
/* 8029E2BC 0029B21C 48 09 A2 4D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f
/* 8029E2C0 0029B220 80 61 00 20 */ lwz r3, 0x20(r1)
/* 8029E2C4 0029B224 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8029E2C8 0029B228 90 7F 00 68 */ stw r3, 0x68(r31)
/* 8029E2CC 0029B22C 90 1F 00 6C */ stw r0, 0x6c(r31)
/* 8029E2D0 0029B230 80 01 00 28 */ lwz r0, 0x28(r1)
/* 8029E2D4 0029B234 90 1F 00 70 */ stw r0, 0x70(r31)
/* 8029E2D8 0029B238 80 61 00 2C */ lwz r3, 0x2c(r1)
/* 8029E2DC 0029B23C 80 01 00 30 */ lwz r0, 0x30(r1)
/* 8029E2E0 0029B240 90 7F 00 74 */ stw r3, 0x74(r31)
/* 8029E2E4 0029B244 90 1F 00 78 */ stw r0, 0x78(r31)
/* 8029E2E8 0029B248 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8029E2EC 0029B24C 90 1F 00 7C */ stw r0, 0x7c(r31)
/* 8029E2F0 0029B250 83 E1 00 4C */ lwz r31, 0x4c(r1)
/* 8029E2F4 0029B254 80 01 00 54 */ lwz r0, 0x54(r1)
/* 8029E2F8 0029B258 7C 08 03 A6 */ mtlr r0
/* 8029E2FC 0029B25C 38 21 00 50 */ addi r1, r1, 0x50
/* 8029E300 0029B260 4E 80 00 20 */ blr
.global ModelDrawCallback__16CProjectedShadowFPCfPCfPC18SShadowDrawContext
ModelDrawCallback__16CProjectedShadowFPCfPCfPC18SShadowDrawContext:
/* 8029E304 0029B264 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8029E308 0029B268 7C 08 02 A6 */ mflr r0
/* 8029E30C 0029B26C 90 01 00 24 */ stw r0, 0x24(r1)
/* 8029E310 0029B270 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8029E314 0029B274 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8029E318 0029B278 7C BE 2B 78 */ mr r30, r5
/* 8029E31C 0029B27C 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8029E320 0029B280 7C 9D 23 78 */ mr r29, r4
/* 8029E324 0029B284 93 81 00 10 */ stw r28, 0x10(r1)
/* 8029E328 0029B288 7C 7C 1B 78 */ mr r28, r3
/* 8029E32C 0029B28C 80 65 00 00 */ lwz r3, 0(r5)
/* 8029E330 0029B290 80 63 00 0C */ lwz r3, 0xc(r3)
/* 8029E334 0029B294 83 E3 00 28 */ lwz r31, 0x28(r3)
/* 8029E338 0029B298 48 0B 6D E9 */ bl UpdateLastFrame__6CModelFv
/* 8029E33C 0029B29C 88 1E 00 04 */ lbz r0, 4(r30)
/* 8029E340 0029B2A0 7F E3 FB 78 */ mr r3, r31
/* 8029E344 0029B2A4 7F 84 E3 78 */ mr r4, r28
/* 8029E348 0029B2A8 7F A5 EB 78 */ mr r5, r29
/* 8029E34C 0029B2AC 28 00 00 00 */ cmplwi r0, 0
/* 8029E350 0029B2B0 38 C0 00 00 */ li r6, 0
/* 8029E354 0029B2B4 41 82 00 08 */ beq lbl_8029E35C
/* 8029E358 0029B2B8 38 C0 00 02 */ li r6, 2
lbl_8029E35C:
/* 8029E35C 0029B2BC 48 06 86 95 */ bl DrawFlat__10CCubeModelCFPCfPCf17ESurfaceSelection
/* 8029E360 0029B2C0 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8029E364 0029B2C4 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8029E368 0029B2C8 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8029E36C 0029B2CC 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8029E370 0029B2D0 83 81 00 10 */ lwz r28, 0x10(r1)
/* 8029E374 0029B2D4 7C 08 03 A6 */ mtlr r0
/* 8029E378 0029B2D8 38 21 00 20 */ addi r1, r1, 0x20
/* 8029E37C 0029B2DC 4E 80 00 20 */ blr
.global __dt__16CProjectedShadowFv
__dt__16CProjectedShadowFv:
/* 8029E380 0029B2E0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8029E384 0029B2E4 7C 08 02 A6 */ mflr r0
/* 8029E388 0029B2E8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8029E38C 0029B2EC 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8029E390 0029B2F0 7C 9F 23 78 */ mr r31, r4
/* 8029E394 0029B2F4 93 C1 00 08 */ stw r30, 8(r1)
/* 8029E398 0029B2F8 7C 7E 1B 79 */ or. r30, r3, r3
/* 8029E39C 0029B2FC 41 82 00 24 */ beq lbl_8029E3C0
/* 8029E3A0 0029B300 48 06 FD 6D */ bl sub_8030e10c
/* 8029E3A4 0029B304 7F C3 F3 78 */ mr r3, r30
/* 8029E3A8 0029B308 38 80 FF FF */ li r4, -1
/* 8029E3AC 0029B30C 48 07 16 4D */ bl __dt__8CTextureFv
/* 8029E3B0 0029B310 7F E0 07 35 */ extsh. r0, r31
/* 8029E3B4 0029B314 40 81 00 0C */ ble lbl_8029E3C0
/* 8029E3B8 0029B318 7F C3 F3 78 */ mr r3, r30
/* 8029E3BC 0029B31C 48 07 75 75 */ bl Free__7CMemoryFPCv
lbl_8029E3C0:
/* 8029E3C0 0029B320 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8029E3C4 0029B324 7F C3 F3 78 */ mr r3, r30
/* 8029E3C8 0029B328 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8029E3CC 0029B32C 83 C1 00 08 */ lwz r30, 8(r1)
/* 8029E3D0 0029B330 7C 08 03 A6 */ mtlr r0
/* 8029E3D4 0029B334 38 21 00 10 */ addi r1, r1, 0x10
/* 8029E3D8 0029B338 4E 80 00 20 */ blr
.global __ct__16CProjectedShadowFv
__ct__16CProjectedShadowFv:
/* 8029E3DC 0029B33C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8029E3E0 0029B340 7C 08 02 A6 */ mflr r0
/* 8029E3E4 0029B344 38 E0 00 01 */ li r7, 1
/* 8029E3E8 0029B348 90 01 00 14 */ stw r0, 0x14(r1)
/* 8029E3EC 0029B34C 7C A0 2B 78 */ mr r0, r5
/* 8029E3F0 0029B350 7C 85 07 34 */ extsh r5, r4
/* 8029E3F4 0029B354 38 80 00 00 */ li r4, 0
/* 8029E3F8 0029B358 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8029E3FC 0029B35C 7C DF 33 78 */ mr r31, r6
/* 8029E400 0029B360 7C 06 07 34 */ extsh r6, r0
/* 8029E404 0029B364 93 C1 00 08 */ stw r30, 8(r1)
/* 8029E408 0029B368 7C 7E 1B 78 */ mr r30, r3
/* 8029E40C 0029B36C 48 07 1A 21 */ bl __ct__8CTextureF12ETexelFormatssi
/* 8029E410 0029B370 3C 80 80 5A */ lis r4, lbl_805A6754@ha
/* 8029E414 0029B374 38 00 00 00 */ li r0, 0
/* 8029E418 0029B378 38 A4 67 54 */ addi r5, r4, lbl_805A6754@l
/* 8029E41C 0029B37C 3C 60 80 5A */ lis r3, skZero3f@ha
/* 8029E420 0029B380 C0 05 00 00 */ lfs f0, 0(r5)
/* 8029E424 0029B384 38 83 66 A0 */ addi r4, r3, skZero3f@l
/* 8029E428 0029B388 C0 42 C0 98 */ lfs f2, lbl_805ADDB8@sda21(r2)
/* 8029E42C 0029B38C 7F C3 F3 78 */ mr r3, r30
/* 8029E430 0029B390 D0 1E 00 68 */ stfs f0, 0x68(r30)
/* 8029E434 0029B394 C0 02 C0 9C */ lfs f0, lbl_805ADDBC@sda21(r2)
/* 8029E438 0029B398 C0 25 00 04 */ lfs f1, 4(r5)
/* 8029E43C 0029B39C D0 3E 00 6C */ stfs f1, 0x6c(r30)
/* 8029E440 0029B3A0 C0 25 00 08 */ lfs f1, 8(r5)
/* 8029E444 0029B3A4 D0 3E 00 70 */ stfs f1, 0x70(r30)
/* 8029E448 0029B3A8 C0 25 00 0C */ lfs f1, 0xc(r5)
/* 8029E44C 0029B3AC D0 3E 00 74 */ stfs f1, 0x74(r30)
/* 8029E450 0029B3B0 C0 25 00 10 */ lfs f1, 0x10(r5)
/* 8029E454 0029B3B4 D0 3E 00 78 */ stfs f1, 0x78(r30)
/* 8029E458 0029B3B8 C0 25 00 14 */ lfs f1, 0x14(r5)
/* 8029E45C 0029B3BC D0 3E 00 7C */ stfs f1, 0x7c(r30)
/* 8029E460 0029B3C0 98 1E 00 80 */ stb r0, 0x80(r30)
/* 8029E464 0029B3C4 9B FE 00 81 */ stb r31, 0x81(r30)
/* 8029E468 0029B3C8 D0 5E 00 84 */ stfs f2, 0x84(r30)
/* 8029E46C 0029B3CC C0 24 00 00 */ lfs f1, 0(r4)
/* 8029E470 0029B3D0 D0 3E 00 88 */ stfs f1, 0x88(r30)
/* 8029E474 0029B3D4 C0 24 00 04 */ lfs f1, 4(r4)
/* 8029E478 0029B3D8 D0 3E 00 8C */ stfs f1, 0x8c(r30)
/* 8029E47C 0029B3DC C0 24 00 08 */ lfs f1, 8(r4)
/* 8029E480 0029B3E0 D0 3E 00 90 */ stfs f1, 0x90(r30)
/* 8029E484 0029B3E4 D0 1E 00 94 */ stfs f0, 0x94(r30)
/* 8029E488 0029B3E8 D0 5E 00 98 */ stfs f2, 0x98(r30)
/* 8029E48C 0029B3EC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8029E490 0029B3F0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8029E494 0029B3F4 83 C1 00 08 */ lwz r30, 8(r1)
/* 8029E498 0029B3F8 7C 08 03 A6 */ mtlr r0
/* 8029E49C 0029B3FC 38 21 00 10 */ addi r1, r1, 0x10
/* 8029E4A0 0029B400 4E 80 00 20 */ blr

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

5343
asm/Kyoto_CWD/CSlideShow.s Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,324 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global __dt__23CMetroidPrimeProjectileFv
__dt__23CMetroidPrimeProjectileFv:
/* 802A0338 0029D298 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802A033C 0029D29C 7C 08 02 A6 */ mflr r0
/* 802A0340 0029D2A0 90 01 00 14 */ stw r0, 0x14(r1)
/* 802A0344 0029D2A4 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802A0348 0029D2A8 7C 9F 23 78 */ mr r31, r4
/* 802A034C 0029D2AC 93 C1 00 08 */ stw r30, 8(r1)
/* 802A0350 0029D2B0 7C 7E 1B 79 */ or. r30, r3, r3
/* 802A0354 0029D2B4 41 82 00 44 */ beq lbl_802A0398
/* 802A0358 0029D2B8 3C 60 80 3F */ lis r3, lbl_803EC390@ha
/* 802A035C 0029D2BC 34 1E 03 D8 */ addic. r0, r30, 0x3d8
/* 802A0360 0029D2C0 38 03 C3 90 */ addi r0, r3, lbl_803EC390@l
/* 802A0364 0029D2C4 90 1E 00 00 */ stw r0, 0(r30)
/* 802A0368 0029D2C8 41 82 00 14 */ beq lbl_802A037C
/* 802A036C 0029D2CC 34 7E 03 DC */ addic. r3, r30, 0x3dc
/* 802A0370 0029D2D0 41 82 00 0C */ beq lbl_802A037C
/* 802A0374 0029D2D4 38 80 00 00 */ li r4, 0
/* 802A0378 0029D2D8 48 0A 0A C9 */ bl __dt__6CTokenFv
lbl_802A037C:
/* 802A037C 0029D2DC 7F C3 F3 78 */ mr r3, r30
/* 802A0380 0029D2E0 38 80 00 00 */ li r4, 0
/* 802A0384 0029D2E4 4B E9 B5 71 */ bl __dt__17CEnergyProjectileFv
/* 802A0388 0029D2E8 7F E0 07 35 */ extsh. r0, r31
/* 802A038C 0029D2EC 40 81 00 0C */ ble lbl_802A0398
/* 802A0390 0029D2F0 7F C3 F3 78 */ mr r3, r30
/* 802A0394 0029D2F4 48 07 55 9D */ bl Free__7CMemoryFPCv
lbl_802A0398:
/* 802A0398 0029D2F8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802A039C 0029D2FC 7F C3 F3 78 */ mr r3, r30
/* 802A03A0 0029D300 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802A03A4 0029D304 83 C1 00 08 */ lwz r30, 8(r1)
/* 802A03A8 0029D308 7C 08 03 A6 */ mtlr r0
/* 802A03AC 0029D30C 38 21 00 10 */ addi r1, r1, 0x10
/* 802A03B0 0029D310 4E 80 00 20 */ blr
.global __ct__20SPrimeProjectileInfoFR12CInputStream
__ct__20SPrimeProjectileInfoFR12CInputStream:
/* 802A03B4 0029D314 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 802A03B8 0029D318 7C 08 02 A6 */ mflr r0
/* 802A03BC 0029D31C 90 01 00 24 */ stw r0, 0x24(r1)
/* 802A03C0 0029D320 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 802A03C4 0029D324 7C 9F 23 78 */ mr r31, r4
/* 802A03C8 0029D328 93 C1 00 18 */ stw r30, 0x18(r1)
/* 802A03CC 0029D32C 7C 7E 1B 78 */ mr r30, r3
/* 802A03D0 0029D330 7F E3 FB 78 */ mr r3, r31
/* 802A03D4 0029D334 48 09 E8 B1 */ bl ReadLong__12CInputStreamFv
/* 802A03D8 0029D338 90 7E 00 00 */ stw r3, 0(r30)
/* 802A03DC 0029D33C 7F E3 FB 78 */ mr r3, r31
/* 802A03E0 0029D340 48 09 E8 A5 */ bl ReadLong__12CInputStreamFv
/* 802A03E4 0029D344 3C 80 50 41 */ lis r4, 0x50415254@ha
/* 802A03E8 0029D348 90 61 00 14 */ stw r3, 0x14(r1)
/* 802A03EC 0029D34C 38 04 52 54 */ addi r0, r4, 0x50415254@l
/* 802A03F0 0029D350 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 802A03F4 0029D354 90 01 00 10 */ stw r0, 0x10(r1)
/* 802A03F8 0029D358 38 61 00 08 */ addi r3, r1, 8
/* 802A03FC 0029D35C 38 A1 00 10 */ addi r5, r1, 0x10
/* 802A0400 0029D360 81 84 00 00 */ lwz r12, 0(r4)
/* 802A0404 0029D364 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 802A0408 0029D368 7D 89 03 A6 */ mtctr r12
/* 802A040C 0029D36C 4E 80 04 21 */ bctrl
/* 802A0410 0029D370 38 7E 00 04 */ addi r3, r30, 4
/* 802A0414 0029D374 38 81 00 08 */ addi r4, r1, 8
/* 802A0418 0029D378 48 0A 0A 91 */ bl __ct__6CTokenFRC6CToken
/* 802A041C 0029D37C 38 61 00 08 */ addi r3, r1, 8
/* 802A0420 0029D380 38 80 FF FF */ li r4, -1
/* 802A0424 0029D384 48 0A 0A 1D */ bl __dt__6CTokenFv
/* 802A0428 0029D388 7F E4 FB 78 */ mr r4, r31
/* 802A042C 0029D38C 38 7E 00 0C */ addi r3, r30, 0xc
/* 802A0430 0029D390 4B E2 31 31 */ bl __ct__11CDamageInfoFR12CInputStream
/* 802A0434 0029D394 7F E3 FB 78 */ mr r3, r31
/* 802A0438 0029D398 48 09 E7 F1 */ bl ReadFloat__12CInputStreamFv
/* 802A043C 0029D39C D0 3E 00 28 */ stfs f1, 0x28(r30)
/* 802A0440 0029D3A0 7F E3 FB 78 */ mr r3, r31
/* 802A0444 0029D3A4 48 09 E7 E5 */ bl ReadFloat__12CInputStreamFv
/* 802A0448 0029D3A8 D0 3E 00 2C */ stfs f1, 0x2c(r30)
/* 802A044C 0029D3AC 7F E3 FB 78 */ mr r3, r31
/* 802A0450 0029D3B0 48 09 E7 D9 */ bl ReadFloat__12CInputStreamFv
/* 802A0454 0029D3B4 D0 3E 00 30 */ stfs f1, 0x30(r30)
/* 802A0458 0029D3B8 7F E3 FB 78 */ mr r3, r31
/* 802A045C 0029D3BC 48 09 E8 29 */ bl ReadLong__12CInputStreamFv
/* 802A0460 0029D3C0 90 7E 00 34 */ stw r3, 0x34(r30)
/* 802A0464 0029D3C4 7F E3 FB 78 */ mr r3, r31
/* 802A0468 0029D3C8 48 09 E8 75 */ bl ReadBool__12CInputStreamFv
/* 802A046C 0029D3CC 88 1E 00 38 */ lbz r0, 0x38(r30)
/* 802A0470 0029D3D0 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 802A0474 0029D3D4 7F E3 FB 78 */ mr r3, r31
/* 802A0478 0029D3D8 98 1E 00 38 */ stb r0, 0x38(r30)
/* 802A047C 0029D3DC 48 09 E8 61 */ bl ReadBool__12CInputStreamFv
/* 802A0480 0029D3E0 88 1E 00 38 */ lbz r0, 0x38(r30)
/* 802A0484 0029D3E4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19
/* 802A0488 0029D3E8 7F E3 FB 78 */ mr r3, r31
/* 802A048C 0029D3EC 98 1E 00 38 */ stb r0, 0x38(r30)
/* 802A0490 0029D3F0 48 09 E8 4D */ bl ReadBool__12CInputStreamFv
/* 802A0494 0029D3F4 88 1E 00 38 */ lbz r0, 0x38(r30)
/* 802A0498 0029D3F8 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a
/* 802A049C 0029D3FC 7F E3 FB 78 */ mr r3, r31
/* 802A04A0 0029D400 98 1E 00 38 */ stb r0, 0x38(r30)
/* 802A04A4 0029D404 48 09 E8 39 */ bl ReadBool__12CInputStreamFv
/* 802A04A8 0029D408 88 1E 00 38 */ lbz r0, 0x38(r30)
/* 802A04AC 0029D40C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b
/* 802A04B0 0029D410 7F C3 F3 78 */ mr r3, r30
/* 802A04B4 0029D414 98 1E 00 38 */ stb r0, 0x38(r30)
/* 802A04B8 0029D418 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 802A04BC 0029D41C 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 802A04C0 0029D420 80 01 00 24 */ lwz r0, 0x24(r1)
/* 802A04C4 0029D424 7C 08 03 A6 */ mtlr r0
/* 802A04C8 0029D428 38 21 00 20 */ addi r1, r1, 0x20
/* 802A04CC 0029D42C 4E 80 00 20 */ blr
.global Explode__23CMetroidPrimeProjectileFRC9CVector3fRC9CVector3f29EWeaponCollisionResponseTypesR13CStateManagerRC20CDamageVulnerability9TUniqueId
Explode__23CMetroidPrimeProjectileFRC9CVector3fRC9CVector3f29EWeaponCollisionResponseTypesR13CStateManagerRC20CDamageVulnerability9TUniqueId:
/* 802A04D0 0029D430 94 21 FE C0 */ stwu r1, -0x140(r1)
/* 802A04D4 0029D434 7C 08 02 A6 */ mflr r0
/* 802A04D8 0029D438 90 01 01 44 */ stw r0, 0x144(r1)
/* 802A04DC 0029D43C BE E1 01 1C */ stmw r23, 0x11c(r1)
/* 802A04E0 0029D440 7C 7C 1B 78 */ mr r28, r3
/* 802A04E4 0029D444 7C FD 3B 78 */ mr r29, r7
/* 802A04E8 0029D448 A0 09 00 00 */ lhz r0, 0(r9)
/* 802A04EC 0029D44C 39 21 00 38 */ addi r9, r1, 0x38
/* 802A04F0 0029D450 B0 01 00 38 */ sth r0, 0x38(r1)
/* 802A04F4 0029D454 4B F7 47 05 */ bl Explode__17CEnergyProjectileFRC9CVector3fRC9CVector3f29EWeaponCollisionResponseTypesR13CStateManagerRC20CDamageVulnerability9TUniqueId
/* 802A04F8 0029D458 88 1C 02 E4 */ lbz r0, 0x2e4(r28)
/* 802A04FC 0029D45C 7C 7E 1B 78 */ mr r30, r3
/* 802A0500 0029D460 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 802A0504 0029D464 40 82 01 70 */ bne lbl_802A0674
/* 802A0508 0029D468 7F A4 EB 78 */ mr r4, r29
/* 802A050C 0029D46C 38 61 00 34 */ addi r3, r1, 0x34
/* 802A0510 0029D470 4B DA CB CD */ bl AllocateUniqueId__13CStateManagerFv
/* 802A0514 0029D474 A0 01 00 34 */ lhz r0, 0x34(r1)
/* 802A0518 0029D478 3B FC 03 E4 */ addi r31, r28, 0x3e4
/* 802A051C 0029D47C C0 3C 03 F4 */ lfs f1, 0x3f4(r28)
/* 802A0520 0029D480 38 61 00 B4 */ addi r3, r1, 0xb4
/* 802A0524 0029D484 C0 42 C1 10 */ lfs f2, lbl_805ADE30@sda21(r2)
/* 802A0528 0029D488 C0 02 C1 14 */ lfs f0, lbl_805ADE34@sda21(r2)
/* 802A052C 0029D48C B0 01 00 3C */ sth r0, 0x3c(r1)
/* 802A0530 0029D490 D0 41 00 54 */ stfs f2, 0x54(r1)
/* 802A0534 0029D494 D0 41 00 58 */ stfs f2, 0x58(r1)
/* 802A0538 0029D498 D0 41 00 5C */ stfs f2, 0x5c(r1)
/* 802A053C 0029D49C D0 01 00 60 */ stfs f0, 0x60(r1)
/* 802A0540 0029D4A0 D0 01 00 64 */ stfs f0, 0x64(r1)
/* 802A0544 0029D4A4 D0 01 00 68 */ stfs f0, 0x68(r1)
/* 802A0548 0029D4A8 48 07 2C F9 */ bl Scale__12CTransform4fFf
/* 802A054C 0029D4AC 38 61 00 E4 */ addi r3, r1, 0xe4
/* 802A0550 0029D4B0 38 9C 00 34 */ addi r4, r28, 0x34
/* 802A0554 0029D4B4 38 A1 00 B4 */ addi r5, r1, 0xb4
/* 802A0558 0029D4B8 48 07 23 F9 */ bl __ml__12CTransform4fCFRC12CTransform4f
/* 802A055C 0029D4BC 38 61 00 6C */ addi r3, r1, 0x6c
/* 802A0560 0029D4C0 38 81 00 60 */ addi r4, r1, 0x60
/* 802A0564 0029D4C4 38 A1 00 54 */ addi r5, r1, 0x54
/* 802A0568 0029D4C8 48 09 7F A1 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f
/* 802A056C 0029D4CC 7C 64 1B 78 */ mr r4, r3
/* 802A0570 0029D4D0 38 61 00 84 */ addi r3, r1, 0x84
/* 802A0574 0029D4D4 38 A1 00 E4 */ addi r5, r1, 0xe4
/* 802A0578 0029D4D8 48 09 73 85 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f
/* 802A057C 0029D4DC C0 A1 00 84 */ lfs f5, 0x84(r1)
/* 802A0580 0029D4E0 3C 60 80 3D */ lis r3, lbl_803D5EE8@ha
/* 802A0584 0029D4E4 C0 81 00 88 */ lfs f4, 0x88(r1)
/* 802A0588 0029D4E8 38 83 5E E8 */ addi r4, r3, lbl_803D5EE8@l
/* 802A058C 0029D4EC C0 61 00 8C */ lfs f3, 0x8c(r1)
/* 802A0590 0029D4F0 38 60 01 60 */ li r3, 0x160
/* 802A0594 0029D4F4 C0 41 00 90 */ lfs f2, 0x90(r1)
/* 802A0598 0029D4F8 38 A0 00 00 */ li r5, 0
/* 802A059C 0029D4FC C0 21 00 94 */ lfs f1, 0x94(r1)
/* 802A05A0 0029D500 C0 01 00 98 */ lfs f0, 0x98(r1)
/* 802A05A4 0029D504 D0 A1 00 9C */ stfs f5, 0x9c(r1)
/* 802A05A8 0029D508 D0 81 00 A0 */ stfs f4, 0xa0(r1)
/* 802A05AC 0029D50C D0 61 00 A4 */ stfs f3, 0xa4(r1)
/* 802A05B0 0029D510 D0 41 00 A8 */ stfs f2, 0xa8(r1)
/* 802A05B4 0029D514 D0 21 00 AC */ stfs f1, 0xac(r1)
/* 802A05B8 0029D518 D0 01 00 B0 */ stfs f0, 0xb0(r1)
/* 802A05BC 0029D51C 48 07 52 B1 */ bl __nw__FUlPCcPCc
/* 802A05C0 0029D520 7C 64 1B 79 */ or. r4, r3, r3
/* 802A05C4 0029D524 41 82 00 A0 */ beq lbl_802A0664
/* 802A05C8 0029D528 88 9C 04 10 */ lbz r4, 0x410(r28)
/* 802A05CC 0029D52C 7F EA FB 78 */ mr r10, r31
/* 802A05D0 0029D530 C0 9C 04 08 */ lfs f4, 0x408(r28)
/* 802A05D4 0029D534 39 3C 00 34 */ addi r9, r28, 0x34
/* 802A05D8 0029D538 C0 7C 04 04 */ lfs f3, 0x404(r28)
/* 802A05DC 0029D53C 54 97 E7 FE */ rlwinm r23, r4, 0x1c, 0x1f, 0x1f
/* 802A05E0 0029D540 C0 5C 04 00 */ lfs f2, 0x400(r28)
/* 802A05E4 0029D544 54 99 CF FE */ rlwinm r25, r4, 0x19, 0x1f, 0x1f
/* 802A05E8 0029D548 C0 22 C1 10 */ lfs f1, lbl_805ADE30@sda21(r2)
/* 802A05EC 0029D54C 54 9A D7 FE */ rlwinm r26, r4, 0x1a, 0x1f, 0x1f
/* 802A05F0 0029D550 83 1C 04 0C */ lwz r24, 0x40c(r28)
/* 802A05F4 0029D554 54 9B DF FE */ rlwinm r27, r4, 0x1b, 0x1f, 0x1f
/* 802A05F8 0029D558 A1 81 00 3C */ lhz r12, 0x3c(r1)
/* 802A05FC 0029D55C 38 9C 03 DC */ addi r4, r28, 0x3dc
/* 802A0600 0029D560 D0 21 00 48 */ stfs f1, 0x48(r1)
/* 802A0604 0029D564 39 61 00 9C */ addi r11, r1, 0x9c
/* 802A0608 0029D568 38 01 00 48 */ addi r0, r1, 0x48
/* 802A060C 0029D56C 38 A1 00 28 */ addi r5, r1, 0x28
/* 802A0610 0029D570 D0 21 00 4C */ stfs f1, 0x4c(r1)
/* 802A0614 0029D574 38 C1 00 44 */ addi r6, r1, 0x44
/* 802A0618 0029D578 39 01 00 30 */ addi r8, r1, 0x30
/* 802A061C 0029D57C 38 E0 00 01 */ li r7, 1
/* 802A0620 0029D580 D0 21 00 50 */ stfs f1, 0x50(r1)
/* 802A0624 0029D584 A3 FC 00 08 */ lhz r31, 8(r28)
/* 802A0628 0029D588 B3 E1 00 30 */ sth r31, 0x30(r1)
/* 802A062C 0029D58C 83 9C 00 04 */ lwz r28, 4(r28)
/* 802A0630 0029D590 B3 E1 00 2C */ sth r31, 0x2c(r1)
/* 802A0634 0029D594 93 81 00 44 */ stw r28, 0x44(r1)
/* 802A0638 0029D598 B1 81 00 28 */ sth r12, 0x28(r1)
/* 802A063C 0029D59C 91 61 00 08 */ stw r11, 8(r1)
/* 802A0640 0029D5A0 90 01 00 0C */ stw r0, 0xc(r1)
/* 802A0644 0029D5A4 92 E1 00 10 */ stw r23, 0x10(r1)
/* 802A0648 0029D5A8 93 01 00 14 */ stw r24, 0x14(r1)
/* 802A064C 0029D5AC 93 21 00 18 */ stw r25, 0x18(r1)
/* 802A0650 0029D5B0 93 41 00 1C */ stw r26, 0x1c(r1)
/* 802A0654 0029D5B4 93 81 00 40 */ stw r28, 0x40(r1)
/* 802A0658 0029D5B8 93 61 00 20 */ stw r27, 0x20(r1)
/* 802A065C 0029D5BC 4B FB CB 81 */ bl __ct__5CFire
/* 802A0660 0029D5C0 7C 64 1B 78 */ mr r4, r3
lbl_802A0664:
/* 802A0664 0029D5C4 28 04 00 00 */ cmplwi r4, 0
/* 802A0668 0029D5C8 41 82 00 0C */ beq lbl_802A0674
/* 802A066C 0029D5CC 7F A3 EB 78 */ mr r3, r29
/* 802A0670 0029D5D0 4B DA C6 85 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence
lbl_802A0674:
/* 802A0674 0029D5D4 7F C3 F3 78 */ mr r3, r30
/* 802A0678 0029D5D8 BA E1 01 1C */ lmw r23, 0x11c(r1)
/* 802A067C 0029D5DC 80 01 01 44 */ lwz r0, 0x144(r1)
/* 802A0680 0029D5E0 7C 08 03 A6 */ mtlr r0
/* 802A0684 0029D5E4 38 21 01 40 */ addi r1, r1, 0x140
/* 802A0688 0029D5E8 4E 80 00 20 */ blr
.global Accept__23CMetroidPrimeProjectileFR8IVisitor
Accept__23CMetroidPrimeProjectileFR8IVisitor:
/* 802A068C 0029D5EC 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802A0690 0029D5F0 7C 08 02 A6 */ mflr r0
/* 802A0694 0029D5F4 90 01 00 14 */ stw r0, 0x14(r1)
/* 802A0698 0029D5F8 7C 60 1B 78 */ mr r0, r3
/* 802A069C 0029D5FC 7C 83 23 78 */ mr r3, r4
/* 802A06A0 0029D600 81 84 00 00 */ lwz r12, 0(r4)
/* 802A06A4 0029D604 7C 04 03 78 */ mr r4, r0
/* 802A06A8 0029D608 81 8C 00 20 */ lwz r12, 0x20(r12)
/* 802A06AC 0029D60C 7D 89 03 A6 */ mtctr r12
/* 802A06B0 0029D610 4E 80 04 21 */ bctrl
/* 802A06B4 0029D614 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802A06B8 0029D618 7C 08 03 A6 */ mtlr r0
/* 802A06BC 0029D61C 38 21 00 10 */ addi r1, r1, 0x10
/* 802A06C0 0029D620 4E 80 00 20 */ blr
.global "__ct__23CMetroidPrimeProjectileFbRC28TToken<18CWeaponDescription>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueIdUi9TUniqueIdUiRC9CVector3fRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sb"
"__ct__23CMetroidPrimeProjectileFbRC28TToken<18CWeaponDescription>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueIdUi9TUniqueIdUiRC9CVector3fRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sb":
/* 802A06C4 0029D624 94 21 FF A0 */ stwu r1, -0x60(r1)
/* 802A06C8 0029D628 7C 08 02 A6 */ mflr r0
/* 802A06CC 0029D62C 90 01 00 64 */ stw r0, 0x64(r1)
/* 802A06D0 0029D630 39 81 00 34 */ addi r12, r1, 0x34
/* 802A06D4 0029D634 81 61 00 74 */ lwz r11, 0x74(r1)
/* 802A06D8 0029D638 38 00 00 00 */ li r0, 0
/* 802A06DC 0029D63C BF 01 00 40 */ stmw r24, 0x40(r1)
/* 802A06E0 0029D640 3B C1 00 3C */ addi r30, r1, 0x3c
/* 802A06E4 0029D644 83 01 00 6C */ lwz r24, 0x6c(r1)
/* 802A06E8 0029D648 7C 7F 1B 78 */ mr r31, r3
/* 802A06EC 0029D64C 83 41 00 68 */ lwz r26, 0x68(r1)
/* 802A06F0 0029D650 83 21 00 7C */ lwz r25, 0x7c(r1)
/* 802A06F4 0029D654 A3 61 00 86 */ lhz r27, 0x86(r1)
/* 802A06F8 0029D658 A3 AA 00 00 */ lhz r29, 0(r10)
/* 802A06FC 0029D65C A1 4B 00 00 */ lhz r10, 0(r11)
/* 802A0700 0029D660 39 61 00 30 */ addi r11, r1, 0x30
/* 802A0704 0029D664 B1 41 00 30 */ sth r10, 0x30(r1)
/* 802A0708 0029D668 39 41 00 38 */ addi r10, r1, 0x38
/* 802A070C 0029D66C A3 98 00 00 */ lhz r28, 0(r24)
/* 802A0710 0029D670 83 01 00 78 */ lwz r24, 0x78(r1)
/* 802A0714 0029D674 B3 81 00 34 */ sth r28, 0x34(r1)
/* 802A0718 0029D678 83 9A 00 00 */ lwz r28, 0(r26)
/* 802A071C 0029D67C 83 41 00 80 */ lwz r26, 0x80(r1)
/* 802A0720 0029D680 93 81 00 3C */ stw r28, 0x3c(r1)
/* 802A0724 0029D684 8B 81 00 8B */ lbz r28, 0x8b(r1)
/* 802A0728 0029D688 B3 A1 00 38 */ sth r29, 0x38(r1)
/* 802A072C 0029D68C 83 A1 00 70 */ lwz r29, 0x70(r1)
/* 802A0730 0029D690 93 C1 00 08 */ stw r30, 8(r1)
/* 802A0734 0029D694 91 81 00 0C */ stw r12, 0xc(r1)
/* 802A0738 0029D698 91 61 00 10 */ stw r11, 0x10(r1)
/* 802A073C 0029D69C 93 01 00 14 */ stw r24, 0x14(r1)
/* 802A0740 0029D6A0 90 01 00 18 */ stw r0, 0x18(r1)
/* 802A0744 0029D6A4 93 21 00 1C */ stw r25, 0x1c(r1)
/* 802A0748 0029D6A8 93 41 00 20 */ stw r26, 0x20(r1)
/* 802A074C 0029D6AC 93 61 00 24 */ stw r27, 0x24(r1)
/* 802A0750 0029D6B0 93 81 00 28 */ stw r28, 0x28(r1)
/* 802A0754 0029D6B4 4B F7 4F 45 */ bl "__ct__17CEnergyProjectileFbRC28TToken<18CWeaponDescription>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueId9TUniqueIdUibRC9CVector3fRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sb"
/* 802A0758 0029D6B8 3C 80 80 3F */ lis r4, lbl_803EC390@ha
/* 802A075C 0029D6BC 38 7F 03 DC */ addi r3, r31, 0x3dc
/* 802A0760 0029D6C0 38 04 C3 90 */ addi r0, r4, lbl_803EC390@l
/* 802A0764 0029D6C4 38 9D 00 04 */ addi r4, r29, 4
/* 802A0768 0029D6C8 90 1F 00 00 */ stw r0, 0(r31)
/* 802A076C 0029D6CC 80 1D 00 00 */ lwz r0, 0(r29)
/* 802A0770 0029D6D0 90 1F 03 D8 */ stw r0, 0x3d8(r31)
/* 802A0774 0029D6D4 48 0A 07 35 */ bl __ct__6CTokenFRC6CToken
/* 802A0778 0029D6D8 80 1D 00 0C */ lwz r0, 0xc(r29)
/* 802A077C 0029D6DC 7F E3 FB 78 */ mr r3, r31
/* 802A0780 0029D6E0 90 1F 03 E4 */ stw r0, 0x3e4(r31)
/* 802A0784 0029D6E4 88 1D 00 10 */ lbz r0, 0x10(r29)
/* 802A0788 0029D6E8 98 1F 03 E8 */ stb r0, 0x3e8(r31)
/* 802A078C 0029D6EC C0 1D 00 14 */ lfs f0, 0x14(r29)
/* 802A0790 0029D6F0 D0 1F 03 EC */ stfs f0, 0x3ec(r31)
/* 802A0794 0029D6F4 C0 1D 00 18 */ lfs f0, 0x18(r29)
/* 802A0798 0029D6F8 D0 1F 03 F0 */ stfs f0, 0x3f0(r31)
/* 802A079C 0029D6FC C0 1D 00 1C */ lfs f0, 0x1c(r29)
/* 802A07A0 0029D700 D0 1F 03 F4 */ stfs f0, 0x3f4(r31)
/* 802A07A4 0029D704 C0 1D 00 20 */ lfs f0, 0x20(r29)
/* 802A07A8 0029D708 D0 1F 03 F8 */ stfs f0, 0x3f8(r31)
/* 802A07AC 0029D70C 88 1D 00 24 */ lbz r0, 0x24(r29)
/* 802A07B0 0029D710 98 1F 03 FC */ stb r0, 0x3fc(r31)
/* 802A07B4 0029D714 C0 1D 00 28 */ lfs f0, 0x28(r29)
/* 802A07B8 0029D718 D0 1F 04 00 */ stfs f0, 0x400(r31)
/* 802A07BC 0029D71C C0 1D 00 2C */ lfs f0, 0x2c(r29)
/* 802A07C0 0029D720 D0 1F 04 04 */ stfs f0, 0x404(r31)
/* 802A07C4 0029D724 C0 1D 00 30 */ lfs f0, 0x30(r29)
/* 802A07C8 0029D728 D0 1F 04 08 */ stfs f0, 0x408(r31)
/* 802A07CC 0029D72C 80 1D 00 34 */ lwz r0, 0x34(r29)
/* 802A07D0 0029D730 90 1F 04 0C */ stw r0, 0x40c(r31)
/* 802A07D4 0029D734 88 1D 00 38 */ lbz r0, 0x38(r29)
/* 802A07D8 0029D738 98 1F 04 10 */ stb r0, 0x410(r31)
/* 802A07DC 0029D73C BB 01 00 40 */ lmw r24, 0x40(r1)
/* 802A07E0 0029D740 80 01 00 64 */ lwz r0, 0x64(r1)
/* 802A07E4 0029D744 7C 08 03 A6 */ mtlr r0
/* 802A07E8 0029D748 38 21 00 60 */ addi r1, r1, 0x60
/* 802A07EC 0029D74C 4E 80 00 20 */ blr

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,680 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global Think__7CPufferFfR13CStateManager
Think__7CPufferFfR13CStateManager:
/* 8025C23C 0025919C 94 21 FF 90 */ stwu r1, -0x70(r1)
/* 8025C240 002591A0 7C 08 02 A6 */ mflr r0
/* 8025C244 002591A4 90 01 00 74 */ stw r0, 0x74(r1)
/* 8025C248 002591A8 DB E1 00 60 */ stfd f31, 0x60(r1)
/* 8025C24C 002591AC F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0
/* 8025C250 002591B0 93 E1 00 5C */ stw r31, 0x5c(r1)
/* 8025C254 002591B4 93 C1 00 58 */ stw r30, 0x58(r1)
/* 8025C258 002591B8 FF E0 08 90 */ fmr f31, f1
/* 8025C25C 002591BC 7C 7E 1B 78 */ mr r30, r3
/* 8025C260 002591C0 7C 9F 23 78 */ mr r31, r4
/* 8025C264 002591C4 4B E1 D8 B5 */ bl Think__10CPatternedFfR13CStateManager
/* 8025C268 002591C8 7F C3 F3 78 */ mr r3, r30
/* 8025C26C 002591CC 7F E4 FB 78 */ mr r4, r31
/* 8025C270 002591D0 4B FF FD 35 */ bl sub_8025bfa4
/* 8025C274 002591D4 80 7E 04 50 */ lwz r3, 0x450(r30)
/* 8025C278 002591D8 C0 03 00 04 */ lfs f0, 4(r3)
/* 8025C27C 002591DC D0 01 00 30 */ stfs f0, 0x30(r1)
/* 8025C280 002591E0 C0 03 00 08 */ lfs f0, 8(r3)
/* 8025C284 002591E4 D0 01 00 34 */ stfs f0, 0x34(r1)
/* 8025C288 002591E8 C0 03 00 0C */ lfs f0, 0xc(r3)
/* 8025C28C 002591EC D0 01 00 38 */ stfs f0, 0x38(r1)
/* 8025C290 002591F0 A0 1E 05 CC */ lhz r0, 0x5cc(r30)
/* 8025C294 002591F4 A0 7E 02 DC */ lhz r3, 0x2dc(r30)
/* 8025C298 002591F8 7C 00 18 40 */ cmplw r0, r3
/* 8025C29C 002591FC 41 82 00 48 */ beq lbl_8025C2E4
/* 8025C2A0 00259200 B0 7E 05 CC */ sth r3, 0x5cc(r30)
/* 8025C2A4 00259204 3C 60 80 5A */ lis r3, skZero3f@ha
/* 8025C2A8 00259208 38 C3 66 A0 */ addi r6, r3, skZero3f@l
/* 8025C2AC 0025920C A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2)
/* 8025C2B0 00259210 C0 5E 00 60 */ lfs f2, 0x60(r30)
/* 8025C2B4 00259214 38 61 00 08 */ addi r3, r1, 8
/* 8025C2B8 00259218 C0 3E 00 50 */ lfs f1, 0x50(r30)
/* 8025C2BC 0025921C 38 A1 00 24 */ addi r5, r1, 0x24
/* 8025C2C0 00259220 C0 1E 00 40 */ lfs f0, 0x40(r30)
/* 8025C2C4 00259224 38 E0 00 01 */ li r7, 1
/* 8025C2C8 00259228 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2)
/* 8025C2CC 0025922C 39 00 00 00 */ li r8, 0
/* 8025C2D0 00259230 D0 01 00 24 */ stfs f0, 0x24(r1)
/* 8025C2D4 00259234 D0 21 00 28 */ stfs f1, 0x28(r1)
/* 8025C2D8 00259238 D0 41 00 2C */ stfs f2, 0x2c(r1)
/* 8025C2DC 0025923C A0 9E 05 9A */ lhz r4, 0x59a(r30)
/* 8025C2E0 00259240 48 08 DF D1 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi
lbl_8025C2E4:
/* 8025C2E4 00259244 80 7E 04 50 */ lwz r3, 0x450(r30)
/* 8025C2E8 00259248 38 63 00 04 */ addi r3, r3, 4
/* 8025C2EC 0025924C 4B ED 51 BD */ bl ClearLocomotionCmds__16CBodyStateCmdMgrFv
/* 8025C2F0 00259250 38 61 00 30 */ addi r3, r1, 0x30
/* 8025C2F4 00259254 48 0B 84 05 */ bl CanBeNormalized__9CVector3fCFv
/* 8025C2F8 00259258 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8025C2FC 0025925C 41 82 00 BC */ beq lbl_8025C3B8
/* 8025C300 00259260 C0 02 B9 F0 */ lfs f0, lbl_805AD710@sda21(r2)
/* 8025C304 00259264 38 61 00 18 */ addi r3, r1, 0x18
/* 8025C308 00259268 C0 22 B9 EC */ lfs f1, lbl_805AD70C@sda21(r2)
/* 8025C30C 0025926C 38 81 00 0C */ addi r4, r1, 0xc
/* 8025C310 00259270 EC FF 00 24 */ fdivs f7, f31, f0
/* 8025C314 00259274 C0 81 00 34 */ lfs f4, 0x34(r1)
/* 8025C318 00259278 C0 41 00 38 */ lfs f2, 0x38(r1)
/* 8025C31C 0025927C C0 01 00 30 */ lfs f0, 0x30(r1)
/* 8025C320 00259280 C0 BE 05 C4 */ lfs f5, 0x5c4(r30)
/* 8025C324 00259284 C0 7E 05 C8 */ lfs f3, 0x5c8(r30)
/* 8025C328 00259288 EC C1 38 28 */ fsubs f6, f1, f7
/* 8025C32C 0025928C C0 3E 05 C0 */ lfs f1, 0x5c0(r30)
/* 8025C330 00259290 EC 84 01 F2 */ fmuls f4, f4, f7
/* 8025C334 00259294 EC 42 01 F2 */ fmuls f2, f2, f7
/* 8025C338 00259298 EC 00 01 F2 */ fmuls f0, f0, f7
/* 8025C33C 0025929C EC 85 21 BA */ fmadds f4, f5, f6, f4
/* 8025C340 002592A0 EC 43 11 BA */ fmadds f2, f3, f6, f2
/* 8025C344 002592A4 EC 01 01 BA */ fmadds f0, f1, f6, f0
/* 8025C348 002592A8 D0 81 00 10 */ stfs f4, 0x10(r1)
/* 8025C34C 002592AC D0 01 00 0C */ stfs f0, 0xc(r1)
/* 8025C350 002592B0 D0 41 00 14 */ stfs f2, 0x14(r1)
/* 8025C354 002592B4 48 0B 84 FD */ bl AsNormalized__9CVector3fCFv
/* 8025C358 002592B8 C0 21 00 18 */ lfs f1, 0x18(r1)
/* 8025C35C 002592BC 38 81 00 3C */ addi r4, r1, 0x3c
/* 8025C360 002592C0 C0 02 B9 EC */ lfs f0, lbl_805AD70C@sda21(r2)
/* 8025C364 002592C4 D0 3E 05 C0 */ stfs f1, 0x5c0(r30)
/* 8025C368 002592C8 C0 21 00 1C */ lfs f1, 0x1c(r1)
/* 8025C36C 002592CC D0 3E 05 C4 */ stfs f1, 0x5c4(r30)
/* 8025C370 002592D0 C0 21 00 20 */ lfs f1, 0x20(r1)
/* 8025C374 002592D4 D0 3E 05 C8 */ stfs f1, 0x5c8(r30)
/* 8025C378 002592D8 C0 3E 05 C0 */ lfs f1, 0x5c0(r30)
/* 8025C37C 002592DC D0 21 00 3C */ stfs f1, 0x3c(r1)
/* 8025C380 002592E0 C0 3E 05 C4 */ lfs f1, 0x5c4(r30)
/* 8025C384 002592E4 D0 21 00 40 */ stfs f1, 0x40(r1)
/* 8025C388 002592E8 C0 3E 05 C8 */ lfs f1, 0x5c8(r30)
/* 8025C38C 002592EC D0 21 00 44 */ stfs f1, 0x44(r1)
/* 8025C390 002592F0 C0 3E 05 68 */ lfs f1, 0x568(r30)
/* 8025C394 002592F4 D0 21 00 48 */ stfs f1, 0x48(r1)
/* 8025C398 002592F8 C0 3E 05 6C */ lfs f1, 0x56c(r30)
/* 8025C39C 002592FC D0 21 00 4C */ stfs f1, 0x4c(r1)
/* 8025C3A0 00259300 C0 3E 05 70 */ lfs f1, 0x570(r30)
/* 8025C3A4 00259304 D0 21 00 50 */ stfs f1, 0x50(r1)
/* 8025C3A8 00259308 D0 01 00 54 */ stfs f0, 0x54(r1)
/* 8025C3AC 0025930C 80 7E 04 50 */ lwz r3, 0x450(r30)
/* 8025C3B0 00259310 38 63 00 04 */ addi r3, r3, 4
/* 8025C3B4 00259314 4B ED 53 65 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd
lbl_8025C3B8:
/* 8025C3B8 00259318 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0
/* 8025C3BC 0025931C 80 01 00 74 */ lwz r0, 0x74(r1)
/* 8025C3C0 00259320 CB E1 00 60 */ lfd f31, 0x60(r1)
/* 8025C3C4 00259324 83 E1 00 5C */ lwz r31, 0x5c(r1)
/* 8025C3C8 00259328 83 C1 00 58 */ lwz r30, 0x58(r1)
/* 8025C3CC 0025932C 7C 08 03 A6 */ mtlr r0
/* 8025C3D0 00259330 38 21 00 70 */ addi r1, r1, 0x70
/* 8025C3D4 00259334 4E 80 00 20 */ blr
.global Death__7CPufferFRC9CVector3fR13CStateManager
Death__7CPufferFRC9CVector3fR13CStateManager:
/* 8025C3D8 00259338 94 21 FE A0 */ stwu r1, -0x160(r1)
/* 8025C3DC 0025933C 7C 08 02 A6 */ mflr r0
/* 8025C3E0 00259340 90 01 01 64 */ stw r0, 0x164(r1)
/* 8025C3E4 00259344 BF 61 01 4C */ stmw r27, 0x14c(r1)
/* 8025C3E8 00259348 7C 7E 1B 78 */ mr r30, r3
/* 8025C3EC 0025934C 7C 9F 23 78 */ mr r31, r4
/* 8025C3F0 00259350 4B E1 EF B5 */ bl Death__10CPatternedFR13CStateManagerRC9CVector3f18EScriptObjectState
/* 8025C3F4 00259354 80 AD 97 C0 */ lwz r5, lbl_805A8380@sda21(r13)
/* 8025C3F8 00259358 38 60 00 00 */ li r3, 0
/* 8025C3FC 0025935C 38 80 00 01 */ li r4, 1
/* 8025C400 00259360 48 12 DA F5 */ bl __shl2i
/* 8025C404 00259364 39 20 00 00 */ li r9, 0
/* 8025C408 00259368 38 00 00 03 */ li r0, 3
/* 8025C40C 0025936C 90 81 00 B4 */ stw r4, 0xb4(r1)
/* 8025C410 00259370 7F C5 F3 78 */ mr r5, r30
/* 8025C414 00259374 38 81 00 3C */ addi r4, r1, 0x3c
/* 8025C418 00259378 38 C1 00 70 */ addi r6, r1, 0x70
/* 8025C41C 0025937C 90 61 00 B0 */ stw r3, 0xb0(r1)
/* 8025C420 00259380 7F E3 FB 78 */ mr r3, r31
/* 8025C424 00259384 38 FE 05 9C */ addi r7, r30, 0x59c
/* 8025C428 00259388 39 01 00 B0 */ addi r8, r1, 0xb0
/* 8025C42C 0025938C 91 21 00 BC */ stw r9, 0xbc(r1)
/* 8025C430 00259390 91 21 00 B8 */ stw r9, 0xb8(r1)
/* 8025C434 00259394 90 01 00 C0 */ stw r0, 0xc0(r1)
/* 8025C438 00259398 C0 5E 00 60 */ lfs f2, 0x60(r30)
/* 8025C43C 0025939C C0 3E 00 50 */ lfs f1, 0x50(r30)
/* 8025C440 002593A0 C0 1E 00 40 */ lfs f0, 0x40(r30)
/* 8025C444 002593A4 D0 01 00 70 */ stfs f0, 0x70(r1)
/* 8025C448 002593A8 D0 21 00 74 */ stfs f1, 0x74(r1)
/* 8025C44C 002593AC D0 41 00 78 */ stfs f2, 0x78(r1)
/* 8025C450 002593B0 A0 1E 00 08 */ lhz r0, 8(r30)
/* 8025C454 002593B4 B0 01 00 38 */ sth r0, 0x38(r1)
/* 8025C458 002593B8 B0 01 00 3C */ sth r0, 0x3c(r1)
/* 8025C45C 002593BC 4B DE C8 51 */ bl ApplyDamageToWorld__13CStateManagerF9TUniqueIdRC6CActorRC9CVector3fRC11CDamageInfoRC15CMaterialFilter
/* 8025C460 002593C0 7F E4 FB 78 */ mr r4, r31
/* 8025C464 002593C4 38 61 00 34 */ addi r3, r1, 0x34
/* 8025C468 002593C8 4B DF 0C 75 */ bl AllocateUniqueId__13CStateManagerFv
/* 8025C46C 002593CC A0 01 00 34 */ lhz r0, 0x34(r1)
/* 8025C470 002593D0 38 61 00 E0 */ addi r3, r1, 0xe0
/* 8025C474 002593D4 C0 3E 05 8C */ lfs f1, 0x58c(r30)
/* 8025C478 002593D8 C0 42 B9 EC */ lfs f2, lbl_805AD70C@sda21(r2)
/* 8025C47C 002593DC C0 02 B9 F4 */ lfs f0, lbl_805AD714@sda21(r2)
/* 8025C480 002593E0 D0 41 00 58 */ stfs f2, 0x58(r1)
/* 8025C484 002593E4 B0 01 00 40 */ sth r0, 0x40(r1)
/* 8025C488 002593E8 D0 41 00 5C */ stfs f2, 0x5c(r1)
/* 8025C48C 002593EC D0 41 00 60 */ stfs f2, 0x60(r1)
/* 8025C490 002593F0 D0 01 00 64 */ stfs f0, 0x64(r1)
/* 8025C494 002593F4 D0 01 00 68 */ stfs f0, 0x68(r1)
/* 8025C498 002593F8 D0 01 00 6C */ stfs f0, 0x6c(r1)
/* 8025C49C 002593FC 48 0B 6D A5 */ bl Scale__12CTransform4fFf
/* 8025C4A0 00259400 38 61 01 10 */ addi r3, r1, 0x110
/* 8025C4A4 00259404 38 9E 00 34 */ addi r4, r30, 0x34
/* 8025C4A8 00259408 38 A1 00 E0 */ addi r5, r1, 0xe0
/* 8025C4AC 0025940C 48 0B 64 A5 */ bl __ml__12CTransform4fCFRC12CTransform4f
/* 8025C4B0 00259410 38 61 00 7C */ addi r3, r1, 0x7c
/* 8025C4B4 00259414 38 81 00 64 */ addi r4, r1, 0x64
/* 8025C4B8 00259418 38 A1 00 58 */ addi r5, r1, 0x58
/* 8025C4BC 0025941C 48 0D C0 4D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f
/* 8025C4C0 00259420 7C 64 1B 78 */ mr r4, r3
/* 8025C4C4 00259424 38 61 00 94 */ addi r3, r1, 0x94
/* 8025C4C8 00259428 38 A1 01 10 */ addi r5, r1, 0x110
/* 8025C4CC 0025942C 48 0D B4 31 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f
/* 8025C4D0 00259430 C0 A1 00 94 */ lfs f5, 0x94(r1)
/* 8025C4D4 00259434 3C 60 80 3D */ lis r3, lbl_803D5100@ha
/* 8025C4D8 00259438 C0 81 00 98 */ lfs f4, 0x98(r1)
/* 8025C4DC 0025943C 38 63 51 00 */ addi r3, r3, lbl_803D5100@l
/* 8025C4E0 00259440 C0 61 00 9C */ lfs f3, 0x9c(r1)
/* 8025C4E4 00259444 38 83 01 26 */ addi r4, r3, 0x126
/* 8025C4E8 00259448 C0 41 00 A0 */ lfs f2, 0xa0(r1)
/* 8025C4EC 0025944C 38 60 01 60 */ li r3, 0x160
/* 8025C4F0 00259450 C0 21 00 A4 */ lfs f1, 0xa4(r1)
/* 8025C4F4 00259454 38 A0 00 00 */ li r5, 0
/* 8025C4F8 00259458 C0 01 00 A8 */ lfs f0, 0xa8(r1)
/* 8025C4FC 0025945C D0 A1 00 C8 */ stfs f5, 0xc8(r1)
/* 8025C500 00259460 D0 81 00 CC */ stfs f4, 0xcc(r1)
/* 8025C504 00259464 D0 61 00 D0 */ stfs f3, 0xd0(r1)
/* 8025C508 00259468 D0 41 00 D4 */ stfs f2, 0xd4(r1)
/* 8025C50C 0025946C D0 21 00 D8 */ stfs f1, 0xd8(r1)
/* 8025C510 00259470 D0 01 00 DC */ stfs f0, 0xdc(r1)
/* 8025C514 00259474 48 0B 93 59 */ bl __nw__FUlPCcPCc
/* 8025C518 00259478 7C 64 1B 79 */ or. r4, r3, r3
/* 8025C51C 0025947C 41 82 00 A8 */ beq lbl_8025C5C4
/* 8025C520 00259480 C0 22 B9 EC */ lfs f1, lbl_805AD70C@sda21(r2)
/* 8025C524 00259484 39 81 00 C8 */ addi r12, r1, 0xc8
/* 8025C528 00259488 A3 A1 00 40 */ lhz r29, 0x40(r1)
/* 8025C52C 0025948C 39 61 00 4C */ addi r11, r1, 0x4c
/* 8025C530 00259490 D0 21 00 4C */ stfs f1, 0x4c(r1)
/* 8025C534 00259494 38 00 00 01 */ li r0, 1
/* 8025C538 00259498 FC 60 08 90 */ fmr f3, f1
/* 8025C53C 0025949C 38 9E 05 74 */ addi r4, r30, 0x574
/* 8025C540 002594A0 D0 21 00 50 */ stfs f1, 0x50(r1)
/* 8025C544 002594A4 FC 80 08 90 */ fmr f4, f1
/* 8025C548 002594A8 38 A1 00 28 */ addi r5, r1, 0x28
/* 8025C54C 002594AC 38 C1 00 48 */ addi r6, r1, 0x48
/* 8025C550 002594B0 D0 21 00 54 */ stfs f1, 0x54(r1)
/* 8025C554 002594B4 39 01 00 30 */ addi r8, r1, 0x30
/* 8025C558 002594B8 39 3E 00 34 */ addi r9, r30, 0x34
/* 8025C55C 002594BC 39 5E 05 7C */ addi r10, r30, 0x57c
/* 8025C560 002594C0 A3 7E 00 08 */ lhz r27, 8(r30)
/* 8025C564 002594C4 38 E0 00 01 */ li r7, 1
/* 8025C568 002594C8 B3 61 00 30 */ sth r27, 0x30(r1)
/* 8025C56C 002594CC 83 9E 00 04 */ lwz r28, 4(r30)
/* 8025C570 002594D0 B3 61 00 2C */ sth r27, 0x2c(r1)
/* 8025C574 002594D4 93 81 00 48 */ stw r28, 0x48(r1)
/* 8025C578 002594D8 B3 A1 00 28 */ sth r29, 0x28(r1)
/* 8025C57C 002594DC 91 81 00 08 */ stw r12, 8(r1)
/* 8025C580 002594E0 91 61 00 0C */ stw r11, 0xc(r1)
/* 8025C584 002594E4 90 01 00 10 */ stw r0, 0x10(r1)
/* 8025C588 002594E8 80 1E 05 BC */ lwz r0, 0x5bc(r30)
/* 8025C58C 002594EC 93 81 00 44 */ stw r28, 0x44(r1)
/* 8025C590 002594F0 90 01 00 14 */ stw r0, 0x14(r1)
/* 8025C594 002594F4 88 1E 05 98 */ lbz r0, 0x598(r30)
/* 8025C598 002594F8 54 00 CF FE */ rlwinm r0, r0, 0x19, 0x1f, 0x1f
/* 8025C59C 002594FC 90 01 00 18 */ stw r0, 0x18(r1)
/* 8025C5A0 00259500 88 1E 05 98 */ lbz r0, 0x598(r30)
/* 8025C5A4 00259504 54 00 DF FE */ rlwinm r0, r0, 0x1b, 0x1f, 0x1f
/* 8025C5A8 00259508 90 01 00 1C */ stw r0, 0x1c(r1)
/* 8025C5AC 0025950C 88 1E 05 98 */ lbz r0, 0x598(r30)
/* 8025C5B0 00259510 54 00 D7 FE */ rlwinm r0, r0, 0x1a, 0x1f, 0x1f
/* 8025C5B4 00259514 90 01 00 20 */ stw r0, 0x20(r1)
/* 8025C5B8 00259518 C0 5E 05 B8 */ lfs f2, 0x5b8(r30)
/* 8025C5BC 0025951C 48 00 0C 21 */ bl __ct__5CFire
/* 8025C5C0 00259520 7C 64 1B 78 */ mr r4, r3
lbl_8025C5C4:
/* 8025C5C4 00259524 7F E3 FB 78 */ mr r3, r31
/* 8025C5C8 00259528 4B DF 07 2D */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence
/* 8025C5CC 0025952C BB 61 01 4C */ lmw r27, 0x14c(r1)
/* 8025C5D0 00259530 80 01 01 64 */ lwz r0, 0x164(r1)
/* 8025C5D4 00259534 7C 08 03 A6 */ mtlr r0
/* 8025C5D8 00259538 38 21 01 60 */ addi r1, r1, 0x160
/* 8025C5DC 0025953C 4E 80 00 20 */ blr
.global GetTouchBounds__7CPufferCFv
GetTouchBounds__7CPufferCFv:
/* 8025C5E0 00259540 94 21 FF 80 */ stwu r1, -0x80(r1)
/* 8025C5E4 00259544 7C 08 02 A6 */ mflr r0
/* 8025C5E8 00259548 90 01 00 84 */ stw r0, 0x84(r1)
/* 8025C5EC 0025954C 93 E1 00 7C */ stw r31, 0x7c(r1)
/* 8025C5F0 00259550 7C 7F 1B 78 */ mr r31, r3
/* 8025C5F4 00259554 38 61 00 20 */ addi r3, r1, 0x20
/* 8025C5F8 00259558 4B E1 B1 79 */ bl GetTouchBounds__10CPatternedCFv
/* 8025C5FC 0025955C 88 01 00 38 */ lbz r0, 0x38(r1)
/* 8025C600 00259560 28 00 00 00 */ cmplwi r0, 0
/* 8025C604 00259564 98 01 00 6C */ stb r0, 0x6c(r1)
/* 8025C608 00259568 41 82 00 3C */ beq lbl_8025C644
/* 8025C60C 0025956C 34 61 00 54 */ addic. r3, r1, 0x54
/* 8025C610 00259570 41 82 00 34 */ beq lbl_8025C644
/* 8025C614 00259574 C0 01 00 20 */ lfs f0, 0x20(r1)
/* 8025C618 00259578 D0 03 00 00 */ stfs f0, 0(r3)
/* 8025C61C 0025957C C0 01 00 24 */ lfs f0, 0x24(r1)
/* 8025C620 00259580 D0 03 00 04 */ stfs f0, 4(r3)
/* 8025C624 00259584 C0 01 00 28 */ lfs f0, 0x28(r1)
/* 8025C628 00259588 D0 03 00 08 */ stfs f0, 8(r3)
/* 8025C62C 0025958C C0 01 00 2C */ lfs f0, 0x2c(r1)
/* 8025C630 00259590 D0 03 00 0C */ stfs f0, 0xc(r3)
/* 8025C634 00259594 C0 01 00 30 */ lfs f0, 0x30(r1)
/* 8025C638 00259598 D0 03 00 10 */ stfs f0, 0x10(r3)
/* 8025C63C 0025959C C0 01 00 34 */ lfs f0, 0x34(r1)
/* 8025C640 002595A0 D0 03 00 14 */ stfs f0, 0x14(r3)
lbl_8025C644:
/* 8025C644 002595A4 88 61 00 6C */ lbz r3, 0x6c(r1)
/* 8025C648 002595A8 38 00 00 00 */ li r0, 0
/* 8025C64C 002595AC 98 01 00 38 */ stb r0, 0x38(r1)
/* 8025C650 002595B0 28 03 00 00 */ cmplwi r3, 0
/* 8025C654 002595B4 41 82 00 DC */ beq lbl_8025C730
/* 8025C658 002595B8 C0 C1 00 54 */ lfs f6, 0x54(r1)
/* 8025C65C 002595BC 38 61 00 3C */ addi r3, r1, 0x3c
/* 8025C660 002595C0 C0 A1 00 58 */ lfs f5, 0x58(r1)
/* 8025C664 002595C4 38 81 00 14 */ addi r4, r1, 0x14
/* 8025C668 002595C8 C0 02 B9 F0 */ lfs f0, lbl_805AD710@sda21(r2)
/* 8025C66C 002595CC C0 81 00 5C */ lfs f4, 0x5c(r1)
/* 8025C670 002595D0 ED 05 00 28 */ fsubs f8, f5, f0
/* 8025C674 002595D4 C0 61 00 60 */ lfs f3, 0x60(r1)
/* 8025C678 002595D8 EC E4 00 28 */ fsubs f7, f4, f0
/* 8025C67C 002595DC C0 41 00 64 */ lfs f2, 0x64(r1)
/* 8025C680 002595E0 EC 06 00 28 */ fsubs f0, f6, f0
/* 8025C684 002595E4 C0 21 00 68 */ lfs f1, 0x68(r1)
/* 8025C688 002595E8 D0 C1 00 3C */ stfs f6, 0x3c(r1)
/* 8025C68C 002595EC D0 A1 00 40 */ stfs f5, 0x40(r1)
/* 8025C690 002595F0 D0 81 00 44 */ stfs f4, 0x44(r1)
/* 8025C694 002595F4 D0 61 00 48 */ stfs f3, 0x48(r1)
/* 8025C698 002595F8 D0 41 00 4C */ stfs f2, 0x4c(r1)
/* 8025C69C 002595FC D0 21 00 50 */ stfs f1, 0x50(r1)
/* 8025C6A0 00259600 D0 01 00 14 */ stfs f0, 0x14(r1)
/* 8025C6A4 00259604 D1 01 00 18 */ stfs f8, 0x18(r1)
/* 8025C6A8 00259608 D0 E1 00 1C */ stfs f7, 0x1c(r1)
/* 8025C6AC 0025960C 48 0D B4 5D */ bl AccumulateBounds__6CAABoxFRC9CVector3f
/* 8025C6B0 00259610 C0 61 00 4C */ lfs f3, 0x4c(r1)
/* 8025C6B4 00259614 38 61 00 3C */ addi r3, r1, 0x3c
/* 8025C6B8 00259618 C0 42 B9 F0 */ lfs f2, lbl_805AD710@sda21(r2)
/* 8025C6BC 0025961C 38 81 00 08 */ addi r4, r1, 8
/* 8025C6C0 00259620 C0 21 00 50 */ lfs f1, 0x50(r1)
/* 8025C6C4 00259624 C0 01 00 48 */ lfs f0, 0x48(r1)
/* 8025C6C8 00259628 EC 63 10 2A */ fadds f3, f3, f2
/* 8025C6CC 0025962C EC 21 10 2A */ fadds f1, f1, f2
/* 8025C6D0 00259630 EC 00 10 2A */ fadds f0, f0, f2
/* 8025C6D4 00259634 D0 61 00 0C */ stfs f3, 0xc(r1)
/* 8025C6D8 00259638 D0 01 00 08 */ stfs f0, 8(r1)
/* 8025C6DC 0025963C D0 21 00 10 */ stfs f1, 0x10(r1)
/* 8025C6E0 00259640 48 0D B4 29 */ bl AccumulateBounds__6CAABoxFRC9CVector3f
/* 8025C6E4 00259644 38 00 00 01 */ li r0, 1
/* 8025C6E8 00259648 28 1F 00 00 */ cmplwi r31, 0
/* 8025C6EC 0025964C 98 1F 00 18 */ stb r0, 0x18(r31)
/* 8025C6F0 00259650 41 82 00 34 */ beq lbl_8025C724
/* 8025C6F4 00259654 C0 01 00 3C */ lfs f0, 0x3c(r1)
/* 8025C6F8 00259658 D0 1F 00 00 */ stfs f0, 0(r31)
/* 8025C6FC 0025965C C0 01 00 40 */ lfs f0, 0x40(r1)
/* 8025C700 00259660 D0 1F 00 04 */ stfs f0, 4(r31)
/* 8025C704 00259664 C0 01 00 44 */ lfs f0, 0x44(r1)
/* 8025C708 00259668 D0 1F 00 08 */ stfs f0, 8(r31)
/* 8025C70C 0025966C C0 01 00 48 */ lfs f0, 0x48(r1)
/* 8025C710 00259670 D0 1F 00 0C */ stfs f0, 0xc(r31)
/* 8025C714 00259674 C0 01 00 4C */ lfs f0, 0x4c(r1)
/* 8025C718 00259678 D0 1F 00 10 */ stfs f0, 0x10(r31)
/* 8025C71C 0025967C C0 01 00 50 */ lfs f0, 0x50(r1)
/* 8025C720 00259680 D0 1F 00 14 */ stfs f0, 0x14(r31)
lbl_8025C724:
/* 8025C724 00259684 38 00 00 00 */ li r0, 0
/* 8025C728 00259688 98 01 00 6C */ stb r0, 0x6c(r1)
/* 8025C72C 0025968C 48 00 00 4C */ b lbl_8025C778
lbl_8025C730:
/* 8025C730 00259690 98 7F 00 18 */ stb r3, 0x18(r31)
/* 8025C734 00259694 41 82 00 3C */ beq lbl_8025C770
/* 8025C738 00259698 28 1F 00 00 */ cmplwi r31, 0
/* 8025C73C 0025969C 41 82 00 34 */ beq lbl_8025C770
/* 8025C740 002596A0 C0 21 00 54 */ lfs f1, 0x54(r1)
/* 8025C744 002596A4 C0 01 00 58 */ lfs f0, 0x58(r1)
/* 8025C748 002596A8 D0 3F 00 00 */ stfs f1, 0(r31)
/* 8025C74C 002596AC C0 21 00 5C */ lfs f1, 0x5c(r1)
/* 8025C750 002596B0 D0 1F 00 04 */ stfs f0, 4(r31)
/* 8025C754 002596B4 C0 01 00 60 */ lfs f0, 0x60(r1)
/* 8025C758 002596B8 D0 3F 00 08 */ stfs f1, 8(r31)
/* 8025C75C 002596BC C0 21 00 64 */ lfs f1, 0x64(r1)
/* 8025C760 002596C0 D0 1F 00 0C */ stfs f0, 0xc(r31)
/* 8025C764 002596C4 C0 01 00 68 */ lfs f0, 0x68(r1)
/* 8025C768 002596C8 D0 3F 00 10 */ stfs f1, 0x10(r31)
/* 8025C76C 002596CC D0 1F 00 14 */ stfs f0, 0x14(r31)
lbl_8025C770:
/* 8025C770 002596D0 38 00 00 00 */ li r0, 0
/* 8025C774 002596D4 98 01 00 6C */ stb r0, 0x6c(r1)
lbl_8025C778:
/* 8025C778 002596D8 80 01 00 84 */ lwz r0, 0x84(r1)
/* 8025C77C 002596DC 83 E1 00 7C */ lwz r31, 0x7c(r1)
/* 8025C780 002596E0 7C 08 03 A6 */ mtlr r0
/* 8025C784 002596E4 38 21 00 80 */ addi r1, r1, 0x80
/* 8025C788 002596E8 4E 80 00 20 */ blr
.global Touch__7CPufferR6CActorR13CStateManager
Touch__7CPufferR6CActorR13CStateManager:
/* 8025C78C 002596EC 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8025C790 002596F0 7C 08 02 A6 */ mflr r0
/* 8025C794 002596F4 90 01 00 24 */ stw r0, 0x24(r1)
/* 8025C798 002596F8 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8025C79C 002596FC 7C BF 2B 78 */ mr r31, r5
/* 8025C7A0 00259700 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8025C7A4 00259704 7C 9E 23 78 */ mr r30, r4
/* 8025C7A8 00259708 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8025C7AC 0025970C 7C 7D 1B 78 */ mr r29, r3
/* 8025C7B0 00259710 4B E1 D2 F1 */ bl Touch__10CPatternedFR6CActorR13CStateManager
/* 8025C7B4 00259714 88 1D 04 00 */ lbz r0, 0x400(r29)
/* 8025C7B8 00259718 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f
/* 8025C7BC 0025971C 41 82 00 28 */ beq lbl_8025C7E4
/* 8025C7C0 00259720 80 7F 08 4C */ lwz r3, 0x84c(r31)
/* 8025C7C4 00259724 A0 1E 00 08 */ lhz r0, 8(r30)
/* 8025C7C8 00259728 A0 63 00 08 */ lhz r3, 8(r3)
/* 8025C7CC 0025972C 7C 03 00 40 */ cmplw r3, r0
/* 8025C7D0 00259730 40 82 00 14 */ bne lbl_8025C7E4
/* 8025C7D4 00259734 88 1D 04 01 */ lbz r0, 0x401(r29)
/* 8025C7D8 00259738 38 60 00 01 */ li r3, 1
/* 8025C7DC 0025973C 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e
/* 8025C7E0 00259740 98 1D 04 01 */ stb r0, 0x401(r29)
lbl_8025C7E4:
/* 8025C7E4 00259744 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8025C7E8 00259748 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8025C7EC 0025974C 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8025C7F0 00259750 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8025C7F4 00259754 7C 08 03 A6 */ mtlr r0
/* 8025C7F8 00259758 38 21 00 20 */ addi r1, r1, 0x20
/* 8025C7FC 0025975C 4E 80 00 20 */ blr
.global AcceptScriptMsg__7CPufferF20EScriptObjectMessage9TUniqueIdR13CStateManager
AcceptScriptMsg__7CPufferF20EScriptObjectMessage9TUniqueIdR13CStateManager:
/* 8025C800 00259760 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 8025C804 00259764 7C 08 02 A6 */ mflr r0
/* 8025C808 00259768 90 01 00 44 */ stw r0, 0x44(r1)
/* 8025C80C 0025976C 93 E1 00 3C */ stw r31, 0x3c(r1)
/* 8025C810 00259770 7C 9F 23 78 */ mr r31, r4
/* 8025C814 00259774 93 C1 00 38 */ stw r30, 0x38(r1)
/* 8025C818 00259778 7C DE 33 78 */ mr r30, r6
/* 8025C81C 0025977C 93 A1 00 34 */ stw r29, 0x34(r1)
/* 8025C820 00259780 7C 7D 1B 78 */ mr r29, r3
/* 8025C824 00259784 A0 05 00 00 */ lhz r0, 0(r5)
/* 8025C828 00259788 38 A1 00 08 */ addi r5, r1, 8
/* 8025C82C 0025978C B0 01 00 08 */ sth r0, 8(r1)
/* 8025C830 00259790 4B E2 03 49 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager
/* 8025C834 00259794 2C 1F 00 21 */ cmpwi r31, 0x21
/* 8025C838 00259798 41 82 00 14 */ beq lbl_8025C84C
/* 8025C83C 0025979C 40 80 00 88 */ bge lbl_8025C8C4
/* 8025C840 002597A0 2C 1F 00 13 */ cmpwi r31, 0x13
/* 8025C844 002597A4 41 82 00 64 */ beq lbl_8025C8A8
/* 8025C848 002597A8 48 00 00 7C */ b lbl_8025C8C4
lbl_8025C84C:
/* 8025C84C 002597AC 80 7D 04 50 */ lwz r3, 0x450(r29)
/* 8025C850 002597B0 7F C4 F3 78 */ mr r4, r30
/* 8025C854 002597B4 4B ED E4 9D */ bl Activate__15CBodyControllerFR13CStateManager
/* 8025C858 002597B8 80 AD 97 C8 */ lwz r5, lbl_805A8388@sda21(r13)
/* 8025C85C 002597BC 38 60 00 00 */ li r3, 0
/* 8025C860 002597C0 38 80 00 01 */ li r4, 1
/* 8025C864 002597C4 48 12 D6 91 */ bl __shl2i
/* 8025C868 002597C8 80 AD 97 C4 */ lwz r5, lbl_805A8384@sda21(r13)
/* 8025C86C 002597CC 7C 9E 23 78 */ mr r30, r4
/* 8025C870 002597D0 7C 7F 1B 78 */ mr r31, r3
/* 8025C874 002597D4 38 60 00 00 */ li r3, 0
/* 8025C878 002597D8 38 80 00 01 */ li r4, 1
/* 8025C87C 002597DC 48 12 D6 79 */ bl __shl2i
/* 8025C880 002597E0 38 00 00 03 */ li r0, 3
/* 8025C884 002597E4 90 81 00 14 */ stw r4, 0x14(r1)
/* 8025C888 002597E8 38 81 00 10 */ addi r4, r1, 0x10
/* 8025C88C 002597EC 90 61 00 10 */ stw r3, 0x10(r1)
/* 8025C890 002597F0 7F A3 EB 78 */ mr r3, r29
/* 8025C894 002597F4 93 C1 00 1C */ stw r30, 0x1c(r1)
/* 8025C898 002597F8 93 E1 00 18 */ stw r31, 0x18(r1)
/* 8025C89C 002597FC 90 01 00 20 */ stw r0, 0x20(r1)
/* 8025C8A0 00259800 4B DF 70 01 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter
/* 8025C8A4 00259804 48 00 00 20 */ b lbl_8025C8C4
lbl_8025C8A8:
/* 8025C8A8 00259808 88 1D 00 30 */ lbz r0, 0x30(r29)
/* 8025C8AC 0025980C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8025C8B0 00259810 41 82 00 14 */ beq lbl_8025C8C4
/* 8025C8B4 00259814 88 1D 04 01 */ lbz r0, 0x401(r29)
/* 8025C8B8 00259818 38 60 00 01 */ li r3, 1
/* 8025C8BC 0025981C 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e
/* 8025C8C0 00259820 98 1D 04 01 */ stb r0, 0x401(r29)
lbl_8025C8C4:
/* 8025C8C4 00259824 80 01 00 44 */ lwz r0, 0x44(r1)
/* 8025C8C8 00259828 83 E1 00 3C */ lwz r31, 0x3c(r1)
/* 8025C8CC 0025982C 83 C1 00 38 */ lwz r30, 0x38(r1)
/* 8025C8D0 00259830 83 A1 00 34 */ lwz r29, 0x34(r1)
/* 8025C8D4 00259834 7C 08 03 A6 */ mtlr r0
/* 8025C8D8 00259838 38 21 00 40 */ addi r1, r1, 0x40
/* 8025C8DC 0025983C 4E 80 00 20 */ blr
.global Accept__7CPufferFR8IVisitor
Accept__7CPufferFR8IVisitor:
/* 8025C8E0 00259840 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8025C8E4 00259844 7C 08 02 A6 */ mflr r0
/* 8025C8E8 00259848 90 01 00 14 */ stw r0, 0x14(r1)
/* 8025C8EC 0025984C 7C 60 1B 78 */ mr r0, r3
/* 8025C8F0 00259850 7C 83 23 78 */ mr r3, r4
/* 8025C8F4 00259854 81 84 00 00 */ lwz r12, 0(r4)
/* 8025C8F8 00259858 7C 04 03 78 */ mr r4, r0
/* 8025C8FC 0025985C 81 8C 00 4C */ lwz r12, 0x4c(r12)
/* 8025C900 00259860 7D 89 03 A6 */ mtctr r12
/* 8025C904 00259864 4E 80 04 21 */ bctrl
/* 8025C908 00259868 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8025C90C 0025986C 7C 08 03 A6 */ mtlr r0
/* 8025C910 00259870 38 21 00 10 */ addi r1, r1, 0x10
/* 8025C914 00259874 4E 80 00 20 */ blr
.global __dt__7CPufferFv
__dt__7CPufferFv:
/* 8025C918 00259878 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8025C91C 0025987C 7C 08 02 A6 */ mflr r0
/* 8025C920 00259880 90 01 00 14 */ stw r0, 0x14(r1)
/* 8025C924 00259884 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8025C928 00259888 7C 9F 23 78 */ mr r31, r4
/* 8025C92C 0025988C 93 C1 00 08 */ stw r30, 8(r1)
/* 8025C930 00259890 7C 7E 1B 79 */ or. r30, r3, r3
/* 8025C934 00259894 41 82 00 9C */ beq lbl_8025C9D0
/* 8025C938 00259898 3C 60 80 3F */ lis r3, lbl_803E96C0@ha
/* 8025C93C 0025989C 34 1E 05 D4 */ addic. r0, r30, 0x5d4
/* 8025C940 002598A0 38 03 96 C0 */ addi r0, r3, lbl_803E96C0@l
/* 8025C944 002598A4 90 1E 00 00 */ stw r0, 0(r30)
/* 8025C948 002598A8 41 82 00 58 */ beq lbl_8025C9A0
/* 8025C94C 002598AC 80 BE 05 D4 */ lwz r5, 0x5d4(r30)
/* 8025C950 002598B0 38 60 00 00 */ li r3, 0
/* 8025C954 002598B4 2C 05 00 00 */ cmpwi r5, 0
/* 8025C958 002598B8 40 81 00 40 */ ble lbl_8025C998
/* 8025C95C 002598BC 2C 05 00 08 */ cmpwi r5, 8
/* 8025C960 002598C0 38 85 FF F8 */ addi r4, r5, -8
/* 8025C964 002598C4 40 81 00 20 */ ble lbl_8025C984
/* 8025C968 002598C8 38 04 00 07 */ addi r0, r4, 7
/* 8025C96C 002598CC 54 00 E8 FE */ srwi r0, r0, 3
/* 8025C970 002598D0 7C 09 03 A6 */ mtctr r0
/* 8025C974 002598D4 2C 04 00 00 */ cmpwi r4, 0
/* 8025C978 002598D8 40 81 00 0C */ ble lbl_8025C984
lbl_8025C97C:
/* 8025C97C 002598DC 38 63 00 08 */ addi r3, r3, 8
/* 8025C980 002598E0 42 00 FF FC */ bdnz lbl_8025C97C
lbl_8025C984:
/* 8025C984 002598E4 7C 03 28 50 */ subf r0, r3, r5
/* 8025C988 002598E8 7C 09 03 A6 */ mtctr r0
/* 8025C98C 002598EC 7C 03 28 00 */ cmpw r3, r5
/* 8025C990 002598F0 40 80 00 08 */ bge lbl_8025C998
lbl_8025C994:
/* 8025C994 002598F4 42 00 00 00 */ bdnz lbl_8025C994
lbl_8025C998:
/* 8025C998 002598F8 38 00 00 00 */ li r0, 0
/* 8025C99C 002598FC 90 1E 05 D4 */ stw r0, 0x5d4(r30)
lbl_8025C9A0:
/* 8025C9A0 00259900 34 1E 05 74 */ addic. r0, r30, 0x574
/* 8025C9A4 00259904 41 82 00 10 */ beq lbl_8025C9B4
/* 8025C9A8 00259908 38 7E 05 74 */ addi r3, r30, 0x574
/* 8025C9AC 0025990C 38 80 00 00 */ li r4, 0
/* 8025C9B0 00259910 48 0E 44 91 */ bl __dt__6CTokenFv
lbl_8025C9B4:
/* 8025C9B4 00259914 7F C3 F3 78 */ mr r3, r30
/* 8025C9B8 00259918 38 80 00 00 */ li r4, 0
/* 8025C9BC 0025991C 4B E1 AB B5 */ bl __dt__10CPatternedFv
/* 8025C9C0 00259920 7F E0 07 35 */ extsh. r0, r31
/* 8025C9C4 00259924 40 81 00 0C */ ble lbl_8025C9D0
/* 8025C9C8 00259928 7F C3 F3 78 */ mr r3, r30
/* 8025C9CC 0025992C 48 0B 8F 65 */ bl Free__7CMemoryFPCv
lbl_8025C9D0:
/* 8025C9D0 00259930 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8025C9D4 00259934 7F C3 F3 78 */ mr r3, r30
/* 8025C9D8 00259938 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8025C9DC 0025993C 83 C1 00 08 */ lwz r30, 8(r1)
/* 8025C9E0 00259940 7C 08 03 A6 */ mtlr r0
/* 8025C9E4 00259944 38 21 00 10 */ addi r1, r1, 0x10
/* 8025C9E8 00259948 4E 80 00 20 */ blr
.global __ct__7CPuffer
__ct__7CPuffer:
/* 8025C9EC 0025994C 94 21 FF 80 */ stwu r1, -0x80(r1)
/* 8025C9F0 00259950 7C 08 02 A6 */ mflr r0
/* 8025C9F4 00259954 90 01 00 84 */ stw r0, 0x84(r1)
/* 8025C9F8 00259958 DB E1 00 70 */ stfd f31, 0x70(r1)
/* 8025C9FC 0025995C F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0
/* 8025CA00 00259960 DB C1 00 60 */ stfd f30, 0x60(r1)
/* 8025CA04 00259964 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0
/* 8025CA08 00259968 BE C1 00 38 */ stmw r22, 0x38(r1)
/* 8025CA0C 0025996C A0 04 00 00 */ lhz r0, 0(r4)
/* 8025CA10 00259970 7C CB 33 78 */ mr r11, r6
/* 8025CA14 00259974 7C F8 3B 78 */ mr r24, r7
/* 8025CA18 00259978 7D 07 43 78 */ mr r7, r8
/* 8025CA1C 0025997C B0 01 00 20 */ sth r0, 0x20(r1)
/* 8025CA20 00259980 38 C0 00 01 */ li r6, 1
/* 8025CA24 00259984 38 80 00 05 */ li r4, 5
/* 8025CA28 00259988 FF C0 08 90 */ fmr f30, f1
/* 8025CA2C 0025998C 91 41 00 08 */ stw r10, 8(r1)
/* 8025CA30 00259990 7C EA 3B 78 */ mr r10, r7
/* 8025CA34 00259994 FF E0 10 90 */ fmr f31, f2
/* 8025CA38 00259998 38 00 00 00 */ li r0, 0
/* 8025CA3C 0025999C 90 C1 00 0C */ stw r6, 0xc(r1)
/* 8025CA40 002599A0 83 21 00 88 */ lwz r25, 0x88(r1)
/* 8025CA44 002599A4 7C 77 1B 78 */ mr r23, r3
/* 8025CA48 002599A8 90 C1 00 10 */ stw r6, 0x10(r1)
/* 8025CA4C 002599AC 7C A6 2B 78 */ mr r6, r5
/* 8025CA50 002599B0 83 41 00 8C */ lwz r26, 0x8c(r1)
/* 8025CA54 002599B4 90 81 00 14 */ stw r4, 0x14(r1)
/* 8025CA58 002599B8 7D 68 5B 78 */ mr r8, r11
/* 8025CA5C 002599BC 83 61 00 90 */ lwz r27, 0x90(r1)
/* 8025CA60 002599C0 38 A1 00 20 */ addi r5, r1, 0x20
/* 8025CA64 002599C4 91 21 00 18 */ stw r9, 0x18(r1)
/* 8025CA68 002599C8 7F 09 C3 78 */ mr r9, r24
/* 8025CA6C 002599CC 8B 81 00 97 */ lbz r28, 0x97(r1)
/* 8025CA70 002599D0 38 80 00 1D */ li r4, 0x1d
/* 8025CA74 002599D4 90 01 00 1C */ stw r0, 0x1c(r1)
/* 8025CA78 002599D8 38 E0 00 00 */ li r7, 0
/* 8025CA7C 002599DC 8B A1 00 9B */ lbz r29, 0x9b(r1)
/* 8025CA80 002599E0 8B C1 00 9F */ lbz r30, 0x9f(r1)
/* 8025CA84 002599E4 83 E1 00 A0 */ lwz r31, 0xa0(r1)
/* 8025CA88 002599E8 A2 C1 00 A6 */ lhz r22, 0xa6(r1)
/* 8025CA8C 002599EC 4B E2 09 C5 */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi"
/* 8025CA90 002599F0 3C 60 80 3F */ lis r3, lbl_803E96C0@ha
/* 8025CA94 002599F4 3C 80 50 41 */ lis r4, 0x50415254@ha
/* 8025CA98 002599F8 38 03 96 C0 */ addi r0, r3, lbl_803E96C0@l
/* 8025CA9C 002599FC 38 61 00 24 */ addi r3, r1, 0x24
/* 8025CAA0 00259A00 90 17 00 00 */ stw r0, 0(r23)
/* 8025CAA4 00259A04 38 04 52 54 */ addi r0, r4, 0x50415254@l
/* 8025CAA8 00259A08 38 A1 00 2C */ addi r5, r1, 0x2c
/* 8025CAAC 00259A0C C0 58 00 24 */ lfs f2, 0x24(r24)
/* 8025CAB0 00259A10 C0 38 00 14 */ lfs f1, 0x14(r24)
/* 8025CAB4 00259A14 C0 18 00 04 */ lfs f0, 4(r24)
/* 8025CAB8 00259A18 D0 17 05 68 */ stfs f0, 0x568(r23)
/* 8025CABC 00259A1C D0 37 05 6C */ stfs f1, 0x56c(r23)
/* 8025CAC0 00259A20 D0 57 05 70 */ stfs f2, 0x570(r23)
/* 8025CAC4 00259A24 90 01 00 2C */ stw r0, 0x2c(r1)
/* 8025CAC8 00259A28 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 8025CACC 00259A2C 93 21 00 30 */ stw r25, 0x30(r1)
/* 8025CAD0 00259A30 81 84 00 00 */ lwz r12, 0(r4)
/* 8025CAD4 00259A34 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8025CAD8 00259A38 7D 89 03 A6 */ mtctr r12
/* 8025CADC 00259A3C 4E 80 04 21 */ bctrl
/* 8025CAE0 00259A40 38 77 05 74 */ addi r3, r23, 0x574
/* 8025CAE4 00259A44 38 81 00 24 */ addi r4, r1, 0x24
/* 8025CAE8 00259A48 48 0E 43 C1 */ bl __ct__6CTokenFRC6CToken
/* 8025CAEC 00259A4C 38 61 00 24 */ addi r3, r1, 0x24
/* 8025CAF0 00259A50 38 80 FF FF */ li r4, -1
/* 8025CAF4 00259A54 48 0E 43 4D */ bl __dt__6CTokenFv
/* 8025CAF8 00259A58 80 1A 00 00 */ lwz r0, 0(r26)
/* 8025CAFC 00259A5C 7E C3 B3 78 */ mr r3, r22
/* 8025CB00 00259A60 90 17 05 7C */ stw r0, 0x57c(r23)
/* 8025CB04 00259A64 88 1A 00 04 */ lbz r0, 4(r26)
/* 8025CB08 00259A68 98 17 05 80 */ stb r0, 0x580(r23)
/* 8025CB0C 00259A6C C0 1A 00 08 */ lfs f0, 8(r26)
/* 8025CB10 00259A70 D0 17 05 84 */ stfs f0, 0x584(r23)
/* 8025CB14 00259A74 C0 1A 00 0C */ lfs f0, 0xc(r26)
/* 8025CB18 00259A78 D0 17 05 88 */ stfs f0, 0x588(r23)
/* 8025CB1C 00259A7C C0 1A 00 10 */ lfs f0, 0x10(r26)
/* 8025CB20 00259A80 D0 17 05 8C */ stfs f0, 0x58c(r23)
/* 8025CB24 00259A84 C0 1A 00 14 */ lfs f0, 0x14(r26)
/* 8025CB28 00259A88 D0 17 05 90 */ stfs f0, 0x590(r23)
/* 8025CB2C 00259A8C 88 1A 00 18 */ lbz r0, 0x18(r26)
/* 8025CB30 00259A90 98 17 05 94 */ stb r0, 0x594(r23)
/* 8025CB34 00259A94 88 17 05 98 */ lbz r0, 0x598(r23)
/* 8025CB38 00259A98 53 80 3E 30 */ rlwimi r0, r28, 7, 0x18, 0x18
/* 8025CB3C 00259A9C 98 17 05 98 */ stb r0, 0x598(r23)
/* 8025CB40 00259AA0 88 17 05 98 */ lbz r0, 0x598(r23)
/* 8025CB44 00259AA4 53 C0 36 72 */ rlwimi r0, r30, 6, 0x19, 0x19
/* 8025CB48 00259AA8 98 17 05 98 */ stb r0, 0x598(r23)
/* 8025CB4C 00259AAC 88 17 05 98 */ lbz r0, 0x598(r23)
/* 8025CB50 00259AB0 53 A0 2E B4 */ rlwimi r0, r29, 5, 0x1a, 0x1a
/* 8025CB54 00259AB4 98 17 05 98 */ stb r0, 0x598(r23)
/* 8025CB58 00259AB8 48 08 BE 59 */ bl TranslateSFXID__11CSfxManagerFUs
/* 8025CB5C 00259ABC B0 77 05 9A */ sth r3, 0x59a(r23)
/* 8025CB60 00259AC0 3C 60 80 5A */ lis r3, skZero3f@ha
/* 8025CB64 00259AC4 38 A3 66 A0 */ addi r5, r3, skZero3f@l
/* 8025CB68 00259AC8 38 00 00 00 */ li r0, 0
/* 8025CB6C 00259ACC 80 DF 00 00 */ lwz r6, 0(r31)
/* 8025CB70 00259AD0 7E E3 BB 78 */ mr r3, r23
/* 8025CB74 00259AD4 38 80 00 00 */ li r4, 0
/* 8025CB78 00259AD8 90 D7 05 9C */ stw r6, 0x59c(r23)
/* 8025CB7C 00259ADC 88 DF 00 04 */ lbz r6, 4(r31)
/* 8025CB80 00259AE0 98 D7 05 A0 */ stb r6, 0x5a0(r23)
/* 8025CB84 00259AE4 C0 1F 00 08 */ lfs f0, 8(r31)
/* 8025CB88 00259AE8 D0 17 05 A4 */ stfs f0, 0x5a4(r23)
/* 8025CB8C 00259AEC C0 1F 00 0C */ lfs f0, 0xc(r31)
/* 8025CB90 00259AF0 D0 17 05 A8 */ stfs f0, 0x5a8(r23)
/* 8025CB94 00259AF4 C0 1F 00 10 */ lfs f0, 0x10(r31)
/* 8025CB98 00259AF8 D0 17 05 AC */ stfs f0, 0x5ac(r23)
/* 8025CB9C 00259AFC C0 1F 00 14 */ lfs f0, 0x14(r31)
/* 8025CBA0 00259B00 D0 17 05 B0 */ stfs f0, 0x5b0(r23)
/* 8025CBA4 00259B04 88 DF 00 18 */ lbz r6, 0x18(r31)
/* 8025CBA8 00259B08 98 D7 05 B4 */ stb r6, 0x5b4(r23)
/* 8025CBAC 00259B0C D3 F7 05 B8 */ stfs f31, 0x5b8(r23)
/* 8025CBB0 00259B10 93 77 05 BC */ stw r27, 0x5bc(r23)
/* 8025CBB4 00259B14 C0 05 00 00 */ lfs f0, 0(r5)
/* 8025CBB8 00259B18 D0 17 05 C0 */ stfs f0, 0x5c0(r23)
/* 8025CBBC 00259B1C C0 05 00 04 */ lfs f0, 4(r5)
/* 8025CBC0 00259B20 D0 17 05 C4 */ stfs f0, 0x5c4(r23)
/* 8025CBC4 00259B24 C0 05 00 08 */ lfs f0, 8(r5)
/* 8025CBC8 00259B28 D0 17 05 C8 */ stfs f0, 0x5c8(r23)
/* 8025CBCC 00259B2C A0 AD A3 8C */ lhz r5, lbl_805A8F4C@sda21(r13)
/* 8025CBD0 00259B30 B0 B7 05 CC */ sth r5, 0x5cc(r23)
/* 8025CBD4 00259B34 90 17 05 D0 */ stw r0, 0x5d0(r23)
/* 8025CBD8 00259B38 90 17 05 D4 */ stw r0, 0x5d4(r23)
/* 8025CBDC 00259B3C 4B DF 61 91 */ bl CreateShadow__6CActorFb
/* 8025CBE0 00259B40 38 77 04 60 */ addi r3, r23, 0x460
/* 8025CBE4 00259B44 38 80 00 01 */ li r4, 1
/* 8025CBE8 00259B48 4B FD 71 A5 */ bl SetImpulseDurationIdx__20CKnockBackControllerFi
/* 8025CBEC 00259B4C 38 77 05 74 */ addi r3, r23, 0x574
/* 8025CBF0 00259B50 48 0E 41 95 */ bl Lock__6CTokenFv
/* 8025CBF4 00259B54 80 97 04 50 */ lwz r4, 0x450(r23)
/* 8025CBF8 00259B58 7E E3 BB 78 */ mr r3, r23
/* 8025CBFC 00259B5C D3 C4 03 30 */ stfs f30, 0x330(r4)
/* 8025CC00 00259B60 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0
/* 8025CC04 00259B64 CB E1 00 70 */ lfd f31, 0x70(r1)
/* 8025CC08 00259B68 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0
/* 8025CC0C 00259B6C CB C1 00 60 */ lfd f30, 0x60(r1)
/* 8025CC10 00259B70 BA C1 00 38 */ lmw r22, 0x38(r1)
/* 8025CC14 00259B74 80 01 00 84 */ lwz r0, 0x84(r1)
/* 8025CC18 00259B78 7C 08 03 A6 */ mtlr r0
/* 8025CC1C 00259B7C 38 21 00 80 */ addi r1, r1, 0x80
/* 8025CC20 00259B80 4E 80 00 20 */ blr

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,154 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global sub_802a07f0
sub_802a07f0:
/* 802A07F0 0029D750 94 21 FF 80 */ stwu r1, -0x80(r1)
/* 802A07F4 0029D754 7C 08 02 A6 */ mflr r0
/* 802A07F8 0029D758 90 01 00 84 */ stw r0, 0x84(r1)
/* 802A07FC 0029D75C DB E1 00 70 */ stfd f31, 0x70(r1)
/* 802A0800 0029D760 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0
/* 802A0804 0029D764 DB C1 00 60 */ stfd f30, 0x60(r1)
/* 802A0808 0029D768 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0
/* 802A080C 0029D76C DB A1 00 50 */ stfd f29, 0x50(r1)
/* 802A0810 0029D770 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0
/* 802A0814 0029D774 DB 81 00 40 */ stfd f28, 0x40(r1)
/* 802A0818 0029D778 F3 81 00 48 */ psq_st f28, 72(r1), 0, qr0
/* 802A081C 0029D77C BF 61 00 2C */ stmw r27, 0x2c(r1)
/* 802A0820 0029D780 3C E0 80 5A */ lis r7, skZero3f@ha
/* 802A0824 0029D784 7C 9C 23 78 */ mr r28, r4
/* 802A0828 0029D788 38 87 66 A0 */ addi r4, r7, skZero3f@l
/* 802A082C 0029D78C C3 82 C1 18 */ lfs f28, lbl_805ADE38@sda21(r2)
/* 802A0830 0029D790 C3 E4 00 00 */ lfs f31, 0(r4)
/* 802A0834 0029D794 7C 7B 1B 78 */ mr r27, r3
/* 802A0838 0029D798 C3 C4 00 04 */ lfs f30, 4(r4)
/* 802A083C 0029D79C 7C BD 2B 78 */ mr r29, r5
/* 802A0840 0029D7A0 C3 A4 00 08 */ lfs f29, 8(r4)
/* 802A0844 0029D7A4 7C DE 33 78 */ mr r30, r6
/* 802A0848 0029D7A8 3B FC 00 08 */ addi r31, r28, 8
/* 802A084C 0029D7AC 48 00 00 98 */ b lbl_802A08E4
lbl_802A0850:
/* 802A0850 0029D7B0 38 03 FF FF */ addi r0, r3, -1
/* 802A0854 0029D7B4 C0 BD 00 04 */ lfs f5, 4(r29)
/* 802A0858 0029D7B8 1C 00 00 0C */ mulli r0, r0, 0xc
/* 802A085C 0029D7BC C0 5D 00 00 */ lfs f2, 0(r29)
/* 802A0860 0029D7C0 C0 1E 00 04 */ lfs f0, 4(r30)
/* 802A0864 0029D7C4 C0 9D 00 08 */ lfs f4, 8(r29)
/* 802A0868 0029D7C8 7C 7F 02 14 */ add r3, r31, r0
/* 802A086C 0029D7CC C0 3E 00 00 */ lfs f1, 0(r30)
/* 802A0870 0029D7D0 C0 C3 00 04 */ lfs f6, 4(r3)
/* 802A0874 0029D7D4 C0 63 00 00 */ lfs f3, 0(r3)
/* 802A0878 0029D7D8 EC C6 28 28 */ fsubs f6, f6, f5
/* 802A087C 0029D7DC C0 A3 00 08 */ lfs f5, 8(r3)
/* 802A0880 0029D7E0 EC 63 10 28 */ fsubs f3, f3, f2
/* 802A0884 0029D7E4 C0 5E 00 08 */ lfs f2, 8(r30)
/* 802A0888 0029D7E8 EC 85 20 28 */ fsubs f4, f5, f4
/* 802A088C 0029D7EC EC 06 00 32 */ fmuls f0, f6, f0
/* 802A0890 0029D7F0 D0 61 00 14 */ stfs f3, 0x14(r1)
/* 802A0894 0029D7F4 EC 03 00 7A */ fmadds f0, f3, f1, f0
/* 802A0898 0029D7F8 D0 C1 00 18 */ stfs f6, 0x18(r1)
/* 802A089C 0029D7FC D0 81 00 1C */ stfs f4, 0x1c(r1)
/* 802A08A0 0029D800 EC 04 00 BA */ fmadds f0, f4, f2, f0
/* 802A08A4 0029D804 FC 00 E0 40 */ fcmpo cr0, f0, f28
/* 802A08A8 0029D808 40 81 00 30 */ ble lbl_802A08D8
/* 802A08AC 0029D80C 38 61 00 14 */ addi r3, r1, 0x14
/* 802A08B0 0029D810 48 07 3E DD */ bl IsMagnitudeSafe__9CVector3fCFv
/* 802A08B4 0029D814 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 802A08B8 0029D818 41 82 00 20 */ beq lbl_802A08D8
/* 802A08BC 0029D81C 38 61 00 08 */ addi r3, r1, 8
/* 802A08C0 0029D820 38 81 00 14 */ addi r4, r1, 0x14
/* 802A08C4 0029D824 48 07 3F 8D */ bl AsNormalized__9CVector3fCFv
/* 802A08C8 0029D828 C3 E1 00 08 */ lfs f31, 8(r1)
/* 802A08CC 0029D82C C3 C1 00 0C */ lfs f30, 0xc(r1)
/* 802A08D0 0029D830 C3 A1 00 10 */ lfs f29, 0x10(r1)
/* 802A08D4 0029D834 48 00 00 1C */ b lbl_802A08F0
lbl_802A08D8:
/* 802A08D8 0029D838 80 7C 00 04 */ lwz r3, 4(r28)
/* 802A08DC 0029D83C 38 03 FF FF */ addi r0, r3, -1
/* 802A08E0 0029D840 90 1C 00 04 */ stw r0, 4(r28)
lbl_802A08E4:
/* 802A08E4 0029D844 80 7C 00 04 */ lwz r3, 4(r28)
/* 802A08E8 0029D848 2C 03 00 00 */ cmpwi r3, 0
/* 802A08EC 0029D84C 40 82 FF 64 */ bne lbl_802A0850
lbl_802A08F0:
/* 802A08F0 0029D850 D3 FB 00 00 */ stfs f31, 0(r27)
/* 802A08F4 0029D854 D3 DB 00 04 */ stfs f30, 4(r27)
/* 802A08F8 0029D858 D3 BB 00 08 */ stfs f29, 8(r27)
/* 802A08FC 0029D85C E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0
/* 802A0900 0029D860 CB E1 00 70 */ lfd f31, 0x70(r1)
/* 802A0904 0029D864 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0
/* 802A0908 0029D868 CB C1 00 60 */ lfd f30, 0x60(r1)
/* 802A090C 0029D86C E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0
/* 802A0910 0029D870 CB A1 00 50 */ lfd f29, 0x50(r1)
/* 802A0914 0029D874 E3 81 00 48 */ psq_l f28, 72(r1), 0, qr0
/* 802A0918 0029D878 CB 81 00 40 */ lfd f28, 0x40(r1)
/* 802A091C 0029D87C BB 61 00 2C */ lmw r27, 0x2c(r1)
/* 802A0920 0029D880 80 01 00 84 */ lwz r0, 0x84(r1)
/* 802A0924 0029D884 7C 08 03 A6 */ mtlr r0
/* 802A0928 0029D888 38 21 00 80 */ addi r1, r1, 0x80
/* 802A092C 0029D88C 4E 80 00 20 */ blr
.global sub_802a0930
sub_802a0930:
/* 802A0930 0029D890 80 C3 00 04 */ lwz r6, 4(r3)
/* 802A0934 0029D894 2C 06 00 10 */ cmpwi r6, 0x10
/* 802A0938 0029D898 4C 80 00 20 */ bgelr
/* 802A093C 0029D89C 2C 06 00 00 */ cmpwi r6, 0
/* 802A0940 0029D8A0 40 82 00 3C */ bne lbl_802A097C
/* 802A0944 0029D8A4 1C 06 00 0C */ mulli r0, r6, 0xc
/* 802A0948 0029D8A8 7C A3 02 14 */ add r5, r3, r0
/* 802A094C 0029D8AC 34 A5 00 08 */ addic. r5, r5, 8
/* 802A0950 0029D8B0 41 82 00 1C */ beq lbl_802A096C
/* 802A0954 0029D8B4 C0 04 00 00 */ lfs f0, 0(r4)
/* 802A0958 0029D8B8 D0 05 00 00 */ stfs f0, 0(r5)
/* 802A095C 0029D8BC C0 04 00 04 */ lfs f0, 4(r4)
/* 802A0960 0029D8C0 D0 05 00 04 */ stfs f0, 4(r5)
/* 802A0964 0029D8C4 C0 04 00 08 */ lfs f0, 8(r4)
/* 802A0968 0029D8C8 D0 05 00 08 */ stfs f0, 8(r5)
lbl_802A096C:
/* 802A096C 0029D8CC 80 83 00 04 */ lwz r4, 4(r3)
/* 802A0970 0029D8D0 38 04 00 01 */ addi r0, r4, 1
/* 802A0974 0029D8D4 90 03 00 04 */ stw r0, 4(r3)
/* 802A0978 0029D8D8 4E 80 00 20 */ blr
lbl_802A097C:
/* 802A097C 0029D8DC 38 06 FF FF */ addi r0, r6, -1
/* 802A0980 0029D8E0 38 E3 00 08 */ addi r7, r3, 8
/* 802A0984 0029D8E4 1C 00 00 0C */ mulli r0, r0, 0xc
/* 802A0988 0029D8E8 C0 64 00 04 */ lfs f3, 4(r4)
/* 802A098C 0029D8EC C0 A4 00 00 */ lfs f5, 0(r4)
/* 802A0990 0029D8F0 C0 44 00 08 */ lfs f2, 8(r4)
/* 802A0994 0029D8F4 7C A7 02 14 */ add r5, r7, r0
/* 802A0998 0029D8F8 C0 03 00 00 */ lfs f0, 0(r3)
/* 802A099C 0029D8FC C0 25 00 04 */ lfs f1, 4(r5)
/* 802A09A0 0029D900 C0 85 00 00 */ lfs f4, 0(r5)
/* 802A09A4 0029D904 EC 63 08 28 */ fsubs f3, f3, f1
/* 802A09A8 0029D908 C0 25 00 08 */ lfs f1, 8(r5)
/* 802A09AC 0029D90C EC 85 20 28 */ fsubs f4, f5, f4
/* 802A09B0 0029D910 EC 42 08 28 */ fsubs f2, f2, f1
/* 802A09B4 0029D914 EC 23 00 F2 */ fmuls f1, f3, f3
/* 802A09B8 0029D918 EC 24 09 3A */ fmadds f1, f4, f4, f1
/* 802A09BC 0029D91C EC 22 08 BA */ fmadds f1, f2, f2, f1
/* 802A09C0 0029D920 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 802A09C4 0029D924 4C 81 00 20 */ blelr
/* 802A09C8 0029D928 1C 06 00 0C */ mulli r0, r6, 0xc
/* 802A09CC 0029D92C 7C A7 02 15 */ add. r5, r7, r0
/* 802A09D0 0029D930 41 82 00 18 */ beq lbl_802A09E8
/* 802A09D4 0029D934 D0 A5 00 00 */ stfs f5, 0(r5)
/* 802A09D8 0029D938 C0 04 00 04 */ lfs f0, 4(r4)
/* 802A09DC 0029D93C D0 05 00 04 */ stfs f0, 4(r5)
/* 802A09E0 0029D940 C0 04 00 08 */ lfs f0, 8(r4)
/* 802A09E4 0029D944 D0 05 00 08 */ stfs f0, 8(r5)
lbl_802A09E8:
/* 802A09E8 0029D948 80 83 00 04 */ lwz r4, 4(r3)
/* 802A09EC 0029D94C 38 04 00 01 */ addi r0, r4, 1
/* 802A09F0 0029D950 90 03 00 04 */ stw r0, 4(r3)
/* 802A09F4 0029D954 4E 80 00 20 */ blr
.global sub_802a09f8
sub_802a09f8:
/* 802A09F8 0029D958 EC 01 00 72 */ fmuls f0, f1, f1
/* 802A09FC 0029D95C 38 00 00 00 */ li r0, 0
/* 802A0A00 0029D960 D0 03 00 00 */ stfs f0, 0(r3)
/* 802A0A04 0029D964 90 03 00 04 */ stw r0, 4(r3)
/* 802A0A08 0029D968 4E 80 00 20 */ blr

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,831 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global Reset__Q27CPlayer12CInputFilterFv
Reset__Q27CPlayer12CInputFilterFv:
/* 80296E24 00293D84 80 C3 00 00 */ lwz r6, 0(r3)
/* 80296E28 00293D88 38 80 00 00 */ li r4, 0
/* 80296E2C 00293D8C 2C 06 00 00 */ cmpwi r6, 0
/* 80296E30 00293D90 40 81 00 40 */ ble lbl_80296E70
/* 80296E34 00293D94 2C 06 00 08 */ cmpwi r6, 8
/* 80296E38 00293D98 38 A6 FF F8 */ addi r5, r6, -8
/* 80296E3C 00293D9C 40 81 00 20 */ ble lbl_80296E5C
/* 80296E40 00293DA0 38 05 00 07 */ addi r0, r5, 7
/* 80296E44 00293DA4 54 00 E8 FE */ srwi r0, r0, 3
/* 80296E48 00293DA8 7C 09 03 A6 */ mtctr r0
/* 80296E4C 00293DAC 2C 05 00 00 */ cmpwi r5, 0
/* 80296E50 00293DB0 40 81 00 0C */ ble lbl_80296E5C
lbl_80296E54:
/* 80296E54 00293DB4 38 84 00 08 */ addi r4, r4, 8
/* 80296E58 00293DB8 42 00 FF FC */ bdnz lbl_80296E54
lbl_80296E5C:
/* 80296E5C 00293DBC 7C 04 30 50 */ subf r0, r4, r6
/* 80296E60 00293DC0 7C 09 03 A6 */ mtctr r0
/* 80296E64 00293DC4 7C 04 30 00 */ cmpw r4, r6
/* 80296E68 00293DC8 40 80 00 08 */ bge lbl_80296E70
lbl_80296E6C:
/* 80296E6C 00293DCC 42 00 00 00 */ bdnz lbl_80296E6C
lbl_80296E70:
/* 80296E70 00293DD0 38 80 00 00 */ li r4, 0
/* 80296E74 00293DD4 90 83 00 00 */ stw r4, 0(r3)
/* 80296E78 00293DD8 80 C3 00 54 */ lwz r6, 0x54(r3)
/* 80296E7C 00293DDC 2C 06 00 00 */ cmpwi r6, 0
/* 80296E80 00293DE0 40 81 00 40 */ ble lbl_80296EC0
/* 80296E84 00293DE4 2C 06 00 08 */ cmpwi r6, 8
/* 80296E88 00293DE8 38 A6 FF F8 */ addi r5, r6, -8
/* 80296E8C 00293DEC 40 81 00 20 */ ble lbl_80296EAC
/* 80296E90 00293DF0 38 05 00 07 */ addi r0, r5, 7
/* 80296E94 00293DF4 54 00 E8 FE */ srwi r0, r0, 3
/* 80296E98 00293DF8 7C 09 03 A6 */ mtctr r0
/* 80296E9C 00293DFC 2C 05 00 00 */ cmpwi r5, 0
/* 80296EA0 00293E00 40 81 00 0C */ ble lbl_80296EAC
lbl_80296EA4:
/* 80296EA4 00293E04 38 84 00 08 */ addi r4, r4, 8
/* 80296EA8 00293E08 42 00 FF FC */ bdnz lbl_80296EA4
lbl_80296EAC:
/* 80296EAC 00293E0C 7C 04 30 50 */ subf r0, r4, r6
/* 80296EB0 00293E10 7C 09 03 A6 */ mtctr r0
/* 80296EB4 00293E14 7C 04 30 00 */ cmpw r4, r6
/* 80296EB8 00293E18 40 80 00 08 */ bge lbl_80296EC0
lbl_80296EBC:
/* 80296EBC 00293E1C 42 00 00 00 */ bdnz lbl_80296EBC
lbl_80296EC0:
/* 80296EC0 00293E20 38 80 00 00 */ li r4, 0
/* 80296EC4 00293E24 90 83 00 54 */ stw r4, 0x54(r3)
/* 80296EC8 00293E28 80 C3 01 48 */ lwz r6, 0x148(r3)
/* 80296ECC 00293E2C 2C 06 00 00 */ cmpwi r6, 0
/* 80296ED0 00293E30 40 81 00 40 */ ble lbl_80296F10
/* 80296ED4 00293E34 2C 06 00 08 */ cmpwi r6, 8
/* 80296ED8 00293E38 38 A6 FF F8 */ addi r5, r6, -8
/* 80296EDC 00293E3C 40 81 00 20 */ ble lbl_80296EFC
/* 80296EE0 00293E40 38 05 00 07 */ addi r0, r5, 7
/* 80296EE4 00293E44 54 00 E8 FE */ srwi r0, r0, 3
/* 80296EE8 00293E48 7C 09 03 A6 */ mtctr r0
/* 80296EEC 00293E4C 2C 05 00 00 */ cmpwi r5, 0
/* 80296EF0 00293E50 40 81 00 0C */ ble lbl_80296EFC
lbl_80296EF4:
/* 80296EF4 00293E54 38 84 00 08 */ addi r4, r4, 8
/* 80296EF8 00293E58 42 00 FF FC */ bdnz lbl_80296EF4
lbl_80296EFC:
/* 80296EFC 00293E5C 7C 04 30 50 */ subf r0, r4, r6
/* 80296F00 00293E60 7C 09 03 A6 */ mtctr r0
/* 80296F04 00293E64 7C 04 30 00 */ cmpw r4, r6
/* 80296F08 00293E68 40 80 00 08 */ bge lbl_80296F10
lbl_80296F0C:
/* 80296F0C 00293E6C 42 00 00 00 */ bdnz lbl_80296F0C
lbl_80296F10:
/* 80296F10 00293E70 38 80 00 00 */ li r4, 0
/* 80296F14 00293E74 90 83 01 48 */ stw r4, 0x148(r3)
/* 80296F18 00293E78 80 C3 02 3C */ lwz r6, 0x23c(r3)
/* 80296F1C 00293E7C 2C 06 00 00 */ cmpwi r6, 0
/* 80296F20 00293E80 40 81 00 40 */ ble lbl_80296F60
/* 80296F24 00293E84 2C 06 00 08 */ cmpwi r6, 8
/* 80296F28 00293E88 38 A6 FF F8 */ addi r5, r6, -8
/* 80296F2C 00293E8C 40 81 00 20 */ ble lbl_80296F4C
/* 80296F30 00293E90 38 05 00 07 */ addi r0, r5, 7
/* 80296F34 00293E94 54 00 E8 FE */ srwi r0, r0, 3
/* 80296F38 00293E98 7C 09 03 A6 */ mtctr r0
/* 80296F3C 00293E9C 2C 05 00 00 */ cmpwi r5, 0
/* 80296F40 00293EA0 40 81 00 0C */ ble lbl_80296F4C
lbl_80296F44:
/* 80296F44 00293EA4 38 84 00 08 */ addi r4, r4, 8
/* 80296F48 00293EA8 42 00 FF FC */ bdnz lbl_80296F44
lbl_80296F4C:
/* 80296F4C 00293EAC 7C 04 30 50 */ subf r0, r4, r6
/* 80296F50 00293EB0 7C 09 03 A6 */ mtctr r0
/* 80296F54 00293EB4 7C 04 30 00 */ cmpw r4, r6
/* 80296F58 00293EB8 40 80 00 08 */ bge lbl_80296F60
lbl_80296F5C:
/* 80296F5C 00293EBC 42 00 00 00 */ bdnz lbl_80296F5C
lbl_80296F60:
/* 80296F60 00293EC0 38 00 00 00 */ li r0, 0
/* 80296F64 00293EC4 90 03 02 3C */ stw r0, 0x23c(r3)
/* 80296F68 00293EC8 4E 80 00 20 */ blr
.global Passes__Q27CPlayer12CInputFilterFv
Passes__Q27CPlayer12CInputFilterFv:
/* 80296F6C 00293ECC 94 21 FE 30 */ stwu r1, -0x1d0(r1)
/* 80296F70 00293ED0 7C 08 02 A6 */ mflr r0
/* 80296F74 00293ED4 90 01 01 D4 */ stw r0, 0x1d4(r1)
/* 80296F78 00293ED8 DB E1 01 C0 */ stfd f31, 0x1c0(r1)
/* 80296F7C 00293EDC F3 E1 01 C8 */ psq_st f31, 456(r1), 0, qr0
/* 80296F80 00293EE0 DB C1 01 B0 */ stfd f30, 0x1b0(r1)
/* 80296F84 00293EE4 F3 C1 01 B8 */ psq_st f30, 440(r1), 0, qr0
/* 80296F88 00293EE8 DB A1 01 A0 */ stfd f29, 0x1a0(r1)
/* 80296F8C 00293EEC F3 A1 01 A8 */ psq_st f29, 424(r1), 0, qr0
/* 80296F90 00293EF0 93 E1 01 9C */ stw r31, 0x19c(r1)
/* 80296F94 00293EF4 93 C1 01 98 */ stw r30, 0x198(r1)
/* 80296F98 00293EF8 93 A1 01 94 */ stw r29, 0x194(r1)
/* 80296F9C 00293EFC 7C 7E 1B 78 */ mr r30, r3
/* 80296FA0 00293F00 80 03 00 00 */ lwz r0, 0(r3)
/* 80296FA4 00293F04 2C 00 00 14 */ cmpwi r0, 0x14
/* 80296FA8 00293F08 40 82 04 0C */ bne lbl_802973B4
/* 80296FAC 00293F0C C3 E2 BF B0 */ lfs f31, lbl_805ADCD0@sda21(r2)
/* 80296FB0 00293F10 38 61 01 0C */ addi r3, r1, 0x10c
/* 80296FB4 00293F14 38 9E 01 48 */ addi r4, r30, 0x148
/* 80296FB8 00293F18 38 A0 00 00 */ li r5, 0
/* 80296FBC 00293F1C 48 00 04 B1 */ bl "_getElementBoundsCheck<Q24rstl27reserved_vector<9CVector3f>>__FRCQ24rstl27reserved_vector<9CVector3f>i"
/* 80296FC0 00293F20 38 61 00 FC */ addi r3, r1, 0xfc
/* 80296FC4 00293F24 38 9E 01 48 */ addi r4, r30, 0x148
/* 80296FC8 00293F28 38 A0 00 00 */ li r5, 0
/* 80296FCC 00293F2C 48 00 04 A1 */ bl "_getElementBoundsCheck<Q24rstl27reserved_vector<9CVector3f>>__FRCQ24rstl27reserved_vector<9CVector3f>i"
/* 80296FD0 00293F30 38 61 01 70 */ addi r3, r1, 0x170
/* 80296FD4 00293F34 38 81 01 0C */ addi r4, r1, 0x10c
/* 80296FD8 00293F38 38 A1 00 FC */ addi r5, r1, 0xfc
/* 80296FDC 00293F3C 48 0A 15 2D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f
/* 80296FE0 00293F40 38 00 00 00 */ li r0, 0
/* 80296FE4 00293F44 38 61 00 EC */ addi r3, r1, 0xec
/* 80296FE8 00293F48 98 01 01 08 */ stb r0, 0x108(r1)
/* 80296FEC 00293F4C 38 9E 00 54 */ addi r4, r30, 0x54
/* 80296FF0 00293F50 38 A0 00 00 */ li r5, 0
/* 80296FF4 00293F54 98 01 01 18 */ stb r0, 0x118(r1)
/* 80296FF8 00293F58 48 00 04 75 */ bl "_getElementBoundsCheck<Q24rstl27reserved_vector<9CVector3f>>__FRCQ24rstl27reserved_vector<9CVector3f>i"
/* 80296FFC 00293F5C 38 61 00 DC */ addi r3, r1, 0xdc
/* 80297000 00293F60 38 9E 00 54 */ addi r4, r30, 0x54
/* 80297004 00293F64 38 A0 00 00 */ li r5, 0
/* 80297008 00293F68 48 00 04 65 */ bl "_getElementBoundsCheck<Q24rstl27reserved_vector<9CVector3f>>__FRCQ24rstl27reserved_vector<9CVector3f>i"
/* 8029700C 00293F6C 38 61 01 58 */ addi r3, r1, 0x158
/* 80297010 00293F70 38 81 00 EC */ addi r4, r1, 0xec
/* 80297014 00293F74 38 A1 00 DC */ addi r5, r1, 0xdc
/* 80297018 00293F78 48 0A 14 F1 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f
/* 8029701C 00293F7C 38 00 00 00 */ li r0, 0
/* 80297020 00293F80 38 61 00 C4 */ addi r3, r1, 0xc4
/* 80297024 00293F84 98 01 00 E8 */ stb r0, 0xe8(r1)
/* 80297028 00293F88 38 9E 02 3C */ addi r4, r30, 0x23c
/* 8029702C 00293F8C 38 A0 00 00 */ li r5, 0
/* 80297030 00293F90 98 01 00 F8 */ stb r0, 0xf8(r1)
/* 80297034 00293F94 48 00 03 F5 */ bl "_getElementBoundsCheck<Q24rstl27reserved_vector<9CVector2f>>__FRCQ24rstl27reserved_vector<9CVector2f>i"
/* 80297038 00293F98 38 61 00 AC */ addi r3, r1, 0xac
/* 8029703C 00293F9C 38 9E 02 3C */ addi r4, r30, 0x23c
/* 80297040 00293FA0 38 A0 00 00 */ li r5, 0
/* 80297044 00293FA4 48 00 03 E5 */ bl "_getElementBoundsCheck<Q24rstl27reserved_vector<9CVector2f>>__FRCQ24rstl27reserved_vector<9CVector2f>i"
/* 80297048 00293FA8 C0 42 BF B0 */ lfs f2, lbl_805ADCD0@sda21(r2)
/* 8029704C 00293FAC 38 61 01 40 */ addi r3, r1, 0x140
/* 80297050 00293FB0 C0 81 00 AC */ lfs f4, 0xac(r1)
/* 80297054 00293FB4 38 81 00 D0 */ addi r4, r1, 0xd0
/* 80297058 00293FB8 C0 61 00 B0 */ lfs f3, 0xb0(r1)
/* 8029705C 00293FBC 38 A1 00 B8 */ addi r5, r1, 0xb8
/* 80297060 00293FC0 C0 21 00 C4 */ lfs f1, 0xc4(r1)
/* 80297064 00293FC4 C0 01 00 C8 */ lfs f0, 0xc8(r1)
/* 80297068 00293FC8 D0 81 00 B8 */ stfs f4, 0xb8(r1)
/* 8029706C 00293FCC D0 61 00 BC */ stfs f3, 0xbc(r1)
/* 80297070 00293FD0 D0 41 00 C0 */ stfs f2, 0xc0(r1)
/* 80297074 00293FD4 D0 21 00 D0 */ stfs f1, 0xd0(r1)
/* 80297078 00293FD8 D0 01 00 D4 */ stfs f0, 0xd4(r1)
/* 8029707C 00293FDC D0 41 00 D8 */ stfs f2, 0xd8(r1)
/* 80297080 00293FE0 48 0A 14 89 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f
/* 80297084 00293FE4 38 00 00 00 */ li r0, 0
/* 80297088 00293FE8 38 61 00 9C */ addi r3, r1, 0x9c
/* 8029708C 00293FEC 98 01 00 B4 */ stb r0, 0xb4(r1)
/* 80297090 00293FF0 38 9E 01 48 */ addi r4, r30, 0x148
/* 80297094 00293FF4 3B E0 00 00 */ li r31, 0
/* 80297098 00293FF8 38 A0 00 00 */ li r5, 0
/* 8029709C 00293FFC 98 01 00 CC */ stb r0, 0xcc(r1)
/* 802970A0 00294000 48 00 03 CD */ bl "_getElementBoundsCheck<Q24rstl27reserved_vector<9CVector3f>>__FRCQ24rstl27reserved_vector<9CVector3f>i"
/* 802970A4 00294004 38 61 00 9C */ addi r3, r1, 0x9c
/* 802970A8 00294008 48 07 D8 11 */ bl Magnitude__9CVector3fCFv
/* 802970AC 0029400C FC 00 08 18 */ frsp f0, f1
/* 802970B0 00294010 38 00 00 00 */ li r0, 0
/* 802970B4 00294014 D0 21 00 10 */ stfs f1, 0x10(r1)
/* 802970B8 00294018 3B A0 00 01 */ li r29, 1
/* 802970BC 0029401C C3 A2 BF B4 */ lfs f29, lbl_805ADCD4@sda21(r2)
/* 802970C0 00294020 98 01 00 A8 */ stb r0, 0xa8(r1)
/* 802970C4 00294024 C3 C2 BF B0 */ lfs f30, lbl_805ADCD0@sda21(r2)
/* 802970C8 00294028 D0 01 00 0C */ stfs f0, 0xc(r1)
lbl_802970CC:
/* 802970CC 0029402C 38 61 00 8C */ addi r3, r1, 0x8c
/* 802970D0 00294030 38 9E 00 54 */ addi r4, r30, 0x54
/* 802970D4 00294034 38 BD FF FF */ addi r5, r29, -1
/* 802970D8 00294038 48 00 03 95 */ bl "_getElementBoundsCheck<Q24rstl27reserved_vector<9CVector3f>>__FRCQ24rstl27reserved_vector<9CVector3f>i"
/* 802970DC 0029403C 7F A5 EB 78 */ mr r5, r29
/* 802970E0 00294040 38 61 00 7C */ addi r3, r1, 0x7c
/* 802970E4 00294044 38 9E 00 54 */ addi r4, r30, 0x54
/* 802970E8 00294048 48 00 03 85 */ bl "_getElementBoundsCheck<Q24rstl27reserved_vector<9CVector3f>>__FRCQ24rstl27reserved_vector<9CVector3f>i"
/* 802970EC 0029404C C0 21 00 90 */ lfs f1, 0x90(r1)
/* 802970F0 00294050 38 00 00 00 */ li r0, 0
/* 802970F4 00294054 C0 01 00 80 */ lfs f0, 0x80(r1)
/* 802970F8 00294058 C0 61 00 8C */ lfs f3, 0x8c(r1)
/* 802970FC 0029405C EC 81 00 28 */ fsubs f4, f1, f0
/* 80297100 00294060 C0 01 00 7C */ lfs f0, 0x7c(r1)
/* 80297104 00294064 C0 41 00 94 */ lfs f2, 0x94(r1)
/* 80297108 00294068 EC 63 00 28 */ fsubs f3, f3, f0
/* 8029710C 0029406C C0 21 00 84 */ lfs f1, 0x84(r1)
/* 80297110 00294070 EC 04 01 32 */ fmuls f0, f4, f4
/* 80297114 00294074 EC 22 08 28 */ fsubs f1, f2, f1
/* 80297118 00294078 98 01 00 88 */ stb r0, 0x88(r1)
/* 8029711C 0029407C EC 03 00 FA */ fmadds f0, f3, f3, f0
/* 80297120 00294080 98 01 00 98 */ stb r0, 0x98(r1)
/* 80297124 00294084 EC 21 00 7A */ fmadds f1, f1, f1, f0
/* 80297128 00294088 FC 01 E8 40 */ fcmpo cr0, f1, f29
/* 8029712C 0029408C 40 81 00 24 */ ble lbl_80297150
/* 80297130 00294090 C0 02 BF B0 */ lfs f0, lbl_805ADCD0@sda21(r2)
/* 80297134 00294094 FC 00 08 00 */ fcmpu cr0, f0, f1
/* 80297138 00294098 40 82 00 08 */ bne lbl_80297140
/* 8029713C 0029409C 48 00 00 10 */ b lbl_8029714C
lbl_80297140:
/* 80297140 002940A0 FC 00 08 34 */ frsqrte f0, f1
/* 80297144 002940A4 FC 01 00 32 */ fmul f0, f1, f0
/* 80297148 002940A8 FC 00 00 18 */ frsp f0, f0
lbl_8029714C:
/* 8029714C 002940AC EF FF 00 2A */ fadds f31, f31, f0
lbl_80297150:
/* 80297150 002940B0 7F A5 EB 78 */ mr r5, r29
/* 80297154 002940B4 38 61 00 6C */ addi r3, r1, 0x6c
/* 80297158 002940B8 38 9E 00 54 */ addi r4, r30, 0x54
/* 8029715C 002940BC 48 00 03 11 */ bl "_getElementBoundsCheck<Q24rstl27reserved_vector<9CVector3f>>__FRCQ24rstl27reserved_vector<9CVector3f>i"
/* 80297160 002940C0 38 61 01 58 */ addi r3, r1, 0x158
/* 80297164 002940C4 38 81 00 6C */ addi r4, r1, 0x6c
/* 80297168 002940C8 48 0A 09 A1 */ bl AccumulateBounds__6CAABoxFRC9CVector3f
/* 8029716C 002940CC 38 00 00 00 */ li r0, 0
/* 80297170 002940D0 7F A5 EB 78 */ mr r5, r29
/* 80297174 002940D4 98 01 00 78 */ stb r0, 0x78(r1)
/* 80297178 002940D8 38 61 00 5C */ addi r3, r1, 0x5c
/* 8029717C 002940DC 38 9E 01 48 */ addi r4, r30, 0x148
/* 80297180 002940E0 48 00 02 ED */ bl "_getElementBoundsCheck<Q24rstl27reserved_vector<9CVector3f>>__FRCQ24rstl27reserved_vector<9CVector3f>i"
/* 80297184 002940E4 C0 41 00 5C */ lfs f2, 0x5c(r1)
/* 80297188 002940E8 38 00 00 00 */ li r0, 0
/* 8029718C 002940EC C0 21 00 60 */ lfs f1, 0x60(r1)
/* 80297190 002940F0 38 61 01 70 */ addi r3, r1, 0x170
/* 80297194 002940F4 C0 01 00 64 */ lfs f0, 0x64(r1)
/* 80297198 002940F8 38 81 01 1C */ addi r4, r1, 0x11c
/* 8029719C 002940FC D0 41 01 1C */ stfs f2, 0x11c(r1)
/* 802971A0 00294100 D0 21 01 20 */ stfs f1, 0x120(r1)
/* 802971A4 00294104 D0 01 01 24 */ stfs f0, 0x124(r1)
/* 802971A8 00294108 98 01 00 68 */ stb r0, 0x68(r1)
/* 802971AC 0029410C 48 0A 09 5D */ bl AccumulateBounds__6CAABoxFRC9CVector3f
/* 802971B0 00294110 38 61 01 1C */ addi r3, r1, 0x11c
/* 802971B4 00294114 48 07 D7 05 */ bl Magnitude__9CVector3fCFv
/* 802971B8 00294118 FC 40 08 18 */ frsp f2, f1
/* 802971BC 0029411C C0 01 00 10 */ lfs f0, 0x10(r1)
/* 802971C0 00294120 D0 21 00 08 */ stfs f1, 8(r1)
/* 802971C4 00294124 FC 00 10 40 */ fcmpo cr0, f0, f2
/* 802971C8 00294128 40 80 00 0C */ bge lbl_802971D4
/* 802971CC 0029412C 38 61 00 10 */ addi r3, r1, 0x10
/* 802971D0 00294130 48 00 00 08 */ b lbl_802971D8
lbl_802971D4:
/* 802971D4 00294134 38 61 00 08 */ addi r3, r1, 8
lbl_802971D8:
/* 802971D8 00294138 C0 01 00 0C */ lfs f0, 0xc(r1)
/* 802971DC 0029413C C0 23 00 00 */ lfs f1, 0(r3)
/* 802971E0 00294140 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 802971E4 00294144 D0 21 00 10 */ stfs f1, 0x10(r1)
/* 802971E8 00294148 40 80 00 0C */ bge lbl_802971F4
/* 802971EC 0029414C 38 61 00 0C */ addi r3, r1, 0xc
/* 802971F0 00294150 48 00 00 08 */ b lbl_802971F8
lbl_802971F4:
/* 802971F4 00294154 38 61 00 08 */ addi r3, r1, 8
lbl_802971F8:
/* 802971F8 00294158 C0 03 00 00 */ lfs f0, 0(r3)
/* 802971FC 0029415C 7F A5 EB 78 */ mr r5, r29
/* 80297200 00294160 38 61 00 44 */ addi r3, r1, 0x44
/* 80297204 00294164 38 9E 02 3C */ addi r4, r30, 0x23c
/* 80297208 00294168 D0 01 00 0C */ stfs f0, 0xc(r1)
/* 8029720C 0029416C 48 00 02 1D */ bl "_getElementBoundsCheck<Q24rstl27reserved_vector<9CVector2f>>__FRCQ24rstl27reserved_vector<9CVector2f>i"
/* 80297210 00294170 C0 21 00 44 */ lfs f1, 0x44(r1)
/* 80297214 00294174 38 61 01 40 */ addi r3, r1, 0x140
/* 80297218 00294178 C0 01 00 48 */ lfs f0, 0x48(r1)
/* 8029721C 0029417C 38 81 00 50 */ addi r4, r1, 0x50
/* 80297220 00294180 D0 21 00 50 */ stfs f1, 0x50(r1)
/* 80297224 00294184 D0 01 00 54 */ stfs f0, 0x54(r1)
/* 80297228 00294188 D3 C1 00 58 */ stfs f30, 0x58(r1)
/* 8029722C 0029418C 48 0A 08 DD */ bl AccumulateBounds__6CAABoxFRC9CVector3f
/* 80297230 00294190 38 00 00 00 */ li r0, 0
/* 80297234 00294194 7F C4 F3 78 */ mr r4, r30
/* 80297238 00294198 98 01 00 4C */ stb r0, 0x4c(r1)
/* 8029723C 0029419C 38 61 00 24 */ addi r3, r1, 0x24
/* 80297240 002941A0 38 BD FF FF */ addi r5, r29, -1
/* 80297244 002941A4 48 00 01 A9 */ bl "_getElementBoundsCheck<Q24rstl18reserved_vector<i>>__FRCQ24rstl18reserved_vector<i>i"
/* 80297248 002941A8 7F C4 F3 78 */ mr r4, r30
/* 8029724C 002941AC 7F A5 EB 78 */ mr r5, r29
/* 80297250 002941B0 38 61 00 1C */ addi r3, r1, 0x1c
/* 80297254 002941B4 48 00 01 99 */ bl "_getElementBoundsCheck<Q24rstl18reserved_vector<i>>__FRCQ24rstl18reserved_vector<i>i"
/* 80297258 002941B8 80 A1 00 24 */ lwz r5, 0x24(r1)
/* 8029725C 002941BC 38 00 00 00 */ li r0, 0
/* 80297260 002941C0 80 61 00 1C */ lwz r3, 0x1c(r1)
/* 80297264 002941C4 3B BD 00 01 */ addi r29, r29, 1
/* 80297268 002941C8 2C 1D 00 14 */ cmpwi r29, 0x14
/* 8029726C 002941CC 98 01 00 20 */ stb r0, 0x20(r1)
/* 80297270 002941D0 7C 85 18 50 */ subf r4, r5, r3
/* 80297274 002941D4 7C 63 28 50 */ subf r3, r3, r5
/* 80297278 002941D8 7C 83 1B 78 */ or r3, r4, r3
/* 8029727C 002941DC 98 01 00 28 */ stb r0, 0x28(r1)
/* 80297280 002941E0 54 63 0F FE */ srwi r3, r3, 0x1f
/* 80297284 002941E4 7F FF 1A 14 */ add r31, r31, r3
/* 80297288 002941E8 41 80 FE 44 */ blt lbl_802970CC
/* 8029728C 002941EC C0 22 BF B8 */ lfs f1, lbl_805ADCD8@sda21(r2)
/* 80297290 002941F0 3B A0 00 01 */ li r29, 1
/* 80297294 002941F4 FC 1F 08 40 */ fcmpo cr0, f31, f1
/* 80297298 002941F8 41 80 00 18 */ blt lbl_802972B0
/* 8029729C 002941FC C0 01 00 10 */ lfs f0, 0x10(r1)
/* 802972A0 00294200 EC 01 00 32 */ fmuls f0, f1, f0
/* 802972A4 00294204 FC 1F 00 40 */ fcmpo cr0, f31, f0
/* 802972A8 00294208 41 80 00 08 */ blt lbl_802972B0
/* 802972AC 0029420C 7C 1D 03 78 */ mr r29, r0
lbl_802972B0:
/* 802972B0 00294210 2C 1F 00 00 */ cmpwi r31, 0
/* 802972B4 00294214 40 82 01 00 */ bne lbl_802973B4
/* 802972B8 00294218 7F C4 F3 78 */ mr r4, r30
/* 802972BC 0029421C 38 61 00 14 */ addi r3, r1, 0x14
/* 802972C0 00294220 38 A0 00 00 */ li r5, 0
/* 802972C4 00294224 48 00 01 29 */ bl "_getElementBoundsCheck<Q24rstl18reserved_vector<i>>__FRCQ24rstl18reserved_vector<i>i"
/* 802972C8 00294228 80 61 00 14 */ lwz r3, 0x14(r1)
/* 802972CC 0029422C 38 00 00 00 */ li r0, 0
/* 802972D0 00294230 98 01 00 18 */ stb r0, 0x18(r1)
/* 802972D4 00294234 20 03 00 01 */ subfic r0, r3, 1
/* 802972D8 00294238 7C 00 00 34 */ cntlzw r0, r0
/* 802972DC 0029423C 54 00 DE 3F */ rlwinm. r0, r0, 0x1b, 0x18, 0x1f
/* 802972E0 00294240 41 82 00 D4 */ beq lbl_802973B4
/* 802972E4 00294244 C0 21 01 4C */ lfs f1, 0x14c(r1)
/* 802972E8 00294248 3B C1 01 4C */ addi r30, r1, 0x14c
/* 802972EC 0029424C C0 01 01 40 */ lfs f0, 0x140(r1)
/* 802972F0 00294250 38 61 00 38 */ addi r3, r1, 0x38
/* 802972F4 00294254 C0 61 01 50 */ lfs f3, 0x150(r1)
/* 802972F8 00294258 C0 41 01 44 */ lfs f2, 0x144(r1)
/* 802972FC 0029425C EC 81 00 28 */ fsubs f4, f1, f0
/* 80297300 00294260 C0 21 01 54 */ lfs f1, 0x154(r1)
/* 80297304 00294264 C0 01 01 48 */ lfs f0, 0x148(r1)
/* 80297308 00294268 EC 43 10 28 */ fsubs f2, f3, f2
/* 8029730C 0029426C D0 81 00 38 */ stfs f4, 0x38(r1)
/* 80297310 00294270 EC 01 00 28 */ fsubs f0, f1, f0
/* 80297314 00294274 D0 41 00 3C */ stfs f2, 0x3c(r1)
/* 80297318 00294278 D0 01 00 40 */ stfs f0, 0x40(r1)
/* 8029731C 0029427C 48 07 D5 9D */ bl Magnitude__9CVector3fCFv
/* 80297320 00294280 FF E0 08 90 */ fmr f31, f1
/* 80297324 00294284 7F C5 F3 78 */ mr r5, r30
/* 80297328 00294288 38 61 01 28 */ addi r3, r1, 0x128
/* 8029732C 0029428C 38 81 01 40 */ addi r4, r1, 0x140
/* 80297330 00294290 48 0A 11 D9 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f
/* 80297334 00294294 3C 80 80 5A */ lis r4, skZero3f@ha
/* 80297338 00294298 38 61 01 28 */ addi r3, r1, 0x128
/* 8029733C 0029429C 38 84 66 A0 */ addi r4, r4, skZero3f@l
/* 80297340 002942A0 48 0A 07 C9 */ bl AccumulateBounds__6CAABoxFRC9CVector3f
/* 80297344 002942A4 C0 21 01 34 */ lfs f1, 0x134(r1)
/* 80297348 002942A8 38 61 00 2C */ addi r3, r1, 0x2c
/* 8029734C 002942AC C0 01 01 28 */ lfs f0, 0x128(r1)
/* 80297350 002942B0 C0 61 01 38 */ lfs f3, 0x138(r1)
/* 80297354 002942B4 C0 41 01 2C */ lfs f2, 0x12c(r1)
/* 80297358 002942B8 EC 81 00 28 */ fsubs f4, f1, f0
/* 8029735C 002942BC C0 21 01 3C */ lfs f1, 0x13c(r1)
/* 80297360 002942C0 C0 01 01 30 */ lfs f0, 0x130(r1)
/* 80297364 002942C4 EC 43 10 28 */ fsubs f2, f3, f2
/* 80297368 002942C8 D0 81 00 2C */ stfs f4, 0x2c(r1)
/* 8029736C 002942CC EC 01 00 28 */ fsubs f0, f1, f0
/* 80297370 002942D0 D0 41 00 30 */ stfs f2, 0x30(r1)
/* 80297374 002942D4 D0 01 00 34 */ stfs f0, 0x34(r1)
/* 80297378 002942D8 48 07 D5 41 */ bl Magnitude__9CVector3fCFv
/* 8029737C 002942DC C0 02 BF BC */ lfs f0, lbl_805ADCDC@sda21(r2)
/* 80297380 002942E0 38 60 00 01 */ li r3, 1
/* 80297384 002942E4 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80297388 002942E8 41 80 00 14 */ blt lbl_8029739C
/* 8029738C 002942EC C0 02 BF C0 */ lfs f0, lbl_805ADCE0@sda21(r2)
/* 80297390 002942F0 FC 1F 00 40 */ fcmpo cr0, f31, f0
/* 80297394 002942F4 41 81 00 08 */ bgt lbl_8029739C
/* 80297398 002942F8 38 60 00 00 */ li r3, 0
lbl_8029739C:
/* 8029739C 002942FC 57 A0 06 3F */ clrlwi. r0, r29, 0x18
/* 802973A0 00294300 41 82 00 14 */ beq lbl_802973B4
/* 802973A4 00294304 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 802973A8 00294308 41 82 00 0C */ beq lbl_802973B4
/* 802973AC 0029430C 38 60 00 01 */ li r3, 1
/* 802973B0 00294310 48 00 00 08 */ b lbl_802973B8
lbl_802973B4:
/* 802973B4 00294314 38 60 00 00 */ li r3, 0
lbl_802973B8:
/* 802973B8 00294318 E3 E1 01 C8 */ psq_l f31, 456(r1), 0, qr0
/* 802973BC 0029431C CB E1 01 C0 */ lfd f31, 0x1c0(r1)
/* 802973C0 00294320 E3 C1 01 B8 */ psq_l f30, 440(r1), 0, qr0
/* 802973C4 00294324 CB C1 01 B0 */ lfd f30, 0x1b0(r1)
/* 802973C8 00294328 E3 A1 01 A8 */ psq_l f29, 424(r1), 0, qr0
/* 802973CC 0029432C CB A1 01 A0 */ lfd f29, 0x1a0(r1)
/* 802973D0 00294330 83 E1 01 9C */ lwz r31, 0x19c(r1)
/* 802973D4 00294334 83 C1 01 98 */ lwz r30, 0x198(r1)
/* 802973D8 00294338 80 01 01 D4 */ lwz r0, 0x1d4(r1)
/* 802973DC 0029433C 83 A1 01 94 */ lwz r29, 0x194(r1)
/* 802973E0 00294340 7C 08 03 A6 */ mtlr r0
/* 802973E4 00294344 38 21 01 D0 */ addi r1, r1, 0x1d0
/* 802973E8 00294348 4E 80 00 20 */ blr
.global "_getElementBoundsCheck<Q24rstl18reserved_vector<i>>__FRCQ24rstl18reserved_vector<i>i"
"_getElementBoundsCheck<Q24rstl18reserved_vector<i>>__FRCQ24rstl18reserved_vector<i>i":
/* 802973EC 0029434C 80 04 00 00 */ lwz r0, 0(r4)
/* 802973F0 00294350 7C 05 00 00 */ cmpw r5, r0
/* 802973F4 00294354 41 80 00 10 */ blt lbl_80297404
/* 802973F8 00294358 38 00 00 00 */ li r0, 0
/* 802973FC 0029435C 98 03 00 04 */ stb r0, 4(r3)
/* 80297400 00294360 4E 80 00 20 */ blr
lbl_80297404:
/* 80297404 00294364 38 00 00 01 */ li r0, 1
/* 80297408 00294368 28 03 00 00 */ cmplwi r3, 0
/* 8029740C 0029436C 54 A5 10 3A */ slwi r5, r5, 2
/* 80297410 00294370 98 03 00 04 */ stb r0, 4(r3)
/* 80297414 00294374 7C 84 2A 14 */ add r4, r4, r5
/* 80297418 00294378 4D 82 00 20 */ beqlr
/* 8029741C 0029437C 80 04 00 04 */ lwz r0, 4(r4)
/* 80297420 00294380 90 03 00 00 */ stw r0, 0(r3)
/* 80297424 00294384 4E 80 00 20 */ blr
.global "_getElementBoundsCheck<Q24rstl27reserved_vector<9CVector2f>>__FRCQ24rstl27reserved_vector<9CVector2f>i"
"_getElementBoundsCheck<Q24rstl27reserved_vector<9CVector2f>>__FRCQ24rstl27reserved_vector<9CVector2f>i":
/* 80297428 00294388 80 04 00 00 */ lwz r0, 0(r4)
/* 8029742C 0029438C 7C 05 00 00 */ cmpw r5, r0
/* 80297430 00294390 41 80 00 10 */ blt lbl_80297440
/* 80297434 00294394 38 00 00 00 */ li r0, 0
/* 80297438 00294398 98 03 00 08 */ stb r0, 8(r3)
/* 8029743C 0029439C 4E 80 00 20 */ blr
lbl_80297440:
/* 80297440 002943A0 38 00 00 01 */ li r0, 1
/* 80297444 002943A4 28 03 00 00 */ cmplwi r3, 0
/* 80297448 002943A8 54 A5 18 38 */ slwi r5, r5, 3
/* 8029744C 002943AC 98 03 00 08 */ stb r0, 8(r3)
/* 80297450 002943B0 7C 84 2A 14 */ add r4, r4, r5
/* 80297454 002943B4 4D 82 00 20 */ beqlr
/* 80297458 002943B8 C0 04 00 04 */ lfs f0, 4(r4)
/* 8029745C 002943BC D0 03 00 00 */ stfs f0, 0(r3)
/* 80297460 002943C0 C0 04 00 08 */ lfs f0, 8(r4)
/* 80297464 002943C4 D0 03 00 04 */ stfs f0, 4(r3)
/* 80297468 002943C8 4E 80 00 20 */ blr
.global "_getElementBoundsCheck<Q24rstl27reserved_vector<9CVector3f>>__FRCQ24rstl27reserved_vector<9CVector3f>i"
"_getElementBoundsCheck<Q24rstl27reserved_vector<9CVector3f>>__FRCQ24rstl27reserved_vector<9CVector3f>i":
/* 8029746C 002943CC 80 04 00 00 */ lwz r0, 0(r4)
/* 80297470 002943D0 7C 05 00 00 */ cmpw r5, r0
/* 80297474 002943D4 41 80 00 10 */ blt lbl_80297484
/* 80297478 002943D8 38 00 00 00 */ li r0, 0
/* 8029747C 002943DC 98 03 00 0C */ stb r0, 0xc(r3)
/* 80297480 002943E0 4E 80 00 20 */ blr
lbl_80297484:
/* 80297484 002943E4 1C A5 00 0C */ mulli r5, r5, 0xc
/* 80297488 002943E8 38 00 00 01 */ li r0, 1
/* 8029748C 002943EC 28 03 00 00 */ cmplwi r3, 0
/* 80297490 002943F0 98 03 00 0C */ stb r0, 0xc(r3)
/* 80297494 002943F4 7C 84 2A 14 */ add r4, r4, r5
/* 80297498 002943F8 4D 82 00 20 */ beqlr
/* 8029749C 002943FC C0 04 00 04 */ lfs f0, 4(r4)
/* 802974A0 00294400 D0 03 00 00 */ stfs f0, 0(r3)
/* 802974A4 00294404 C0 04 00 08 */ lfs f0, 8(r4)
/* 802974A8 00294408 D0 03 00 04 */ stfs f0, 4(r3)
/* 802974AC 0029440C C0 04 00 0C */ lfs f0, 0xc(r4)
/* 802974B0 00294410 D0 03 00 08 */ stfs f0, 8(r3)
/* 802974B4 00294414 4E 80 00 20 */ blr
.global AddSample__Q27CPlayer12CInputFilterFiRC9CVector3fRC9CVector3fRC9CVector2f
AddSample__Q27CPlayer12CInputFilterFiRC9CVector3fRC9CVector3fRC9CVector2f:
/* 802974B8 00294418 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802974BC 0029441C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802974C0 00294420 80 03 00 00 */ lwz r0, 0(r3)
/* 802974C4 00294424 2C 00 00 14 */ cmpwi r0, 0x14
/* 802974C8 00294428 40 80 00 24 */ bge lbl_802974EC
/* 802974CC 0029442C 54 00 10 3A */ slwi r0, r0, 2
/* 802974D0 00294430 7D 03 02 14 */ add r8, r3, r0
/* 802974D4 00294434 35 08 00 04 */ addic. r8, r8, 4
/* 802974D8 00294438 41 82 00 08 */ beq lbl_802974E0
/* 802974DC 0029443C 90 88 00 00 */ stw r4, 0(r8)
lbl_802974E0:
/* 802974E0 00294440 81 03 00 00 */ lwz r8, 0(r3)
/* 802974E4 00294444 38 08 00 01 */ addi r0, r8, 1
/* 802974E8 00294448 90 03 00 00 */ stw r0, 0(r3)
lbl_802974EC:
/* 802974EC 0029444C 81 03 00 00 */ lwz r8, 0(r3)
/* 802974F0 00294450 35 88 FF FF */ addic. r12, r8, -1
/* 802974F4 00294454 55 80 10 3A */ slwi r0, r12, 2
/* 802974F8 00294458 7D 88 63 78 */ mr r8, r12
/* 802974FC 0029445C 7F E3 02 14 */ add r31, r3, r0
/* 80297500 00294460 3B FF 00 04 */ addi r31, r31, 4
/* 80297504 00294464 40 81 00 E8 */ ble lbl_802975EC
/* 80297508 00294468 55 80 E8 FF */ rlwinm. r0, r12, 0x1d, 3, 0x1f
/* 8029750C 0029446C 7C 09 03 A6 */ mtctr r0
/* 80297510 00294470 41 82 00 B8 */ beq lbl_802975C8
lbl_80297514:
/* 80297514 00294474 39 6C FF FF */ addi r11, r12, -1
/* 80297518 00294478 55 6A 10 3A */ slwi r10, r11, 2
/* 8029751C 0029447C 7D 23 52 14 */ add r9, r3, r10
/* 80297520 00294480 39 6C FF FE */ addi r11, r12, -2
/* 80297524 00294484 80 09 00 04 */ lwz r0, 4(r9)
/* 80297528 00294488 55 6A 10 3A */ slwi r10, r11, 2
/* 8029752C 0029448C 7D 23 52 14 */ add r9, r3, r10
/* 80297530 00294490 39 6C FF FD */ addi r11, r12, -3
/* 80297534 00294494 90 1F 00 00 */ stw r0, 0(r31)
/* 80297538 00294498 55 6A 10 3A */ slwi r10, r11, 2
/* 8029753C 0029449C 39 6C FF FC */ addi r11, r12, -4
/* 80297540 002944A0 80 09 00 04 */ lwz r0, 4(r9)
/* 80297544 002944A4 7D 23 52 14 */ add r9, r3, r10
/* 80297548 002944A8 55 6A 10 3A */ slwi r10, r11, 2
/* 8029754C 002944AC 39 6C FF FB */ addi r11, r12, -5
/* 80297550 002944B0 90 1F FF FC */ stw r0, -4(r31)
/* 80297554 002944B4 80 09 00 04 */ lwz r0, 4(r9)
/* 80297558 002944B8 7D 23 52 14 */ add r9, r3, r10
/* 8029755C 002944BC 55 6A 10 3A */ slwi r10, r11, 2
/* 80297560 002944C0 39 6C FF FA */ addi r11, r12, -6
/* 80297564 002944C4 90 1F FF F8 */ stw r0, -8(r31)
/* 80297568 002944C8 80 09 00 04 */ lwz r0, 4(r9)
/* 8029756C 002944CC 7D 23 52 14 */ add r9, r3, r10
/* 80297570 002944D0 55 6A 10 3A */ slwi r10, r11, 2
/* 80297574 002944D4 39 6C FF F9 */ addi r11, r12, -7
/* 80297578 002944D8 90 1F FF F4 */ stw r0, -0xc(r31)
/* 8029757C 002944DC 80 09 00 04 */ lwz r0, 4(r9)
/* 80297580 002944E0 7D 23 52 14 */ add r9, r3, r10
/* 80297584 002944E4 55 6A 10 3A */ slwi r10, r11, 2
/* 80297588 002944E8 39 6C FF F8 */ addi r11, r12, -8
/* 8029758C 002944EC 90 1F FF F0 */ stw r0, -0x10(r31)
/* 80297590 002944F0 39 8C FF F8 */ addi r12, r12, -8
/* 80297594 002944F4 80 09 00 04 */ lwz r0, 4(r9)
/* 80297598 002944F8 7D 23 52 14 */ add r9, r3, r10
/* 8029759C 002944FC 55 6A 10 3A */ slwi r10, r11, 2
/* 802975A0 00294500 90 1F FF EC */ stw r0, -0x14(r31)
/* 802975A4 00294504 80 09 00 04 */ lwz r0, 4(r9)
/* 802975A8 00294508 7D 23 52 14 */ add r9, r3, r10
/* 802975AC 0029450C 90 1F FF E8 */ stw r0, -0x18(r31)
/* 802975B0 00294510 80 09 00 04 */ lwz r0, 4(r9)
/* 802975B4 00294514 90 1F FF E4 */ stw r0, -0x1c(r31)
/* 802975B8 00294518 3B FF FF E0 */ addi r31, r31, -32
/* 802975BC 0029451C 42 00 FF 58 */ bdnz lbl_80297514
/* 802975C0 00294520 71 08 00 07 */ andi. r8, r8, 7
/* 802975C4 00294524 41 82 00 28 */ beq lbl_802975EC
lbl_802975C8:
/* 802975C8 00294528 7D 09 03 A6 */ mtctr r8
lbl_802975CC:
/* 802975CC 0029452C 39 6C FF FF */ addi r11, r12, -1
/* 802975D0 00294530 39 8C FF FF */ addi r12, r12, -1
/* 802975D4 00294534 55 6A 10 3A */ slwi r10, r11, 2
/* 802975D8 00294538 7D 23 52 14 */ add r9, r3, r10
/* 802975DC 0029453C 80 09 00 04 */ lwz r0, 4(r9)
/* 802975E0 00294540 90 1F 00 00 */ stw r0, 0(r31)
/* 802975E4 00294544 3B FF FF FC */ addi r31, r31, -4
/* 802975E8 00294548 42 00 FF E4 */ bdnz lbl_802975CC
lbl_802975EC:
/* 802975EC 0029454C 90 83 00 04 */ stw r4, 4(r3)
/* 802975F0 00294550 80 03 00 54 */ lwz r0, 0x54(r3)
/* 802975F4 00294554 2C 00 00 14 */ cmpwi r0, 0x14
/* 802975F8 00294558 40 80 00 38 */ bge lbl_80297630
/* 802975FC 0029455C 1C 00 00 0C */ mulli r0, r0, 0xc
/* 80297600 00294560 7C 83 02 14 */ add r4, r3, r0
/* 80297604 00294564 34 84 00 58 */ addic. r4, r4, 0x58
/* 80297608 00294568 41 82 00 1C */ beq lbl_80297624
/* 8029760C 0029456C C0 05 00 00 */ lfs f0, 0(r5)
/* 80297610 00294570 D0 04 00 00 */ stfs f0, 0(r4)
/* 80297614 00294574 C0 05 00 04 */ lfs f0, 4(r5)
/* 80297618 00294578 D0 04 00 04 */ stfs f0, 4(r4)
/* 8029761C 0029457C C0 05 00 08 */ lfs f0, 8(r5)
/* 80297620 00294580 D0 04 00 08 */ stfs f0, 8(r4)
lbl_80297624:
/* 80297624 00294584 80 83 00 54 */ lwz r4, 0x54(r3)
/* 80297628 00294588 38 04 00 01 */ addi r0, r4, 1
/* 8029762C 0029458C 90 03 00 54 */ stw r0, 0x54(r3)
lbl_80297630:
/* 80297630 00294590 80 83 00 54 */ lwz r4, 0x54(r3)
/* 80297634 00294594 39 83 00 58 */ addi r12, r3, 0x58
/* 80297638 00294598 35 24 FF FF */ addic. r9, r4, -1
/* 8029763C 0029459C 1C 09 00 0C */ mulli r0, r9, 0xc
/* 80297640 002945A0 7D 24 4B 78 */ mr r4, r9
/* 80297644 002945A4 7D 6C 02 14 */ add r11, r12, r0
/* 80297648 002945A8 40 81 00 E8 */ ble lbl_80297730
/* 8029764C 002945AC 55 20 F0 BF */ rlwinm. r0, r9, 0x1e, 2, 0x1f
/* 80297650 002945B0 7C 09 03 A6 */ mtctr r0
/* 80297654 002945B4 41 82 00 A8 */ beq lbl_802976FC
lbl_80297658:
/* 80297658 002945B8 39 09 FF FF */ addi r8, r9, -1
/* 8029765C 002945BC 1C 08 00 0C */ mulli r0, r8, 0xc
/* 80297660 002945C0 39 09 FF FE */ addi r8, r9, -2
/* 80297664 002945C4 7D 4C 02 14 */ add r10, r12, r0
/* 80297668 002945C8 C0 0A 00 00 */ lfs f0, 0(r10)
/* 8029766C 002945CC 1C 08 00 0C */ mulli r0, r8, 0xc
/* 80297670 002945D0 39 09 FF FD */ addi r8, r9, -3
/* 80297674 002945D4 D0 0B 00 00 */ stfs f0, 0(r11)
/* 80297678 002945D8 C0 0A 00 04 */ lfs f0, 4(r10)
/* 8029767C 002945DC D0 0B 00 04 */ stfs f0, 4(r11)
/* 80297680 002945E0 C0 0A 00 08 */ lfs f0, 8(r10)
/* 80297684 002945E4 7D 4C 02 14 */ add r10, r12, r0
/* 80297688 002945E8 1C 08 00 0C */ mulli r0, r8, 0xc
/* 8029768C 002945EC 39 09 FF FC */ addi r8, r9, -4
/* 80297690 002945F0 D0 0B 00 08 */ stfs f0, 8(r11)
/* 80297694 002945F4 39 29 FF FC */ addi r9, r9, -4
/* 80297698 002945F8 C0 0A 00 00 */ lfs f0, 0(r10)
/* 8029769C 002945FC D0 0B FF F4 */ stfs f0, -0xc(r11)
/* 802976A0 00294600 C0 0A 00 04 */ lfs f0, 4(r10)
/* 802976A4 00294604 D0 0B FF F8 */ stfs f0, -8(r11)
/* 802976A8 00294608 C0 0A 00 08 */ lfs f0, 8(r10)
/* 802976AC 0029460C 7D 4C 02 14 */ add r10, r12, r0
/* 802976B0 00294610 1C 08 00 0C */ mulli r0, r8, 0xc
/* 802976B4 00294614 D0 0B FF FC */ stfs f0, -4(r11)
/* 802976B8 00294618 C0 0A 00 00 */ lfs f0, 0(r10)
/* 802976BC 0029461C D0 0B FF E8 */ stfs f0, -0x18(r11)
/* 802976C0 00294620 C0 0A 00 04 */ lfs f0, 4(r10)
/* 802976C4 00294624 D0 0B FF EC */ stfs f0, -0x14(r11)
/* 802976C8 00294628 C0 0A 00 08 */ lfs f0, 8(r10)
/* 802976CC 0029462C 7D 4C 02 14 */ add r10, r12, r0
/* 802976D0 00294630 D0 0B FF F0 */ stfs f0, -0x10(r11)
/* 802976D4 00294634 C0 0A 00 00 */ lfs f0, 0(r10)
/* 802976D8 00294638 D0 0B FF DC */ stfs f0, -0x24(r11)
/* 802976DC 0029463C C0 0A 00 04 */ lfs f0, 4(r10)
/* 802976E0 00294640 D0 0B FF E0 */ stfs f0, -0x20(r11)
/* 802976E4 00294644 C0 0A 00 08 */ lfs f0, 8(r10)
/* 802976E8 00294648 D0 0B FF E4 */ stfs f0, -0x1c(r11)
/* 802976EC 0029464C 39 6B FF D0 */ addi r11, r11, -48
/* 802976F0 00294650 42 00 FF 68 */ bdnz lbl_80297658
/* 802976F4 00294654 70 84 00 03 */ andi. r4, r4, 3
/* 802976F8 00294658 41 82 00 38 */ beq lbl_80297730
lbl_802976FC:
/* 802976FC 0029465C 7C 89 03 A6 */ mtctr r4
lbl_80297700:
/* 80297700 00294660 39 09 FF FF */ addi r8, r9, -1
/* 80297704 00294664 39 29 FF FF */ addi r9, r9, -1
/* 80297708 00294668 1C 08 00 0C */ mulli r0, r8, 0xc
/* 8029770C 0029466C 7D 4C 02 14 */ add r10, r12, r0
/* 80297710 00294670 C0 0A 00 00 */ lfs f0, 0(r10)
/* 80297714 00294674 D0 0B 00 00 */ stfs f0, 0(r11)
/* 80297718 00294678 C0 0A 00 04 */ lfs f0, 4(r10)
/* 8029771C 0029467C D0 0B 00 04 */ stfs f0, 4(r11)
/* 80297720 00294680 C0 0A 00 08 */ lfs f0, 8(r10)
/* 80297724 00294684 D0 0B 00 08 */ stfs f0, 8(r11)
/* 80297728 00294688 39 6B FF F4 */ addi r11, r11, -12
/* 8029772C 0029468C 42 00 FF D4 */ bdnz lbl_80297700
lbl_80297730:
/* 80297730 00294690 C0 05 00 00 */ lfs f0, 0(r5)
/* 80297734 00294694 D0 0C 00 00 */ stfs f0, 0(r12)
/* 80297738 00294698 C0 05 00 04 */ lfs f0, 4(r5)
/* 8029773C 0029469C D0 0C 00 04 */ stfs f0, 4(r12)
/* 80297740 002946A0 C0 05 00 08 */ lfs f0, 8(r5)
/* 80297744 002946A4 D0 0C 00 08 */ stfs f0, 8(r12)
/* 80297748 002946A8 80 03 01 48 */ lwz r0, 0x148(r3)
/* 8029774C 002946AC 2C 00 00 14 */ cmpwi r0, 0x14
/* 80297750 002946B0 40 80 00 38 */ bge lbl_80297788
/* 80297754 002946B4 1C 00 00 0C */ mulli r0, r0, 0xc
/* 80297758 002946B8 7C 83 02 14 */ add r4, r3, r0
/* 8029775C 002946BC 34 84 01 4C */ addic. r4, r4, 0x14c
/* 80297760 002946C0 41 82 00 1C */ beq lbl_8029777C
/* 80297764 002946C4 C0 06 00 00 */ lfs f0, 0(r6)
/* 80297768 002946C8 D0 04 00 00 */ stfs f0, 0(r4)
/* 8029776C 002946CC C0 06 00 04 */ lfs f0, 4(r6)
/* 80297770 002946D0 D0 04 00 04 */ stfs f0, 4(r4)
/* 80297774 002946D4 C0 06 00 08 */ lfs f0, 8(r6)
/* 80297778 002946D8 D0 04 00 08 */ stfs f0, 8(r4)
lbl_8029777C:
/* 8029777C 002946DC 80 83 01 48 */ lwz r4, 0x148(r3)
/* 80297780 002946E0 38 04 00 01 */ addi r0, r4, 1
/* 80297784 002946E4 90 03 01 48 */ stw r0, 0x148(r3)
lbl_80297788:
/* 80297788 002946E8 80 83 01 48 */ lwz r4, 0x148(r3)
/* 8029778C 002946EC 39 63 01 4C */ addi r11, r3, 0x14c
/* 80297790 002946F0 35 04 FF FF */ addic. r8, r4, -1
/* 80297794 002946F4 1C 08 00 0C */ mulli r0, r8, 0xc
/* 80297798 002946F8 7D 04 43 78 */ mr r4, r8
/* 8029779C 002946FC 7D 4B 02 14 */ add r10, r11, r0
/* 802977A0 00294700 40 81 00 E8 */ ble lbl_80297888
/* 802977A4 00294704 55 00 F0 BF */ rlwinm. r0, r8, 0x1e, 2, 0x1f
/* 802977A8 00294708 7C 09 03 A6 */ mtctr r0
/* 802977AC 0029470C 41 82 00 A8 */ beq lbl_80297854
lbl_802977B0:
/* 802977B0 00294710 38 A8 FF FF */ addi r5, r8, -1
/* 802977B4 00294714 1C 05 00 0C */ mulli r0, r5, 0xc
/* 802977B8 00294718 38 A8 FF FE */ addi r5, r8, -2
/* 802977BC 0029471C 7D 2B 02 14 */ add r9, r11, r0
/* 802977C0 00294720 C0 09 00 00 */ lfs f0, 0(r9)
/* 802977C4 00294724 1C 05 00 0C */ mulli r0, r5, 0xc
/* 802977C8 00294728 38 A8 FF FD */ addi r5, r8, -3
/* 802977CC 0029472C D0 0A 00 00 */ stfs f0, 0(r10)
/* 802977D0 00294730 C0 09 00 04 */ lfs f0, 4(r9)
/* 802977D4 00294734 D0 0A 00 04 */ stfs f0, 4(r10)
/* 802977D8 00294738 C0 09 00 08 */ lfs f0, 8(r9)
/* 802977DC 0029473C 7D 2B 02 14 */ add r9, r11, r0
/* 802977E0 00294740 1C 05 00 0C */ mulli r0, r5, 0xc
/* 802977E4 00294744 38 A8 FF FC */ addi r5, r8, -4
/* 802977E8 00294748 D0 0A 00 08 */ stfs f0, 8(r10)
/* 802977EC 0029474C 39 08 FF FC */ addi r8, r8, -4
/* 802977F0 00294750 C0 09 00 00 */ lfs f0, 0(r9)
/* 802977F4 00294754 D0 0A FF F4 */ stfs f0, -0xc(r10)
/* 802977F8 00294758 C0 09 00 04 */ lfs f0, 4(r9)
/* 802977FC 0029475C D0 0A FF F8 */ stfs f0, -8(r10)
/* 80297800 00294760 C0 09 00 08 */ lfs f0, 8(r9)
/* 80297804 00294764 7D 2B 02 14 */ add r9, r11, r0
/* 80297808 00294768 1C 05 00 0C */ mulli r0, r5, 0xc
/* 8029780C 0029476C D0 0A FF FC */ stfs f0, -4(r10)
/* 80297810 00294770 C0 09 00 00 */ lfs f0, 0(r9)
/* 80297814 00294774 D0 0A FF E8 */ stfs f0, -0x18(r10)
/* 80297818 00294778 C0 09 00 04 */ lfs f0, 4(r9)
/* 8029781C 0029477C D0 0A FF EC */ stfs f0, -0x14(r10)
/* 80297820 00294780 C0 09 00 08 */ lfs f0, 8(r9)
/* 80297824 00294784 7D 2B 02 14 */ add r9, r11, r0
/* 80297828 00294788 D0 0A FF F0 */ stfs f0, -0x10(r10)
/* 8029782C 0029478C C0 09 00 00 */ lfs f0, 0(r9)
/* 80297830 00294790 D0 0A FF DC */ stfs f0, -0x24(r10)
/* 80297834 00294794 C0 09 00 04 */ lfs f0, 4(r9)
/* 80297838 00294798 D0 0A FF E0 */ stfs f0, -0x20(r10)
/* 8029783C 0029479C C0 09 00 08 */ lfs f0, 8(r9)
/* 80297840 002947A0 D0 0A FF E4 */ stfs f0, -0x1c(r10)
/* 80297844 002947A4 39 4A FF D0 */ addi r10, r10, -48
/* 80297848 002947A8 42 00 FF 68 */ bdnz lbl_802977B0
/* 8029784C 002947AC 70 84 00 03 */ andi. r4, r4, 3
/* 80297850 002947B0 41 82 00 38 */ beq lbl_80297888
lbl_80297854:
/* 80297854 002947B4 7C 89 03 A6 */ mtctr r4
lbl_80297858:
/* 80297858 002947B8 38 A8 FF FF */ addi r5, r8, -1
/* 8029785C 002947BC 39 08 FF FF */ addi r8, r8, -1
/* 80297860 002947C0 1C 05 00 0C */ mulli r0, r5, 0xc
/* 80297864 002947C4 7D 2B 02 14 */ add r9, r11, r0
/* 80297868 002947C8 C0 09 00 00 */ lfs f0, 0(r9)
/* 8029786C 002947CC D0 0A 00 00 */ stfs f0, 0(r10)
/* 80297870 002947D0 C0 09 00 04 */ lfs f0, 4(r9)
/* 80297874 002947D4 D0 0A 00 04 */ stfs f0, 4(r10)
/* 80297878 002947D8 C0 09 00 08 */ lfs f0, 8(r9)
/* 8029787C 002947DC D0 0A 00 08 */ stfs f0, 8(r10)
/* 80297880 002947E0 39 4A FF F4 */ addi r10, r10, -12
/* 80297884 002947E4 42 00 FF D4 */ bdnz lbl_80297858
lbl_80297888:
/* 80297888 002947E8 C0 06 00 00 */ lfs f0, 0(r6)
/* 8029788C 002947EC D0 0B 00 00 */ stfs f0, 0(r11)
/* 80297890 002947F0 C0 06 00 04 */ lfs f0, 4(r6)
/* 80297894 002947F4 D0 0B 00 04 */ stfs f0, 4(r11)
/* 80297898 002947F8 C0 06 00 08 */ lfs f0, 8(r6)
/* 8029789C 002947FC D0 0B 00 08 */ stfs f0, 8(r11)
/* 802978A0 00294800 80 03 02 3C */ lwz r0, 0x23c(r3)
/* 802978A4 00294804 2C 00 00 14 */ cmpwi r0, 0x14
/* 802978A8 00294808 40 80 00 30 */ bge lbl_802978D8
/* 802978AC 0029480C 54 00 18 38 */ slwi r0, r0, 3
/* 802978B0 00294810 7C 83 02 14 */ add r4, r3, r0
/* 802978B4 00294814 34 84 02 40 */ addic. r4, r4, 0x240
/* 802978B8 00294818 41 82 00 14 */ beq lbl_802978CC
/* 802978BC 0029481C C0 07 00 00 */ lfs f0, 0(r7)
/* 802978C0 00294820 D0 04 00 00 */ stfs f0, 0(r4)
/* 802978C4 00294824 C0 07 00 04 */ lfs f0, 4(r7)
/* 802978C8 00294828 D0 04 00 04 */ stfs f0, 4(r4)
lbl_802978CC:
/* 802978CC 0029482C 80 83 02 3C */ lwz r4, 0x23c(r3)
/* 802978D0 00294830 38 04 00 01 */ addi r0, r4, 1
/* 802978D4 00294834 90 03 02 3C */ stw r0, 0x23c(r3)
lbl_802978D8:
/* 802978D8 00294838 80 83 02 3C */ lwz r4, 0x23c(r3)
/* 802978DC 0029483C 39 23 02 40 */ addi r9, r3, 0x240
/* 802978E0 00294840 34 A4 FF FF */ addic. r5, r4, -1
/* 802978E4 00294844 54 A0 18 38 */ slwi r0, r5, 3
/* 802978E8 00294848 7C A3 2B 78 */ mr r3, r5
/* 802978EC 0029484C 7D 09 02 14 */ add r8, r9, r0
/* 802978F0 00294850 40 81 00 C0 */ ble lbl_802979B0
/* 802978F4 00294854 54 A0 F0 BF */ rlwinm. r0, r5, 0x1e, 2, 0x1f
/* 802978F8 00294858 7C 09 03 A6 */ mtctr r0
/* 802978FC 0029485C 41 82 00 88 */ beq lbl_80297984
lbl_80297900:
/* 80297900 00294860 38 85 FF FF */ addi r4, r5, -1
/* 80297904 00294864 54 80 18 38 */ slwi r0, r4, 3
/* 80297908 00294868 7C C9 02 14 */ add r6, r9, r0
/* 8029790C 0029486C 38 85 FF FE */ addi r4, r5, -2
/* 80297910 00294870 C0 06 00 00 */ lfs f0, 0(r6)
/* 80297914 00294874 54 80 18 38 */ slwi r0, r4, 3
/* 80297918 00294878 38 85 FF FD */ addi r4, r5, -3
/* 8029791C 0029487C D0 08 00 00 */ stfs f0, 0(r8)
/* 80297920 00294880 C0 06 00 04 */ lfs f0, 4(r6)
/* 80297924 00294884 7C C9 02 14 */ add r6, r9, r0
/* 80297928 00294888 54 80 18 38 */ slwi r0, r4, 3
/* 8029792C 0029488C 38 85 FF FC */ addi r4, r5, -4
/* 80297930 00294890 D0 08 00 04 */ stfs f0, 4(r8)
/* 80297934 00294894 38 A5 FF FC */ addi r5, r5, -4
/* 80297938 00294898 C0 06 00 00 */ lfs f0, 0(r6)
/* 8029793C 0029489C D0 08 FF F8 */ stfs f0, -8(r8)
/* 80297940 002948A0 C0 06 00 04 */ lfs f0, 4(r6)
/* 80297944 002948A4 7C C9 02 14 */ add r6, r9, r0
/* 80297948 002948A8 54 80 18 38 */ slwi r0, r4, 3
/* 8029794C 002948AC D0 08 FF FC */ stfs f0, -4(r8)
/* 80297950 002948B0 C0 06 00 00 */ lfs f0, 0(r6)
/* 80297954 002948B4 D0 08 FF F0 */ stfs f0, -0x10(r8)
/* 80297958 002948B8 C0 06 00 04 */ lfs f0, 4(r6)
/* 8029795C 002948BC 7C C9 02 14 */ add r6, r9, r0
/* 80297960 002948C0 D0 08 FF F4 */ stfs f0, -0xc(r8)
/* 80297964 002948C4 C0 06 00 00 */ lfs f0, 0(r6)
/* 80297968 002948C8 D0 08 FF E8 */ stfs f0, -0x18(r8)
/* 8029796C 002948CC C0 06 00 04 */ lfs f0, 4(r6)
/* 80297970 002948D0 D0 08 FF EC */ stfs f0, -0x14(r8)
/* 80297974 002948D4 39 08 FF E0 */ addi r8, r8, -32
/* 80297978 002948D8 42 00 FF 88 */ bdnz lbl_80297900
/* 8029797C 002948DC 70 63 00 03 */ andi. r3, r3, 3
/* 80297980 002948E0 41 82 00 30 */ beq lbl_802979B0
lbl_80297984:
/* 80297984 002948E4 7C 69 03 A6 */ mtctr r3
lbl_80297988:
/* 80297988 002948E8 38 85 FF FF */ addi r4, r5, -1
/* 8029798C 002948EC 38 A5 FF FF */ addi r5, r5, -1
/* 80297990 002948F0 54 80 18 38 */ slwi r0, r4, 3
/* 80297994 002948F4 7C C9 02 14 */ add r6, r9, r0
/* 80297998 002948F8 C0 06 00 00 */ lfs f0, 0(r6)
/* 8029799C 002948FC D0 08 00 00 */ stfs f0, 0(r8)
/* 802979A0 00294900 C0 06 00 04 */ lfs f0, 4(r6)
/* 802979A4 00294904 D0 08 00 04 */ stfs f0, 4(r8)
/* 802979A8 00294908 39 08 FF F8 */ addi r8, r8, -8
/* 802979AC 0029490C 42 00 FF DC */ bdnz lbl_80297988
lbl_802979B0:
/* 802979B0 00294910 C0 07 00 00 */ lfs f0, 0(r7)
/* 802979B4 00294914 D0 09 00 00 */ stfs f0, 0(r9)
/* 802979B8 00294918 C0 07 00 04 */ lfs f0, 4(r7)
/* 802979BC 0029491C D0 09 00 04 */ stfs f0, 4(r9)
/* 802979C0 00294920 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802979C4 00294924 38 21 00 10 */ addi r1, r1, 0x10
/* 802979C8 00294928 4E 80 00 20 */ blr
.global __ct__Q27CPlayer12CInputFilterFv
__ct__Q27CPlayer12CInputFilterFv:
/* 802979CC 0029492C 38 00 00 00 */ li r0, 0
/* 802979D0 00294930 90 03 00 00 */ stw r0, 0(r3)
/* 802979D4 00294934 90 03 00 54 */ stw r0, 0x54(r3)
/* 802979D8 00294938 90 03 01 48 */ stw r0, 0x148(r3)
/* 802979DC 0029493C 90 03 02 3C */ stw r0, 0x23c(r3)
/* 802979E0 00294940 4E 80 00 20 */ blr

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,667 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global AcceptScriptMsg__5CFireF20EScriptObjectMessage9TUniqueIdR13CStateManager
AcceptScriptMsg__5CFireF20EScriptObjectMessage9TUniqueIdR13CStateManager:
/* 8025CC24 00259B84 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8025CC28 00259B88 7C 08 02 A6 */ mflr r0
/* 8025CC2C 00259B8C 90 01 00 24 */ stw r0, 0x24(r1)
/* 8025CC30 00259B90 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8025CC34 00259B94 7C 9F 23 78 */ mr r31, r4
/* 8025CC38 00259B98 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8025CC3C 00259B9C 7C 7E 1B 78 */ mr r30, r3
/* 8025CC40 00259BA0 A0 05 00 00 */ lhz r0, 0(r5)
/* 8025CC44 00259BA4 38 A1 00 08 */ addi r5, r1, 8
/* 8025CC48 00259BA8 B0 01 00 08 */ sth r0, 8(r1)
/* 8025CC4C 00259BAC 4B DF 69 C9 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager
/* 8025CC50 00259BB0 2C 1F 00 21 */ cmpwi r31, 0x21
/* 8025CC54 00259BB4 41 82 00 08 */ beq lbl_8025CC5C
/* 8025CC58 00259BB8 48 00 00 34 */ b lbl_8025CC8C
lbl_8025CC5C:
/* 8025CC5C 00259BBC 80 7E 00 E8 */ lwz r3, 0xe8(r30)
/* 8025CC60 00259BC0 38 80 00 01 */ li r4, 1
/* 8025CC64 00259BC4 81 83 00 00 */ lwz r12, 0(r3)
/* 8025CC68 00259BC8 81 8C 00 2C */ lwz r12, 0x2c(r12)
/* 8025CC6C 00259BCC 7D 89 03 A6 */ mtctr r12
/* 8025CC70 00259BD0 4E 80 04 21 */ bctrl
/* 8025CC74 00259BD4 7F C3 F3 78 */ mr r3, r30
/* 8025CC78 00259BD8 38 80 00 01 */ li r4, 1
/* 8025CC7C 00259BDC 81 9E 00 00 */ lwz r12, 0(r30)
/* 8025CC80 00259BE0 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 8025CC84 00259BE4 7D 89 03 A6 */ mtctr r12
/* 8025CC88 00259BE8 4E 80 04 21 */ bctrl
lbl_8025CC8C:
/* 8025CC8C 00259BEC 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8025CC90 00259BF0 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8025CC94 00259BF4 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8025CC98 00259BF8 7C 08 03 A6 */ mtlr r0
/* 8025CC9C 00259BFC 38 21 00 20 */ addi r1, r1, 0x20
/* 8025CCA0 00259C00 4E 80 00 20 */ blr
.global Think__5CFireFfR13CStateManager
Think__5CFireFfR13CStateManager:
/* 8025CCA4 00259C04 94 21 FF 50 */ stwu r1, -0xb0(r1)
/* 8025CCA8 00259C08 7C 08 02 A6 */ mflr r0
/* 8025CCAC 00259C0C 90 01 00 B4 */ stw r0, 0xb4(r1)
/* 8025CCB0 00259C10 DB E1 00 A0 */ stfd f31, 0xa0(r1)
/* 8025CCB4 00259C14 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0
/* 8025CCB8 00259C18 DB C1 00 90 */ stfd f30, 0x90(r1)
/* 8025CCBC 00259C1C F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0
/* 8025CCC0 00259C20 93 E1 00 8C */ stw r31, 0x8c(r1)
/* 8025CCC4 00259C24 93 C1 00 88 */ stw r30, 0x88(r1)
/* 8025CCC8 00259C28 93 A1 00 84 */ stw r29, 0x84(r1)
/* 8025CCCC 00259C2C 7C 7E 1B 78 */ mr r30, r3
/* 8025CCD0 00259C30 FF C0 08 90 */ fmr f30, f1
/* 8025CCD4 00259C34 83 A3 00 E8 */ lwz r29, 0xe8(r3)
/* 8025CCD8 00259C38 7C 9F 23 78 */ mr r31, r4
/* 8025CCDC 00259C3C 7F A3 EB 78 */ mr r3, r29
/* 8025CCE0 00259C40 81 9D 00 00 */ lwz r12, 0(r29)
/* 8025CCE4 00259C44 81 8C 00 60 */ lwz r12, 0x60(r12)
/* 8025CCE8 00259C48 7D 89 03 A6 */ mtctr r12
/* 8025CCEC 00259C4C 4E 80 04 21 */ bctrl
/* 8025CCF0 00259C50 3C A0 43 30 */ lis r5, 0x4330
/* 8025CCF4 00259C54 6C 66 80 00 */ xoris r6, r3, 0x8000
/* 8025CCF8 00259C58 80 9D 00 90 */ lwz r4, 0x90(r29)
/* 8025CCFC 00259C5C 90 C1 00 6C */ stw r6, 0x6c(r1)
/* 8025CD00 00259C60 6C 83 80 00 */ xoris r3, r4, 0x8000
/* 8025CD04 00259C64 C8 42 BA 08 */ lfd f2, lbl_805AD728@sda21(r2)
/* 8025CD08 00259C68 90 A1 00 68 */ stw r5, 0x68(r1)
/* 8025CD0C 00259C6C 88 1E 00 30 */ lbz r0, 0x30(r30)
/* 8025CD10 00259C70 C8 01 00 68 */ lfd f0, 0x68(r1)
/* 8025CD14 00259C74 90 61 00 74 */ stw r3, 0x74(r1)
/* 8025CD18 00259C78 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8025CD1C 00259C7C EC 20 10 28 */ fsubs f1, f0, f2
/* 8025CD20 00259C80 90 A1 00 70 */ stw r5, 0x70(r1)
/* 8025CD24 00259C84 C8 01 00 70 */ lfd f0, 0x70(r1)
/* 8025CD28 00259C88 EC 00 10 28 */ fsubs f0, f0, f2
/* 8025CD2C 00259C8C EF E1 00 24 */ fdivs f31, f1, f0
/* 8025CD30 00259C90 41 82 00 80 */ beq lbl_8025CDB0
/* 8025CD34 00259C94 80 7E 00 E8 */ lwz r3, 0xe8(r30)
/* 8025CD38 00259C98 C0 1E 01 44 */ lfs f0, 0x144(r30)
/* 8025CD3C 00259C9C 81 83 00 00 */ lwz r12, 0(r3)
/* 8025CD40 00259CA0 EC 3E 00 32 */ fmuls f1, f30, f0
/* 8025CD44 00259CA4 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8025CD48 00259CA8 7D 89 03 A6 */ mtctr r12
/* 8025CD4C 00259CAC 4E 80 04 21 */ bctrl
/* 8025CD50 00259CB0 C0 02 B9 FC */ lfs f0, lbl_805AD71C@sda21(r2)
/* 8025CD54 00259CB4 38 61 00 48 */ addi r3, r1, 0x48
/* 8025CD58 00259CB8 38 9E 00 F0 */ addi r4, r30, 0xf0
/* 8025CD5C 00259CBC FC 1F 00 40 */ fcmpo cr0, f31, f0
/* 8025CD60 00259CC0 40 81 00 0C */ ble lbl_8025CD6C
/* 8025CD64 00259CC4 FC 00 F8 90 */ fmr f0, f31
/* 8025CD68 00259CC8 48 00 00 08 */ b lbl_8025CD70
lbl_8025CD6C:
/* 8025CD6C 00259CCC C0 02 B9 F8 */ lfs f0, lbl_805AD718@sda21(r2)
lbl_8025CD70:
/* 8025CD70 00259CD0 EC 3E 00 32 */ fmuls f1, f30, f0
/* 8025CD74 00259CD4 4B E6 66 D5 */ bl __ct__11CDamageInfoFRC11CDamageInfof
/* 8025CD78 00259CD8 80 61 00 48 */ lwz r3, 0x48(r1)
/* 8025CD7C 00259CDC 80 01 00 4C */ lwz r0, 0x4c(r1)
/* 8025CD80 00259CE0 90 7E 01 0C */ stw r3, 0x10c(r30)
/* 8025CD84 00259CE4 90 1E 01 10 */ stw r0, 0x110(r30)
/* 8025CD88 00259CE8 C0 01 00 50 */ lfs f0, 0x50(r1)
/* 8025CD8C 00259CEC D0 1E 01 14 */ stfs f0, 0x114(r30)
/* 8025CD90 00259CF0 C0 01 00 54 */ lfs f0, 0x54(r1)
/* 8025CD94 00259CF4 D0 1E 01 18 */ stfs f0, 0x118(r30)
/* 8025CD98 00259CF8 C0 01 00 58 */ lfs f0, 0x58(r1)
/* 8025CD9C 00259CFC D0 1E 01 1C */ stfs f0, 0x11c(r30)
/* 8025CDA0 00259D00 C0 01 00 5C */ lfs f0, 0x5c(r1)
/* 8025CDA4 00259D04 D0 1E 01 20 */ stfs f0, 0x120(r30)
/* 8025CDA8 00259D08 88 01 00 60 */ lbz r0, 0x60(r1)
/* 8025CDAC 00259D0C 98 1E 01 24 */ stb r0, 0x124(r30)
lbl_8025CDB0:
/* 8025CDB0 00259D10 80 7E 00 E8 */ lwz r3, 0xe8(r30)
/* 8025CDB4 00259D14 3B A0 00 00 */ li r29, 0
/* 8025CDB8 00259D18 81 83 00 00 */ lwz r12, 0(r3)
/* 8025CDBC 00259D1C 81 8C 00 58 */ lwz r12, 0x58(r12)
/* 8025CDC0 00259D20 7D 89 03 A6 */ mtctr r12
/* 8025CDC4 00259D24 4E 80 04 21 */ bctrl
/* 8025CDC8 00259D28 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8025CDCC 00259D2C 41 82 00 08 */ beq lbl_8025CDD4
/* 8025CDD0 00259D30 3B A0 00 01 */ li r29, 1
lbl_8025CDD4:
/* 8025CDD4 00259D34 88 1E 01 48 */ lbz r0, 0x148(r30)
/* 8025CDD8 00259D38 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f
/* 8025CDDC 00259D3C 41 82 00 A8 */ beq lbl_8025CE84
/* 8025CDE0 00259D40 80 9F 08 4C */ lwz r4, 0x84c(r31)
/* 8025CDE4 00259D44 38 61 00 2C */ addi r3, r1, 0x2c
/* 8025CDE8 00259D48 81 84 00 00 */ lwz r12, 0(r4)
/* 8025CDEC 00259D4C 81 8C 00 40 */ lwz r12, 0x40(r12)
/* 8025CDF0 00259D50 7D 89 03 A6 */ mtctr r12
/* 8025CDF4 00259D54 4E 80 04 21 */ bctrl
/* 8025CDF8 00259D58 7F C4 F3 78 */ mr r4, r30
/* 8025CDFC 00259D5C 38 61 00 10 */ addi r3, r1, 0x10
/* 8025CE00 00259D60 81 9E 00 00 */ lwz r12, 0(r30)
/* 8025CE04 00259D64 81 8C 00 40 */ lwz r12, 0x40(r12)
/* 8025CE08 00259D68 7D 89 03 A6 */ mtctr r12
/* 8025CE0C 00259D6C 4E 80 04 21 */ bctrl
/* 8025CE10 00259D70 38 61 00 2C */ addi r3, r1, 0x2c
/* 8025CE14 00259D74 38 81 00 10 */ addi r4, r1, 0x10
/* 8025CE18 00259D78 48 0D AD 6D */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox
/* 8025CE1C 00259D7C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8025CE20 00259D80 38 60 00 00 */ li r3, 0
/* 8025CE24 00259D84 98 61 00 28 */ stb r3, 0x28(r1)
/* 8025CE28 00259D88 98 61 00 44 */ stb r3, 0x44(r1)
/* 8025CE2C 00259D8C 41 82 00 3C */ beq lbl_8025CE68
/* 8025CE30 00259D90 57 A0 06 3F */ clrlwi. r0, r29, 0x18
/* 8025CE34 00259D94 40 82 00 34 */ bne lbl_8025CE68
/* 8025CE38 00259D98 C0 02 B9 FC */ lfs f0, lbl_805AD71C@sda21(r2)
/* 8025CE3C 00259D9C FC 1F 00 40 */ fcmpo cr0, f31, f0
/* 8025CE40 00259DA0 40 81 00 28 */ ble lbl_8025CE68
/* 8025CE44 00259DA4 C0 1E 01 4C */ lfs f0, 0x14c(r30)
/* 8025CE48 00259DA8 38 A0 00 01 */ li r5, 1
/* 8025CE4C 00259DAC 80 7F 08 4C */ lwz r3, 0x84c(r31)
/* 8025CE50 00259DB0 EC 3F 00 32 */ fmuls f1, f31, f0
/* 8025CE54 00259DB4 C0 5E 01 54 */ lfs f2, 0x154(r30)
/* 8025CE58 00259DB8 C0 7E 01 58 */ lfs f3, 0x158(r30)
/* 8025CE5C 00259DBC 80 9E 01 50 */ lwz r4, 0x150(r30)
/* 8025CE60 00259DC0 4B DB AC 55 */ bl SetVisorSteam__7CPlayerFfffUib
/* 8025CE64 00259DC4 48 00 00 20 */ b lbl_8025CE84
lbl_8025CE68:
/* 8025CE68 00259DC8 C0 42 BA 00 */ lfs f2, lbl_805AD720@sda21(r2)
/* 8025CE6C 00259DCC 38 80 FF FF */ li r4, -1
/* 8025CE70 00259DD0 80 7F 08 4C */ lwz r3, 0x84c(r31)
/* 8025CE74 00259DD4 38 A0 00 01 */ li r5, 1
/* 8025CE78 00259DD8 FC 60 10 90 */ fmr f3, f2
/* 8025CE7C 00259DDC C0 22 B9 F8 */ lfs f1, lbl_805AD718@sda21(r2)
/* 8025CE80 00259DE0 4B DB AC 35 */ bl SetVisorSteam__7CPlayerFfffUib
lbl_8025CE84:
/* 8025CE84 00259DE4 C0 3E 01 5C */ lfs f1, 0x15c(r30)
/* 8025CE88 00259DE8 C0 02 BA 04 */ lfs f0, lbl_805AD724@sda21(r2)
/* 8025CE8C 00259DEC EC 21 F0 2A */ fadds f1, f1, f30
/* 8025CE90 00259DF0 D0 3E 01 5C */ stfs f1, 0x15c(r30)
/* 8025CE94 00259DF4 C0 3E 01 5C */ lfs f1, 0x15c(r30)
/* 8025CE98 00259DF8 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8025CE9C 00259DFC 40 81 00 08 */ ble lbl_8025CEA4
/* 8025CEA0 00259E00 3B A0 00 01 */ li r29, 1
lbl_8025CEA4:
/* 8025CEA4 00259E04 57 A0 06 3F */ clrlwi. r0, r29, 0x18
/* 8025CEA8 00259E08 41 82 00 1C */ beq lbl_8025CEC4
/* 8025CEAC 00259E0C A0 1E 00 08 */ lhz r0, 8(r30)
/* 8025CEB0 00259E10 7F E3 FB 78 */ mr r3, r31
/* 8025CEB4 00259E14 38 81 00 0C */ addi r4, r1, 0xc
/* 8025CEB8 00259E18 B0 01 00 08 */ sth r0, 8(r1)
/* 8025CEBC 00259E1C B0 01 00 0C */ sth r0, 0xc(r1)
/* 8025CEC0 00259E20 4B DE F3 AD */ bl FreeScriptObject__13CStateManagerF9TUniqueId
lbl_8025CEC4:
/* 8025CEC4 00259E24 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0
/* 8025CEC8 00259E28 CB E1 00 A0 */ lfd f31, 0xa0(r1)
/* 8025CECC 00259E2C E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0
/* 8025CED0 00259E30 CB C1 00 90 */ lfd f30, 0x90(r1)
/* 8025CED4 00259E34 83 E1 00 8C */ lwz r31, 0x8c(r1)
/* 8025CED8 00259E38 83 C1 00 88 */ lwz r30, 0x88(r1)
/* 8025CEDC 00259E3C 80 01 00 B4 */ lwz r0, 0xb4(r1)
/* 8025CEE0 00259E40 83 A1 00 84 */ lwz r29, 0x84(r1)
/* 8025CEE4 00259E44 7C 08 03 A6 */ mtlr r0
/* 8025CEE8 00259E48 38 21 00 B0 */ addi r1, r1, 0xb0
/* 8025CEEC 00259E4C 4E 80 00 20 */ blr
.global Accept__5CFireFR8IVisitor
Accept__5CFireFR8IVisitor:
/* 8025CEF0 00259E50 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8025CEF4 00259E54 7C 08 02 A6 */ mflr r0
/* 8025CEF8 00259E58 90 01 00 14 */ stw r0, 0x14(r1)
/* 8025CEFC 00259E5C 7C 60 1B 78 */ mr r0, r3
/* 8025CF00 00259E60 7C 83 23 78 */ mr r3, r4
/* 8025CF04 00259E64 81 84 00 00 */ lwz r12, 0(r4)
/* 8025CF08 00259E68 7C 04 03 78 */ mr r4, r0
/* 8025CF0C 00259E6C 81 8C 00 08 */ lwz r12, 8(r12)
/* 8025CF10 00259E70 7D 89 03 A6 */ mtctr r12
/* 8025CF14 00259E74 4E 80 04 21 */ bctrl
/* 8025CF18 00259E78 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8025CF1C 00259E7C 7C 08 03 A6 */ mtlr r0
/* 8025CF20 00259E80 38 21 00 10 */ addi r1, r1, 0x10
/* 8025CF24 00259E84 4E 80 00 20 */ blr
.global Render__5CFireCFRC13CStateManager
Render__5CFireCFRC13CStateManager:
/* 8025CF28 00259E88 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8025CF2C 00259E8C 7C 08 02 A6 */ mflr r0
/* 8025CF30 00259E90 90 01 00 24 */ stw r0, 0x24(r1)
/* 8025CF34 00259E94 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8025CF38 00259E98 3B E0 00 01 */ li r31, 1
/* 8025CF3C 00259E9C 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8025CF40 00259EA0 7C BE 2B 78 */ mr r30, r5
/* 8025CF44 00259EA4 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8025CF48 00259EA8 7C 9D 23 78 */ mr r29, r4
/* 8025CF4C 00259EAC 93 81 00 10 */ stw r28, 0x10(r1)
/* 8025CF50 00259EB0 7C 7C 1B 78 */ mr r28, r3
/* 8025CF54 00259EB4 88 03 01 48 */ lbz r0, 0x148(r3)
/* 8025CF58 00259EB8 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f
/* 8025CF5C 00259EBC 40 82 00 68 */ bne lbl_8025CFC4
/* 8025CF60 00259EC0 80 7E 08 B8 */ lwz r3, 0x8b8(r30)
/* 8025CF64 00259EC4 7F C4 F3 78 */ mr r4, r30
/* 8025CF68 00259EC8 80 63 00 00 */ lwz r3, 0(r3)
/* 8025CF6C 00259ECC 4B E3 45 ED */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager
/* 8025CF70 00259ED0 2C 03 00 02 */ cmpwi r3, 2
/* 8025CF74 00259ED4 41 82 00 24 */ beq lbl_8025CF98
/* 8025CF78 00259ED8 40 80 00 14 */ bge lbl_8025CF8C
/* 8025CF7C 00259EDC 2C 03 00 00 */ cmpwi r3, 0
/* 8025CF80 00259EE0 41 82 00 18 */ beq lbl_8025CF98
/* 8025CF84 00259EE4 40 80 00 24 */ bge lbl_8025CFA8
/* 8025CF88 00259EE8 48 00 00 3C */ b lbl_8025CFC4
lbl_8025CF8C:
/* 8025CF8C 00259EEC 2C 03 00 04 */ cmpwi r3, 4
/* 8025CF90 00259EF0 40 80 00 34 */ bge lbl_8025CFC4
/* 8025CF94 00259EF4 48 00 00 24 */ b lbl_8025CFB8
lbl_8025CF98:
/* 8025CF98 00259EF8 88 1C 01 48 */ lbz r0, 0x148(r28)
/* 8025CF9C 00259EFC 54 00 CF FE */ rlwinm r0, r0, 0x19, 0x1f, 0x1f
/* 8025CFA0 00259F00 7C 1F 03 78 */ mr r31, r0
/* 8025CFA4 00259F04 48 00 00 20 */ b lbl_8025CFC4
lbl_8025CFA8:
/* 8025CFA8 00259F08 88 1C 01 48 */ lbz r0, 0x148(r28)
/* 8025CFAC 00259F0C 54 00 DF FE */ rlwinm r0, r0, 0x1b, 0x1f, 0x1f
/* 8025CFB0 00259F10 7C 1F 03 78 */ mr r31, r0
/* 8025CFB4 00259F14 48 00 00 10 */ b lbl_8025CFC4
lbl_8025CFB8:
/* 8025CFB8 00259F18 88 1C 01 48 */ lbz r0, 0x148(r28)
/* 8025CFBC 00259F1C 54 00 D7 FE */ rlwinm r0, r0, 0x1a, 0x1f, 0x1f
/* 8025CFC0 00259F20 7C 1F 03 78 */ mr r31, r0
lbl_8025CFC4:
/* 8025CFC4 00259F24 57 E0 06 3F */ clrlwi. r0, r31, 0x18
/* 8025CFC8 00259F28 41 82 00 1C */ beq lbl_8025CFE4
/* 8025CFCC 00259F2C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 8025CFD0 00259F30 80 9C 00 E8 */ lwz r4, 0xe8(r28)
/* 8025CFD4 00259F34 81 83 00 00 */ lwz r12, 0(r3)
/* 8025CFD8 00259F38 81 8C 00 34 */ lwz r12, 0x34(r12)
/* 8025CFDC 00259F3C 7D 89 03 A6 */ mtctr r12
/* 8025CFE0 00259F40 4E 80 04 21 */ bctrl
lbl_8025CFE4:
/* 8025CFE4 00259F44 7F 83 E3 78 */ mr r3, r28
/* 8025CFE8 00259F48 7F A4 EB 78 */ mr r4, r29
/* 8025CFEC 00259F4C 7F C5 F3 78 */ mr r5, r30
/* 8025CFF0 00259F50 4B DF 7B 49 */ bl AddToRenderer__6CActorCFRC14CFrustumPlanesRC13CStateManager
/* 8025CFF4 00259F54 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8025CFF8 00259F58 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8025CFFC 00259F5C 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8025D000 00259F60 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8025D004 00259F64 83 81 00 10 */ lwz r28, 0x10(r1)
/* 8025D008 00259F68 7C 08 03 A6 */ mtlr r0
/* 8025D00C 00259F6C 38 21 00 20 */ addi r1, r1, 0x20
/* 8025D010 00259F70 4E 80 00 20 */ blr
.global GetTouchBounds__5CFireCFv
GetTouchBounds__5CFireCFv:
/* 8025D014 00259F74 88 04 00 30 */ lbz r0, 0x30(r4)
/* 8025D018 00259F78 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8025D01C 00259F7C 41 82 00 54 */ beq lbl_8025D070
/* 8025D020 00259F80 88 04 01 40 */ lbz r0, 0x140(r4)
/* 8025D024 00259F84 98 03 00 18 */ stb r0, 0x18(r3)
/* 8025D028 00259F88 88 04 01 40 */ lbz r0, 0x140(r4)
/* 8025D02C 00259F8C 28 00 00 00 */ cmplwi r0, 0
/* 8025D030 00259F90 4D 82 00 20 */ beqlr
/* 8025D034 00259F94 28 03 00 00 */ cmplwi r3, 0
/* 8025D038 00259F98 4D 82 00 20 */ beqlr
/* 8025D03C 00259F9C C0 04 01 28 */ lfs f0, 0x128(r4)
/* 8025D040 00259FA0 D0 03 00 00 */ stfs f0, 0(r3)
/* 8025D044 00259FA4 C0 04 01 2C */ lfs f0, 0x12c(r4)
/* 8025D048 00259FA8 D0 03 00 04 */ stfs f0, 4(r3)
/* 8025D04C 00259FAC C0 04 01 30 */ lfs f0, 0x130(r4)
/* 8025D050 00259FB0 D0 03 00 08 */ stfs f0, 8(r3)
/* 8025D054 00259FB4 C0 04 01 34 */ lfs f0, 0x134(r4)
/* 8025D058 00259FB8 D0 03 00 0C */ stfs f0, 0xc(r3)
/* 8025D05C 00259FBC C0 04 01 38 */ lfs f0, 0x138(r4)
/* 8025D060 00259FC0 D0 03 00 10 */ stfs f0, 0x10(r3)
/* 8025D064 00259FC4 C0 04 01 3C */ lfs f0, 0x13c(r4)
/* 8025D068 00259FC8 D0 03 00 14 */ stfs f0, 0x14(r3)
/* 8025D06C 00259FCC 4E 80 00 20 */ blr
lbl_8025D070:
/* 8025D070 00259FD0 38 00 00 00 */ li r0, 0
/* 8025D074 00259FD4 98 03 00 18 */ stb r0, 0x18(r3)
/* 8025D078 00259FD8 4E 80 00 20 */ blr
.global Touch__5CFireFR6CActorR13CStateManager
Touch__5CFireFR6CActorR13CStateManager:
/* 8025D07C 00259FDC 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 8025D080 00259FE0 7C 08 02 A6 */ mflr r0
/* 8025D084 00259FE4 90 01 00 54 */ stw r0, 0x54(r1)
/* 8025D088 00259FE8 93 E1 00 4C */ stw r31, 0x4c(r1)
/* 8025D08C 00259FEC 7C BF 2B 78 */ mr r31, r5
/* 8025D090 00259FF0 93 C1 00 48 */ stw r30, 0x48(r1)
/* 8025D094 00259FF4 7C 9E 23 78 */ mr r30, r4
/* 8025D098 00259FF8 93 A1 00 44 */ stw r29, 0x44(r1)
/* 8025D09C 00259FFC 7C 7D 1B 78 */ mr r29, r3
/* 8025D0A0 0025A000 A0 64 00 08 */ lhz r3, 8(r4)
/* 8025D0A4 0025A004 A0 1D 00 EC */ lhz r0, 0xec(r29)
/* 8025D0A8 0025A008 7C 03 00 40 */ cmplw r3, r0
/* 8025D0AC 0025A00C 41 82 00 78 */ beq lbl_8025D124
/* 8025D0B0 0025A010 80 AD 97 D0 */ lwz r5, lbl_805A8390@sda21(r13)
/* 8025D0B4 0025A014 38 60 00 00 */ li r3, 0
/* 8025D0B8 0025A018 38 80 00 01 */ li r4, 1
/* 8025D0BC 0025A01C 48 12 CE 39 */ bl __shl2i
/* 8025D0C0 0025A020 39 40 00 00 */ li r10, 0
/* 8025D0C4 0025A024 38 00 00 03 */ li r0, 3
/* 8025D0C8 0025A028 90 81 00 24 */ stw r4, 0x24(r1)
/* 8025D0CC 0025A02C 3C 80 80 5A */ lis r4, skZero3f@ha
/* 8025D0D0 0025A030 39 24 66 A0 */ addi r9, r4, skZero3f@l
/* 8025D0D4 0025A034 38 A1 00 14 */ addi r5, r1, 0x14
/* 8025D0D8 0025A038 90 61 00 20 */ stw r3, 0x20(r1)
/* 8025D0DC 0025A03C 38 81 00 1C */ addi r4, r1, 0x1c
/* 8025D0E0 0025A040 7F E3 FB 78 */ mr r3, r31
/* 8025D0E4 0025A044 38 C1 00 0C */ addi r6, r1, 0xc
/* 8025D0E8 0025A048 91 41 00 2C */ stw r10, 0x2c(r1)
/* 8025D0EC 0025A04C 38 FD 01 0C */ addi r7, r29, 0x10c
/* 8025D0F0 0025A050 39 01 00 20 */ addi r8, r1, 0x20
/* 8025D0F4 0025A054 91 41 00 28 */ stw r10, 0x28(r1)
/* 8025D0F8 0025A058 90 01 00 30 */ stw r0, 0x30(r1)
/* 8025D0FC 0025A05C A0 1D 00 08 */ lhz r0, 8(r29)
/* 8025D100 0025A060 B0 01 00 0C */ sth r0, 0xc(r1)
/* 8025D104 0025A064 A1 5E 00 08 */ lhz r10, 8(r30)
/* 8025D108 0025A068 B0 01 00 08 */ sth r0, 8(r1)
/* 8025D10C 0025A06C B1 41 00 14 */ sth r10, 0x14(r1)
/* 8025D110 0025A070 A0 1D 00 08 */ lhz r0, 8(r29)
/* 8025D114 0025A074 B1 41 00 10 */ sth r10, 0x10(r1)
/* 8025D118 0025A078 B0 01 00 18 */ sth r0, 0x18(r1)
/* 8025D11C 0025A07C B0 01 00 1C */ sth r0, 0x1c(r1)
/* 8025D120 0025A080 4B DE CF 81 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f
lbl_8025D124:
/* 8025D124 0025A084 80 01 00 54 */ lwz r0, 0x54(r1)
/* 8025D128 0025A088 83 E1 00 4C */ lwz r31, 0x4c(r1)
/* 8025D12C 0025A08C 83 C1 00 48 */ lwz r30, 0x48(r1)
/* 8025D130 0025A090 83 A1 00 44 */ lwz r29, 0x44(r1)
/* 8025D134 0025A094 7C 08 03 A6 */ mtlr r0
/* 8025D138 0025A098 38 21 00 50 */ addi r1, r1, 0x50
/* 8025D13C 0025A09C 4E 80 00 20 */ blr
.global __dt__5CFireFv
__dt__5CFireFv:
/* 8025D140 0025A0A0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8025D144 0025A0A4 7C 08 02 A6 */ mflr r0
/* 8025D148 0025A0A8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8025D14C 0025A0AC 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8025D150 0025A0B0 7C 9F 23 78 */ mr r31, r4
/* 8025D154 0025A0B4 93 C1 00 08 */ stw r30, 8(r1)
/* 8025D158 0025A0B8 7C 7E 1B 79 */ or. r30, r3, r3
/* 8025D15C 0025A0BC 41 82 00 64 */ beq lbl_8025D1C0
/* 8025D160 0025A0C0 3C 60 80 3F */ lis r3, lbl_803E9990@ha
/* 8025D164 0025A0C4 34 1E 01 28 */ addic. r0, r30, 0x128
/* 8025D168 0025A0C8 38 03 99 90 */ addi r0, r3, lbl_803E9990@l
/* 8025D16C 0025A0CC 90 1E 00 00 */ stw r0, 0(r30)
/* 8025D170 0025A0D0 41 82 00 0C */ beq lbl_8025D17C
/* 8025D174 0025A0D4 38 00 00 00 */ li r0, 0
/* 8025D178 0025A0D8 98 1E 01 40 */ stb r0, 0x140(r30)
lbl_8025D17C:
/* 8025D17C 0025A0DC 34 1E 00 E8 */ addic. r0, r30, 0xe8
/* 8025D180 0025A0E0 41 82 00 24 */ beq lbl_8025D1A4
/* 8025D184 0025A0E4 80 7E 00 E8 */ lwz r3, 0xe8(r30)
/* 8025D188 0025A0E8 28 03 00 00 */ cmplwi r3, 0
/* 8025D18C 0025A0EC 41 82 00 18 */ beq lbl_8025D1A4
/* 8025D190 0025A0F0 81 83 00 00 */ lwz r12, 0(r3)
/* 8025D194 0025A0F4 38 80 00 01 */ li r4, 1
/* 8025D198 0025A0F8 81 8C 00 08 */ lwz r12, 8(r12)
/* 8025D19C 0025A0FC 7D 89 03 A6 */ mtctr r12
/* 8025D1A0 0025A100 4E 80 04 21 */ bctrl
lbl_8025D1A4:
/* 8025D1A4 0025A104 7F C3 F3 78 */ mr r3, r30
/* 8025D1A8 0025A108 38 80 00 00 */ li r4, 0
/* 8025D1AC 0025A10C 4B DF 85 45 */ bl __dt__6CActorFv
/* 8025D1B0 0025A110 7F E0 07 35 */ extsh. r0, r31
/* 8025D1B4 0025A114 40 81 00 0C */ ble lbl_8025D1C0
/* 8025D1B8 0025A118 7F C3 F3 78 */ mr r3, r30
/* 8025D1BC 0025A11C 48 0B 87 75 */ bl Free__7CMemoryFPCv
lbl_8025D1C0:
/* 8025D1C0 0025A120 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8025D1C4 0025A124 7F C3 F3 78 */ mr r3, r30
/* 8025D1C8 0025A128 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8025D1CC 0025A12C 83 C1 00 08 */ lwz r30, 8(r1)
/* 8025D1D0 0025A130 7C 08 03 A6 */ mtlr r0
/* 8025D1D4 0025A134 38 21 00 10 */ addi r1, r1, 0x10
/* 8025D1D8 0025A138 4E 80 00 20 */ blr
.global __ct__5CFire
__ct__5CFire:
/* 8025D1DC 0025A13C 94 21 FE 50 */ stwu r1, -0x1b0(r1)
/* 8025D1E0 0025A140 7C 08 02 A6 */ mflr r0
/* 8025D1E4 0025A144 90 01 01 B4 */ stw r0, 0x1b4(r1)
/* 8025D1E8 0025A148 DB E1 01 A0 */ stfd f31, 0x1a0(r1)
/* 8025D1EC 0025A14C F3 E1 01 A8 */ psq_st f31, 424(r1), 0, qr0
/* 8025D1F0 0025A150 DB C1 01 90 */ stfd f30, 0x190(r1)
/* 8025D1F4 0025A154 F3 C1 01 98 */ psq_st f30, 408(r1), 0, qr0
/* 8025D1F8 0025A158 DB A1 01 80 */ stfd f29, 0x180(r1)
/* 8025D1FC 0025A15C F3 A1 01 88 */ psq_st f29, 392(r1), 0, qr0
/* 8025D200 0025A160 DB 81 01 70 */ stfd f28, 0x170(r1)
/* 8025D204 0025A164 F3 81 01 78 */ psq_st f28, 376(r1), 0, qr0
/* 8025D208 0025A168 BE 21 01 34 */ stmw r17, 0x134(r1)
/* 8025D20C 0025A16C 3D 60 80 3D */ lis r11, lbl_803D5230@ha
/* 8025D210 0025A170 FF 80 08 90 */ fmr f28, f1
/* 8025D214 0025A174 FF A0 10 90 */ fmr f29, f2
/* 8025D218 0025A178 38 0B 52 30 */ addi r0, r11, lbl_803D5230@l
/* 8025D21C 0025A17C 7C 75 1B 78 */ mr r21, r3
/* 8025D220 0025A180 7C 96 23 78 */ mr r22, r4
/* 8025D224 0025A184 7C B3 2B 78 */ mr r19, r5
/* 8025D228 0025A188 7C D1 33 78 */ mr r17, r6
/* 8025D22C 0025A18C FF C0 18 90 */ fmr f30, f3
/* 8025D230 0025A190 83 41 01 B8 */ lwz r26, 0x1b8(r1)
/* 8025D234 0025A194 FF E0 20 90 */ fmr f31, f4
/* 8025D238 0025A198 83 61 01 BC */ lwz r27, 0x1bc(r1)
/* 8025D23C 0025A19C 8B 81 01 C3 */ lbz r28, 0x1c3(r1)
/* 8025D240 0025A1A0 7C F2 3B 78 */ mr r18, r7
/* 8025D244 0025A1A4 83 A1 01 C4 */ lwz r29, 0x1c4(r1)
/* 8025D248 0025A1A8 7D 17 43 78 */ mr r23, r8
/* 8025D24C 0025A1AC 8B C1 01 CB */ lbz r30, 0x1cb(r1)
/* 8025D250 0025A1B0 7D 38 4B 78 */ mr r24, r9
/* 8025D254 0025A1B4 8B E1 01 CF */ lbz r31, 0x1cf(r1)
/* 8025D258 0025A1B8 7D 59 53 78 */ mr r25, r10
/* 8025D25C 0025A1BC 8A 81 01 D3 */ lbz r20, 0x1d3(r1)
/* 8025D260 0025A1C0 7C 04 03 78 */ mr r4, r0
/* 8025D264 0025A1C4 38 61 00 54 */ addi r3, r1, 0x54
/* 8025D268 0025A1C8 38 C1 00 10 */ addi r6, r1, 0x10
/* 8025D26C 0025A1CC 38 A0 FF FF */ li r5, -1
/* 8025D270 0025A1D0 48 0E 0F 25 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator"
/* 8025D274 0025A1D4 80 8D A3 88 */ lwz r4, lbl_805A8F48@sda21(r13)
/* 8025D278 0025A1D8 3C 60 80 57 */ lis r3, lbl_8056D410@ha
/* 8025D27C 0025A1DC 80 11 00 00 */ lwz r0, 0(r17)
/* 8025D280 0025A1E0 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l
/* 8025D284 0025A1E4 90 81 00 2C */ stw r4, 0x2c(r1)
/* 8025D288 0025A1E8 38 61 00 64 */ addi r3, r1, 0x64
/* 8025D28C 0025A1EC 38 81 00 30 */ addi r4, r1, 0x30
/* 8025D290 0025A1F0 38 C1 00 2C */ addi r6, r1, 0x2c
/* 8025D294 0025A1F4 90 01 00 30 */ stw r0, 0x30(r1)
/* 8025D298 0025A1F8 4B DF 41 ED */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId"
/* 8025D29C 0025A1FC 38 61 00 E4 */ addi r3, r1, 0xe4
/* 8025D2A0 0025A200 4B DD D5 05 */ bl CModelDataNull__10CModelDataFv
/* 8025D2A4 0025A204 38 61 00 7C */ addi r3, r1, 0x7c
/* 8025D2A8 0025A208 4B DB DB 91 */ bl None__16CActorParametersFv
/* 8025D2AC 0025A20C A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13)
/* 8025D2B0 0025A210 38 00 00 00 */ li r0, 0
/* 8025D2B4 0025A214 80 AD 97 D4 */ lwz r5, lbl_805A8394@sda21(r13)
/* 8025D2B8 0025A218 38 60 00 00 */ li r3, 0
/* 8025D2BC 0025A21C B0 81 00 14 */ sth r4, 0x14(r1)
/* 8025D2C0 0025A220 38 80 00 01 */ li r4, 1
/* 8025D2C4 0025A224 90 01 00 44 */ stw r0, 0x44(r1)
/* 8025D2C8 0025A228 90 01 00 40 */ stw r0, 0x40(r1)
/* 8025D2CC 0025A22C 48 12 CC 29 */ bl __shl2i
/* 8025D2D0 0025A230 80 A1 00 40 */ lwz r5, 0x40(r1)
/* 8025D2D4 0025A234 39 61 00 7C */ addi r11, r1, 0x7c
/* 8025D2D8 0025A238 80 C1 00 44 */ lwz r6, 0x44(r1)
/* 8025D2DC 0025A23C 38 01 00 14 */ addi r0, r1, 0x14
/* 8025D2E0 0025A240 7C A3 1B 78 */ or r3, r5, r3
/* 8025D2E4 0025A244 A0 F3 00 00 */ lhz r7, 0(r19)
/* 8025D2E8 0025A248 7C C4 23 78 */ or r4, r6, r4
/* 8025D2EC 0025A24C 90 61 00 40 */ stw r3, 0x40(r1)
/* 8025D2F0 0025A250 7E A3 AB 78 */ mr r3, r21
/* 8025D2F4 0025A254 7E 45 93 78 */ mr r5, r18
/* 8025D2F8 0025A258 90 81 00 44 */ stw r4, 0x44(r1)
/* 8025D2FC 0025A25C 7F 08 C3 78 */ mr r8, r24
/* 8025D300 0025A260 38 81 00 18 */ addi r4, r1, 0x18
/* 8025D304 0025A264 38 C1 00 54 */ addi r6, r1, 0x54
/* 8025D308 0025A268 B0 E1 00 18 */ sth r7, 0x18(r1)
/* 8025D30C 0025A26C 38 E1 00 64 */ addi r7, r1, 0x64
/* 8025D310 0025A270 39 21 00 E4 */ addi r9, r1, 0xe4
/* 8025D314 0025A274 39 41 00 40 */ addi r10, r1, 0x40
/* 8025D318 0025A278 91 61 00 08 */ stw r11, 8(r1)
/* 8025D31C 0025A27C 90 01 00 0C */ stw r0, 0xc(r1)
/* 8025D320 0025A280 4B DF 85 01 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId"
/* 8025D324 0025A284 38 61 00 7C */ addi r3, r1, 0x7c
/* 8025D328 0025A288 38 80 FF FF */ li r4, -1
/* 8025D32C 0025A28C 4B EA 92 DD */ bl __dt__16CActorParametersFv
/* 8025D330 0025A290 38 61 00 E4 */ addi r3, r1, 0xe4
/* 8025D334 0025A294 38 80 FF FF */ li r4, -1
/* 8025D338 0025A298 4B EB 97 15 */ bl __dt__10CModelDataFv
/* 8025D33C 0025A29C 80 01 00 6C */ lwz r0, 0x6c(r1)
/* 8025D340 0025A2A0 80 61 00 74 */ lwz r3, 0x74(r1)
/* 8025D344 0025A2A4 1C 00 00 0C */ mulli r0, r0, 0xc
/* 8025D348 0025A2A8 90 61 00 20 */ stw r3, 0x20(r1)
/* 8025D34C 0025A2AC 7C 64 1B 78 */ mr r4, r3
/* 8025D350 0025A2B0 7C 03 02 14 */ add r0, r3, r0
/* 8025D354 0025A2B4 90 61 00 1C */ stw r3, 0x1c(r1)
/* 8025D358 0025A2B8 90 01 00 28 */ stw r0, 0x28(r1)
/* 8025D35C 0025A2BC 90 01 00 24 */ stw r0, 0x24(r1)
/* 8025D360 0025A2C0 48 00 00 08 */ b lbl_8025D368
lbl_8025D364:
/* 8025D364 0025A2C4 38 84 00 0C */ addi r4, r4, 0xc
lbl_8025D368:
/* 8025D368 0025A2C8 7C 04 00 40 */ cmplw r4, r0
/* 8025D36C 0025A2CC 40 82 FF F8 */ bne lbl_8025D364
/* 8025D370 0025A2D0 28 03 00 00 */ cmplwi r3, 0
/* 8025D374 0025A2D4 41 82 00 08 */ beq lbl_8025D37C
/* 8025D378 0025A2D8 48 0B 85 B9 */ bl Free__7CMemoryFPCv
lbl_8025D37C:
/* 8025D37C 0025A2DC 38 61 00 54 */ addi r3, r1, 0x54
/* 8025D380 0025A2E0 48 0E 07 61 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 8025D384 0025A2E4 3C 80 80 3F */ lis r4, lbl_803E9990@ha
/* 8025D388 0025A2E8 3C 60 80 3D */ lis r3, lbl_803D5230@ha
/* 8025D38C 0025A2EC 38 04 99 90 */ addi r0, r4, lbl_803E9990@l
/* 8025D390 0025A2F0 3A 20 00 00 */ li r17, 0
/* 8025D394 0025A2F4 38 63 52 30 */ addi r3, r3, lbl_803D5230@l
/* 8025D398 0025A2F8 90 15 00 00 */ stw r0, 0(r21)
/* 8025D39C 0025A2FC 38 83 00 05 */ addi r4, r3, 5
/* 8025D3A0 0025A300 38 60 03 40 */ li r3, 0x340
/* 8025D3A4 0025A304 38 A0 00 00 */ li r5, 0
/* 8025D3A8 0025A308 48 0B 84 C5 */ bl __nw__FUlPCcPCc
/* 8025D3AC 0025A30C 7C 72 1B 79 */ or. r18, r3, r3
/* 8025D3B0 0025A310 41 82 00 2C */ beq lbl_8025D3DC
/* 8025D3B4 0025A314 7E C4 B3 78 */ mr r4, r22
/* 8025D3B8 0025A318 38 61 00 34 */ addi r3, r1, 0x34
/* 8025D3BC 0025A31C 48 0E 3A ED */ bl __ct__6CTokenFRC6CToken
/* 8025D3C0 0025A320 7E 43 93 78 */ mr r3, r18
/* 8025D3C4 0025A324 38 81 00 34 */ addi r4, r1, 0x34
/* 8025D3C8 0025A328 3A 20 00 01 */ li r17, 1
/* 8025D3CC 0025A32C 38 A0 00 00 */ li r5, 0
/* 8025D3D0 0025A330 38 C0 00 01 */ li r6, 1
/* 8025D3D4 0025A334 48 0C 20 0D */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags"
/* 8025D3D8 0025A338 7C 72 1B 78 */ mr r18, r3
lbl_8025D3DC:
/* 8025D3DC 0025A33C 7E 20 07 75 */ extsb. r0, r17
/* 8025D3E0 0025A340 92 55 00 E8 */ stw r18, 0xe8(r21)
/* 8025D3E4 0025A344 41 82 00 10 */ beq lbl_8025D3F4
/* 8025D3E8 0025A348 38 61 00 34 */ addi r3, r1, 0x34
/* 8025D3EC 0025A34C 38 80 00 00 */ li r4, 0
/* 8025D3F0 0025A350 48 0E 3A 51 */ bl __dt__6CTokenFv
lbl_8025D3F4:
/* 8025D3F4 0025A354 A0 77 00 00 */ lhz r3, 0(r23)
/* 8025D3F8 0025A358 34 95 01 28 */ addic. r4, r21, 0x128
/* 8025D3FC 0025A35C 38 00 00 01 */ li r0, 1
/* 8025D400 0025A360 B0 75 00 EC */ sth r3, 0xec(r21)
/* 8025D404 0025A364 80 79 00 00 */ lwz r3, 0(r25)
/* 8025D408 0025A368 90 75 00 F0 */ stw r3, 0xf0(r21)
/* 8025D40C 0025A36C 88 79 00 04 */ lbz r3, 4(r25)
/* 8025D410 0025A370 98 75 00 F4 */ stb r3, 0xf4(r21)
/* 8025D414 0025A374 C0 19 00 08 */ lfs f0, 8(r25)
/* 8025D418 0025A378 D0 15 00 F8 */ stfs f0, 0xf8(r21)
/* 8025D41C 0025A37C C0 19 00 0C */ lfs f0, 0xc(r25)
/* 8025D420 0025A380 D0 15 00 FC */ stfs f0, 0xfc(r21)
/* 8025D424 0025A384 C0 19 00 10 */ lfs f0, 0x10(r25)
/* 8025D428 0025A388 D0 15 01 00 */ stfs f0, 0x100(r21)
/* 8025D42C 0025A38C C0 19 00 14 */ lfs f0, 0x14(r25)
/* 8025D430 0025A390 D0 15 01 04 */ stfs f0, 0x104(r21)
/* 8025D434 0025A394 88 79 00 18 */ lbz r3, 0x18(r25)
/* 8025D438 0025A398 98 75 01 08 */ stb r3, 0x108(r21)
/* 8025D43C 0025A39C 80 79 00 00 */ lwz r3, 0(r25)
/* 8025D440 0025A3A0 90 75 01 0C */ stw r3, 0x10c(r21)
/* 8025D444 0025A3A4 88 79 00 04 */ lbz r3, 4(r25)
/* 8025D448 0025A3A8 98 75 01 10 */ stb r3, 0x110(r21)
/* 8025D44C 0025A3AC C0 19 00 08 */ lfs f0, 8(r25)
/* 8025D450 0025A3B0 D0 15 01 14 */ stfs f0, 0x114(r21)
/* 8025D454 0025A3B4 C0 19 00 0C */ lfs f0, 0xc(r25)
/* 8025D458 0025A3B8 D0 15 01 18 */ stfs f0, 0x118(r21)
/* 8025D45C 0025A3BC C0 19 00 10 */ lfs f0, 0x10(r25)
/* 8025D460 0025A3C0 D0 15 01 1C */ stfs f0, 0x11c(r21)
/* 8025D464 0025A3C4 C0 19 00 14 */ lfs f0, 0x14(r25)
/* 8025D468 0025A3C8 D0 15 01 20 */ stfs f0, 0x120(r21)
/* 8025D46C 0025A3CC 88 79 00 18 */ lbz r3, 0x18(r25)
/* 8025D470 0025A3D0 98 75 01 24 */ stb r3, 0x124(r21)
/* 8025D474 0025A3D4 98 15 01 40 */ stb r0, 0x140(r21)
/* 8025D478 0025A3D8 41 82 00 34 */ beq lbl_8025D4AC
/* 8025D47C 0025A3DC C0 1A 00 00 */ lfs f0, 0(r26)
/* 8025D480 0025A3E0 D0 04 00 00 */ stfs f0, 0(r4)
/* 8025D484 0025A3E4 C0 1A 00 04 */ lfs f0, 4(r26)
/* 8025D488 0025A3E8 D0 04 00 04 */ stfs f0, 4(r4)
/* 8025D48C 0025A3EC C0 1A 00 08 */ lfs f0, 8(r26)
/* 8025D490 0025A3F0 D0 04 00 08 */ stfs f0, 8(r4)
/* 8025D494 0025A3F4 C0 1A 00 0C */ lfs f0, 0xc(r26)
/* 8025D498 0025A3F8 D0 04 00 0C */ stfs f0, 0xc(r4)
/* 8025D49C 0025A3FC C0 1A 00 10 */ lfs f0, 0x10(r26)
/* 8025D4A0 0025A400 D0 04 00 10 */ stfs f0, 0x10(r4)
/* 8025D4A4 0025A404 C0 1A 00 14 */ lfs f0, 0x14(r26)
/* 8025D4A8 0025A408 D0 04 00 14 */ stfs f0, 0x14(r4)
lbl_8025D4AC:
/* 8025D4AC 0025A40C D3 95 01 44 */ stfs f28, 0x144(r21)
/* 8025D4B0 0025A410 28 14 00 00 */ cmplwi r20, 0
/* 8025D4B4 0025A414 38 60 00 00 */ li r3, 0
/* 8025D4B8 0025A418 88 15 01 48 */ lbz r0, 0x148(r21)
/* 8025D4BC 0025A41C 53 C0 3E 30 */ rlwimi r0, r30, 7, 0x18, 0x18
/* 8025D4C0 0025A420 98 15 01 48 */ stb r0, 0x148(r21)
/* 8025D4C4 0025A424 88 15 01 48 */ lbz r0, 0x148(r21)
/* 8025D4C8 0025A428 53 E0 36 72 */ rlwimi r0, r31, 6, 0x19, 0x19
/* 8025D4CC 0025A42C 98 15 01 48 */ stb r0, 0x148(r21)
/* 8025D4D0 0025A430 88 15 01 48 */ lbz r0, 0x148(r21)
/* 8025D4D4 0025A434 52 80 2E B4 */ rlwimi r0, r20, 5, 0x1a, 0x1a
/* 8025D4D8 0025A438 98 15 01 48 */ stb r0, 0x148(r21)
/* 8025D4DC 0025A43C 41 82 00 18 */ beq lbl_8025D4F4
/* 8025D4E0 0025A440 28 1F 00 00 */ cmplwi r31, 0
/* 8025D4E4 0025A444 41 82 00 10 */ beq lbl_8025D4F4
/* 8025D4E8 0025A448 28 1E 00 00 */ cmplwi r30, 0
/* 8025D4EC 0025A44C 41 82 00 08 */ beq lbl_8025D4F4
/* 8025D4F0 0025A450 38 60 00 01 */ li r3, 1
lbl_8025D4F4:
/* 8025D4F4 0025A454 88 15 01 48 */ lbz r0, 0x148(r21)
/* 8025D4F8 0025A458 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b
/* 8025D4FC 0025A45C 38 60 00 00 */ li r3, 0
/* 8025D500 0025A460 C0 02 B9 F8 */ lfs f0, lbl_805AD718@sda21(r2)
/* 8025D504 0025A464 98 15 01 48 */ stb r0, 0x148(r21)
/* 8025D508 0025A468 7F 64 DB 78 */ mr r4, r27
/* 8025D50C 0025A46C 88 15 01 48 */ lbz r0, 0x148(r21)
/* 8025D510 0025A470 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c
/* 8025D514 0025A474 98 15 01 48 */ stb r0, 0x148(r21)
/* 8025D518 0025A478 88 15 01 48 */ lbz r0, 0x148(r21)
/* 8025D51C 0025A47C 53 80 17 7A */ rlwimi r0, r28, 2, 0x1d, 0x1d
/* 8025D520 0025A480 98 15 01 48 */ stb r0, 0x148(r21)
/* 8025D524 0025A484 D3 B5 01 4C */ stfs f29, 0x14c(r21)
/* 8025D528 0025A488 93 B5 01 50 */ stw r29, 0x150(r21)
/* 8025D52C 0025A48C D3 D5 01 54 */ stfs f30, 0x154(r21)
/* 8025D530 0025A490 D3 F5 01 58 */ stfs f31, 0x158(r21)
/* 8025D534 0025A494 D0 15 01 5C */ stfs f0, 0x15c(r21)
/* 8025D538 0025A498 80 75 00 E8 */ lwz r3, 0xe8(r21)
/* 8025D53C 0025A49C 81 83 00 00 */ lwz r12, 0(r3)
/* 8025D540 0025A4A0 81 8C 00 24 */ lwz r12, 0x24(r12)
/* 8025D544 0025A4A4 7D 89 03 A6 */ mtctr r12
/* 8025D548 0025A4A8 4E 80 04 21 */ bctrl
/* 8025D54C 0025A4AC C0 58 00 2C */ lfs f2, 0x2c(r24)
/* 8025D550 0025A4B0 38 81 00 48 */ addi r4, r1, 0x48
/* 8025D554 0025A4B4 C0 38 00 1C */ lfs f1, 0x1c(r24)
/* 8025D558 0025A4B8 C0 18 00 0C */ lfs f0, 0xc(r24)
/* 8025D55C 0025A4BC D0 21 00 4C */ stfs f1, 0x4c(r1)
/* 8025D560 0025A4C0 D0 01 00 48 */ stfs f0, 0x48(r1)
/* 8025D564 0025A4C4 D0 41 00 50 */ stfs f2, 0x50(r1)
/* 8025D568 0025A4C8 80 75 00 E8 */ lwz r3, 0xe8(r21)
/* 8025D56C 0025A4CC 81 83 00 00 */ lwz r12, 0(r3)
/* 8025D570 0025A4D0 81 8C 00 18 */ lwz r12, 0x18(r12)
/* 8025D574 0025A4D4 7D 89 03 A6 */ mtctr r12
/* 8025D578 0025A4D8 4E 80 04 21 */ bctrl
/* 8025D57C 0025A4DC 7E A3 AB 78 */ mr r3, r21
/* 8025D580 0025A4E0 E3 E1 01 A8 */ psq_l f31, 424(r1), 0, qr0
/* 8025D584 0025A4E4 CB E1 01 A0 */ lfd f31, 0x1a0(r1)
/* 8025D588 0025A4E8 E3 C1 01 98 */ psq_l f30, 408(r1), 0, qr0
/* 8025D58C 0025A4EC CB C1 01 90 */ lfd f30, 0x190(r1)
/* 8025D590 0025A4F0 E3 A1 01 88 */ psq_l f29, 392(r1), 0, qr0
/* 8025D594 0025A4F4 CB A1 01 80 */ lfd f29, 0x180(r1)
/* 8025D598 0025A4F8 E3 81 01 78 */ psq_l f28, 376(r1), 0, qr0
/* 8025D59C 0025A4FC CB 81 01 70 */ lfd f28, 0x170(r1)
/* 8025D5A0 0025A500 BA 21 01 34 */ lmw r17, 0x134(r1)
/* 8025D5A4 0025A504 80 01 01 B4 */ lwz r0, 0x1b4(r1)
/* 8025D5A8 0025A508 7C 08 03 A6 */ mtlr r0
/* 8025D5AC 0025A50C 38 21 01 B0 */ addi r1, r1, 0x1b0
/* 8025D5B0 0025A510 4E 80 00 20 */ blr

View File

@ -0,0 +1,377 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global __dt__11CScriptBeamFv
__dt__11CScriptBeamFv:
/* 8027C5CC 0027952C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8027C5D0 00279530 7C 08 02 A6 */ mflr r0
/* 8027C5D4 00279534 90 01 00 14 */ stw r0, 0x14(r1)
/* 8027C5D8 00279538 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8027C5DC 0027953C 7C 9F 23 78 */ mr r31, r4
/* 8027C5E0 00279540 93 C1 00 08 */ stw r30, 8(r1)
/* 8027C5E4 00279544 7C 7E 1B 79 */ or. r30, r3, r3
/* 8027C5E8 00279548 41 82 00 48 */ beq lbl_8027C630
/* 8027C5EC 0027954C 3C 60 80 3F */ lis r3, lbl_803EB180@ha
/* 8027C5F0 00279550 34 1E 00 E8 */ addic. r0, r30, 0xe8
/* 8027C5F4 00279554 38 03 B1 80 */ addi r0, r3, lbl_803EB180@l
/* 8027C5F8 00279558 90 1E 00 00 */ stw r0, 0(r30)
/* 8027C5FC 0027955C 41 82 00 18 */ beq lbl_8027C614
/* 8027C600 00279560 34 1E 00 E8 */ addic. r0, r30, 0xe8
/* 8027C604 00279564 41 82 00 10 */ beq lbl_8027C614
/* 8027C608 00279568 38 7E 00 E8 */ addi r3, r30, 0xe8
/* 8027C60C 0027956C 38 80 00 00 */ li r4, 0
/* 8027C610 00279570 48 0C 48 31 */ bl __dt__6CTokenFv
lbl_8027C614:
/* 8027C614 00279574 7F C3 F3 78 */ mr r3, r30
/* 8027C618 00279578 38 80 00 00 */ li r4, 0
/* 8027C61C 0027957C 4B DD 90 D5 */ bl __dt__6CActorFv
/* 8027C620 00279580 7F E0 07 35 */ extsh. r0, r31
/* 8027C624 00279584 40 81 00 0C */ ble lbl_8027C630
/* 8027C628 00279588 7F C3 F3 78 */ mr r3, r30
/* 8027C62C 0027958C 48 09 93 05 */ bl Free__7CMemoryFPCv
lbl_8027C630:
/* 8027C630 00279590 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8027C634 00279594 7F C3 F3 78 */ mr r3, r30
/* 8027C638 00279598 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8027C63C 0027959C 83 C1 00 08 */ lwz r30, 8(r1)
/* 8027C640 002795A0 7C 08 03 A6 */ mtlr r0
/* 8027C644 002795A4 38 21 00 10 */ addi r1, r1, 0x10
/* 8027C648 002795A8 4E 80 00 20 */ blr
.global Think__11CScriptBeamFfR13CStateManager
Think__11CScriptBeamFfR13CStateManager:
/* 8027C64C 002795AC 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8027C650 002795B0 7C 08 02 A6 */ mflr r0
/* 8027C654 002795B4 90 01 00 24 */ stw r0, 0x24(r1)
/* 8027C658 002795B8 DB E1 00 18 */ stfd f31, 0x18(r1)
/* 8027C65C 002795BC FF E0 08 90 */ fmr f31, f1
/* 8027C660 002795C0 93 E1 00 14 */ stw r31, 0x14(r1)
/* 8027C664 002795C4 7C 9F 23 78 */ mr r31, r4
/* 8027C668 002795C8 38 81 00 08 */ addi r4, r1, 8
/* 8027C66C 002795CC 93 C1 00 10 */ stw r30, 0x10(r1)
/* 8027C670 002795D0 7C 7E 1B 78 */ mr r30, r3
/* 8027C674 002795D4 A0 03 01 54 */ lhz r0, 0x154(r3)
/* 8027C678 002795D8 7F E3 FB 78 */ mr r3, r31
/* 8027C67C 002795DC B0 01 00 08 */ sth r0, 8(r1)
/* 8027C680 002795E0 4B DC FE F5 */ bl ObjectById__13CStateManagerF9TUniqueId
/* 8027C684 002795E4 28 03 00 00 */ cmplwi r3, 0
/* 8027C688 002795E8 41 82 00 30 */ beq lbl_8027C6B8
/* 8027C68C 002795EC 88 03 00 30 */ lbz r0, 0x30(r3)
/* 8027C690 002795F0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8027C694 002795F4 41 82 00 2C */ beq lbl_8027C6C0
/* 8027C698 002795F8 81 83 00 00 */ lwz r12, 0(r3)
/* 8027C69C 002795FC FC 20 F8 90 */ fmr f1, f31
/* 8027C6A0 00279600 7F E5 FB 78 */ mr r5, r31
/* 8027C6A4 00279604 38 9E 00 34 */ addi r4, r30, 0x34
/* 8027C6A8 00279608 81 8C 00 70 */ lwz r12, 0x70(r12)
/* 8027C6AC 0027960C 7D 89 03 A6 */ mtctr r12
/* 8027C6B0 00279610 4E 80 04 21 */ bctrl
/* 8027C6B4 00279614 48 00 00 0C */ b lbl_8027C6C0
lbl_8027C6B8:
/* 8027C6B8 00279618 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 8027C6BC 0027961C B0 1E 01 54 */ sth r0, 0x154(r30)
lbl_8027C6C0:
/* 8027C6C0 00279620 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8027C6C4 00279624 CB E1 00 18 */ lfd f31, 0x18(r1)
/* 8027C6C8 00279628 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 8027C6CC 0027962C 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 8027C6D0 00279630 7C 08 03 A6 */ mtlr r0
/* 8027C6D4 00279634 38 21 00 20 */ addi r1, r1, 0x20
/* 8027C6D8 00279638 4E 80 00 20 */ blr
.global Accept__11CScriptBeamFR8IVisitor
Accept__11CScriptBeamFR8IVisitor:
/* 8027C6DC 0027963C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8027C6E0 00279640 7C 08 02 A6 */ mflr r0
/* 8027C6E4 00279644 90 01 00 14 */ stw r0, 0x14(r1)
/* 8027C6E8 00279648 7C 60 1B 78 */ mr r0, r3
/* 8027C6EC 0027964C 7C 83 23 78 */ mr r3, r4
/* 8027C6F0 00279650 81 84 00 00 */ lwz r12, 0(r4)
/* 8027C6F4 00279654 7C 04 03 78 */ mr r4, r0
/* 8027C6F8 00279658 81 8C 00 08 */ lwz r12, 8(r12)
/* 8027C6FC 0027965C 7D 89 03 A6 */ mtctr r12
/* 8027C700 00279660 4E 80 04 21 */ bctrl
/* 8027C704 00279664 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8027C708 00279668 7C 08 03 A6 */ mtlr r0
/* 8027C70C 0027966C 38 21 00 10 */ addi r1, r1, 0x10
/* 8027C710 00279670 4E 80 00 20 */ blr
.global AcceptScriptMsg__11CScriptBeamF20EScriptObjectMessage9TUniqueIdR13CStateManager
AcceptScriptMsg__11CScriptBeamF20EScriptObjectMessage9TUniqueIdR13CStateManager:
/* 8027C714 00279674 94 21 FF 50 */ stwu r1, -0xb0(r1)
/* 8027C718 00279678 7C 08 02 A6 */ mflr r0
/* 8027C71C 0027967C 90 01 00 B4 */ stw r0, 0xb4(r1)
/* 8027C720 00279680 BF 21 00 94 */ stmw r25, 0x94(r1)
/* 8027C724 00279684 7C 9C 23 78 */ mr r28, r4
/* 8027C728 00279688 2C 1C 00 07 */ cmpwi r28, 7
/* 8027C72C 0027968C 7C 7B 1B 78 */ mr r27, r3
/* 8027C730 00279690 7C BD 2B 78 */ mr r29, r5
/* 8027C734 00279694 7C DE 33 78 */ mr r30, r6
/* 8027C738 00279698 41 82 01 80 */ beq lbl_8027C8B8
/* 8027C73C 0027969C 40 80 00 10 */ bge lbl_8027C74C
/* 8027C740 002796A0 2C 1C 00 05 */ cmpwi r28, 5
/* 8027C744 002796A4 41 82 01 CC */ beq lbl_8027C910
/* 8027C748 002796A8 48 00 02 08 */ b lbl_8027C950
lbl_8027C74C:
/* 8027C74C 002796AC 2C 1C 00 22 */ cmpwi r28, 0x22
/* 8027C750 002796B0 41 82 01 50 */ beq lbl_8027C8A0
/* 8027C754 002796B4 40 80 01 FC */ bge lbl_8027C950
/* 8027C758 002796B8 2C 1C 00 21 */ cmpwi r28, 0x21
/* 8027C75C 002796BC 40 80 00 08 */ bge lbl_8027C764
/* 8027C760 002796C0 48 00 01 F0 */ b lbl_8027C950
lbl_8027C764:
/* 8027C764 002796C4 7F C4 F3 78 */ mr r4, r30
/* 8027C768 002796C8 38 61 00 3C */ addi r3, r1, 0x3c
/* 8027C76C 002796CC 4B DD 09 71 */ bl AllocateUniqueId__13CStateManagerFv
/* 8027C770 002796D0 A0 01 00 3C */ lhz r0, 0x3c(r1)
/* 8027C774 002796D4 3C 60 80 3D */ lis r3, lbl_803D5868@ha
/* 8027C778 002796D8 38 83 58 68 */ addi r4, r3, lbl_803D5868@l
/* 8027C77C 002796DC 3B 40 00 00 */ li r26, 0
/* 8027C780 002796E0 B0 1B 01 54 */ sth r0, 0x154(r27)
/* 8027C784 002796E4 3B 20 00 00 */ li r25, 0
/* 8027C788 002796E8 38 60 05 50 */ li r3, 0x550
/* 8027C78C 002796EC 38 A0 00 00 */ li r5, 0
/* 8027C790 002796F0 48 09 90 DD */ bl __nw__FUlPCcPCc
/* 8027C794 002796F4 7C 7F 1B 79 */ or. r31, r3, r3
/* 8027C798 002796F8 41 82 00 D8 */ beq lbl_8027C870
/* 8027C79C 002796FC 38 00 FF FF */ li r0, -1
/* 8027C7A0 00279700 38 60 00 08 */ li r3, 8
/* 8027C7A4 00279704 90 61 00 68 */ stw r3, 0x68(r1)
/* 8027C7A8 00279708 3C 60 80 3D */ lis r3, lbl_803D5868@ha
/* 8027C7AC 0027970C 38 83 58 68 */ addi r4, r3, lbl_803D5868@l
/* 8027C7B0 00279710 38 61 00 58 */ addi r3, r1, 0x58
/* 8027C7B4 00279714 90 01 00 6C */ stw r0, 0x6c(r1)
/* 8027C7B8 00279718 38 84 00 07 */ addi r4, r4, 7
/* 8027C7BC 0027971C 90 01 00 70 */ stw r0, 0x70(r1)
/* 8027C7C0 00279720 90 01 00 74 */ stw r0, 0x74(r1)
/* 8027C7C4 00279724 90 01 00 78 */ stw r0, 0x78(r1)
/* 8027C7C8 00279728 90 01 00 7C */ stw r0, 0x7c(r1)
/* 8027C7CC 0027972C 90 01 00 80 */ stw r0, 0x80(r1)
/* 8027C7D0 00279730 90 01 00 84 */ stw r0, 0x84(r1)
/* 8027C7D4 00279734 90 01 00 88 */ stw r0, 0x88(r1)
/* 8027C7D8 00279738 A0 1B 00 08 */ lhz r0, 8(r27)
/* 8027C7DC 0027973C B0 01 00 38 */ sth r0, 0x38(r1)
/* 8027C7E0 00279740 80 BB 00 04 */ lwz r5, 4(r27)
/* 8027C7E4 00279744 B0 01 00 34 */ sth r0, 0x34(r1)
/* 8027C7E8 00279748 90 A1 00 44 */ stw r5, 0x44(r1)
/* 8027C7EC 0027974C A0 1B 01 54 */ lhz r0, 0x154(r27)
/* 8027C7F0 00279750 90 A1 00 40 */ stw r5, 0x40(r1)
/* 8027C7F4 00279754 B0 01 00 30 */ sth r0, 0x30(r1)
/* 8027C7F8 00279758 83 3B 01 38 */ lwz r25, 0x138(r27)
/* 8027C7FC 0027975C 4B D8 84 BD */ bl string_l__4rstlFPCc
/* 8027C800 00279760 38 61 00 48 */ addi r3, r1, 0x48
/* 8027C804 00279764 38 9B 00 10 */ addi r4, r27, 0x10
/* 8027C808 00279768 38 A1 00 58 */ addi r5, r1, 0x58
/* 8027C80C 0027976C 3B 40 00 01 */ li r26, 1
/* 8027C810 00279770 4B D8 84 4D */ bl "__pl__4rstlFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 8027C814 00279774 38 61 00 30 */ addi r3, r1, 0x30
/* 8027C818 00279778 38 01 00 44 */ addi r0, r1, 0x44
/* 8027C81C 0027977C 90 61 00 08 */ stw r3, 8(r1)
/* 8027C820 00279780 38 81 00 38 */ addi r4, r1, 0x38
/* 8027C824 00279784 39 01 00 68 */ addi r8, r1, 0x68
/* 8027C828 00279788 39 20 00 00 */ li r9, 0
/* 8027C82C 0027978C 90 01 00 0C */ stw r0, 0xc(r1)
/* 8027C830 00279790 3C 00 00 02 */ lis r0, 2
/* 8027C834 00279794 7F E3 FB 78 */ mr r3, r31
/* 8027C838 00279798 7F 26 CB 78 */ mr r6, r25
/* 8027C83C 0027979C 90 81 00 10 */ stw r4, 0x10(r1)
/* 8027C840 002797A0 38 9B 00 E8 */ addi r4, r27, 0xe8
/* 8027C844 002797A4 38 A1 00 48 */ addi r5, r1, 0x48
/* 8027C848 002797A8 38 FB 00 F4 */ addi r7, r27, 0xf4
/* 8027C84C 002797AC 91 01 00 14 */ stw r8, 0x14(r1)
/* 8027C850 002797B0 39 1B 00 34 */ addi r8, r27, 0x34
/* 8027C854 002797B4 39 5B 01 38 */ addi r10, r27, 0x138
/* 8027C858 002797B8 3B 20 00 01 */ li r25, 1
/* 8027C85C 002797BC 91 21 00 18 */ stw r9, 0x18(r1)
/* 8027C860 002797C0 39 20 00 23 */ li r9, 0x23
/* 8027C864 002797C4 90 01 00 1C */ stw r0, 0x1c(r1)
/* 8027C868 002797C8 4B EF C3 C1 */ bl "__ct__17CPlasmaProjectileFRC28TToken<18CWeaponDescription>RCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>11EWeaponTypeRC9CBeamInfoRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId9TUniqueIdbUi"
/* 8027C86C 002797CC 7C 7F 1B 78 */ mr r31, r3
lbl_8027C870:
/* 8027C870 002797D0 7F C3 F3 78 */ mr r3, r30
/* 8027C874 002797D4 7F E4 FB 78 */ mr r4, r31
/* 8027C878 002797D8 4B DD 04 7D */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence
/* 8027C87C 002797DC 7F 20 07 75 */ extsb. r0, r25
/* 8027C880 002797E0 41 82 00 0C */ beq lbl_8027C88C
/* 8027C884 002797E4 38 61 00 48 */ addi r3, r1, 0x48
/* 8027C888 002797E8 48 0C 12 59 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_8027C88C:
/* 8027C88C 002797EC 7F 40 07 75 */ extsb. r0, r26
/* 8027C890 002797F0 41 82 00 C0 */ beq lbl_8027C950
/* 8027C894 002797F4 38 61 00 58 */ addi r3, r1, 0x58
/* 8027C898 002797F8 48 0C 12 49 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 8027C89C 002797FC 48 00 00 B4 */ b lbl_8027C950
lbl_8027C8A0:
/* 8027C8A0 00279800 A0 1B 01 54 */ lhz r0, 0x154(r27)
/* 8027C8A4 00279804 7F C3 F3 78 */ mr r3, r30
/* 8027C8A8 00279808 38 81 00 2C */ addi r4, r1, 0x2c
/* 8027C8AC 0027980C B0 01 00 2C */ sth r0, 0x2c(r1)
/* 8027C8B0 00279810 4B DC F9 BD */ bl FreeScriptObject__13CStateManagerF9TUniqueId
/* 8027C8B4 00279814 48 00 00 9C */ b lbl_8027C950
lbl_8027C8B8:
/* 8027C8B8 00279818 A0 1B 01 54 */ lhz r0, 0x154(r27)
/* 8027C8BC 0027981C 7F C3 F3 78 */ mr r3, r30
/* 8027C8C0 00279820 38 81 00 28 */ addi r4, r1, 0x28
/* 8027C8C4 00279824 B0 01 00 28 */ sth r0, 0x28(r1)
/* 8027C8C8 00279828 4B DC FC AD */ bl ObjectById__13CStateManagerF9TUniqueId
/* 8027C8CC 0027982C 7C 79 1B 79 */ or. r25, r3, r3
/* 8027C8D0 00279830 41 82 00 80 */ beq lbl_8027C950
/* 8027C8D4 00279834 81 83 00 00 */ lwz r12, 0(r3)
/* 8027C8D8 00279838 7F C4 F3 78 */ mr r4, r30
/* 8027C8DC 0027983C 38 A0 00 01 */ li r5, 1
/* 8027C8E0 00279840 81 8C 00 74 */ lwz r12, 0x74(r12)
/* 8027C8E4 00279844 7D 89 03 A6 */ mtctr r12
/* 8027C8E8 00279848 4E 80 04 21 */ bctrl
/* 8027C8EC 0027984C 7F 23 CB 78 */ mr r3, r25
/* 8027C8F0 00279850 7F C5 F3 78 */ mr r5, r30
/* 8027C8F4 00279854 81 99 00 00 */ lwz r12, 0(r25)
/* 8027C8F8 00279858 38 9B 00 34 */ addi r4, r27, 0x34
/* 8027C8FC 0027985C 38 C0 00 00 */ li r6, 0
/* 8027C900 00279860 81 8C 00 78 */ lwz r12, 0x78(r12)
/* 8027C904 00279864 7D 89 03 A6 */ mtctr r12
/* 8027C908 00279868 4E 80 04 21 */ bctrl
/* 8027C90C 0027986C 48 00 00 44 */ b lbl_8027C950
lbl_8027C910:
/* 8027C910 00279870 A0 1B 01 54 */ lhz r0, 0x154(r27)
/* 8027C914 00279874 7F C3 F3 78 */ mr r3, r30
/* 8027C918 00279878 38 81 00 24 */ addi r4, r1, 0x24
/* 8027C91C 0027987C B0 01 00 24 */ sth r0, 0x24(r1)
/* 8027C920 00279880 4B DC FC 55 */ bl ObjectById__13CStateManagerF9TUniqueId
/* 8027C924 00279884 28 03 00 00 */ cmplwi r3, 0
/* 8027C928 00279888 41 82 00 28 */ beq lbl_8027C950
/* 8027C92C 0027988C 88 03 00 30 */ lbz r0, 0x30(r3)
/* 8027C930 00279890 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8027C934 00279894 41 82 00 1C */ beq lbl_8027C950
/* 8027C938 00279898 81 83 00 00 */ lwz r12, 0(r3)
/* 8027C93C 0027989C 7F C4 F3 78 */ mr r4, r30
/* 8027C940 002798A0 38 A0 00 00 */ li r5, 0
/* 8027C944 002798A4 81 8C 00 74 */ lwz r12, 0x74(r12)
/* 8027C948 002798A8 7D 89 03 A6 */ mtctr r12
/* 8027C94C 002798AC 4E 80 04 21 */ bctrl
lbl_8027C950:
/* 8027C950 002798B0 A0 1D 00 00 */ lhz r0, 0(r29)
/* 8027C954 002798B4 7F 63 DB 78 */ mr r3, r27
/* 8027C958 002798B8 7F 84 E3 78 */ mr r4, r28
/* 8027C95C 002798BC 7F C6 F3 78 */ mr r6, r30
/* 8027C960 002798C0 B0 01 00 20 */ sth r0, 0x20(r1)
/* 8027C964 002798C4 38 A1 00 20 */ addi r5, r1, 0x20
/* 8027C968 002798C8 4B DD 6C AD */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager
/* 8027C96C 002798CC BB 21 00 94 */ lmw r25, 0x94(r1)
/* 8027C970 002798D0 80 01 00 B4 */ lwz r0, 0xb4(r1)
/* 8027C974 002798D4 7C 08 03 A6 */ mtlr r0
/* 8027C978 002798D8 38 21 00 B0 */ addi r1, r1, 0xb0
/* 8027C97C 002798DC 4E 80 00 20 */ blr
.global "__ct__11CScriptBeamF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbRC34TLockedToken<18CWeaponDescription>RC9CBeamInfoRC11CDamageInfo"
"__ct__11CScriptBeamF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbRC34TLockedToken<18CWeaponDescription>RC9CBeamInfoRC11CDamageInfo":
/* 8027C980 002798E0 94 21 FF 00 */ stwu r1, -0x100(r1)
/* 8027C984 002798E4 7C 08 02 A6 */ mflr r0
/* 8027C988 002798E8 90 01 01 04 */ stw r0, 0x104(r1)
/* 8027C98C 002798EC BE E1 00 DC */ stmw r23, 0xdc(r1)
/* 8027C990 002798F0 7C 7D 1B 78 */ mr r29, r3
/* 8027C994 002798F4 83 E1 01 08 */ lwz r31, 0x108(r1)
/* 8027C998 002798F8 7C 97 23 78 */ mr r23, r4
/* 8027C99C 002798FC 7C B8 2B 78 */ mr r24, r5
/* 8027C9A0 00279900 7C D9 33 78 */ mr r25, r6
/* 8027C9A4 00279904 7C FA 3B 78 */ mr r26, r7
/* 8027C9A8 00279908 7D 1B 43 78 */ mr r27, r8
/* 8027C9AC 0027990C 7D 3C 4B 78 */ mr r28, r9
/* 8027C9B0 00279910 7D 5E 53 78 */ mr r30, r10
/* 8027C9B4 00279914 38 61 00 88 */ addi r3, r1, 0x88
/* 8027C9B8 00279918 4B DB DD ED */ bl CModelDataNull__10CModelDataFv
/* 8027C9BC 0027991C 38 61 00 20 */ addi r3, r1, 0x20
/* 8027C9C0 00279920 4B D9 E4 79 */ bl None__16CActorParametersFv
/* 8027C9C4 00279924 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 8027C9C8 00279928 38 80 00 00 */ li r4, 0
/* 8027C9CC 0027992C A1 97 00 00 */ lhz r12, 0(r23)
/* 8027C9D0 00279930 39 61 00 20 */ addi r11, r1, 0x20
/* 8027C9D4 00279934 B0 01 00 10 */ sth r0, 0x10(r1)
/* 8027C9D8 00279938 38 01 00 10 */ addi r0, r1, 0x10
/* 8027C9DC 0027993C 7F A3 EB 78 */ mr r3, r29
/* 8027C9E0 00279940 7F 65 DB 78 */ mr r5, r27
/* 8027C9E4 00279944 90 81 00 1C */ stw r4, 0x1c(r1)
/* 8027C9E8 00279948 7F 06 C3 78 */ mr r6, r24
/* 8027C9EC 0027994C 7F 27 CB 78 */ mr r7, r25
/* 8027C9F0 00279950 7F 48 D3 78 */ mr r8, r26
/* 8027C9F4 00279954 90 81 00 18 */ stw r4, 0x18(r1)
/* 8027C9F8 00279958 38 81 00 14 */ addi r4, r1, 0x14
/* 8027C9FC 0027995C 39 21 00 88 */ addi r9, r1, 0x88
/* 8027CA00 00279960 39 41 00 18 */ addi r10, r1, 0x18
/* 8027CA04 00279964 B1 81 00 14 */ sth r12, 0x14(r1)
/* 8027CA08 00279968 91 61 00 08 */ stw r11, 8(r1)
/* 8027CA0C 0027996C 90 01 00 0C */ stw r0, 0xc(r1)
/* 8027CA10 00279970 4B DD 8E 11 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId"
/* 8027CA14 00279974 38 61 00 20 */ addi r3, r1, 0x20
/* 8027CA18 00279978 38 80 FF FF */ li r4, -1
/* 8027CA1C 0027997C 4B E8 9B ED */ bl __dt__16CActorParametersFv
/* 8027CA20 00279980 38 61 00 88 */ addi r3, r1, 0x88
/* 8027CA24 00279984 38 80 FF FF */ li r4, -1
/* 8027CA28 00279988 4B E9 A0 25 */ bl __dt__10CModelDataFv
/* 8027CA2C 0027998C 3C 60 80 3F */ lis r3, lbl_803EB180@ha
/* 8027CA30 00279990 3A FD 00 E8 */ addi r23, r29, 0xe8
/* 8027CA34 00279994 38 03 B1 80 */ addi r0, r3, lbl_803EB180@l
/* 8027CA38 00279998 7F 84 E3 78 */ mr r4, r28
/* 8027CA3C 0027999C 90 1D 00 00 */ stw r0, 0(r29)
/* 8027CA40 002799A0 7E E3 BB 78 */ mr r3, r23
/* 8027CA44 002799A4 48 0C 44 65 */ bl __ct__6CTokenFRC6CToken
/* 8027CA48 002799A8 7E E3 BB 78 */ mr r3, r23
/* 8027CA4C 002799AC 48 0C 43 C1 */ bl GetObj__6CTokenFv
/* 8027CA50 002799B0 80 03 00 04 */ lwz r0, 4(r3)
/* 8027CA54 002799B4 7F A3 EB 78 */ mr r3, r29
/* 8027CA58 002799B8 90 17 00 08 */ stw r0, 8(r23)
/* 8027CA5C 002799BC 80 1E 00 00 */ lwz r0, 0(r30)
/* 8027CA60 002799C0 90 1D 00 F4 */ stw r0, 0xf4(r29)
/* 8027CA64 002799C4 80 1E 00 04 */ lwz r0, 4(r30)
/* 8027CA68 002799C8 90 1D 00 F8 */ stw r0, 0xf8(r29)
/* 8027CA6C 002799CC 80 1E 00 08 */ lwz r0, 8(r30)
/* 8027CA70 002799D0 90 1D 00 FC */ stw r0, 0xfc(r29)
/* 8027CA74 002799D4 80 1E 00 0C */ lwz r0, 0xc(r30)
/* 8027CA78 002799D8 90 1D 01 00 */ stw r0, 0x100(r29)
/* 8027CA7C 002799DC 80 1E 00 10 */ lwz r0, 0x10(r30)
/* 8027CA80 002799E0 90 1D 01 04 */ stw r0, 0x104(r29)
/* 8027CA84 002799E4 80 1E 00 14 */ lwz r0, 0x14(r30)
/* 8027CA88 002799E8 90 1D 01 08 */ stw r0, 0x108(r29)
/* 8027CA8C 002799EC 80 1E 00 18 */ lwz r0, 0x18(r30)
/* 8027CA90 002799F0 90 1D 01 0C */ stw r0, 0x10c(r29)
/* 8027CA94 002799F4 C0 1E 00 1C */ lfs f0, 0x1c(r30)
/* 8027CA98 002799F8 D0 1D 01 10 */ stfs f0, 0x110(r29)
/* 8027CA9C 002799FC C0 1E 00 20 */ lfs f0, 0x20(r30)
/* 8027CAA0 00279A00 D0 1D 01 14 */ stfs f0, 0x114(r29)
/* 8027CAA4 00279A04 C0 1E 00 24 */ lfs f0, 0x24(r30)
/* 8027CAA8 00279A08 D0 1D 01 18 */ stfs f0, 0x118(r29)
/* 8027CAAC 00279A0C C0 1E 00 28 */ lfs f0, 0x28(r30)
/* 8027CAB0 00279A10 D0 1D 01 1C */ stfs f0, 0x11c(r29)
/* 8027CAB4 00279A14 C0 1E 00 2C */ lfs f0, 0x2c(r30)
/* 8027CAB8 00279A18 D0 1D 01 20 */ stfs f0, 0x120(r29)
/* 8027CABC 00279A1C C0 1E 00 30 */ lfs f0, 0x30(r30)
/* 8027CAC0 00279A20 D0 1D 01 24 */ stfs f0, 0x124(r29)
/* 8027CAC4 00279A24 C0 1E 00 34 */ lfs f0, 0x34(r30)
/* 8027CAC8 00279A28 D0 1D 01 28 */ stfs f0, 0x128(r29)
/* 8027CACC 00279A2C C0 1E 00 38 */ lfs f0, 0x38(r30)
/* 8027CAD0 00279A30 D0 1D 01 2C */ stfs f0, 0x12c(r29)
/* 8027CAD4 00279A34 80 1E 00 3C */ lwz r0, 0x3c(r30)
/* 8027CAD8 00279A38 90 1D 01 30 */ stw r0, 0x130(r29)
/* 8027CADC 00279A3C 80 1E 00 40 */ lwz r0, 0x40(r30)
/* 8027CAE0 00279A40 90 1D 01 34 */ stw r0, 0x134(r29)
/* 8027CAE4 00279A44 80 1F 00 00 */ lwz r0, 0(r31)
/* 8027CAE8 00279A48 90 1D 01 38 */ stw r0, 0x138(r29)
/* 8027CAEC 00279A4C 88 1F 00 04 */ lbz r0, 4(r31)
/* 8027CAF0 00279A50 98 1D 01 3C */ stb r0, 0x13c(r29)
/* 8027CAF4 00279A54 C0 1F 00 08 */ lfs f0, 8(r31)
/* 8027CAF8 00279A58 D0 1D 01 40 */ stfs f0, 0x140(r29)
/* 8027CAFC 00279A5C C0 1F 00 0C */ lfs f0, 0xc(r31)
/* 8027CB00 00279A60 D0 1D 01 44 */ stfs f0, 0x144(r29)
/* 8027CB04 00279A64 C0 1F 00 10 */ lfs f0, 0x10(r31)
/* 8027CB08 00279A68 D0 1D 01 48 */ stfs f0, 0x148(r29)
/* 8027CB0C 00279A6C C0 1F 00 14 */ lfs f0, 0x14(r31)
/* 8027CB10 00279A70 D0 1D 01 4C */ stfs f0, 0x14c(r29)
/* 8027CB14 00279A74 88 1F 00 18 */ lbz r0, 0x18(r31)
/* 8027CB18 00279A78 98 1D 01 50 */ stb r0, 0x150(r29)
/* 8027CB1C 00279A7C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 8027CB20 00279A80 B0 1D 01 54 */ sth r0, 0x154(r29)
/* 8027CB24 00279A84 BA E1 00 DC */ lmw r23, 0xdc(r1)
/* 8027CB28 00279A88 80 01 01 04 */ lwz r0, 0x104(r1)
/* 8027CB2C 00279A8C 7C 08 03 A6 */ mtlr r0
/* 8027CB30 00279A90 38 21 01 00 */ addi r1, r1, 0x100
/* 8027CB34 00279A94 4E 80 00 20 */ blr

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,449 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global __dt__22CScriptShadowProjectorFv
__dt__22CScriptShadowProjectorFv:
/* 8029ECD8 0029BC38 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8029ECDC 0029BC3C 7C 08 02 A6 */ mflr r0
/* 8029ECE0 0029BC40 90 01 00 14 */ stw r0, 0x14(r1)
/* 8029ECE4 0029BC44 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8029ECE8 0029BC48 7C 9F 23 78 */ mr r31, r4
/* 8029ECEC 0029BC4C 93 C1 00 08 */ stw r30, 8(r1)
/* 8029ECF0 0029BC50 7C 7E 1B 79 */ or. r30, r3, r3
/* 8029ECF4 0029BC54 41 82 00 40 */ beq lbl_8029ED34
/* 8029ECF8 0029BC58 3C 60 80 3F */ lis r3, lbl_803EC030@ha
/* 8029ECFC 0029BC5C 34 1E 01 08 */ addic. r0, r30, 0x108
/* 8029ED00 0029BC60 38 03 C0 30 */ addi r0, r3, lbl_803EC030@l
/* 8029ED04 0029BC64 90 1E 00 00 */ stw r0, 0(r30)
/* 8029ED08 0029BC68 41 82 00 10 */ beq lbl_8029ED18
/* 8029ED0C 0029BC6C 80 7E 01 08 */ lwz r3, 0x108(r30)
/* 8029ED10 0029BC70 38 80 00 01 */ li r4, 1
/* 8029ED14 0029BC74 4B FF F6 6D */ bl __dt__16CProjectedShadowFv
lbl_8029ED18:
/* 8029ED18 0029BC78 7F C3 F3 78 */ mr r3, r30
/* 8029ED1C 0029BC7C 38 80 00 00 */ li r4, 0
/* 8029ED20 0029BC80 4B DB 69 D1 */ bl __dt__6CActorFv
/* 8029ED24 0029BC84 7F E0 07 35 */ extsh. r0, r31
/* 8029ED28 0029BC88 40 81 00 0C */ ble lbl_8029ED34
/* 8029ED2C 0029BC8C 7F C3 F3 78 */ mr r3, r30
/* 8029ED30 0029BC90 48 07 6C 01 */ bl Free__7CMemoryFPCv
lbl_8029ED34:
/* 8029ED34 0029BC94 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8029ED38 0029BC98 7F C3 F3 78 */ mr r3, r30
/* 8029ED3C 0029BC9C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8029ED40 0029BCA0 83 C1 00 08 */ lwz r30, 8(r1)
/* 8029ED44 0029BCA4 7C 08 03 A6 */ mtlr r0
/* 8029ED48 0029BCA8 38 21 00 10 */ addi r1, r1, 0x10
/* 8029ED4C 0029BCAC 4E 80 00 20 */ blr
.global Think__22CScriptShadowProjectorFfR13CStateManager
Think__22CScriptShadowProjectorFfR13CStateManager:
/* 8029ED50 0029BCB0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8029ED54 0029BCB4 7C 08 02 A6 */ mflr r0
/* 8029ED58 0029BCB8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8029ED5C 0029BCBC 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8029ED60 0029BCC0 7C 9F 23 78 */ mr r31, r4
/* 8029ED64 0029BCC4 93 C1 00 08 */ stw r30, 8(r1)
/* 8029ED68 0029BCC8 7C 7E 1B 78 */ mr r30, r3
/* 8029ED6C 0029BCCC 88 03 00 30 */ lbz r0, 0x30(r3)
/* 8029ED70 0029BCD0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8029ED74 0029BCD4 41 82 00 6C */ beq lbl_8029EDE0
/* 8029ED78 0029BCD8 88 1E 01 10 */ lbz r0, 0x110(r30)
/* 8029ED7C 0029BCDC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f
/* 8029ED80 0029BCE0 41 82 00 60 */ beq lbl_8029EDE0
/* 8029ED84 0029BCE4 C0 7E 01 00 */ lfs f3, 0x100(r30)
/* 8029ED88 0029BCE8 C0 5E 00 FC */ lfs f2, 0xfc(r30)
/* 8029ED8C 0029BCEC C0 02 C0 E8 */ lfs f0, lbl_805ADE08@sda21(r2)
/* 8029ED90 0029BCF0 EC 23 10 7C */ fnmsubs f1, f3, f1, f2
/* 8029ED94 0029BCF4 D0 3E 00 FC */ stfs f1, 0xfc(r30)
/* 8029ED98 0029BCF8 C0 3E 00 FC */ lfs f1, 0xfc(r30)
/* 8029ED9C 0029BCFC FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8029EDA0 0029BD00 4C 40 13 82 */ cror 2, 0, 2
/* 8029EDA4 0029BD04 40 82 00 3C */ bne lbl_8029EDE0
/* 8029EDA8 0029BD08 D0 1E 00 FC */ stfs f0, 0xfc(r30)
/* 8029EDAC 0029BD0C 38 80 00 01 */ li r4, 1
/* 8029EDB0 0029BD10 80 7E 01 08 */ lwz r3, 0x108(r30)
/* 8029EDB4 0029BD14 4B FF F5 CD */ bl __dt__16CProjectedShadowFv
/* 8029EDB8 0029BD18 38 E0 00 00 */ li r7, 0
/* 8029EDBC 0029BD1C 7F C3 F3 78 */ mr r3, r30
/* 8029EDC0 0029BD20 90 FE 01 08 */ stw r7, 0x108(r30)
/* 8029EDC4 0029BD24 7F E5 FB 78 */ mr r5, r31
/* 8029EDC8 0029BD28 38 80 00 09 */ li r4, 9
/* 8029EDCC 0029BD2C 38 C0 FF FF */ li r6, -1
/* 8029EDD0 0029BD30 88 1E 01 10 */ lbz r0, 0x110(r30)
/* 8029EDD4 0029BD34 50 E0 36 72 */ rlwimi r0, r7, 6, 0x19, 0x19
/* 8029EDD8 0029BD38 98 1E 01 10 */ stb r0, 0x110(r30)
/* 8029EDDC 0029BD3C 4B DB 22 E5 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage
lbl_8029EDE0:
/* 8029EDE0 0029BD40 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8029EDE4 0029BD44 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8029EDE8 0029BD48 83 C1 00 08 */ lwz r30, 8(r1)
/* 8029EDEC 0029BD4C 7C 08 03 A6 */ mtlr r0
/* 8029EDF0 0029BD50 38 21 00 10 */ addi r1, r1, 0x10
/* 8029EDF4 0029BD54 4E 80 00 20 */ blr
.global Accept__22CScriptShadowProjectorFR8IVisitor
Accept__22CScriptShadowProjectorFR8IVisitor:
/* 8029EDF8 0029BD58 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8029EDFC 0029BD5C 7C 08 02 A6 */ mflr r0
/* 8029EE00 0029BD60 90 01 00 14 */ stw r0, 0x14(r1)
/* 8029EE04 0029BD64 7C 60 1B 78 */ mr r0, r3
/* 8029EE08 0029BD68 7C 83 23 78 */ mr r3, r4
/* 8029EE0C 0029BD6C 81 84 00 00 */ lwz r12, 0(r4)
/* 8029EE10 0029BD70 7C 04 03 78 */ mr r4, r0
/* 8029EE14 0029BD74 81 8C 00 08 */ lwz r12, 8(r12)
/* 8029EE18 0029BD78 7D 89 03 A6 */ mtctr r12
/* 8029EE1C 0029BD7C 4E 80 04 21 */ bctrl
/* 8029EE20 0029BD80 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8029EE24 0029BD84 7C 08 03 A6 */ mtlr r0
/* 8029EE28 0029BD88 38 21 00 10 */ addi r1, r1, 0x10
/* 8029EE2C 0029BD8C 4E 80 00 20 */ blr
.global PreRender__22CScriptShadowProjectorFR13CStateManagerRC14CFrustumPlanes
PreRender__22CScriptShadowProjectorFR13CStateManagerRC14CFrustumPlanes:
/* 8029EE30 0029BD90 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8029EE34 0029BD94 7C 08 02 A6 */ mflr r0
/* 8029EE38 0029BD98 90 01 00 34 */ stw r0, 0x34(r1)
/* 8029EE3C 0029BD9C 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 8029EE40 0029BDA0 7C 9F 23 78 */ mr r31, r4
/* 8029EE44 0029BDA4 93 C1 00 28 */ stw r30, 0x28(r1)
/* 8029EE48 0029BDA8 7C 7E 1B 78 */ mr r30, r3
/* 8029EE4C 0029BDAC 38 60 00 01 */ li r3, 1
/* 8029EE50 0029BDB0 93 A1 00 24 */ stw r29, 0x24(r1)
/* 8029EE54 0029BDB4 88 1E 00 E4 */ lbz r0, 0xe4(r30)
/* 8029EE58 0029BDB8 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e
/* 8029EE5C 0029BDBC 98 1E 00 E4 */ stb r0, 0xe4(r30)
/* 8029EE60 0029BDC0 80 1E 01 08 */ lwz r0, 0x108(r30)
/* 8029EE64 0029BDC4 28 00 00 00 */ cmplwi r0, 0
/* 8029EE68 0029BDC8 41 82 00 E0 */ beq lbl_8029EF48
/* 8029EE6C 0029BDCC A0 1E 01 04 */ lhz r0, 0x104(r30)
/* 8029EE70 0029BDD0 7F E3 FB 78 */ mr r3, r31
/* 8029EE74 0029BDD4 38 81 00 08 */ addi r4, r1, 8
/* 8029EE78 0029BDD8 B0 01 00 08 */ sth r0, 8(r1)
/* 8029EE7C 0029BDDC 4B DA D6 F9 */ bl ObjectById__13CStateManagerF9TUniqueId
/* 8029EE80 0029BDE0 7C 64 1B 78 */ mr r4, r3
/* 8029EE84 0029BDE4 38 61 00 0C */ addi r3, r1, 0xc
/* 8029EE88 0029BDE8 4B E1 0E 09 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity"
/* 8029EE8C 0029BDEC 83 A3 00 04 */ lwz r29, 4(r3)
/* 8029EE90 0029BDF0 28 1D 00 00 */ cmplwi r29, 0
/* 8029EE94 0029BDF4 41 82 00 40 */ beq lbl_8029EED4
/* 8029EE98 0029BDF8 80 BD 00 64 */ lwz r5, 0x64(r29)
/* 8029EE9C 0029BDFC 38 80 00 00 */ li r4, 0
/* 8029EEA0 0029BE00 7C 05 00 D0 */ neg r0, r5
/* 8029EEA4 0029BE04 7C 00 2B 78 */ or r0, r0, r5
/* 8029EEA8 0029BE08 54 03 0F FF */ rlwinm. r3, r0, 1, 0x1f, 0x1f
/* 8029EEAC 0029BE0C 41 82 00 20 */ beq lbl_8029EECC
/* 8029EEB0 0029BE10 80 05 00 10 */ lwz r0, 0x10(r5)
/* 8029EEB4 0029BE14 28 00 00 00 */ cmplwi r0, 0
/* 8029EEB8 0029BE18 40 82 00 10 */ bne lbl_8029EEC8
/* 8029EEBC 0029BE1C 88 05 00 28 */ lbz r0, 0x28(r5)
/* 8029EEC0 0029BE20 28 00 00 00 */ cmplwi r0, 0
/* 8029EEC4 0029BE24 41 82 00 08 */ beq lbl_8029EECC
lbl_8029EEC8:
/* 8029EEC8 0029BE28 38 80 00 01 */ li r4, 1
lbl_8029EECC:
/* 8029EECC 0029BE2C 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 8029EED0 0029BE30 40 82 00 10 */ bne lbl_8029EEE0
lbl_8029EED4:
/* 8029EED4 0029BE34 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 8029EED8 0029BE38 B0 1E 01 04 */ sth r0, 0x104(r30)
/* 8029EEDC 0029BE3C 48 00 00 6C */ b lbl_8029EF48
lbl_8029EEE0:
/* 8029EEE0 0029BE40 88 1D 00 30 */ lbz r0, 0x30(r29)
/* 8029EEE4 0029BE44 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8029EEE8 0029BE48 41 82 00 60 */ beq lbl_8029EF48
/* 8029EEEC 0029BE4C 28 03 00 00 */ cmplwi r3, 0
/* 8029EEF0 0029BE50 38 60 00 00 */ li r3, 0
/* 8029EEF4 0029BE54 41 82 00 14 */ beq lbl_8029EF08
/* 8029EEF8 0029BE58 80 05 00 10 */ lwz r0, 0x10(r5)
/* 8029EEFC 0029BE5C 28 00 00 00 */ cmplwi r0, 0
/* 8029EF00 0029BE60 41 82 00 08 */ beq lbl_8029EF08
/* 8029EF04 0029BE64 38 60 00 01 */ li r3, 1
lbl_8029EF08:
/* 8029EF08 0029BE68 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8029EF0C 0029BE6C 41 82 00 0C */ beq lbl_8029EF18
/* 8029EF10 0029BE70 80 65 00 10 */ lwz r3, 0x10(r5)
/* 8029EF14 0029BE74 4B D8 DA F1 */ bl PreRender__9CAnimDataFv
lbl_8029EF18:
/* 8029EF18 0029BE78 C0 1E 00 FC */ lfs f0, 0xfc(r30)
/* 8029EF1C 0029BE7C 7F E4 FB 78 */ mr r4, r31
/* 8029EF20 0029BE80 80 7E 01 08 */ lwz r3, 0x108(r30)
/* 8029EF24 0029BE84 38 DD 00 34 */ addi r6, r29, 0x34
/* 8029EF28 0029BE88 39 1E 00 EC */ addi r8, r30, 0xec
/* 8029EF2C 0029BE8C 38 E0 00 00 */ li r7, 0
/* 8029EF30 0029BE90 D0 03 00 98 */ stfs f0, 0x98(r3)
/* 8029EF34 0029BE94 80 7E 01 08 */ lwz r3, 0x108(r30)
/* 8029EF38 0029BE98 80 BD 00 64 */ lwz r5, 0x64(r29)
/* 8029EF3C 0029BE9C C0 3E 00 E8 */ lfs f1, 0xe8(r30)
/* 8029EF40 0029BEA0 C0 5E 00 F8 */ lfs f2, 0xf8(r30)
/* 8029EF44 0029BEA4 4B FF EE 45 */ bl RenderShadowBuffer__16CProjectedShadowFR13CStateManagerRC10CModelDataRC12CTransform4fiRC9CVector3fff
lbl_8029EF48:
/* 8029EF48 0029BEA8 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8029EF4C 0029BEAC 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 8029EF50 0029BEB0 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 8029EF54 0029BEB4 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 8029EF58 0029BEB8 7C 08 03 A6 */ mtlr r0
/* 8029EF5C 0029BEBC 38 21 00 30 */ addi r1, r1, 0x30
/* 8029EF60 0029BEC0 4E 80 00 20 */ blr
.global AddToRenderer__22CScriptShadowProjectorCFRC14CFrustumPlanesRC13CStateManager
AddToRenderer__22CScriptShadowProjectorCFRC14CFrustumPlanesRC13CStateManager:
/* 8029EF64 0029BEC4 4E 80 00 20 */ blr
.global AcceptScriptMsg__22CScriptShadowProjectorF20EScriptObjectMessage9TUniqueIdR13CStateManager
AcceptScriptMsg__22CScriptShadowProjectorF20EScriptObjectMessage9TUniqueIdR13CStateManager:
/* 8029EF68 0029BEC8 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 8029EF6C 0029BECC 7C 08 02 A6 */ mflr r0
/* 8029EF70 0029BED0 90 01 00 44 */ stw r0, 0x44(r1)
/* 8029EF74 0029BED4 93 E1 00 3C */ stw r31, 0x3c(r1)
/* 8029EF78 0029BED8 7C DF 33 78 */ mr r31, r6
/* 8029EF7C 0029BEDC 93 C1 00 38 */ stw r30, 0x38(r1)
/* 8029EF80 0029BEE0 7C 7E 1B 78 */ mr r30, r3
/* 8029EF84 0029BEE4 93 A1 00 34 */ stw r29, 0x34(r1)
/* 8029EF88 0029BEE8 7C 9D 23 78 */ mr r29, r4
/* 8029EF8C 0029BEEC A0 05 00 00 */ lhz r0, 0(r5)
/* 8029EF90 0029BEF0 38 A1 00 18 */ addi r5, r1, 0x18
/* 8029EF94 0029BEF4 B0 01 00 18 */ sth r0, 0x18(r1)
/* 8029EF98 0029BEF8 4B DB 46 7D */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager
/* 8029EF9C 0029BEFC 2C 1D 00 05 */ cmpwi r29, 5
/* 8029EFA0 0029BF00 41 82 01 98 */ beq lbl_8029F138
/* 8029EFA4 0029BF04 40 80 00 1C */ bge lbl_8029EFC0
/* 8029EFA8 0029BF08 2C 1D 00 01 */ cmpwi r29, 1
/* 8029EFAC 0029BF0C 41 82 01 00 */ beq lbl_8029F0AC
/* 8029EFB0 0029BF10 41 80 01 B4 */ blt lbl_8029F164
/* 8029EFB4 0029BF14 2C 1D 00 04 */ cmpwi r29, 4
/* 8029EFB8 0029BF18 40 80 00 F4 */ bge lbl_8029F0AC
/* 8029EFBC 0029BF1C 48 00 01 A8 */ b lbl_8029F164
lbl_8029EFC0:
/* 8029EFC0 0029BF20 2C 1D 00 23 */ cmpwi r29, 0x23
/* 8029EFC4 0029BF24 41 82 00 08 */ beq lbl_8029EFCC
/* 8029EFC8 0029BF28 48 00 01 9C */ b lbl_8029F164
lbl_8029EFCC:
/* 8029EFCC 0029BF2C 83 BE 00 2C */ lwz r29, 0x2c(r30)
/* 8029EFD0 0029BF30 48 00 00 98 */ b lbl_8029F068
lbl_8029EFD4:
/* 8029EFD4 0029BF34 80 1D 00 00 */ lwz r0, 0(r29)
/* 8029EFD8 0029BF38 2C 00 00 12 */ cmpwi r0, 0x12
/* 8029EFDC 0029BF3C 40 82 00 88 */ bne lbl_8029F064
/* 8029EFE0 0029BF40 80 1D 00 08 */ lwz r0, 8(r29)
/* 8029EFE4 0029BF44 7F E4 FB 78 */ mr r4, r31
/* 8029EFE8 0029BF48 38 61 00 10 */ addi r3, r1, 0x10
/* 8029EFEC 0029BF4C 38 A1 00 1C */ addi r5, r1, 0x1c
/* 8029EFF0 0029BF50 90 01 00 1C */ stw r0, 0x1c(r1)
/* 8029EFF4 0029BF54 4B DA 8F 29 */ bl GetIdForScript__13CStateManagerCF9TEditorId
/* 8029EFF8 0029BF58 A0 01 00 10 */ lhz r0, 0x10(r1)
/* 8029EFFC 0029BF5C 7F E3 FB 78 */ mr r3, r31
/* 8029F000 0029BF60 38 81 00 14 */ addi r4, r1, 0x14
/* 8029F004 0029BF64 B0 01 00 14 */ sth r0, 0x14(r1)
/* 8029F008 0029BF68 4B DA D5 6D */ bl ObjectById__13CStateManagerF9TUniqueId
/* 8029F00C 0029BF6C 7C 64 1B 78 */ mr r4, r3
/* 8029F010 0029BF70 38 61 00 20 */ addi r3, r1, 0x20
/* 8029F014 0029BF74 4B E1 0C 7D */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity"
/* 8029F018 0029BF78 80 A3 00 04 */ lwz r5, 4(r3)
/* 8029F01C 0029BF7C 28 05 00 00 */ cmplwi r5, 0
/* 8029F020 0029BF80 41 82 00 44 */ beq lbl_8029F064
/* 8029F024 0029BF84 80 85 00 64 */ lwz r4, 0x64(r5)
/* 8029F028 0029BF88 38 60 00 00 */ li r3, 0
/* 8029F02C 0029BF8C 28 04 00 00 */ cmplwi r4, 0
/* 8029F030 0029BF90 41 82 00 20 */ beq lbl_8029F050
/* 8029F034 0029BF94 80 04 00 10 */ lwz r0, 0x10(r4)
/* 8029F038 0029BF98 28 00 00 00 */ cmplwi r0, 0
/* 8029F03C 0029BF9C 40 82 00 10 */ bne lbl_8029F04C
/* 8029F040 0029BFA0 88 04 00 28 */ lbz r0, 0x28(r4)
/* 8029F044 0029BFA4 28 00 00 00 */ cmplwi r0, 0
/* 8029F048 0029BFA8 41 82 00 08 */ beq lbl_8029F050
lbl_8029F04C:
/* 8029F04C 0029BFAC 38 60 00 01 */ li r3, 1
lbl_8029F050:
/* 8029F050 0029BFB0 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8029F054 0029BFB4 41 82 00 10 */ beq lbl_8029F064
/* 8029F058 0029BFB8 A0 05 00 08 */ lhz r0, 8(r5)
/* 8029F05C 0029BFBC B0 1E 01 04 */ sth r0, 0x104(r30)
/* 8029F060 0029BFC0 48 00 00 20 */ b lbl_8029F080
lbl_8029F064:
/* 8029F064 0029BFC4 3B BD 00 0C */ addi r29, r29, 0xc
lbl_8029F068:
/* 8029F068 0029BFC8 80 1E 00 24 */ lwz r0, 0x24(r30)
/* 8029F06C 0029BFCC 80 7E 00 2C */ lwz r3, 0x2c(r30)
/* 8029F070 0029BFD0 1C 00 00 0C */ mulli r0, r0, 0xc
/* 8029F074 0029BFD4 7C 03 02 14 */ add r0, r3, r0
/* 8029F078 0029BFD8 7C 1D 00 40 */ cmplw r29, r0
/* 8029F07C 0029BFDC 40 82 FF 58 */ bne lbl_8029EFD4
lbl_8029F080:
/* 8029F080 0029BFE0 A0 7E 01 04 */ lhz r3, 0x104(r30)
/* 8029F084 0029BFE4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 8029F088 0029BFE8 7C 03 00 40 */ cmplw r3, r0
/* 8029F08C 0029BFEC 40 82 00 20 */ bne lbl_8029F0AC
/* 8029F090 0029BFF0 A0 1E 00 08 */ lhz r0, 8(r30)
/* 8029F094 0029BFF4 7F E3 FB 78 */ mr r3, r31
/* 8029F098 0029BFF8 38 81 00 0C */ addi r4, r1, 0xc
/* 8029F09C 0029BFFC B0 01 00 08 */ sth r0, 8(r1)
/* 8029F0A0 0029C000 B0 01 00 0C */ sth r0, 0xc(r1)
/* 8029F0A4 0029C004 4B DA D1 C9 */ bl FreeScriptObject__13CStateManagerF9TUniqueId
/* 8029F0A8 0029C008 48 00 00 BC */ b lbl_8029F164
lbl_8029F0AC:
/* 8029F0AC 0029C00C 88 1E 00 30 */ lbz r0, 0x30(r30)
/* 8029F0B0 0029C010 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8029F0B4 0029C014 41 82 00 6C */ beq lbl_8029F120
/* 8029F0B8 0029C018 A0 7E 01 04 */ lhz r3, 0x104(r30)
/* 8029F0BC 0029C01C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 8029F0C0 0029C020 7C 03 00 40 */ cmplw r3, r0
/* 8029F0C4 0029C024 41 82 00 5C */ beq lbl_8029F120
/* 8029F0C8 0029C028 C0 3E 00 FC */ lfs f1, 0xfc(r30)
/* 8029F0CC 0029C02C C0 02 C0 E8 */ lfs f0, lbl_805ADE08@sda21(r2)
/* 8029F0D0 0029C030 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8029F0D4 0029C034 40 81 00 4C */ ble lbl_8029F120
/* 8029F0D8 0029C038 3C 80 80 3D */ lis r4, lbl_803D5EB0@ha
/* 8029F0DC 0029C03C 38 60 00 9C */ li r3, 0x9c
/* 8029F0E0 0029C040 38 84 5E B0 */ addi r4, r4, lbl_803D5EB0@l
/* 8029F0E4 0029C044 38 A0 00 00 */ li r5, 0
/* 8029F0E8 0029C048 48 07 67 85 */ bl __nw__FUlPCcPCc
/* 8029F0EC 0029C04C 7C 7F 1B 79 */ or. r31, r3, r3
/* 8029F0F0 0029C050 41 82 00 1C */ beq lbl_8029F10C
/* 8029F0F4 0029C054 88 1E 01 10 */ lbz r0, 0x110(r30)
/* 8029F0F8 0029C058 80 9E 01 0C */ lwz r4, 0x10c(r30)
/* 8029F0FC 0029C05C 54 06 CF FE */ rlwinm r6, r0, 0x19, 0x1f, 0x1f
/* 8029F100 0029C060 7C 85 23 78 */ mr r5, r4
/* 8029F104 0029C064 4B FF F2 D9 */ bl __ct__16CProjectedShadowFv
/* 8029F108 0029C068 7C 7F 1B 78 */ mr r31, r3
lbl_8029F10C:
/* 8029F10C 0029C06C 80 7E 01 08 */ lwz r3, 0x108(r30)
/* 8029F110 0029C070 38 80 00 01 */ li r4, 1
/* 8029F114 0029C074 4B FF F2 6D */ bl __dt__16CProjectedShadowFv
/* 8029F118 0029C078 93 FE 01 08 */ stw r31, 0x108(r30)
/* 8029F11C 0029C07C 48 00 00 48 */ b lbl_8029F164
lbl_8029F120:
/* 8029F120 0029C080 80 7E 01 08 */ lwz r3, 0x108(r30)
/* 8029F124 0029C084 38 80 00 01 */ li r4, 1
/* 8029F128 0029C088 4B FF F2 59 */ bl __dt__16CProjectedShadowFv
/* 8029F12C 0029C08C 38 00 00 00 */ li r0, 0
/* 8029F130 0029C090 90 1E 01 08 */ stw r0, 0x108(r30)
/* 8029F134 0029C094 48 00 00 30 */ b lbl_8029F164
lbl_8029F138:
/* 8029F138 0029C098 88 1E 00 30 */ lbz r0, 0x30(r30)
/* 8029F13C 0029C09C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8029F140 0029C0A0 41 82 00 24 */ beq lbl_8029F164
/* 8029F144 0029C0A4 C0 3E 00 FC */ lfs f1, 0xfc(r30)
/* 8029F148 0029C0A8 C0 02 C0 E8 */ lfs f0, lbl_805ADE08@sda21(r2)
/* 8029F14C 0029C0AC FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8029F150 0029C0B0 40 81 00 14 */ ble lbl_8029F164
/* 8029F154 0029C0B4 88 1E 01 10 */ lbz r0, 0x110(r30)
/* 8029F158 0029C0B8 38 60 00 01 */ li r3, 1
/* 8029F15C 0029C0BC 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19
/* 8029F160 0029C0C0 98 1E 01 10 */ stb r0, 0x110(r30)
lbl_8029F164:
/* 8029F164 0029C0C4 80 01 00 44 */ lwz r0, 0x44(r1)
/* 8029F168 0029C0C8 83 E1 00 3C */ lwz r31, 0x3c(r1)
/* 8029F16C 0029C0CC 83 C1 00 38 */ lwz r30, 0x38(r1)
/* 8029F170 0029C0D0 83 A1 00 34 */ lwz r29, 0x34(r1)
/* 8029F174 0029C0D4 7C 08 03 A6 */ mtlr r0
/* 8029F178 0029C0D8 38 21 00 40 */ addi r1, r1, 0x40
/* 8029F17C 0029C0DC 4E 80 00 20 */ blr
.global "__ct__22CScriptShadowProjectorF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbRC9CVector3fbffffi"
"__ct__22CScriptShadowProjectorF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbRC9CVector3fbffffi":
/* 8029F180 0029C0E0 94 21 FE C0 */ stwu r1, -0x140(r1)
/* 8029F184 0029C0E4 7C 08 02 A6 */ mflr r0
/* 8029F188 0029C0E8 90 01 01 44 */ stw r0, 0x144(r1)
/* 8029F18C 0029C0EC DB E1 01 30 */ stfd f31, 0x130(r1)
/* 8029F190 0029C0F0 F3 E1 01 38 */ psq_st f31, 312(r1), 0, qr0
/* 8029F194 0029C0F4 DB C1 01 20 */ stfd f30, 0x120(r1)
/* 8029F198 0029C0F8 F3 C1 01 28 */ psq_st f30, 296(r1), 0, qr0
/* 8029F19C 0029C0FC DB A1 01 10 */ stfd f29, 0x110(r1)
/* 8029F1A0 0029C100 F3 A1 01 18 */ psq_st f29, 280(r1), 0, qr0
/* 8029F1A4 0029C104 DB 81 01 00 */ stfd f28, 0x100(r1)
/* 8029F1A8 0029C108 F3 81 01 08 */ psq_st f28, 264(r1), 0, qr0
/* 8029F1AC 0029C10C BE E1 00 DC */ stmw r23, 0xdc(r1)
/* 8029F1B0 0029C110 FF 80 08 90 */ fmr f28, f1
/* 8029F1B4 0029C114 7C 7F 1B 78 */ mr r31, r3
/* 8029F1B8 0029C118 FF A0 10 90 */ fmr f29, f2
/* 8029F1BC 0029C11C 83 C1 01 48 */ lwz r30, 0x148(r1)
/* 8029F1C0 0029C120 FF C0 18 90 */ fmr f30, f3
/* 8029F1C4 0029C124 7C 97 23 78 */ mr r23, r4
/* 8029F1C8 0029C128 FF E0 20 90 */ fmr f31, f4
/* 8029F1CC 0029C12C 7C B8 2B 78 */ mr r24, r5
/* 8029F1D0 0029C130 7C D9 33 78 */ mr r25, r6
/* 8029F1D4 0029C134 7C FA 3B 78 */ mr r26, r7
/* 8029F1D8 0029C138 7D 1B 43 78 */ mr r27, r8
/* 8029F1DC 0029C13C 7D 3C 4B 78 */ mr r28, r9
/* 8029F1E0 0029C140 7D 5D 53 78 */ mr r29, r10
/* 8029F1E4 0029C144 38 61 00 88 */ addi r3, r1, 0x88
/* 8029F1E8 0029C148 4B D9 B5 BD */ bl CModelDataNull__10CModelDataFv
/* 8029F1EC 0029C14C 38 61 00 20 */ addi r3, r1, 0x20
/* 8029F1F0 0029C150 4B D7 BC 49 */ bl None__16CActorParametersFv
/* 8029F1F4 0029C154 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 8029F1F8 0029C158 38 80 00 00 */ li r4, 0
/* 8029F1FC 0029C15C A1 97 00 00 */ lhz r12, 0(r23)
/* 8029F200 0029C160 39 61 00 20 */ addi r11, r1, 0x20
/* 8029F204 0029C164 B0 01 00 10 */ sth r0, 0x10(r1)
/* 8029F208 0029C168 38 01 00 10 */ addi r0, r1, 0x10
/* 8029F20C 0029C16C 7F E3 FB 78 */ mr r3, r31
/* 8029F210 0029C170 7F 65 DB 78 */ mr r5, r27
/* 8029F214 0029C174 90 81 00 1C */ stw r4, 0x1c(r1)
/* 8029F218 0029C178 7F 06 C3 78 */ mr r6, r24
/* 8029F21C 0029C17C 7F 27 CB 78 */ mr r7, r25
/* 8029F220 0029C180 7F 48 D3 78 */ mr r8, r26
/* 8029F224 0029C184 90 81 00 18 */ stw r4, 0x18(r1)
/* 8029F228 0029C188 38 81 00 14 */ addi r4, r1, 0x14
/* 8029F22C 0029C18C 39 21 00 88 */ addi r9, r1, 0x88
/* 8029F230 0029C190 39 41 00 18 */ addi r10, r1, 0x18
/* 8029F234 0029C194 B1 81 00 14 */ sth r12, 0x14(r1)
/* 8029F238 0029C198 91 61 00 08 */ stw r11, 8(r1)
/* 8029F23C 0029C19C 90 01 00 0C */ stw r0, 0xc(r1)
/* 8029F240 0029C1A0 4B DB 65 E1 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId"
/* 8029F244 0029C1A4 38 61 00 20 */ addi r3, r1, 0x20
/* 8029F248 0029C1A8 38 80 FF FF */ li r4, -1
/* 8029F24C 0029C1AC 4B E6 73 BD */ bl __dt__16CActorParametersFv
/* 8029F250 0029C1B0 38 61 00 88 */ addi r3, r1, 0x88
/* 8029F254 0029C1B4 38 80 FF FF */ li r4, -1
/* 8029F258 0029C1B8 4B E7 77 F5 */ bl __dt__10CModelDataFv
/* 8029F25C 0029C1BC 3C 60 80 3F */ lis r3, lbl_803EC030@ha
/* 8029F260 0029C1C0 C0 22 C0 E8 */ lfs f1, lbl_805ADE08@sda21(r2)
/* 8029F264 0029C1C4 38 03 C0 30 */ addi r0, r3, lbl_803EC030@l
/* 8029F268 0029C1C8 C8 02 C0 F0 */ lfd f0, lbl_805ADE10@sda21(r2)
/* 8029F26C 0029C1CC 90 1F 00 00 */ stw r0, 0(r31)
/* 8029F270 0029C1D0 EC 3E 08 28 */ fsubs f1, f30, f1
/* 8029F274 0029C1D4 D3 9F 00 E8 */ stfs f28, 0xe8(r31)
/* 8029F278 0029C1D8 FC 40 0A 10 */ fabs f2, f1
/* 8029F27C 0029C1DC C0 3C 00 00 */ lfs f1, 0(r28)
/* 8029F280 0029C1E0 D0 3F 00 EC */ stfs f1, 0xec(r31)
/* 8029F284 0029C1E4 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 8029F288 0029C1E8 C0 1C 00 04 */ lfs f0, 4(r28)
/* 8029F28C 0029C1EC D0 1F 00 F0 */ stfs f0, 0xf0(r31)
/* 8029F290 0029C1F0 C0 1C 00 08 */ lfs f0, 8(r28)
/* 8029F294 0029C1F4 D0 1F 00 F4 */ stfs f0, 0xf4(r31)
/* 8029F298 0029C1F8 D3 BF 00 F8 */ stfs f29, 0xf8(r31)
/* 8029F29C 0029C1FC D3 DF 00 FC */ stfs f30, 0xfc(r31)
/* 8029F2A0 0029C200 40 80 00 0C */ bge lbl_8029F2AC
/* 8029F2A4 0029C204 C0 02 C0 EC */ lfs f0, lbl_805ADE0C@sda21(r2)
/* 8029F2A8 0029C208 48 00 00 08 */ b lbl_8029F2B0
lbl_8029F2AC:
/* 8029F2AC 0029C20C EC 1F F0 24 */ fdivs f0, f31, f30
lbl_8029F2B0:
/* 8029F2B0 0029C210 D0 1F 01 00 */ stfs f0, 0x100(r31)
/* 8029F2B4 0029C214 38 A0 00 00 */ li r5, 0
/* 8029F2B8 0029C218 7F E3 FB 78 */ mr r3, r31
/* 8029F2BC 0029C21C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 8029F2C0 0029C220 B0 1F 01 04 */ sth r0, 0x104(r31)
/* 8029F2C4 0029C224 90 BF 01 08 */ stw r5, 0x108(r31)
/* 8029F2C8 0029C228 93 DF 01 0C */ stw r30, 0x10c(r31)
/* 8029F2CC 0029C22C 88 1F 01 10 */ lbz r0, 0x110(r31)
/* 8029F2D0 0029C230 53 A0 3E 30 */ rlwimi r0, r29, 7, 0x18, 0x18
/* 8029F2D4 0029C234 98 1F 01 10 */ stb r0, 0x110(r31)
/* 8029F2D8 0029C238 88 1F 01 10 */ lbz r0, 0x110(r31)
/* 8029F2DC 0029C23C 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19
/* 8029F2E0 0029C240 98 1F 01 10 */ stb r0, 0x110(r31)
/* 8029F2E4 0029C244 E3 E1 01 38 */ psq_l f31, 312(r1), 0, qr0
/* 8029F2E8 0029C248 CB E1 01 30 */ lfd f31, 0x130(r1)
/* 8029F2EC 0029C24C E3 C1 01 28 */ psq_l f30, 296(r1), 0, qr0
/* 8029F2F0 0029C250 CB C1 01 20 */ lfd f30, 0x120(r1)
/* 8029F2F4 0029C254 E3 A1 01 18 */ psq_l f29, 280(r1), 0, qr0
/* 8029F2F8 0029C258 CB A1 01 10 */ lfd f29, 0x110(r1)
/* 8029F2FC 0029C25C E3 81 01 08 */ psq_l f28, 264(r1), 0, qr0
/* 8029F300 0029C260 CB 81 01 00 */ lfd f28, 0x100(r1)
/* 8029F304 0029C264 BA E1 00 DC */ lmw r23, 0xdc(r1)
/* 8029F308 0029C268 80 01 01 44 */ lwz r0, 0x144(r1)
/* 8029F30C 0029C26C 7C 08 03 A6 */ mtlr r0
/* 8029F310 0029C270 38 21 01 40 */ addi r1, r1, 0x140
/* 8029F314 0029C274 4E 80 00 20 */ blr

View File

@ -0,0 +1,179 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global __ct__15CTweakSlideShowFR12CInputStream
__ct__15CTweakSlideShowFR12CInputStream:
/* 8029C5F8 00299558 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 8029C5FC 0029955C 7C 08 02 A6 */ mflr r0
/* 8029C600 00299560 3C A0 80 3F */ lis r5, lbl_803EC000@ha
/* 8029C604 00299564 3C C0 80 3E */ lis r6, lbl_803D9CC4@ha
/* 8029C608 00299568 90 01 00 54 */ stw r0, 0x54(r1)
/* 8029C60C 0029956C 38 06 9C C4 */ addi r0, r6, lbl_803D9CC4@l
/* 8029C610 00299570 38 A5 C0 00 */ addi r5, r5, lbl_803EC000@l
/* 8029C614 00299574 93 E1 00 4C */ stw r31, 0x4c(r1)
/* 8029C618 00299578 7C 9F 23 78 */ mr r31, r4
/* 8029C61C 0029957C 93 C1 00 48 */ stw r30, 0x48(r1)
/* 8029C620 00299580 7C 7E 1B 78 */ mr r30, r3
/* 8029C624 00299584 38 6D A9 18 */ addi r3, r13, "_EmptyString__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"@sda21
/* 8029C628 00299588 90 1E 00 00 */ stw r0, 0(r30)
/* 8029C62C 0029958C 38 00 00 00 */ li r0, 0
/* 8029C630 00299590 90 BE 00 00 */ stw r5, 0(r30)
/* 8029C634 00299594 90 7E 00 04 */ stw r3, 4(r30)
/* 8029C638 00299598 90 1E 00 08 */ stw r0, 8(r30)
/* 8029C63C 0029959C 90 1E 00 0C */ stw r0, 0xc(r30)
/* 8029C640 002995A0 90 7E 00 14 */ stw r3, 0x14(r30)
/* 8029C644 002995A4 90 1E 00 18 */ stw r0, 0x18(r30)
/* 8029C648 002995A8 90 1E 00 1C */ stw r0, 0x1c(r30)
/* 8029C64C 002995AC 48 0A D9 61 */ bl White__6CColorFv
/* 8029C650 002995B0 80 03 00 00 */ lwz r0, 0(r3)
/* 8029C654 002995B4 90 1E 00 24 */ stw r0, 0x24(r30)
/* 8029C658 002995B8 48 0A D9 55 */ bl White__6CColorFv
/* 8029C65C 002995BC 80 03 00 00 */ lwz r0, 0(r3)
/* 8029C660 002995C0 C0 02 C0 38 */ lfs f0, lbl_805ADD58@sda21(r2)
/* 8029C664 002995C4 90 1E 00 28 */ stw r0, 0x28(r30)
/* 8029C668 002995C8 D0 1E 00 2C */ stfs f0, 0x2c(r30)
/* 8029C66C 002995CC D0 1E 00 30 */ stfs f0, 0x30(r30)
/* 8029C670 002995D0 D0 1E 00 34 */ stfs f0, 0x34(r30)
/* 8029C674 002995D4 D0 1E 00 38 */ stfs f0, 0x38(r30)
/* 8029C678 002995D8 D0 1E 00 3C */ stfs f0, 0x3c(r30)
/* 8029C67C 002995DC 48 0A D9 31 */ bl White__6CColorFv
/* 8029C680 002995E0 80 03 00 00 */ lwz r0, 0(r3)
/* 8029C684 002995E4 7F E4 FB 78 */ mr r4, r31
/* 8029C688 002995E8 C0 22 C0 38 */ lfs f1, lbl_805ADD58@sda21(r2)
/* 8029C68C 002995EC 38 61 00 2C */ addi r3, r1, 0x2c
/* 8029C690 002995F0 90 1E 00 40 */ stw r0, 0x40(r30)
/* 8029C694 002995F4 38 A1 00 0C */ addi r5, r1, 0xc
/* 8029C698 002995F8 C0 02 C0 3C */ lfs f0, lbl_805ADD5C@sda21(r2)
/* 8029C69C 002995FC D0 3E 00 44 */ stfs f1, 0x44(r30)
/* 8029C6A0 00299600 D0 3E 00 48 */ stfs f1, 0x48(r30)
/* 8029C6A4 00299604 D0 3E 00 4C */ stfs f1, 0x4c(r30)
/* 8029C6A8 00299608 D0 3E 00 50 */ stfs f1, 0x50(r30)
/* 8029C6AC 0029960C D0 1E 00 54 */ stfs f0, 0x54(r30)
/* 8029C6B0 00299610 D0 1E 00 58 */ stfs f0, 0x58(r30)
/* 8029C6B4 00299614 48 0A 1C 45 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator"
/* 8029C6B8 00299618 38 7E 00 04 */ addi r3, r30, 4
/* 8029C6BC 0029961C 38 81 00 2C */ addi r4, r1, 0x2c
/* 8029C6C0 00299620 48 0A 16 9D */ bl "assign__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 8029C6C4 00299624 38 61 00 2C */ addi r3, r1, 0x2c
/* 8029C6C8 00299628 48 0A 14 19 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 8029C6CC 0029962C 7F E4 FB 78 */ mr r4, r31
/* 8029C6D0 00299630 38 61 00 1C */ addi r3, r1, 0x1c
/* 8029C6D4 00299634 38 A1 00 08 */ addi r5, r1, 8
/* 8029C6D8 00299638 48 0A 1C 21 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator"
/* 8029C6DC 0029963C 38 7E 00 14 */ addi r3, r30, 0x14
/* 8029C6E0 00299640 38 81 00 1C */ addi r4, r1, 0x1c
/* 8029C6E4 00299644 48 0A 16 79 */ bl "assign__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 8029C6E8 00299648 38 61 00 1C */ addi r3, r1, 0x1c
/* 8029C6EC 0029964C 48 0A 13 F5 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 8029C6F0 00299650 7F E4 FB 78 */ mr r4, r31
/* 8029C6F4 00299654 38 61 00 18 */ addi r3, r1, 0x18
/* 8029C6F8 00299658 48 0C 6D 55 */ bl __ct__6CColorFR12CInputStream
/* 8029C6FC 0029965C 80 01 00 18 */ lwz r0, 0x18(r1)
/* 8029C700 00299660 7F E4 FB 78 */ mr r4, r31
/* 8029C704 00299664 38 61 00 14 */ addi r3, r1, 0x14
/* 8029C708 00299668 90 1E 00 24 */ stw r0, 0x24(r30)
/* 8029C70C 0029966C 48 0C 6D 41 */ bl __ct__6CColorFR12CInputStream
/* 8029C710 00299670 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8029C714 00299674 7F E3 FB 78 */ mr r3, r31
/* 8029C718 00299678 90 1E 00 28 */ stw r0, 0x28(r30)
/* 8029C71C 0029967C 48 0A 25 0D */ bl ReadFloat__12CInputStreamFv
/* 8029C720 00299680 D0 3E 00 2C */ stfs f1, 0x2c(r30)
/* 8029C724 00299684 7F E3 FB 78 */ mr r3, r31
/* 8029C728 00299688 48 0A 25 01 */ bl ReadFloat__12CInputStreamFv
/* 8029C72C 0029968C D0 3E 00 30 */ stfs f1, 0x30(r30)
/* 8029C730 00299690 7F E3 FB 78 */ mr r3, r31
/* 8029C734 00299694 48 0A 24 F5 */ bl ReadFloat__12CInputStreamFv
/* 8029C738 00299698 D0 3E 00 34 */ stfs f1, 0x34(r30)
/* 8029C73C 0029969C 7F E3 FB 78 */ mr r3, r31
/* 8029C740 002996A0 48 0A 24 E9 */ bl ReadFloat__12CInputStreamFv
/* 8029C744 002996A4 D0 3E 00 38 */ stfs f1, 0x38(r30)
/* 8029C748 002996A8 7F E3 FB 78 */ mr r3, r31
/* 8029C74C 002996AC 48 0A 24 DD */ bl ReadFloat__12CInputStreamFv
/* 8029C750 002996B0 D0 3E 00 3C */ stfs f1, 0x3c(r30)
/* 8029C754 002996B4 7F E4 FB 78 */ mr r4, r31
/* 8029C758 002996B8 38 61 00 10 */ addi r3, r1, 0x10
/* 8029C75C 002996BC 48 0C 6C F1 */ bl __ct__6CColorFR12CInputStream
/* 8029C760 002996C0 80 01 00 10 */ lwz r0, 0x10(r1)
/* 8029C764 002996C4 7F E3 FB 78 */ mr r3, r31
/* 8029C768 002996C8 90 1E 00 40 */ stw r0, 0x40(r30)
/* 8029C76C 002996CC 48 0A 24 BD */ bl ReadFloat__12CInputStreamFv
/* 8029C770 002996D0 D0 3E 00 44 */ stfs f1, 0x44(r30)
/* 8029C774 002996D4 7F E3 FB 78 */ mr r3, r31
/* 8029C778 002996D8 48 0A 24 B1 */ bl ReadFloat__12CInputStreamFv
/* 8029C77C 002996DC D0 3E 00 48 */ stfs f1, 0x48(r30)
/* 8029C780 002996E0 7F E3 FB 78 */ mr r3, r31
/* 8029C784 002996E4 48 0A 24 A5 */ bl ReadFloat__12CInputStreamFv
/* 8029C788 002996E8 D0 3E 00 4C */ stfs f1, 0x4c(r30)
/* 8029C78C 002996EC 7F E3 FB 78 */ mr r3, r31
/* 8029C790 002996F0 48 0A 24 99 */ bl ReadFloat__12CInputStreamFv
/* 8029C794 002996F4 D0 3E 00 50 */ stfs f1, 0x50(r30)
/* 8029C798 002996F8 7F E3 FB 78 */ mr r3, r31
/* 8029C79C 002996FC 48 0A 24 8D */ bl ReadFloat__12CInputStreamFv
/* 8029C7A0 00299700 D0 3E 00 54 */ stfs f1, 0x54(r30)
/* 8029C7A4 00299704 7F E3 FB 78 */ mr r3, r31
/* 8029C7A8 00299708 48 0A 24 81 */ bl ReadFloat__12CInputStreamFv
/* 8029C7AC 0029970C D0 3E 00 58 */ stfs f1, 0x58(r30)
/* 8029C7B0 00299710 7F C3 F3 78 */ mr r3, r30
/* 8029C7B4 00299714 80 01 00 54 */ lwz r0, 0x54(r1)
/* 8029C7B8 00299718 83 E1 00 4C */ lwz r31, 0x4c(r1)
/* 8029C7BC 0029971C 83 C1 00 48 */ lwz r30, 0x48(r1)
/* 8029C7C0 00299720 7C 08 03 A6 */ mtlr r0
/* 8029C7C4 00299724 38 21 00 50 */ addi r1, r1, 0x50
/* 8029C7C8 00299728 4E 80 00 20 */ blr
.global sub_8029c7cc
sub_8029c7cc:
/* 8029C7CC 0029972C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8029C7D0 00299730 7C 08 02 A6 */ mflr r0
/* 8029C7D4 00299734 90 01 00 14 */ stw r0, 0x14(r1)
/* 8029C7D8 00299738 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8029C7DC 0029973C 7C 9F 23 78 */ mr r31, r4
/* 8029C7E0 00299740 93 C1 00 08 */ stw r30, 8(r1)
/* 8029C7E4 00299744 7C 7E 1B 79 */ or. r30, r3, r3
/* 8029C7E8 00299748 41 82 00 54 */ beq lbl_8029C83C
/* 8029C7EC 0029974C 3C 60 80 3F */ lis r3, lbl_803EC000@ha
/* 8029C7F0 00299750 34 1E 00 14 */ addic. r0, r30, 0x14
/* 8029C7F4 00299754 38 03 C0 00 */ addi r0, r3, lbl_803EC000@l
/* 8029C7F8 00299758 90 1E 00 00 */ stw r0, 0(r30)
/* 8029C7FC 0029975C 41 82 00 0C */ beq lbl_8029C808
/* 8029C800 00299760 38 7E 00 14 */ addi r3, r30, 0x14
/* 8029C804 00299764 48 0A 12 DD */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_8029C808:
/* 8029C808 00299768 34 1E 00 04 */ addic. r0, r30, 4
/* 8029C80C 0029976C 41 82 00 0C */ beq lbl_8029C818
/* 8029C810 00299770 38 7E 00 04 */ addi r3, r30, 4
/* 8029C814 00299774 48 0A 12 CD */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_8029C818:
/* 8029C818 00299778 28 1E 00 00 */ cmplwi r30, 0
/* 8029C81C 0029977C 41 82 00 10 */ beq lbl_8029C82C
/* 8029C820 00299780 3C 60 80 3E */ lis r3, lbl_803D9CC4@ha
/* 8029C824 00299784 38 03 9C C4 */ addi r0, r3, lbl_803D9CC4@l
/* 8029C828 00299788 90 1E 00 00 */ stw r0, 0(r30)
lbl_8029C82C:
/* 8029C82C 0029978C 7F E0 07 35 */ extsh. r0, r31
/* 8029C830 00299790 40 81 00 0C */ ble lbl_8029C83C
/* 8029C834 00299794 7F C3 F3 78 */ mr r3, r30
/* 8029C838 00299798 48 00 00 21 */ bl sub_8029c858
lbl_8029C83C:
/* 8029C83C 0029979C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8029C840 002997A0 7F C3 F3 78 */ mr r3, r30
/* 8029C844 002997A4 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8029C848 002997A8 83 C1 00 08 */ lwz r30, 8(r1)
/* 8029C84C 002997AC 7C 08 03 A6 */ mtlr r0
/* 8029C850 002997B0 38 21 00 10 */ addi r1, r1, 0x10
/* 8029C854 002997B4 4E 80 00 20 */ blr
.global sub_8029c858
sub_8029c858:
/* 8029C858 002997B8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8029C85C 002997BC 7C 08 02 A6 */ mflr r0
/* 8029C860 002997C0 90 01 00 14 */ stw r0, 0x14(r1)
/* 8029C864 002997C4 4B D9 A5 61 */ bl "ReferenceCount__29TOneStatic<15CTweakSlideShow>Fv"
/* 8029C868 002997C8 80 83 00 00 */ lwz r4, 0(r3)
/* 8029C86C 002997CC 38 04 FF FF */ addi r0, r4, -1
/* 8029C870 002997D0 90 03 00 00 */ stw r0, 0(r3)
/* 8029C874 002997D4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8029C878 002997D8 7C 08 03 A6 */ mtlr r0
/* 8029C87C 002997DC 38 21 00 10 */ addi r1, r1, 0x10
/* 8029C880 002997E0 4E 80 00 20 */ blr

View File

@ -0,0 +1,701 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global __dt__23CElectricBeamProjectileFv
__dt__23CElectricBeamProjectileFv:
/* 80251BB0 0024EB10 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80251BB4 0024EB14 7C 08 02 A6 */ mflr r0
/* 80251BB8 0024EB18 90 01 00 14 */ stw r0, 0x14(r1)
/* 80251BBC 0024EB1C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80251BC0 0024EB20 7C 9F 23 78 */ mr r31, r4
/* 80251BC4 0024EB24 93 C1 00 08 */ stw r30, 8(r1)
/* 80251BC8 0024EB28 7C 7E 1B 79 */ or. r30, r3, r3
/* 80251BCC 0024EB2C 41 82 00 98 */ beq lbl_80251C64
/* 80251BD0 0024EB30 3C 60 80 3F */ lis r3, lbl_803E9118@ha
/* 80251BD4 0024EB34 34 1E 04 78 */ addic. r0, r30, 0x478
/* 80251BD8 0024EB38 38 03 91 18 */ addi r0, r3, lbl_803E9118@l
/* 80251BDC 0024EB3C 90 1E 00 00 */ stw r0, 0(r30)
/* 80251BE0 0024EB40 41 82 00 24 */ beq lbl_80251C04
/* 80251BE4 0024EB44 80 7E 04 78 */ lwz r3, 0x478(r30)
/* 80251BE8 0024EB48 28 03 00 00 */ cmplwi r3, 0
/* 80251BEC 0024EB4C 41 82 00 18 */ beq lbl_80251C04
/* 80251BF0 0024EB50 81 83 00 00 */ lwz r12, 0(r3)
/* 80251BF4 0024EB54 38 80 00 01 */ li r4, 1
/* 80251BF8 0024EB58 81 8C 00 08 */ lwz r12, 8(r12)
/* 80251BFC 0024EB5C 7D 89 03 A6 */ mtctr r12
/* 80251C00 0024EB60 4E 80 04 21 */ bctrl
lbl_80251C04:
/* 80251C04 0024EB64 34 1E 04 6C */ addic. r0, r30, 0x46c
/* 80251C08 0024EB68 41 82 00 18 */ beq lbl_80251C20
/* 80251C0C 0024EB6C 34 1E 04 6C */ addic. r0, r30, 0x46c
/* 80251C10 0024EB70 41 82 00 10 */ beq lbl_80251C20
/* 80251C14 0024EB74 38 7E 04 6C */ addi r3, r30, 0x46c
/* 80251C18 0024EB78 38 80 00 00 */ li r4, 0
/* 80251C1C 0024EB7C 48 0E F2 25 */ bl __dt__6CTokenFv
lbl_80251C20:
/* 80251C20 0024EB80 34 1E 04 68 */ addic. r0, r30, 0x468
/* 80251C24 0024EB84 41 82 00 24 */ beq lbl_80251C48
/* 80251C28 0024EB88 80 7E 04 68 */ lwz r3, 0x468(r30)
/* 80251C2C 0024EB8C 28 03 00 00 */ cmplwi r3, 0
/* 80251C30 0024EB90 41 82 00 18 */ beq lbl_80251C48
/* 80251C34 0024EB94 81 83 00 00 */ lwz r12, 0(r3)
/* 80251C38 0024EB98 38 80 00 01 */ li r4, 1
/* 80251C3C 0024EB9C 81 8C 00 08 */ lwz r12, 8(r12)
/* 80251C40 0024EBA0 7D 89 03 A6 */ mtctr r12
/* 80251C44 0024EBA4 4E 80 04 21 */ bctrl
lbl_80251C48:
/* 80251C48 0024EBA8 7F C3 F3 78 */ mr r3, r30
/* 80251C4C 0024EBAC 38 80 00 00 */ li r4, 0
/* 80251C50 0024EBB0 4B F2 50 C9 */ bl __dt__15CBeamProjectileFv
/* 80251C54 0024EBB4 7F E0 07 35 */ extsh. r0, r31
/* 80251C58 0024EBB8 40 81 00 0C */ ble lbl_80251C64
/* 80251C5C 0024EBBC 7F C3 F3 78 */ mr r3, r30
/* 80251C60 0024EBC0 48 0C 3C D1 */ bl Free__7CMemoryFPCv
lbl_80251C64:
/* 80251C64 0024EBC4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80251C68 0024EBC8 7F C3 F3 78 */ mr r3, r30
/* 80251C6C 0024EBCC 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80251C70 0024EBD0 83 C1 00 08 */ lwz r30, 8(r1)
/* 80251C74 0024EBD4 7C 08 03 A6 */ mtlr r0
/* 80251C78 0024EBD8 38 21 00 10 */ addi r1, r1, 0x10
/* 80251C7C 0024EBDC 4E 80 00 20 */ blr
.global AcceptScriptMsg__23CElectricBeamProjectileF20EScriptObjectMessage9TUniqueIdR13CStateManager
AcceptScriptMsg__23CElectricBeamProjectileF20EScriptObjectMessage9TUniqueIdR13CStateManager:
/* 80251C80 0024EBE0 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80251C84 0024EBE4 7C 08 02 A6 */ mflr r0
/* 80251C88 0024EBE8 90 01 00 34 */ stw r0, 0x34(r1)
/* 80251C8C 0024EBEC 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80251C90 0024EBF0 7C DF 33 78 */ mr r31, r6
/* 80251C94 0024EBF4 93 C1 00 28 */ stw r30, 0x28(r1)
/* 80251C98 0024EBF8 7C BE 2B 78 */ mr r30, r5
/* 80251C9C 0024EBFC 93 A1 00 24 */ stw r29, 0x24(r1)
/* 80251CA0 0024EC00 7C 9D 23 78 */ mr r29, r4
/* 80251CA4 0024EC04 2C 1D 00 22 */ cmpwi r29, 0x22
/* 80251CA8 0024EC08 93 81 00 20 */ stw r28, 0x20(r1)
/* 80251CAC 0024EC0C 7C 7C 1B 78 */ mr r28, r3
/* 80251CB0 0024EC10 41 82 00 44 */ beq lbl_80251CF4
/* 80251CB4 0024EC14 40 80 00 48 */ bge lbl_80251CFC
/* 80251CB8 0024EC18 2C 1D 00 21 */ cmpwi r29, 0x21
/* 80251CBC 0024EC1C 40 80 00 08 */ bge lbl_80251CC4
/* 80251CC0 0024EC20 48 00 00 3C */ b lbl_80251CFC
lbl_80251CC4:
/* 80251CC4 0024EC24 A0 1C 00 EC */ lhz r0, 0xec(r28)
/* 80251CC8 0024EC28 7F E3 FB 78 */ mr r3, r31
/* 80251CCC 0024EC2C 80 BC 00 F0 */ lwz r5, 0xf0(r28)
/* 80251CD0 0024EC30 38 81 00 10 */ addi r4, r1, 0x10
/* 80251CD4 0024EC34 B0 01 00 0C */ sth r0, 0xc(r1)
/* 80251CD8 0024EC38 B0 01 00 10 */ sth r0, 0x10(r1)
/* 80251CDC 0024EC3C 4B DF 30 2D */ bl AddWeaponId__13CStateManagerF9TUniqueId11EWeaponType
/* 80251CE0 0024EC40 88 1C 04 64 */ lbz r0, 0x464(r28)
/* 80251CE4 0024EC44 38 60 00 01 */ li r3, 1
/* 80251CE8 0024EC48 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19
/* 80251CEC 0024EC4C 98 1C 04 64 */ stb r0, 0x464(r28)
/* 80251CF0 0024EC50 48 00 00 0C */ b lbl_80251CFC
lbl_80251CF4:
/* 80251CF4 0024EC54 7F E4 FB 78 */ mr r4, r31
/* 80251CF8 0024EC58 4B DE 5B B1 */ bl DeleteProjectileLight__15CGameProjectileFR13CStateManager
lbl_80251CFC:
/* 80251CFC 0024EC5C A0 1E 00 00 */ lhz r0, 0(r30)
/* 80251D00 0024EC60 7F 83 E3 78 */ mr r3, r28
/* 80251D04 0024EC64 7F A4 EB 78 */ mr r4, r29
/* 80251D08 0024EC68 7F E6 FB 78 */ mr r6, r31
/* 80251D0C 0024EC6C B0 01 00 08 */ sth r0, 8(r1)
/* 80251D10 0024EC70 38 A1 00 08 */ addi r5, r1, 8
/* 80251D14 0024EC74 4B DE 68 B9 */ bl AcceptScriptMsg__15CGameProjectileF20EScriptObjectMessage9TUniqueIdR13CStateManager
/* 80251D18 0024EC78 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80251D1C 0024EC7C 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 80251D20 0024EC80 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 80251D24 0024EC84 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 80251D28 0024EC88 83 81 00 20 */ lwz r28, 0x20(r1)
/* 80251D2C 0024EC8C 7C 08 03 A6 */ mtlr r0
/* 80251D30 0024EC90 38 21 00 30 */ addi r1, r1, 0x30
/* 80251D34 0024EC94 4E 80 00 20 */ blr
.global sub_80251d38
sub_80251d38:
/* 80251D38 0024EC98 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80251D3C 0024EC9C 7C 08 02 A6 */ mflr r0
/* 80251D40 0024ECA0 90 01 00 14 */ stw r0, 0x14(r1)
/* 80251D44 0024ECA4 54 A0 06 3F */ clrlwi. r0, r5, 0x18
/* 80251D48 0024ECA8 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80251D4C 0024ECAC 7C 9F 23 78 */ mr r31, r4
/* 80251D50 0024ECB0 93 C1 00 08 */ stw r30, 8(r1)
/* 80251D54 0024ECB4 7C 7E 1B 78 */ mr r30, r3
/* 80251D58 0024ECB8 41 82 00 5C */ beq lbl_80251DB4
/* 80251D5C 0024ECBC 81 83 00 00 */ lwz r12, 0(r3)
/* 80251D60 0024ECC0 38 80 00 00 */ li r4, 0
/* 80251D64 0024ECC4 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 80251D68 0024ECC8 7D 89 03 A6 */ mtctr r12
/* 80251D6C 0024ECCC 4E 80 04 21 */ bctrl
/* 80251D70 0024ECD0 80 7E 04 78 */ lwz r3, 0x478(r30)
/* 80251D74 0024ECD4 38 80 00 00 */ li r4, 0
/* 80251D78 0024ECD8 81 83 00 00 */ lwz r12, 0(r3)
/* 80251D7C 0024ECDC 81 8C 00 2C */ lwz r12, 0x2c(r12)
/* 80251D80 0024ECE0 7D 89 03 A6 */ mtctr r12
/* 80251D84 0024ECE4 4E 80 04 21 */ bctrl
/* 80251D88 0024ECE8 80 7E 04 68 */ lwz r3, 0x468(r30)
/* 80251D8C 0024ECEC 38 80 00 00 */ li r4, 0
/* 80251D90 0024ECF0 81 83 00 00 */ lwz r12, 0(r3)
/* 80251D94 0024ECF4 81 8C 00 2C */ lwz r12, 0x2c(r12)
/* 80251D98 0024ECF8 7D 89 03 A6 */ mtctr r12
/* 80251D9C 0024ECFC 4E 80 04 21 */ bctrl
/* 80251DA0 0024ED00 7F C3 F3 78 */ mr r3, r30
/* 80251DA4 0024ED04 7F E4 FB 78 */ mr r4, r31
/* 80251DA8 0024ED08 38 A0 00 01 */ li r5, 1
/* 80251DAC 0024ED0C 4B F4 75 8D */ bl ResetBeam__15CBeamProjectileFR13CStateManagerb
/* 80251DB0 0024ED10 48 00 00 0C */ b lbl_80251DBC
lbl_80251DB4:
/* 80251DB4 0024ED14 38 00 00 00 */ li r0, 0
/* 80251DB8 0024ED18 98 1E 04 8C */ stb r0, 0x48c(r30)
lbl_80251DBC:
/* 80251DBC 0024ED1C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80251DC0 0024ED20 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80251DC4 0024ED24 83 C1 00 08 */ lwz r30, 8(r1)
/* 80251DC8 0024ED28 7C 08 03 A6 */ mtlr r0
/* 80251DCC 0024ED2C 38 21 00 10 */ addi r1, r1, 0x10
/* 80251DD0 0024ED30 4E 80 00 20 */ blr
.global sub_80251dd4
sub_80251dd4:
/* 80251DD4 0024ED34 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80251DD8 0024ED38 7C 08 02 A6 */ mflr r0
/* 80251DDC 0024ED3C 38 80 00 01 */ li r4, 1
/* 80251DE0 0024ED40 90 01 00 14 */ stw r0, 0x14(r1)
/* 80251DE4 0024ED44 38 00 00 01 */ li r0, 1
/* 80251DE8 0024ED48 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80251DEC 0024ED4C 7C 7F 1B 78 */ mr r31, r3
/* 80251DF0 0024ED50 98 03 04 8C */ stb r0, 0x48c(r3)
/* 80251DF4 0024ED54 81 83 00 00 */ lwz r12, 0(r3)
/* 80251DF8 0024ED58 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 80251DFC 0024ED5C 7D 89 03 A6 */ mtctr r12
/* 80251E00 0024ED60 4E 80 04 21 */ bctrl
/* 80251E04 0024ED64 C0 02 B8 F0 */ lfs f0, lbl_805AD610@sda21(r2)
/* 80251E08 0024ED68 D0 1F 04 80 */ stfs f0, 0x480(r31)
/* 80251E0C 0024ED6C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80251E10 0024ED70 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80251E14 0024ED74 7C 08 03 A6 */ mtlr r0
/* 80251E18 0024ED78 38 21 00 10 */ addi r1, r1, 0x10
/* 80251E1C 0024ED7C 4E 80 00 20 */ blr
.global AddToRenderer__23CElectricBeamProjectileCFRC14CFrustumPlanesRC13CStateManager
AddToRenderer__23CElectricBeamProjectileCFRC14CFrustumPlanesRC13CStateManager:
/* 80251E20 0024ED80 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80251E24 0024ED84 7C 08 02 A6 */ mflr r0
/* 80251E28 0024ED88 90 01 00 14 */ stw r0, 0x14(r1)
/* 80251E2C 0024ED8C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80251E30 0024ED90 7C 7F 1B 78 */ mr r31, r3
/* 80251E34 0024ED94 88 03 00 30 */ lbz r0, 0x30(r3)
/* 80251E38 0024ED98 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80251E3C 0024ED9C 41 82 00 34 */ beq lbl_80251E70
/* 80251E40 0024EDA0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 80251E44 0024EDA4 80 9F 04 78 */ lwz r4, 0x478(r31)
/* 80251E48 0024EDA8 81 83 00 00 */ lwz r12, 0(r3)
/* 80251E4C 0024EDAC 81 8C 00 34 */ lwz r12, 0x34(r12)
/* 80251E50 0024EDB0 7D 89 03 A6 */ mtctr r12
/* 80251E54 0024EDB4 4E 80 04 21 */ bctrl
/* 80251E58 0024EDB8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 80251E5C 0024EDBC 80 9F 04 68 */ lwz r4, 0x468(r31)
/* 80251E60 0024EDC0 81 83 00 00 */ lwz r12, 0(r3)
/* 80251E64 0024EDC4 81 8C 00 34 */ lwz r12, 0x34(r12)
/* 80251E68 0024EDC8 7D 89 03 A6 */ mtctr r12
/* 80251E6C 0024EDCC 4E 80 04 21 */ bctrl
lbl_80251E70:
/* 80251E70 0024EDD0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80251E74 0024EDD4 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80251E78 0024EDD8 7C 08 03 A6 */ mtlr r0
/* 80251E7C 0024EDDC 38 21 00 10 */ addi r1, r1, 0x10
/* 80251E80 0024EDE0 4E 80 00 20 */ blr
.global sub_80251e84
sub_80251e84:
/* 80251E84 0024EDE4 94 21 FF 70 */ stwu r1, -0x90(r1)
/* 80251E88 0024EDE8 7C 08 02 A6 */ mflr r0
/* 80251E8C 0024EDEC 90 01 00 94 */ stw r0, 0x94(r1)
/* 80251E90 0024EDF0 DB E1 00 80 */ stfd f31, 0x80(r1)
/* 80251E94 0024EDF4 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0
/* 80251E98 0024EDF8 93 E1 00 7C */ stw r31, 0x7c(r1)
/* 80251E9C 0024EDFC 93 C1 00 78 */ stw r30, 0x78(r1)
/* 80251EA0 0024EE00 93 A1 00 74 */ stw r29, 0x74(r1)
/* 80251EA4 0024EE04 88 03 00 30 */ lbz r0, 0x30(r3)
/* 80251EA8 0024EE08 FF E0 08 90 */ fmr f31, f1
/* 80251EAC 0024EE0C 7C 7F 1B 78 */ mr r31, r3
/* 80251EB0 0024EE10 7C 9E 23 78 */ mr r30, r4
/* 80251EB4 0024EE14 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80251EB8 0024EE18 7C BD 2B 78 */ mr r29, r5
/* 80251EBC 0024EE1C 41 82 04 20 */ beq lbl_802522DC
/* 80251EC0 0024EE20 C0 3F 04 84 */ lfs f1, 0x484(r31)
/* 80251EC4 0024EE24 C0 02 B8 F0 */ lfs f0, lbl_805AD610@sda21(r2)
/* 80251EC8 0024EE28 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80251ECC 0024EE2C 4C 40 13 82 */ cror 2, 0, 2
/* 80251ED0 0024EE30 40 82 00 14 */ bne lbl_80251EE4
/* 80251ED4 0024EE34 88 1F 04 64 */ lbz r0, 0x464(r31)
/* 80251ED8 0024EE38 38 60 00 01 */ li r3, 1
/* 80251EDC 0024EE3C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19
/* 80251EE0 0024EE40 98 1F 04 64 */ stb r0, 0x464(r31)
lbl_80251EE4:
/* 80251EE4 0024EE44 80 1F 02 F8 */ lwz r0, 0x2f8(r31)
/* 80251EE8 0024EE48 2C 00 00 01 */ cmpwi r0, 1
/* 80251EEC 0024EE4C 40 82 00 1C */ bne lbl_80251F08
/* 80251EF0 0024EE50 C0 1F 04 88 */ lfs f0, 0x488(r31)
/* 80251EF4 0024EE54 38 60 00 00 */ li r3, 0
/* 80251EF8 0024EE58 D0 1F 04 84 */ stfs f0, 0x484(r31)
/* 80251EFC 0024EE5C 88 1F 04 64 */ lbz r0, 0x464(r31)
/* 80251F00 0024EE60 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19
/* 80251F04 0024EE64 98 1F 04 64 */ stb r0, 0x464(r31)
lbl_80251F08:
/* 80251F08 0024EE68 C0 1F 04 84 */ lfs f0, 0x484(r31)
/* 80251F0C 0024EE6C C0 22 B8 F0 */ lfs f1, lbl_805AD610@sda21(r2)
/* 80251F10 0024EE70 EC 40 F8 28 */ fsubs f2, f0, f31
/* 80251F14 0024EE74 C0 02 B8 F4 */ lfs f0, lbl_805AD614@sda21(r2)
/* 80251F18 0024EE78 D0 5F 04 84 */ stfs f2, 0x484(r31)
/* 80251F1C 0024EE7C C0 5F 04 7C */ lfs f2, 0x47c(r31)
/* 80251F20 0024EE80 EC 22 08 28 */ fsubs f1, f2, f1
/* 80251F24 0024EE84 FC 20 0A 10 */ fabs f1, f1
/* 80251F28 0024EE88 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80251F2C 0024EE8C 41 80 00 80 */ blt lbl_80251FAC
/* 80251F30 0024EE90 88 1F 04 8C */ lbz r0, 0x48c(r31)
/* 80251F34 0024EE94 28 00 00 00 */ cmplwi r0, 0
/* 80251F38 0024EE98 41 82 00 0C */ beq lbl_80251F44
/* 80251F3C 0024EE9C C0 42 B8 F8 */ lfs f2, lbl_805AD618@sda21(r2)
/* 80251F40 0024EEA0 48 00 00 08 */ b lbl_80251F48
lbl_80251F44:
/* 80251F44 0024EEA4 C0 42 B8 FC */ lfs f2, lbl_805AD61C@sda21(r2)
lbl_80251F48:
/* 80251F48 0024EEA8 C0 1F 04 7C */ lfs f0, 0x47c(r31)
/* 80251F4C 0024EEAC C0 3F 04 80 */ lfs f1, 0x480(r31)
/* 80251F50 0024EEB0 EC 42 00 24 */ fdivs f2, f2, f0
/* 80251F54 0024EEB4 C0 0D 97 28 */ lfs f0, lbl_805A82E8@sda21(r13)
/* 80251F58 0024EEB8 EC 3F 08 BA */ fmadds f1, f31, f2, f1
/* 80251F5C 0024EEBC FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80251F60 0024EEC0 D0 21 00 10 */ stfs f1, 0x10(r1)
/* 80251F64 0024EEC4 40 80 00 0C */ bge lbl_80251F70
/* 80251F68 0024EEC8 38 61 00 10 */ addi r3, r1, 0x10
/* 80251F6C 0024EECC 48 00 00 08 */ b lbl_80251F74
lbl_80251F70:
/* 80251F70 0024EED0 38 6D 97 28 */ addi r3, r13, lbl_805A82E8@sda21
lbl_80251F74:
/* 80251F74 0024EED4 C0 23 00 00 */ lfs f1, 0(r3)
/* 80251F78 0024EED8 C0 02 B8 F0 */ lfs f0, lbl_805AD610@sda21(r2)
/* 80251F7C 0024EEDC D0 3F 04 80 */ stfs f1, 0x480(r31)
/* 80251F80 0024EEE0 C0 3F 04 80 */ lfs f1, 0x480(r31)
/* 80251F84 0024EEE4 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80251F88 0024EEE8 40 80 00 2C */ bge lbl_80251FB4
/* 80251F8C 0024EEEC 7F E3 FB 78 */ mr r3, r31
/* 80251F90 0024EEF0 7F A4 EB 78 */ mr r4, r29
/* 80251F94 0024EEF4 81 9F 00 00 */ lwz r12, 0(r31)
/* 80251F98 0024EEF8 38 A0 00 01 */ li r5, 1
/* 80251F9C 0024EEFC 81 8C 00 74 */ lwz r12, 0x74(r12)
/* 80251FA0 0024EF00 7D 89 03 A6 */ mtctr r12
/* 80251FA4 0024EF04 4E 80 04 21 */ bctrl
/* 80251FA8 0024EF08 48 00 00 0C */ b lbl_80251FB4
lbl_80251FAC:
/* 80251FAC 0024EF0C C0 02 B8 F8 */ lfs f0, lbl_805AD618@sda21(r2)
/* 80251FB0 0024EF10 D0 1F 04 80 */ stfs f0, 0x480(r31)
lbl_80251FB4:
/* 80251FB4 0024EF14 FC 20 F8 90 */ fmr f1, f31
/* 80251FB8 0024EF18 7F E3 FB 78 */ mr r3, r31
/* 80251FBC 0024EF1C 7F C4 F3 78 */ mr r4, r30
/* 80251FC0 0024EF20 7F A5 EB 78 */ mr r5, r29
/* 80251FC4 0024EF24 4B F4 6E 1D */ bl UpdateFx__15CBeamProjectileFRC12CTransform4ffR13CStateManager
/* 80251FC8 0024EF28 83 BF 04 78 */ lwz r29, 0x478(r31)
/* 80251FCC 0024EF2C 48 0F 7F E1 */ bl White__6CColorFv
/* 80251FD0 0024EF30 7C 7E 1B 78 */ mr r30, r3
/* 80251FD4 0024EF34 48 0F 7F E1 */ bl Black__6CColorFv
/* 80251FD8 0024EF38 C0 3F 04 80 */ lfs f1, 0x480(r31)
/* 80251FDC 0024EF3C 7C 64 1B 78 */ mr r4, r3
/* 80251FE0 0024EF40 7F C5 F3 78 */ mr r5, r30
/* 80251FE4 0024EF44 38 61 00 0C */ addi r3, r1, 0xc
/* 80251FE8 0024EF48 48 11 12 C5 */ bl Lerp__6CColorFRC6CColorRC6CColorf
/* 80251FEC 0024EF4C 7F A3 EB 78 */ mr r3, r29
/* 80251FF0 0024EF50 38 81 00 0C */ addi r4, r1, 0xc
/* 80251FF4 0024EF54 81 9D 00 00 */ lwz r12, 0(r29)
/* 80251FF8 0024EF58 81 8C 00 30 */ lwz r12, 0x30(r12)
/* 80251FFC 0024EF5C 7D 89 03 A6 */ mtctr r12
/* 80252000 0024EF60 4E 80 04 21 */ bctrl
/* 80252004 0024EF64 80 7F 02 F8 */ lwz r3, 0x2f8(r31)
/* 80252008 0024EF68 7C 03 00 D0 */ neg r0, r3
/* 8025200C 0024EF6C 7C 00 1B 78 */ or r0, r0, r3
/* 80252010 0024EF70 54 1E 0F FF */ rlwinm. r30, r0, 1, 0x1f, 0x1f
/* 80252014 0024EF74 41 82 00 A0 */ beq lbl_802520B4
/* 80252018 0024EF78 3C 80 80 5A */ lis r4, skZero3f@ha
/* 8025201C 0024EF7C 3C 60 80 5A */ lis r3, lbl_805A66F4@ha
/* 80252020 0024EF80 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l
/* 80252024 0024EF84 83 BF 04 78 */ lwz r29, 0x478(r31)
/* 80252028 0024EF88 38 84 66 A0 */ addi r4, r4, skZero3f@l
/* 8025202C 0024EF8C 38 61 00 38 */ addi r3, r1, 0x38
/* 80252030 0024EF90 38 BF 03 0C */ addi r5, r31, 0x30c
/* 80252034 0024EF94 48 0C 1A DD */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f
/* 80252038 0024EF98 7F A3 EB 78 */ mr r3, r29
/* 8025203C 0024EF9C 38 81 00 38 */ addi r4, r1, 0x38
/* 80252040 0024EFA0 81 9D 00 00 */ lwz r12, 0(r29)
/* 80252044 0024EFA4 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 80252048 0024EFA8 7D 89 03 A6 */ mtctr r12
/* 8025204C 0024EFAC 4E 80 04 21 */ bctrl
/* 80252050 0024EFB0 C0 62 B9 00 */ lfs f3, lbl_805AD620@sda21(r2)
/* 80252054 0024EFB4 38 81 00 20 */ addi r4, r1, 0x20
/* 80252058 0024EFB8 C0 5F 03 10 */ lfs f2, 0x310(r31)
/* 8025205C 0024EFBC C0 3F 03 14 */ lfs f1, 0x314(r31)
/* 80252060 0024EFC0 C0 1F 03 0C */ lfs f0, 0x30c(r31)
/* 80252064 0024EFC4 EC A3 00 B2 */ fmuls f5, f3, f2
/* 80252068 0024EFC8 EC 83 00 72 */ fmuls f4, f3, f1
/* 8025206C 0024EFCC C0 5F 03 1C */ lfs f2, 0x31c(r31)
/* 80252070 0024EFD0 EC 63 00 32 */ fmuls f3, f3, f0
/* 80252074 0024EFD4 C0 3F 03 20 */ lfs f1, 0x320(r31)
/* 80252078 0024EFD8 C0 1F 03 18 */ lfs f0, 0x318(r31)
/* 8025207C 0024EFDC EC 42 28 2A */ fadds f2, f2, f5
/* 80252080 0024EFE0 EC 21 20 2A */ fadds f1, f1, f4
/* 80252084 0024EFE4 D0 61 00 14 */ stfs f3, 0x14(r1)
/* 80252088 0024EFE8 EC 00 18 2A */ fadds f0, f0, f3
/* 8025208C 0024EFEC D0 41 00 24 */ stfs f2, 0x24(r1)
/* 80252090 0024EFF0 D0 01 00 20 */ stfs f0, 0x20(r1)
/* 80252094 0024EFF4 D0 21 00 28 */ stfs f1, 0x28(r1)
/* 80252098 0024EFF8 80 7F 04 78 */ lwz r3, 0x478(r31)
/* 8025209C 0024EFFC D0 A1 00 18 */ stfs f5, 0x18(r1)
/* 802520A0 0024F000 81 83 00 00 */ lwz r12, 0(r3)
/* 802520A4 0024F004 D0 81 00 1C */ stfs f4, 0x1c(r1)
/* 802520A8 0024F008 81 8C 00 20 */ lwz r12, 0x20(r12)
/* 802520AC 0024F00C 7D 89 03 A6 */ mtctr r12
/* 802520B0 0024F010 4E 80 04 21 */ bctrl
lbl_802520B4:
/* 802520B4 0024F014 80 7F 04 78 */ lwz r3, 0x478(r31)
/* 802520B8 0024F018 7F C4 F3 78 */ mr r4, r30
/* 802520BC 0024F01C 81 83 00 00 */ lwz r12, 0(r3)
/* 802520C0 0024F020 81 8C 00 2C */ lwz r12, 0x2c(r12)
/* 802520C4 0024F024 7D 89 03 A6 */ mtctr r12
/* 802520C8 0024F028 4E 80 04 21 */ bctrl
/* 802520CC 0024F02C 80 7F 04 78 */ lwz r3, 0x478(r31)
/* 802520D0 0024F030 FC 20 F8 90 */ fmr f1, f31
/* 802520D4 0024F034 81 83 00 00 */ lwz r12, 0(r3)
/* 802520D8 0024F038 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 802520DC 0024F03C 7D 89 03 A6 */ mtctr r12
/* 802520E0 0024F040 4E 80 04 21 */ bctrl
/* 802520E4 0024F044 83 BF 04 68 */ lwz r29, 0x468(r31)
/* 802520E8 0024F048 48 0F 7E C5 */ bl White__6CColorFv
/* 802520EC 0024F04C 7C 7E 1B 78 */ mr r30, r3
/* 802520F0 0024F050 48 0F 7E C5 */ bl Black__6CColorFv
/* 802520F4 0024F054 C0 3F 04 80 */ lfs f1, 0x480(r31)
/* 802520F8 0024F058 7C 64 1B 78 */ mr r4, r3
/* 802520FC 0024F05C 7F C5 F3 78 */ mr r5, r30
/* 80252100 0024F060 38 61 00 08 */ addi r3, r1, 8
/* 80252104 0024F064 48 11 11 A9 */ bl Lerp__6CColorFRC6CColorRC6CColorf
/* 80252108 0024F068 7F A3 EB 78 */ mr r3, r29
/* 8025210C 0024F06C 38 81 00 08 */ addi r4, r1, 8
/* 80252110 0024F070 81 9D 00 00 */ lwz r12, 0(r29)
/* 80252114 0024F074 81 8C 00 30 */ lwz r12, 0x30(r12)
/* 80252118 0024F078 7D 89 03 A6 */ mtctr r12
/* 8025211C 0024F07C 4E 80 04 21 */ bctrl
/* 80252120 0024F080 80 7F 04 68 */ lwz r3, 0x468(r31)
/* 80252124 0024F084 38 80 00 01 */ li r4, 1
/* 80252128 0024F088 81 83 00 00 */ lwz r12, 0(r3)
/* 8025212C 0024F08C 81 8C 00 2C */ lwz r12, 0x2c(r12)
/* 80252130 0024F090 7D 89 03 A6 */ mtctr r12
/* 80252134 0024F094 4E 80 04 21 */ bctrl
/* 80252138 0024F098 C0 3F 03 1C */ lfs f1, 0x31c(r31)
/* 8025213C 0024F09C 38 61 00 2C */ addi r3, r1, 0x2c
/* 80252140 0024F0A0 C0 1F 03 40 */ lfs f0, 0x340(r31)
/* 80252144 0024F0A4 C0 7F 03 20 */ lfs f3, 0x320(r31)
/* 80252148 0024F0A8 C0 5F 03 50 */ lfs f2, 0x350(r31)
/* 8025214C 0024F0AC EC 81 00 28 */ fsubs f4, f1, f0
/* 80252150 0024F0B0 C0 3F 03 18 */ lfs f1, 0x318(r31)
/* 80252154 0024F0B4 C0 1F 03 30 */ lfs f0, 0x330(r31)
/* 80252158 0024F0B8 EC 43 10 28 */ fsubs f2, f3, f2
/* 8025215C 0024F0BC EC 01 00 28 */ fsubs f0, f1, f0
/* 80252160 0024F0C0 D0 81 00 30 */ stfs f4, 0x30(r1)
/* 80252164 0024F0C4 D0 41 00 34 */ stfs f2, 0x34(r1)
/* 80252168 0024F0C8 D0 01 00 2C */ stfs f0, 0x2c(r1)
/* 8025216C 0024F0CC 48 0C 25 8D */ bl CanBeNormalized__9CVector3fCFv
/* 80252170 0024F0D0 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80252174 0024F0D4 41 82 00 0C */ beq lbl_80252180
/* 80252178 0024F0D8 38 61 00 2C */ addi r3, r1, 0x2c
/* 8025217C 0024F0DC 48 0C 27 7D */ bl Normalize__9CVector3fFv
lbl_80252180:
/* 80252180 0024F0E0 80 7F 04 68 */ lwz r3, 0x468(r31)
/* 80252184 0024F0E4 C0 5F 03 50 */ lfs f2, 0x350(r31)
/* 80252188 0024F0E8 88 03 01 84 */ lbz r0, 0x184(r3)
/* 8025218C 0024F0EC C0 3F 03 40 */ lfs f1, 0x340(r31)
/* 80252190 0024F0F0 28 00 00 00 */ cmplwi r0, 0
/* 80252194 0024F0F4 C0 1F 03 30 */ lfs f0, 0x330(r31)
/* 80252198 0024F0F8 40 82 00 24 */ bne lbl_802521BC
/* 8025219C 0024F0FC 34 83 01 78 */ addic. r4, r3, 0x178
/* 802521A0 0024F100 41 82 00 10 */ beq lbl_802521B0
/* 802521A4 0024F104 D0 04 00 00 */ stfs f0, 0(r4)
/* 802521A8 0024F108 D0 24 00 04 */ stfs f1, 4(r4)
/* 802521AC 0024F10C D0 44 00 08 */ stfs f2, 8(r4)
lbl_802521B0:
/* 802521B0 0024F110 38 00 00 01 */ li r0, 1
/* 802521B4 0024F114 98 03 01 84 */ stb r0, 0x184(r3)
/* 802521B8 0024F118 48 00 00 10 */ b lbl_802521C8
lbl_802521BC:
/* 802521BC 0024F11C D0 03 01 78 */ stfs f0, 0x178(r3)
/* 802521C0 0024F120 D0 23 01 7C */ stfs f1, 0x17c(r3)
/* 802521C4 0024F124 D0 43 01 80 */ stfs f2, 0x180(r3)
lbl_802521C8:
/* 802521C8 0024F128 80 7F 04 68 */ lwz r3, 0x468(r31)
/* 802521CC 0024F12C 88 03 01 94 */ lbz r0, 0x194(r3)
/* 802521D0 0024F130 28 00 00 00 */ cmplwi r0, 0
/* 802521D4 0024F134 40 82 00 30 */ bne lbl_80252204
/* 802521D8 0024F138 34 83 01 88 */ addic. r4, r3, 0x188
/* 802521DC 0024F13C 41 82 00 1C */ beq lbl_802521F8
/* 802521E0 0024F140 C0 01 00 2C */ lfs f0, 0x2c(r1)
/* 802521E4 0024F144 D0 04 00 00 */ stfs f0, 0(r4)
/* 802521E8 0024F148 C0 01 00 30 */ lfs f0, 0x30(r1)
/* 802521EC 0024F14C D0 04 00 04 */ stfs f0, 4(r4)
/* 802521F0 0024F150 C0 01 00 34 */ lfs f0, 0x34(r1)
/* 802521F4 0024F154 D0 04 00 08 */ stfs f0, 8(r4)
lbl_802521F8:
/* 802521F8 0024F158 38 00 00 01 */ li r0, 1
/* 802521FC 0024F15C 98 03 01 94 */ stb r0, 0x194(r3)
/* 80252200 0024F160 48 00 00 1C */ b lbl_8025221C
lbl_80252204:
/* 80252204 0024F164 C0 01 00 2C */ lfs f0, 0x2c(r1)
/* 80252208 0024F168 D0 03 01 88 */ stfs f0, 0x188(r3)
/* 8025220C 0024F16C C0 01 00 30 */ lfs f0, 0x30(r1)
/* 80252210 0024F170 D0 03 01 8C */ stfs f0, 0x18c(r3)
/* 80252214 0024F174 C0 01 00 34 */ lfs f0, 0x34(r1)
/* 80252218 0024F178 D0 03 01 90 */ stfs f0, 0x190(r3)
lbl_8025221C:
/* 8025221C 0024F17C 80 7F 04 68 */ lwz r3, 0x468(r31)
/* 80252220 0024F180 88 03 01 A4 */ lbz r0, 0x1a4(r3)
/* 80252224 0024F184 28 00 00 00 */ cmplwi r0, 0
/* 80252228 0024F188 40 82 00 30 */ bne lbl_80252258
/* 8025222C 0024F18C 34 83 01 98 */ addic. r4, r3, 0x198
/* 80252230 0024F190 41 82 00 1C */ beq lbl_8025224C
/* 80252234 0024F194 C0 1F 03 18 */ lfs f0, 0x318(r31)
/* 80252238 0024F198 D0 04 00 00 */ stfs f0, 0(r4)
/* 8025223C 0024F19C C0 1F 03 1C */ lfs f0, 0x31c(r31)
/* 80252240 0024F1A0 D0 04 00 04 */ stfs f0, 4(r4)
/* 80252244 0024F1A4 C0 1F 03 20 */ lfs f0, 0x320(r31)
/* 80252248 0024F1A8 D0 04 00 08 */ stfs f0, 8(r4)
lbl_8025224C:
/* 8025224C 0024F1AC 38 00 00 01 */ li r0, 1
/* 80252250 0024F1B0 98 03 01 A4 */ stb r0, 0x1a4(r3)
/* 80252254 0024F1B4 48 00 00 1C */ b lbl_80252270
lbl_80252258:
/* 80252258 0024F1B8 C0 1F 03 18 */ lfs f0, 0x318(r31)
/* 8025225C 0024F1BC D0 03 01 98 */ stfs f0, 0x198(r3)
/* 80252260 0024F1C0 C0 1F 03 1C */ lfs f0, 0x31c(r31)
/* 80252264 0024F1C4 D0 03 01 9C */ stfs f0, 0x19c(r3)
/* 80252268 0024F1C8 C0 1F 03 20 */ lfs f0, 0x320(r31)
/* 8025226C 0024F1CC D0 03 01 A0 */ stfs f0, 0x1a0(r3)
lbl_80252270:
/* 80252270 0024F1D0 80 7F 04 68 */ lwz r3, 0x468(r31)
/* 80252274 0024F1D4 C0 41 00 34 */ lfs f2, 0x34(r1)
/* 80252278 0024F1D8 C0 21 00 30 */ lfs f1, 0x30(r1)
/* 8025227C 0024F1DC C0 01 00 2C */ lfs f0, 0x2c(r1)
/* 80252280 0024F1E0 FC 40 10 50 */ fneg f2, f2
/* 80252284 0024F1E4 88 03 01 B4 */ lbz r0, 0x1b4(r3)
/* 80252288 0024F1E8 FC 20 08 50 */ fneg f1, f1
/* 8025228C 0024F1EC FC 00 00 50 */ fneg f0, f0
/* 80252290 0024F1F0 28 00 00 00 */ cmplwi r0, 0
/* 80252294 0024F1F4 40 82 00 24 */ bne lbl_802522B8
/* 80252298 0024F1F8 34 83 01 A8 */ addic. r4, r3, 0x1a8
/* 8025229C 0024F1FC 41 82 00 10 */ beq lbl_802522AC
/* 802522A0 0024F200 D0 04 00 00 */ stfs f0, 0(r4)
/* 802522A4 0024F204 D0 24 00 04 */ stfs f1, 4(r4)
/* 802522A8 0024F208 D0 44 00 08 */ stfs f2, 8(r4)
lbl_802522AC:
/* 802522AC 0024F20C 38 00 00 01 */ li r0, 1
/* 802522B0 0024F210 98 03 01 B4 */ stb r0, 0x1b4(r3)
/* 802522B4 0024F214 48 00 00 10 */ b lbl_802522C4
lbl_802522B8:
/* 802522B8 0024F218 D0 03 01 A8 */ stfs f0, 0x1a8(r3)
/* 802522BC 0024F21C D0 23 01 AC */ stfs f1, 0x1ac(r3)
/* 802522C0 0024F220 D0 43 01 B0 */ stfs f2, 0x1b0(r3)
lbl_802522C4:
/* 802522C4 0024F224 80 7F 04 68 */ lwz r3, 0x468(r31)
/* 802522C8 0024F228 FC 20 F8 90 */ fmr f1, f31
/* 802522CC 0024F22C 81 83 00 00 */ lwz r12, 0(r3)
/* 802522D0 0024F230 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 802522D4 0024F234 7D 89 03 A6 */ mtctr r12
/* 802522D8 0024F238 4E 80 04 21 */ bctrl
lbl_802522DC:
/* 802522DC 0024F23C E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0
/* 802522E0 0024F240 80 01 00 94 */ lwz r0, 0x94(r1)
/* 802522E4 0024F244 CB E1 00 80 */ lfd f31, 0x80(r1)
/* 802522E8 0024F248 83 E1 00 7C */ lwz r31, 0x7c(r1)
/* 802522EC 0024F24C 83 C1 00 78 */ lwz r30, 0x78(r1)
/* 802522F0 0024F250 83 A1 00 74 */ lwz r29, 0x74(r1)
/* 802522F4 0024F254 7C 08 03 A6 */ mtlr r0
/* 802522F8 0024F258 38 21 00 90 */ addi r1, r1, 0x90
/* 802522FC 0024F25C 4E 80 00 20 */ blr
.global nullsub_65
nullsub_65:
/* 80252300 0024F260 4E 80 00 20 */ blr
.global Accept__23CElectricBeamProjectileFR8IVisitor
Accept__23CElectricBeamProjectileFR8IVisitor:
/* 80252304 0024F264 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80252308 0024F268 7C 08 02 A6 */ mflr r0
/* 8025230C 0024F26C 90 01 00 14 */ stw r0, 0x14(r1)
/* 80252310 0024F270 7C 60 1B 78 */ mr r0, r3
/* 80252314 0024F274 7C 83 23 78 */ mr r3, r4
/* 80252318 0024F278 81 84 00 00 */ lwz r12, 0(r4)
/* 8025231C 0024F27C 7C 04 03 78 */ mr r4, r0
/* 80252320 0024F280 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 80252324 0024F284 7D 89 03 A6 */ mtctr r12
/* 80252328 0024F288 4E 80 04 21 */ bctrl
/* 8025232C 0024F28C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80252330 0024F290 7C 08 03 A6 */ mtlr r0
/* 80252334 0024F294 38 21 00 10 */ addi r1, r1, 0x10
/* 80252338 0024F298 4E 80 00 20 */ blr
.global __ct__23CElectricBeamProjectile
__ct__23CElectricBeamProjectile:
/* 8025233C 0024F29C 94 21 FF 60 */ stwu r1, -0xa0(r1)
/* 80252340 0024F2A0 7C 08 02 A6 */ mflr r0
/* 80252344 0024F2A4 3D 60 80 3D */ lis r11, lbl_803D4B78@ha
/* 80252348 0024F2A8 90 01 00 A4 */ stw r0, 0xa4(r1)
/* 8025234C 0024F2AC 38 0B 4B 78 */ addi r0, r11, lbl_803D4B78@l
/* 80252350 0024F2B0 BE A1 00 74 */ stmw r21, 0x74(r1)
/* 80252354 0024F2B4 7C 78 1B 78 */ mr r24, r3
/* 80252358 0024F2B8 7C 99 23 78 */ mr r25, r4
/* 8025235C 0024F2BC 83 E1 00 A8 */ lwz r31, 0xa8(r1)
/* 80252360 0024F2C0 82 E1 00 AC */ lwz r23, 0xac(r1)
/* 80252364 0024F2C4 7C BA 2B 78 */ mr r26, r5
/* 80252368 0024F2C8 82 C1 00 B0 */ lwz r22, 0xb0(r1)
/* 8025236C 0024F2CC 7C DB 33 78 */ mr r27, r6
/* 80252370 0024F2D0 7C FC 3B 78 */ mr r28, r7
/* 80252374 0024F2D4 7D 1D 43 78 */ mr r29, r8
/* 80252378 0024F2D8 7D 3E 4B 78 */ mr r30, r9
/* 8025237C 0024F2DC 7D 55 53 78 */ mr r21, r10
/* 80252380 0024F2E0 7C 04 03 78 */ mr r4, r0
/* 80252384 0024F2E4 38 61 00 4C */ addi r3, r1, 0x4c
/* 80252388 0024F2E8 4B DB 29 31 */ bl string_l__4rstlFPCc
/* 8025238C 0024F2EC A0 17 00 00 */ lhz r0, 0(r23)
/* 80252390 0024F2F0 39 81 00 24 */ addi r12, r1, 0x24
/* 80252394 0024F2F4 A2 F5 00 00 */ lhz r23, 0(r21)
/* 80252398 0024F2F8 39 61 00 28 */ addi r11, r1, 0x28
/* 8025239C 0024F2FC B0 01 00 20 */ sth r0, 0x20(r1)
/* 802523A0 0024F300 39 01 00 20 */ addi r8, r1, 0x20
/* 802523A4 0024F304 38 00 00 00 */ li r0, 0
/* 802523A8 0024F308 7F 03 C3 78 */ mr r3, r24
/* 802523AC 0024F30C 80 BF 00 00 */ lwz r5, 0(r31)
/* 802523B0 0024F310 7F 24 CB 78 */ mr r4, r25
/* 802523B4 0024F314 7F 46 D3 78 */ mr r6, r26
/* 802523B8 0024F318 7F 87 E3 78 */ mr r7, r28
/* 802523BC 0024F31C 90 A1 00 28 */ stw r5, 0x28(r1)
/* 802523C0 0024F320 7F A9 EB 78 */ mr r9, r29
/* 802523C4 0024F324 7F CA F3 78 */ mr r10, r30
/* 802523C8 0024F328 38 A1 00 4C */ addi r5, r1, 0x4c
/* 802523CC 0024F32C B2 E1 00 24 */ sth r23, 0x24(r1)
/* 802523D0 0024F330 91 81 00 08 */ stw r12, 8(r1)
/* 802523D4 0024F334 91 61 00 0C */ stw r11, 0xc(r1)
/* 802523D8 0024F338 91 01 00 10 */ stw r8, 0x10(r1)
/* 802523DC 0024F33C 92 C1 00 14 */ stw r22, 0x14(r1)
/* 802523E0 0024F340 90 01 00 18 */ stw r0, 0x18(r1)
/* 802523E4 0024F344 C0 1B 00 08 */ lfs f0, 8(r27)
/* 802523E8 0024F348 C0 3B 00 0C */ lfs f1, 0xc(r27)
/* 802523EC 0024F34C FC 00 00 1E */ fctiwz f0, f0
/* 802523F0 0024F350 C0 5B 00 10 */ lfs f2, 0x10(r27)
/* 802523F4 0024F354 D8 01 00 60 */ stfd f0, 0x60(r1)
/* 802523F8 0024F358 81 01 00 64 */ lwz r8, 0x64(r1)
/* 802523FC 0024F35C 4B F4 70 91 */ bl "__ct__15CBeamProjectileFRC28TToken<18CWeaponDescription>RCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>11EWeaponTypeRC12CTransform4fiff14EMaterialTypesRC11CDamageInfo9TUniqueId9TUniqueIdUib"
/* 80252400 0024F360 38 61 00 4C */ addi r3, r1, 0x4c
/* 80252404 0024F364 48 0E B6 DD */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 80252408 0024F368 3C 80 80 3F */ lis r4, lbl_803E9118@ha
/* 8025240C 0024F36C 3C 60 80 3D */ lis r3, lbl_803D4B78@ha
/* 80252410 0024F370 38 04 91 18 */ addi r0, r4, lbl_803E9118@l
/* 80252414 0024F374 3A A0 00 00 */ li r21, 0
/* 80252418 0024F378 38 63 4B 78 */ addi r3, r3, lbl_803D4B78@l
/* 8025241C 0024F37C 90 18 00 00 */ stw r0, 0(r24)
/* 80252420 0024F380 38 83 00 17 */ addi r4, r3, 0x17
/* 80252424 0024F384 38 60 04 58 */ li r3, 0x458
/* 80252428 0024F388 38 A0 00 00 */ li r5, 0
/* 8025242C 0024F38C 48 0C 34 41 */ bl __nw__FUlPCcPCc
/* 80252430 0024F390 7C 77 1B 79 */ or. r23, r3, r3
/* 80252434 0024F394 41 82 00 24 */ beq lbl_80252458
/* 80252438 0024F398 7F 64 DB 78 */ mr r4, r27
/* 8025243C 0024F39C 38 61 00 44 */ addi r3, r1, 0x44
/* 80252440 0024F3A0 48 0E EA 69 */ bl __ct__6CTokenFRC6CToken
/* 80252444 0024F3A4 7E E3 BB 78 */ mr r3, r23
/* 80252448 0024F3A8 38 81 00 44 */ addi r4, r1, 0x44
/* 8025244C 0024F3AC 3A A0 00 01 */ li r21, 1
/* 80252450 0024F3B0 48 10 FD 21 */ bl "__ct__17CParticleElectricF30TToken<20CElectricDescription>"
/* 80252454 0024F3B4 7C 77 1B 78 */ mr r23, r3
lbl_80252458:
/* 80252458 0024F3B8 7E A0 07 75 */ extsb. r0, r21
/* 8025245C 0024F3BC 92 F8 04 68 */ stw r23, 0x468(r24)
/* 80252460 0024F3C0 41 82 00 10 */ beq lbl_80252470
/* 80252464 0024F3C4 38 61 00 44 */ addi r3, r1, 0x44
/* 80252468 0024F3C8 38 80 00 00 */ li r4, 0
/* 8025246C 0024F3CC 48 0E E9 D5 */ bl __dt__6CTokenFv
lbl_80252470:
/* 80252470 0024F3D0 80 DB 00 14 */ lwz r6, 0x14(r27)
/* 80252474 0024F3D4 3C 60 50 41 */ lis r3, 0x50415254@ha
/* 80252478 0024F3D8 38 03 52 54 */ addi r0, r3, 0x50415254@l
/* 8025247C 0024F3DC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 80252480 0024F3E0 90 01 00 3C */ stw r0, 0x3c(r1)
/* 80252484 0024F3E4 38 61 00 34 */ addi r3, r1, 0x34
/* 80252488 0024F3E8 38 A1 00 3C */ addi r5, r1, 0x3c
/* 8025248C 0024F3EC 90 C1 00 40 */ stw r6, 0x40(r1)
/* 80252490 0024F3F0 81 84 00 00 */ lwz r12, 0(r4)
/* 80252494 0024F3F4 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 80252498 0024F3F8 7D 89 03 A6 */ mtctr r12
/* 8025249C 0024F3FC 4E 80 04 21 */ bctrl
/* 802524A0 0024F400 3A B8 04 6C */ addi r21, r24, 0x46c
/* 802524A4 0024F404 38 81 00 34 */ addi r4, r1, 0x34
/* 802524A8 0024F408 7E A3 AB 78 */ mr r3, r21
/* 802524AC 0024F40C 48 0E E9 FD */ bl __ct__6CTokenFRC6CToken
/* 802524B0 0024F410 7E A3 AB 78 */ mr r3, r21
/* 802524B4 0024F414 48 0E E9 59 */ bl GetObj__6CTokenFv
/* 802524B8 0024F418 80 03 00 04 */ lwz r0, 4(r3)
/* 802524BC 0024F41C 38 61 00 34 */ addi r3, r1, 0x34
/* 802524C0 0024F420 38 80 FF FF */ li r4, -1
/* 802524C4 0024F424 90 15 00 08 */ stw r0, 8(r21)
/* 802524C8 0024F428 48 0E E9 79 */ bl __dt__6CTokenFv
/* 802524CC 0024F42C 3C 60 80 3D */ lis r3, lbl_803D4B78@ha
/* 802524D0 0024F430 3A A0 00 00 */ li r21, 0
/* 802524D4 0024F434 38 83 4B 78 */ addi r4, r3, lbl_803D4B78@l
/* 802524D8 0024F438 38 60 03 40 */ li r3, 0x340
/* 802524DC 0024F43C 38 84 00 17 */ addi r4, r4, 0x17
/* 802524E0 0024F440 38 A0 00 00 */ li r5, 0
/* 802524E4 0024F444 48 0C 33 89 */ bl __nw__FUlPCcPCc
/* 802524E8 0024F448 7C 77 1B 79 */ or. r23, r3, r3
/* 802524EC 0024F44C 41 82 00 2C */ beq lbl_80252518
/* 802524F0 0024F450 38 61 00 2C */ addi r3, r1, 0x2c
/* 802524F4 0024F454 38 98 04 6C */ addi r4, r24, 0x46c
/* 802524F8 0024F458 48 0E E9 B1 */ bl __ct__6CTokenFRC6CToken
/* 802524FC 0024F45C 7E E3 BB 78 */ mr r3, r23
/* 80252500 0024F460 38 81 00 2C */ addi r4, r1, 0x2c
/* 80252504 0024F464 3A A0 00 01 */ li r21, 1
/* 80252508 0024F468 38 A0 00 00 */ li r5, 0
/* 8025250C 0024F46C 38 C0 00 01 */ li r6, 1
/* 80252510 0024F470 48 0C CE D1 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags"
/* 80252514 0024F474 7C 77 1B 78 */ mr r23, r3
lbl_80252518:
/* 80252518 0024F478 7E A0 07 75 */ extsb. r0, r21
/* 8025251C 0024F47C 92 F8 04 78 */ stw r23, 0x478(r24)
/* 80252520 0024F480 41 82 00 10 */ beq lbl_80252530
/* 80252524 0024F484 38 61 00 2C */ addi r3, r1, 0x2c
/* 80252528 0024F488 38 80 00 00 */ li r4, 0
/* 8025252C 0024F48C 48 0E E9 15 */ bl __dt__6CTokenFv
lbl_80252530:
/* 80252530 0024F490 C0 3B 00 18 */ lfs f1, 0x18(r27)
/* 80252534 0024F494 38 00 00 00 */ li r0, 0
/* 80252538 0024F498 C0 02 B8 F0 */ lfs f0, lbl_805AD610@sda21(r2)
/* 8025253C 0024F49C 38 80 00 00 */ li r4, 0
/* 80252540 0024F4A0 D0 38 04 7C */ stfs f1, 0x47c(r24)
/* 80252544 0024F4A4 D0 18 04 84 */ stfs f0, 0x484(r24)
/* 80252548 0024F4A8 C0 1B 00 1C */ lfs f0, 0x1c(r27)
/* 8025254C 0024F4AC D0 18 04 88 */ stfs f0, 0x488(r24)
/* 80252550 0024F4B0 98 18 04 8C */ stb r0, 0x48c(r24)
/* 80252554 0024F4B4 80 78 04 78 */ lwz r3, 0x478(r24)
/* 80252558 0024F4B8 81 83 00 00 */ lwz r12, 0(r3)
/* 8025255C 0024F4BC 81 8C 00 2C */ lwz r12, 0x2c(r12)
/* 80252560 0024F4C0 7D 89 03 A6 */ mtctr r12
/* 80252564 0024F4C4 4E 80 04 21 */ bctrl
/* 80252568 0024F4C8 80 78 04 68 */ lwz r3, 0x468(r24)
/* 8025256C 0024F4CC 38 80 00 00 */ li r4, 0
/* 80252570 0024F4D0 81 83 00 00 */ lwz r12, 0(r3)
/* 80252574 0024F4D4 81 8C 00 2C */ lwz r12, 0x2c(r12)
/* 80252578 0024F4D8 7D 89 03 A6 */ mtctr r12
/* 8025257C 0024F4DC 4E 80 04 21 */ bctrl
/* 80252580 0024F4E0 7F 03 C3 78 */ mr r3, r24
/* 80252584 0024F4E4 BA A1 00 74 */ lmw r21, 0x74(r1)
/* 80252588 0024F4E8 80 01 00 A4 */ lwz r0, 0xa4(r1)
/* 8025258C 0024F4EC 7C 08 03 A6 */ mtlr r0
/* 80252590 0024F4F0 38 21 00 A0 */ addi r1, r1, 0xa0
/* 80252594 0024F4F4 4E 80 00 20 */ blr

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,773 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global get_current_suit__12NWeaponTypesFRC13CStateManager
get_current_suit__12NWeaponTypesFRC13CStateManager:
/* 8028A9CC 0028792C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8028A9D0 00287930 7C 08 02 A6 */ mflr r0
/* 8028A9D4 00287934 90 01 00 14 */ stw r0, 0x14(r1)
/* 8028A9D8 00287938 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8028A9DC 0028793C 80 63 08 B8 */ lwz r3, 0x8b8(r3)
/* 8028A9E0 00287940 83 E3 00 00 */ lwz r31, 0(r3)
/* 8028A9E4 00287944 7F E3 FB 78 */ mr r3, r31
/* 8028A9E8 00287948 4B E0 6A F5 */ bl GetCurrentSuit__12CPlayerStateFv
/* 8028A9EC 0028794C 2C 03 00 00 */ cmpwi r3, 0
/* 8028A9F0 00287950 41 80 00 0C */ blt lbl_8028A9FC
/* 8028A9F4 00287954 2C 03 00 05 */ cmpwi r3, 5
/* 8028A9F8 00287958 40 81 00 08 */ ble lbl_8028AA00
lbl_8028A9FC:
/* 8028A9FC 0028795C 38 60 00 00 */ li r3, 0
lbl_8028AA00:
/* 8028AA00 00287960 2C 03 00 04 */ cmpwi r3, 4
/* 8028AA04 00287964 40 82 00 0C */ bne lbl_8028AA10
/* 8028AA08 00287968 80 1F 00 20 */ lwz r0, 0x20(r31)
/* 8028AA0C 0028796C 7C 63 02 14 */ add r3, r3, r0
lbl_8028AA10:
/* 8028AA10 00287970 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8028AA14 00287974 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8028AA18 00287978 7C 08 03 A6 */ mtlr r0
/* 8028AA1C 0028797C 38 21 00 10 */ addi r1, r1, 0x10
/* 8028AA20 00287980 4E 80 00 20 */ blr
.global GetShotDamageInfo__10CGunWeaponCFRC10SShotParamR13CStateManager
GetShotDamageInfo__10CGunWeaponCFRC10SShotParamR13CStateManager:
/* 8028AA24 00287984 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8028AA28 00287988 7C 08 02 A6 */ mflr r0
/* 8028AA2C 0028798C 90 01 00 34 */ stw r0, 0x34(r1)
/* 8028AA30 00287990 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 8028AA34 00287994 7C 7F 1B 78 */ mr r31, r3
/* 8028AA38 00287998 80 CD A0 80 */ lwz r6, gpGameState@sda21(r13)
/* 8028AA3C 0028799C 80 A4 00 00 */ lwz r5, 0(r4)
/* 8028AA40 002879A0 88 06 02 28 */ lbz r0, 0x228(r6)
/* 8028AA44 002879A4 88 64 00 04 */ lbz r3, 4(r4)
/* 8028AA48 002879A8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8028AA4C 002879AC C0 64 00 08 */ lfs f3, 8(r4)
/* 8028AA50 002879B0 C0 44 00 0C */ lfs f2, 0xc(r4)
/* 8028AA54 002879B4 C0 24 00 10 */ lfs f1, 0x10(r4)
/* 8028AA58 002879B8 C0 04 00 14 */ lfs f0, 0x14(r4)
/* 8028AA5C 002879BC 88 04 00 18 */ lbz r0, 0x18(r4)
/* 8028AA60 002879C0 90 A1 00 08 */ stw r5, 8(r1)
/* 8028AA64 002879C4 98 61 00 0C */ stb r3, 0xc(r1)
/* 8028AA68 002879C8 D0 61 00 10 */ stfs f3, 0x10(r1)
/* 8028AA6C 002879CC D0 41 00 14 */ stfs f2, 0x14(r1)
/* 8028AA70 002879D0 D0 21 00 18 */ stfs f1, 0x18(r1)
/* 8028AA74 002879D4 D0 01 00 1C */ stfs f0, 0x1c(r1)
/* 8028AA78 002879D8 98 01 00 20 */ stb r0, 0x20(r1)
/* 8028AA7C 002879DC 41 82 00 30 */ beq lbl_8028AAAC
/* 8028AA80 002879E0 7C C3 33 78 */ mr r3, r6
/* 8028AA84 002879E4 4B F4 8E 29 */ bl GetHardModeWeaponMultiplier__10CGameStateCFv
/* 8028AA88 002879E8 C0 61 00 10 */ lfs f3, 0x10(r1)
/* 8028AA8C 002879EC C0 41 00 14 */ lfs f2, 0x14(r1)
/* 8028AA90 002879F0 C0 01 00 1C */ lfs f0, 0x1c(r1)
/* 8028AA94 002879F4 EC 61 00 F2 */ fmuls f3, f1, f3
/* 8028AA98 002879F8 EC 41 00 B2 */ fmuls f2, f1, f2
/* 8028AA9C 002879FC EC 01 00 32 */ fmuls f0, f1, f0
/* 8028AAA0 00287A00 D0 61 00 10 */ stfs f3, 0x10(r1)
/* 8028AAA4 00287A04 D0 41 00 14 */ stfs f2, 0x14(r1)
/* 8028AAA8 00287A08 D0 01 00 1C */ stfs f0, 0x1c(r1)
lbl_8028AAAC:
/* 8028AAAC 00287A0C 80 61 00 08 */ lwz r3, 8(r1)
/* 8028AAB0 00287A10 88 01 00 0C */ lbz r0, 0xc(r1)
/* 8028AAB4 00287A14 90 7F 00 00 */ stw r3, 0(r31)
/* 8028AAB8 00287A18 C0 21 00 10 */ lfs f1, 0x10(r1)
/* 8028AABC 00287A1C 98 1F 00 04 */ stb r0, 4(r31)
/* 8028AAC0 00287A20 C0 01 00 14 */ lfs f0, 0x14(r1)
/* 8028AAC4 00287A24 D0 3F 00 08 */ stfs f1, 8(r31)
/* 8028AAC8 00287A28 C0 21 00 18 */ lfs f1, 0x18(r1)
/* 8028AACC 00287A2C D0 1F 00 0C */ stfs f0, 0xc(r31)
/* 8028AAD0 00287A30 C0 01 00 1C */ lfs f0, 0x1c(r1)
/* 8028AAD4 00287A34 D0 3F 00 10 */ stfs f1, 0x10(r31)
/* 8028AAD8 00287A38 88 01 00 20 */ lbz r0, 0x20(r1)
/* 8028AADC 00287A3C D0 1F 00 14 */ stfs f0, 0x14(r31)
/* 8028AAE0 00287A40 98 1F 00 18 */ stb r0, 0x18(r31)
/* 8028AAE4 00287A44 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 8028AAE8 00287A48 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8028AAEC 00287A4C 7C 08 03 A6 */ mtlr r0
/* 8028AAF0 00287A50 38 21 00 30 */ addi r1, r1, 0x30
/* 8028AAF4 00287A54 4E 80 00 20 */ blr
.global play_sfx__12NWeaponTypesFUsbbs
play_sfx__12NWeaponTypesFUsbbs:
/* 8028AAF8 00287A58 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8028AAFC 00287A5C 7C 08 02 A6 */ mflr r0
/* 8028AB00 00287A60 7C C9 33 78 */ mr r9, r6
/* 8028AB04 00287A64 7C E6 3B 78 */ mr r6, r7
/* 8028AB08 00287A68 90 01 00 24 */ stw r0, 0x24(r1)
/* 8028AB0C 00287A6C 38 E0 00 01 */ li r7, 1
/* 8028AB10 00287A70 A9 02 C5 F8 */ lha r8, lbl_805AE318@sda21(r2)
/* 8028AB14 00287A74 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8028AB18 00287A78 7C BF 2B 78 */ mr r31, r5
/* 8028AB1C 00287A7C 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2)
/* 8028AB20 00287A80 38 A0 00 7F */ li r5, 0x7f
/* 8028AB24 00287A84 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8028AB28 00287A88 7C 7E 1B 78 */ mr r30, r3
/* 8028AB2C 00287A8C 38 61 00 10 */ addi r3, r1, 0x10
/* 8028AB30 00287A90 48 05 F2 45 */ bl SfxStart__11CSfxManagerFUsssbsbi
/* 8028AB34 00287A94 80 01 00 10 */ lwz r0, 0x10(r1)
/* 8028AB38 00287A98 38 61 00 0C */ addi r3, r1, 0xc
/* 8028AB3C 00287A9C 38 80 00 00 */ li r4, 0
/* 8028AB40 00287AA0 90 01 00 14 */ stw r0, 0x14(r1)
/* 8028AB44 00287AA4 90 01 00 0C */ stw r0, 0xc(r1)
/* 8028AB48 00287AA8 48 05 F0 2D */ bl SfxSpan__11CSfxManagerF10CSfxHandleUc
/* 8028AB4C 00287AAC 57 E0 06 3F */ clrlwi. r0, r31, 0x18
/* 8028AB50 00287AB0 41 82 00 18 */ beq lbl_8028AB68
/* 8028AB54 00287AB4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8028AB58 00287AB8 38 61 00 08 */ addi r3, r1, 8
/* 8028AB5C 00287ABC 38 80 00 00 */ li r4, 0
/* 8028AB60 00287AC0 90 01 00 08 */ stw r0, 8(r1)
/* 8028AB64 00287AC4 48 05 E3 49 */ bl PitchBend__11CSfxManagerF10CSfxHandlei
lbl_8028AB68:
/* 8028AB68 00287AC8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8028AB6C 00287ACC 90 1E 00 00 */ stw r0, 0(r30)
/* 8028AB70 00287AD0 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8028AB74 00287AD4 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8028AB78 00287AD8 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8028AB7C 00287ADC 7C 08 03 A6 */ mtlr r0
/* 8028AB80 00287AE0 38 21 00 20 */ addi r1, r1, 0x20
/* 8028AB84 00287AE4 4E 80 00 20 */ blr
.global "do_sound_event__12NWeaponTypesFRQ24rstl21pair<Us,10CSfxHandle>RibUifUiffUcRC9CVector3fRC9CVector3f7TAreaId"
"do_sound_event__12NWeaponTypesFRQ24rstl21pair<Us,10CSfxHandle>RibUifUiffUcRC9CVector3fRC9CVector3f7TAreaId":
/* 8028AB88 00287AE8 94 21 FF 20 */ stwu r1, -0xe0(r1)
/* 8028AB8C 00287AEC 7C 08 02 A6 */ mflr r0
/* 8028AB90 00287AF0 90 01 00 E4 */ stw r0, 0xe4(r1)
/* 8028AB94 00287AF4 DB E1 00 D0 */ stfd f31, 0xd0(r1)
/* 8028AB98 00287AF8 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0
/* 8028AB9C 00287AFC DB C1 00 C0 */ stfd f30, 0xc0(r1)
/* 8028ABA0 00287B00 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0
/* 8028ABA4 00287B04 DB A1 00 B0 */ stfd f29, 0xb0(r1)
/* 8028ABA8 00287B08 F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0
/* 8028ABAC 00287B0C BE 21 00 74 */ stmw r17, 0x74(r1)
/* 8028ABB0 00287B10 C0 8A 00 00 */ lfs f4, 0(r10)
/* 8028ABB4 00287B14 FF C0 18 90 */ fmr f30, f3
/* 8028ABB8 00287B18 C0 0A 00 04 */ lfs f0, 4(r10)
/* 8028ABBC 00287B1C FF E0 08 90 */ fmr f31, f1
/* 8028ABC0 00287B20 EC 64 01 32 */ fmuls f3, f4, f4
/* 8028ABC4 00287B24 C0 8A 00 08 */ lfs f4, 8(r10)
/* 8028ABC8 00287B28 EC 20 00 32 */ fmuls f1, f0, f0
/* 8028ABCC 00287B2C EC 84 01 32 */ fmuls f4, f4, f4
/* 8028ABD0 00287B30 82 E1 00 E8 */ lwz r23, 0xe8(r1)
/* 8028ABD4 00287B34 EC 1E 07 B2 */ fmuls f0, f30, f30
/* 8028ABD8 00287B38 EC 23 08 2A */ fadds f1, f3, f1
/* 8028ABDC 00287B3C 83 01 00 EC */ lwz r24, 0xec(r1)
/* 8028ABE0 00287B40 FF A0 10 90 */ fmr f29, f2
/* 8028ABE4 00287B44 83 21 00 F0 */ lwz r25, 0xf0(r1)
/* 8028ABE8 00287B48 7C 71 1B 78 */ mr r17, r3
/* 8028ABEC 00287B4C EC 24 08 2A */ fadds f1, f4, f1
/* 8028ABF0 00287B50 7C 92 23 78 */ mr r18, r4
/* 8028ABF4 00287B54 7C B3 2B 78 */ mr r19, r5
/* 8028ABF8 00287B58 7C DA 33 78 */ mr r26, r6
/* 8028ABFC 00287B5C 7C F4 3B 78 */ mr r20, r7
/* 8028AC00 00287B60 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8028AC04 00287B64 7D 15 43 78 */ mr r21, r8
/* 8028AC08 00287B68 7D 36 4B 78 */ mr r22, r9
/* 8028AC0C 00287B6C 40 80 02 84 */ bge lbl_8028AE90
/* 8028AC10 00287B70 57 43 04 3E */ clrlwi r3, r26, 0x10
/* 8028AC14 00287B74 48 05 DD 9D */ bl TranslateSFXID__11CSfxManagerFUs
/* 8028AC18 00287B78 56 80 07 39 */ rlwinm. r0, r20, 0, 0x1c, 0x1c
/* 8028AC1C 00287B7C 7C 7D 1B 78 */ mr r29, r3
/* 8028AC20 00287B80 56 80 CF FE */ rlwinm r0, r20, 0x19, 0x1f, 0x1f
/* 8028AC24 00287B84 57 5C 0F FE */ srwi r28, r26, 0x1f
/* 8028AC28 00287B88 57 5B 17 FE */ rlwinm r27, r26, 2, 0x1f, 0x1f
/* 8028AC2C 00287B8C 38 A0 00 01 */ li r5, 1
/* 8028AC30 00287B90 68 1A 00 01 */ xori r26, r0, 1
/* 8028AC34 00287B94 41 82 00 08 */ beq lbl_8028AC3C
/* 8028AC38 00287B98 60 A5 00 08 */ ori r5, r5, 8
lbl_8028AC3C:
/* 8028AC3C 00287B9C C0 62 BE 68 */ lfs f3, lbl_805ADB88@sda21(r2)
/* 8028AC40 00287BA0 38 80 00 00 */ li r4, 0
/* 8028AC44 00287BA4 88 02 CC 41 */ lbz r0, lbl_805AE961@sda21(r2)
/* 8028AC48 00287BA8 3C 60 80 5A */ lis r3, lbl_805A66F4@ha
/* 8028AC4C 00287BAC D0 61 00 40 */ stfs f3, 0x40(r1)
/* 8028AC50 00287BB0 3B E1 00 4C */ addi r31, r1, 0x4c
/* 8028AC54 00287BB4 C4 43 66 F4 */ lfsu f2, lbl_805A66F4@l(r3)
/* 8028AC58 00287BB8 57 BE 04 3E */ clrlwi r30, r29, 0x10
/* 8028AC5C 00287BBC D0 61 00 44 */ stfs f3, 0x44(r1)
/* 8028AC60 00287BC0 C0 23 00 04 */ lfs f1, 4(r3)
/* 8028AC64 00287BC4 D0 61 00 48 */ stfs f3, 0x48(r1)
/* 8028AC68 00287BC8 C0 03 00 08 */ lfs f0, 8(r3)
/* 8028AC6C 00287BCC D0 61 00 4C */ stfs f3, 0x4c(r1)
/* 8028AC70 00287BD0 D0 61 00 50 */ stfs f3, 0x50(r1)
/* 8028AC74 00287BD4 D0 61 00 54 */ stfs f3, 0x54(r1)
/* 8028AC78 00287BD8 D3 C1 00 58 */ stfs f30, 0x58(r1)
/* 8028AC7C 00287BDC D3 A1 00 5C */ stfs f29, 0x5c(r1)
/* 8028AC80 00287BE0 90 A1 00 60 */ stw r5, 0x60(r1)
/* 8028AC84 00287BE4 B0 81 00 64 */ sth r4, 0x64(r1)
/* 8028AC88 00287BE8 9A C1 00 66 */ stb r22, 0x66(r1)
/* 8028AC8C 00287BEC 9A A1 00 67 */ stb r21, 0x67(r1)
/* 8028AC90 00287BF0 98 81 00 68 */ stb r4, 0x68(r1)
/* 8028AC94 00287BF4 98 01 00 69 */ stb r0, 0x69(r1)
/* 8028AC98 00287BF8 C0 77 00 00 */ lfs f3, 0(r23)
/* 8028AC9C 00287BFC D0 61 00 40 */ stfs f3, 0x40(r1)
/* 8028ACA0 00287C00 C0 77 00 04 */ lfs f3, 4(r23)
/* 8028ACA4 00287C04 D0 61 00 44 */ stfs f3, 0x44(r1)
/* 8028ACA8 00287C08 C0 77 00 08 */ lfs f3, 8(r23)
/* 8028ACAC 00287C0C D0 61 00 48 */ stfs f3, 0x48(r1)
/* 8028ACB0 00287C10 D0 41 00 4C */ stfs f2, 0x4c(r1)
/* 8028ACB4 00287C14 D0 21 00 50 */ stfs f1, 0x50(r1)
/* 8028ACB8 00287C18 D0 01 00 54 */ stfs f0, 0x54(r1)
/* 8028ACBC 00287C1C B3 A1 00 64 */ sth r29, 0x64(r1)
/* 8028ACC0 00287C20 80 79 09 00 */ lwz r3, 0x900(r25)
/* 8028ACC4 00287C24 48 08 78 19 */ bl Float__9CRandom16Fv
/* 8028ACC8 00287C28 FC 01 F8 40 */ fcmpo cr0, f1, f31
/* 8028ACCC 00287C2C 4C 40 13 82 */ cror 2, 0, 2
/* 8028ACD0 00287C30 40 82 01 C0 */ bne lbl_8028AE90
/* 8028ACD4 00287C34 28 1C 00 00 */ cmplwi r28, 0
/* 8028ACD8 00287C38 41 82 01 40 */ beq lbl_8028AE18
/* 8028ACDC 00287C3C 80 91 00 04 */ lwz r4, 4(r17)
/* 8028ACE0 00287C40 A0 11 00 00 */ lhz r0, 0(r17)
/* 8028ACE4 00287C44 28 04 00 00 */ cmplwi r4, 0
/* 8028ACE8 00287C48 90 81 00 3C */ stw r4, 0x3c(r1)
/* 8028ACEC 00287C4C 40 82 00 94 */ bne lbl_8028AD80
/* 8028ACF0 00287C50 28 1B 00 00 */ cmplwi r27, 0
/* 8028ACF4 00287C54 41 82 00 34 */ beq lbl_8028AD28
/* 8028ACF8 00287C58 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2)
/* 8028ACFC 00287C5C 7F A4 EB 78 */ mr r4, r29
/* 8028AD00 00287C60 7F 0A C3 78 */ mr r10, r24
/* 8028AD04 00287C64 38 61 00 2C */ addi r3, r1, 0x2c
/* 8028AD08 00287C68 38 A0 00 7F */ li r5, 0x7f
/* 8028AD0C 00287C6C 38 C0 00 40 */ li r6, 0x40
/* 8028AD10 00287C70 38 E0 00 01 */ li r7, 1
/* 8028AD14 00287C74 39 20 00 01 */ li r9, 1
/* 8028AD18 00287C78 48 05 F0 5D */ bl SfxStart__11CSfxManagerFUsssbsbi
/* 8028AD1C 00287C7C 80 01 00 2C */ lwz r0, 0x2c(r1)
/* 8028AD20 00287C80 90 01 00 38 */ stw r0, 0x38(r1)
/* 8028AD24 00287C84 48 00 00 28 */ b lbl_8028AD4C
lbl_8028AD28:
/* 8028AD28 00287C88 A8 C2 C5 FA */ lha r6, lbl_805AE31A@sda21(r2)
/* 8028AD2C 00287C8C 7F 08 C3 78 */ mr r8, r24
/* 8028AD30 00287C90 38 61 00 28 */ addi r3, r1, 0x28
/* 8028AD34 00287C94 38 81 00 40 */ addi r4, r1, 0x40
/* 8028AD38 00287C98 57 45 06 3E */ clrlwi r5, r26, 0x18
/* 8028AD3C 00287C9C 38 E0 00 01 */ li r7, 1
/* 8028AD40 00287CA0 48 05 F2 A1 */ bl AddEmitter__11CSfxManagerFRQ29CAudioSys18C3DEmitterParmDatabsbi
/* 8028AD44 00287CA4 80 01 00 28 */ lwz r0, 0x28(r1)
/* 8028AD48 00287CA8 90 01 00 38 */ stw r0, 0x38(r1)
lbl_8028AD4C:
/* 8028AD4C 00287CAC 80 61 00 38 */ lwz r3, 0x38(r1)
/* 8028AD50 00287CB0 28 03 00 00 */ cmplwi r3, 0
/* 8028AD54 00287CB4 41 82 01 3C */ beq lbl_8028AE90
/* 8028AD58 00287CB8 B3 D1 00 00 */ sth r30, 0(r17)
/* 8028AD5C 00287CBC 56 60 06 3F */ clrlwi. r0, r19, 0x18
/* 8028AD60 00287CC0 90 71 00 04 */ stw r3, 4(r17)
/* 8028AD64 00287CC4 41 82 01 2C */ beq lbl_8028AE90
/* 8028AD68 00287CC8 80 01 00 38 */ lwz r0, 0x38(r1)
/* 8028AD6C 00287CCC 38 61 00 24 */ addi r3, r1, 0x24
/* 8028AD70 00287CD0 90 01 00 24 */ stw r0, 0x24(r1)
/* 8028AD74 00287CD4 80 92 00 00 */ lwz r4, 0(r18)
/* 8028AD78 00287CD8 48 05 E1 35 */ bl PitchBend__11CSfxManagerF10CSfxHandlei
/* 8028AD7C 00287CDC 48 00 01 14 */ b lbl_8028AE90
lbl_8028AD80:
/* 8028AD80 00287CE0 54 03 04 3E */ clrlwi r3, r0, 0x10
/* 8028AD84 00287CE4 7F C0 F3 78 */ mr r0, r30
/* 8028AD88 00287CE8 7C 03 00 40 */ cmplw r3, r0
/* 8028AD8C 00287CEC 40 82 00 20 */ bne lbl_8028ADAC
/* 8028AD90 00287CF0 90 81 00 20 */ stw r4, 0x20(r1)
/* 8028AD94 00287CF4 7F E5 FB 78 */ mr r5, r31
/* 8028AD98 00287CF8 7E C6 B3 78 */ mr r6, r22
/* 8028AD9C 00287CFC 38 61 00 20 */ addi r3, r1, 0x20
/* 8028ADA0 00287D00 38 81 00 40 */ addi r4, r1, 0x40
/* 8028ADA4 00287D04 48 05 F1 0D */ bl UpdateEmitter__11CSfxManagerF10CSfxHandleRC9CVector3fRC9CVector3fUc
/* 8028ADA8 00287D08 48 00 00 E8 */ b lbl_8028AE90
lbl_8028ADAC:
/* 8028ADAC 00287D0C 56 80 07 7B */ rlwinm. r0, r20, 0, 0x1d, 0x1d
/* 8028ADB0 00287D10 41 82 00 E0 */ beq lbl_8028AE90
/* 8028ADB4 00287D14 90 81 00 1C */ stw r4, 0x1c(r1)
/* 8028ADB8 00287D18 38 61 00 1C */ addi r3, r1, 0x1c
/* 8028ADBC 00287D1C 48 05 F0 C9 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle
/* 8028ADC0 00287D20 A8 C2 C5 FA */ lha r6, lbl_805AE31A@sda21(r2)
/* 8028ADC4 00287D24 7F 08 C3 78 */ mr r8, r24
/* 8028ADC8 00287D28 38 61 00 18 */ addi r3, r1, 0x18
/* 8028ADCC 00287D2C 38 81 00 40 */ addi r4, r1, 0x40
/* 8028ADD0 00287D30 57 45 06 3E */ clrlwi r5, r26, 0x18
/* 8028ADD4 00287D34 38 E0 00 01 */ li r7, 1
/* 8028ADD8 00287D38 48 05 F2 09 */ bl AddEmitter__11CSfxManagerFRQ29CAudioSys18C3DEmitterParmDatabsbi
/* 8028ADDC 00287D3C 80 61 00 18 */ lwz r3, 0x18(r1)
/* 8028ADE0 00287D40 28 03 00 00 */ cmplwi r3, 0
/* 8028ADE4 00287D44 90 61 00 34 */ stw r3, 0x34(r1)
/* 8028ADE8 00287D48 41 82 00 A8 */ beq lbl_8028AE90
/* 8028ADEC 00287D4C B3 D1 00 00 */ sth r30, 0(r17)
/* 8028ADF0 00287D50 56 60 06 3F */ clrlwi. r0, r19, 0x18
/* 8028ADF4 00287D54 90 71 00 04 */ stw r3, 4(r17)
/* 8028ADF8 00287D58 41 82 00 98 */ beq lbl_8028AE90
/* 8028ADFC 00287D5C 28 03 00 00 */ cmplwi r3, 0
/* 8028AE00 00287D60 41 82 00 90 */ beq lbl_8028AE90
/* 8028AE04 00287D64 90 61 00 14 */ stw r3, 0x14(r1)
/* 8028AE08 00287D68 38 61 00 14 */ addi r3, r1, 0x14
/* 8028AE0C 00287D6C 80 92 00 00 */ lwz r4, 0(r18)
/* 8028AE10 00287D70 48 05 E0 9D */ bl PitchBend__11CSfxManagerF10CSfxHandlei
/* 8028AE14 00287D74 48 00 00 7C */ b lbl_8028AE90
lbl_8028AE18:
/* 8028AE18 00287D78 28 1B 00 00 */ cmplwi r27, 0
/* 8028AE1C 00287D7C 41 82 00 34 */ beq lbl_8028AE50
/* 8028AE20 00287D80 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2)
/* 8028AE24 00287D84 7F A4 EB 78 */ mr r4, r29
/* 8028AE28 00287D88 7F 0A C3 78 */ mr r10, r24
/* 8028AE2C 00287D8C 38 61 00 10 */ addi r3, r1, 0x10
/* 8028AE30 00287D90 57 47 06 3E */ clrlwi r7, r26, 0x18
/* 8028AE34 00287D94 38 A0 00 7F */ li r5, 0x7f
/* 8028AE38 00287D98 38 C0 00 40 */ li r6, 0x40
/* 8028AE3C 00287D9C 39 20 00 00 */ li r9, 0
/* 8028AE40 00287DA0 48 05 EF 35 */ bl SfxStart__11CSfxManagerFUsssbsbi
/* 8028AE44 00287DA4 80 01 00 10 */ lwz r0, 0x10(r1)
/* 8028AE48 00287DA8 90 01 00 30 */ stw r0, 0x30(r1)
/* 8028AE4C 00287DAC 48 00 00 28 */ b lbl_8028AE74
lbl_8028AE50:
/* 8028AE50 00287DB0 A8 C2 C5 FA */ lha r6, lbl_805AE31A@sda21(r2)
/* 8028AE54 00287DB4 7F 08 C3 78 */ mr r8, r24
/* 8028AE58 00287DB8 38 61 00 0C */ addi r3, r1, 0xc
/* 8028AE5C 00287DBC 38 81 00 40 */ addi r4, r1, 0x40
/* 8028AE60 00287DC0 57 45 06 3E */ clrlwi r5, r26, 0x18
/* 8028AE64 00287DC4 38 E0 00 00 */ li r7, 0
/* 8028AE68 00287DC8 48 05 F1 79 */ bl AddEmitter__11CSfxManagerFRQ29CAudioSys18C3DEmitterParmDatabsbi
/* 8028AE6C 00287DCC 80 01 00 0C */ lwz r0, 0xc(r1)
/* 8028AE70 00287DD0 90 01 00 30 */ stw r0, 0x30(r1)
lbl_8028AE74:
/* 8028AE74 00287DD4 56 60 06 3F */ clrlwi. r0, r19, 0x18
/* 8028AE78 00287DD8 41 82 00 18 */ beq lbl_8028AE90
/* 8028AE7C 00287DDC 80 01 00 30 */ lwz r0, 0x30(r1)
/* 8028AE80 00287DE0 38 61 00 08 */ addi r3, r1, 8
/* 8028AE84 00287DE4 90 01 00 08 */ stw r0, 8(r1)
/* 8028AE88 00287DE8 80 92 00 00 */ lwz r4, 0(r18)
/* 8028AE8C 00287DEC 48 05 E0 21 */ bl PitchBend__11CSfxManagerF10CSfxHandlei
lbl_8028AE90:
/* 8028AE90 00287DF0 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0
/* 8028AE94 00287DF4 CB E1 00 D0 */ lfd f31, 0xd0(r1)
/* 8028AE98 00287DF8 E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0
/* 8028AE9C 00287DFC CB C1 00 C0 */ lfd f30, 0xc0(r1)
/* 8028AEA0 00287E00 E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0
/* 8028AEA4 00287E04 CB A1 00 B0 */ lfd f29, 0xb0(r1)
/* 8028AEA8 00287E08 BA 21 00 74 */ lmw r17, 0x74(r1)
/* 8028AEAC 00287E0C 80 01 00 E4 */ lwz r0, 0xe4(r1)
/* 8028AEB0 00287E10 7C 08 03 A6 */ mtlr r0
/* 8028AEB4 00287E14 38 21 00 E0 */ addi r1, r1, 0xe0
/* 8028AEB8 00287E18 4E 80 00 20 */ blr
.global "primitive_set_to_token_vector__12NWeaponTypesFRC9CAnimDataRCQ24rstl72set<10CPrimitive,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>RQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>b"
"primitive_set_to_token_vector__12NWeaponTypesFRC9CAnimDataRCQ24rstl72set<10CPrimitive,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>RQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>b":
/* 8028AEBC 00287E1C 94 21 FF 80 */ stwu r1, -0x80(r1)
/* 8028AEC0 00287E20 7C 08 02 A6 */ mflr r0
/* 8028AEC4 00287E24 90 01 00 84 */ stw r0, 0x84(r1)
/* 8028AEC8 00287E28 BF 01 00 60 */ stmw r24, 0x60(r1)
/* 8028AECC 00287E2C 7C 9B 23 78 */ mr r27, r4
/* 8028AED0 00287E30 7C 7F 1B 78 */ mr r31, r3
/* 8028AED4 00287E34 7C B8 2B 78 */ mr r24, r5
/* 8028AED8 00287E38 7C D9 33 78 */ mr r25, r6
/* 8028AEDC 00287E3C 3B 9B 00 08 */ addi r28, r27, 8
/* 8028AEE0 00287E40 3B 40 00 00 */ li r26, 0
/* 8028AEE4 00287E44 83 A4 00 08 */ lwz r29, 8(r4)
/* 8028AEE8 00287E48 48 00 00 2C */ b lbl_8028AF14
lbl_8028AEEC:
/* 8028AEEC 00287E4C 80 9D 00 10 */ lwz r4, 0x10(r29)
/* 8028AEF0 00287E50 7F E3 FB 78 */ mr r3, r31
/* 8028AEF4 00287E54 4B D9 E5 99 */ bl GetEventResourceIdForAnimResourceId__9CAnimDataCFi
/* 8028AEF8 00287E58 2C 03 FF FF */ cmpwi r3, -1
/* 8028AEFC 00287E5C 41 82 00 08 */ beq lbl_8028AF04
/* 8028AF00 00287E60 3B 5A 00 01 */ addi r26, r26, 1
lbl_8028AF04:
/* 8028AF04 00287E64 7F 83 E3 78 */ mr r3, r28
/* 8028AF08 00287E68 7F A4 EB 78 */ mr r4, r29
/* 8028AF0C 00287E6C 48 0B 16 D5 */ bl rbtree_traverse_forward__4rstlFPCvPv
/* 8028AF10 00287E70 7C 7D 1B 78 */ mr r29, r3
lbl_8028AF14:
/* 8028AF14 00287E74 28 1D 00 00 */ cmplwi r29, 0
/* 8028AF18 00287E78 38 00 00 00 */ li r0, 0
/* 8028AF1C 00287E7C 40 82 00 0C */ bne lbl_8028AF28
/* 8028AF20 00287E80 7C 1C E0 40 */ cmplw r28, r28
/* 8028AF24 00287E84 41 82 00 08 */ beq lbl_8028AF2C
lbl_8028AF28:
/* 8028AF28 00287E88 38 00 00 01 */ li r0, 1
lbl_8028AF2C:
/* 8028AF2C 00287E8C 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 8028AF30 00287E90 40 82 FF BC */ bne lbl_8028AEEC
/* 8028AF34 00287E94 38 00 00 00 */ li r0, 0
/* 8028AF38 00287E98 7F 03 C3 78 */ mr r3, r24
/* 8028AF3C 00287E9C 90 01 00 4C */ stw r0, 0x4c(r1)
/* 8028AF40 00287EA0 38 81 00 48 */ addi r4, r1, 0x48
/* 8028AF44 00287EA4 90 01 00 50 */ stw r0, 0x50(r1)
/* 8028AF48 00287EA8 90 01 00 54 */ stw r0, 0x54(r1)
/* 8028AF4C 00287EAC 4B D7 B8 B9 */ bl sub_80006804
/* 8028AF50 00287EB0 80 01 00 4C */ lwz r0, 0x4c(r1)
/* 8028AF54 00287EB4 83 A1 00 54 */ lwz r29, 0x54(r1)
/* 8028AF58 00287EB8 54 00 18 38 */ slwi r0, r0, 3
/* 8028AF5C 00287EBC 7F 9D 02 14 */ add r28, r29, r0
/* 8028AF60 00287EC0 93 A1 00 0C */ stw r29, 0xc(r1)
/* 8028AF64 00287EC4 93 81 00 14 */ stw r28, 0x14(r1)
/* 8028AF68 00287EC8 93 81 00 10 */ stw r28, 0x10(r1)
/* 8028AF6C 00287ECC 93 A1 00 08 */ stw r29, 8(r1)
/* 8028AF70 00287ED0 48 00 00 14 */ b lbl_8028AF84
lbl_8028AF74:
/* 8028AF74 00287ED4 7F A3 EB 78 */ mr r3, r29
/* 8028AF78 00287ED8 38 80 FF FF */ li r4, -1
/* 8028AF7C 00287EDC 48 0B 5E C5 */ bl __dt__6CTokenFv
/* 8028AF80 00287EE0 3B BD 00 08 */ addi r29, r29, 8
lbl_8028AF84:
/* 8028AF84 00287EE4 7C 1D E0 40 */ cmplw r29, r28
/* 8028AF88 00287EE8 40 82 FF EC */ bne lbl_8028AF74
/* 8028AF8C 00287EEC 80 61 00 54 */ lwz r3, 0x54(r1)
/* 8028AF90 00287EF0 28 03 00 00 */ cmplwi r3, 0
/* 8028AF94 00287EF4 41 82 00 08 */ beq lbl_8028AF9C
/* 8028AF98 00287EF8 48 08 A9 99 */ bl Free__7CMemoryFPCv
lbl_8028AF9C:
/* 8028AF9C 00287EFC 80 1B 00 04 */ lwz r0, 4(r27)
/* 8028AFA0 00287F00 7F 03 C3 78 */ mr r3, r24
/* 8028AFA4 00287F04 7C 9A 02 14 */ add r4, r26, r0
/* 8028AFA8 00287F08 4B D7 D9 B5 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi"
/* 8028AFAC 00287F0C 3C 60 41 4E */ lis r3, 0x414E494D@ha
/* 8028AFB0 00287F10 87 5B 00 08 */ lwzu r26, 8(r27)
/* 8028AFB4 00287F14 57 3E 06 3E */ clrlwi r30, r25, 0x18
/* 8028AFB8 00287F18 3B A3 49 4D */ addi r29, r3, 0x414E494D@l
/* 8028AFBC 00287F1C 48 00 01 84 */ b lbl_8028B140
lbl_8028AFC0:
/* 8028AFC0 00287F20 83 9A 00 10 */ lwz r28, 0x10(r26)
/* 8028AFC4 00287F24 7F E3 FB 78 */ mr r3, r31
/* 8028AFC8 00287F28 7F 84 E3 78 */ mr r4, r28
/* 8028AFCC 00287F2C 4B D9 E4 C1 */ bl GetEventResourceIdForAnimResourceId__9CAnimDataCFi
/* 8028AFD0 00287F30 2C 03 FF FF */ cmpwi r3, -1
/* 8028AFD4 00287F34 41 82 00 B4 */ beq lbl_8028B088
/* 8028AFD8 00287F38 3C 80 45 56 */ lis r4, 0x45564E54@ha
/* 8028AFDC 00287F3C 90 61 00 34 */ stw r3, 0x34(r1)
/* 8028AFE0 00287F40 38 04 4E 54 */ addi r0, r4, 0x45564E54@l
/* 8028AFE4 00287F44 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 8028AFE8 00287F48 90 01 00 30 */ stw r0, 0x30(r1)
/* 8028AFEC 00287F4C 38 61 00 28 */ addi r3, r1, 0x28
/* 8028AFF0 00287F50 38 A1 00 30 */ addi r5, r1, 0x30
/* 8028AFF4 00287F54 81 84 00 00 */ lwz r12, 0(r4)
/* 8028AFF8 00287F58 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8028AFFC 00287F5C 7D 89 03 A6 */ mtctr r12
/* 8028B000 00287F60 4E 80 04 21 */ bctrl
/* 8028B004 00287F64 38 61 00 40 */ addi r3, r1, 0x40
/* 8028B008 00287F68 38 81 00 28 */ addi r4, r1, 0x28
/* 8028B00C 00287F6C 48 0B 5E 9D */ bl __ct__6CTokenFRC6CToken
/* 8028B010 00287F70 38 61 00 28 */ addi r3, r1, 0x28
/* 8028B014 00287F74 38 80 FF FF */ li r4, -1
/* 8028B018 00287F78 48 0B 5E 29 */ bl __dt__6CTokenFv
/* 8028B01C 00287F7C 57 20 06 3F */ clrlwi. r0, r25, 0x18
/* 8028B020 00287F80 41 82 00 0C */ beq lbl_8028B02C
/* 8028B024 00287F84 38 61 00 40 */ addi r3, r1, 0x40
/* 8028B028 00287F88 48 0B 5D 5D */ bl Lock__6CTokenFv
lbl_8028B02C:
/* 8028B02C 00287F8C 80 18 00 04 */ lwz r0, 4(r24)
/* 8028B030 00287F90 80 B8 00 08 */ lwz r5, 8(r24)
/* 8028B034 00287F94 7C 00 28 00 */ cmpw r0, r5
/* 8028B038 00287F98 41 80 00 1C */ blt lbl_8028B054
/* 8028B03C 00287F9C 2C 05 00 00 */ cmpwi r5, 0
/* 8028B040 00287FA0 7F 03 C3 78 */ mr r3, r24
/* 8028B044 00287FA4 38 80 00 04 */ li r4, 4
/* 8028B048 00287FA8 41 82 00 08 */ beq lbl_8028B050
/* 8028B04C 00287FAC 54 A4 08 3C */ slwi r4, r5, 1
lbl_8028B050:
/* 8028B050 00287FB0 4B D7 D9 0D */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi"
lbl_8028B054:
/* 8028B054 00287FB4 80 18 00 04 */ lwz r0, 4(r24)
/* 8028B058 00287FB8 80 78 00 0C */ lwz r3, 0xc(r24)
/* 8028B05C 00287FBC 54 00 18 38 */ slwi r0, r0, 3
/* 8028B060 00287FC0 7C 63 02 15 */ add. r3, r3, r0
/* 8028B064 00287FC4 41 82 00 0C */ beq lbl_8028B070
/* 8028B068 00287FC8 38 81 00 40 */ addi r4, r1, 0x40
/* 8028B06C 00287FCC 48 0B 5E 3D */ bl __ct__6CTokenFRC6CToken
lbl_8028B070:
/* 8028B070 00287FD0 80 B8 00 04 */ lwz r5, 4(r24)
/* 8028B074 00287FD4 38 61 00 40 */ addi r3, r1, 0x40
/* 8028B078 00287FD8 38 80 FF FF */ li r4, -1
/* 8028B07C 00287FDC 38 05 00 01 */ addi r0, r5, 1
/* 8028B080 00287FE0 90 18 00 04 */ stw r0, 4(r24)
/* 8028B084 00287FE4 48 0B 5D BD */ bl __dt__6CTokenFv
lbl_8028B088:
/* 8028B088 00287FE8 93 A1 00 20 */ stw r29, 0x20(r1)
/* 8028B08C 00287FEC 38 61 00 18 */ addi r3, r1, 0x18
/* 8028B090 00287FF0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 8028B094 00287FF4 38 A1 00 20 */ addi r5, r1, 0x20
/* 8028B098 00287FF8 93 81 00 24 */ stw r28, 0x24(r1)
/* 8028B09C 00287FFC 81 84 00 00 */ lwz r12, 0(r4)
/* 8028B0A0 00288000 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8028B0A4 00288004 7D 89 03 A6 */ mtctr r12
/* 8028B0A8 00288008 4E 80 04 21 */ bctrl
/* 8028B0AC 0028800C 38 61 00 38 */ addi r3, r1, 0x38
/* 8028B0B0 00288010 38 81 00 18 */ addi r4, r1, 0x18
/* 8028B0B4 00288014 48 0B 5D F5 */ bl __ct__6CTokenFRC6CToken
/* 8028B0B8 00288018 38 61 00 18 */ addi r3, r1, 0x18
/* 8028B0BC 0028801C 38 80 FF FF */ li r4, -1
/* 8028B0C0 00288020 48 0B 5D 81 */ bl __dt__6CTokenFv
/* 8028B0C4 00288024 28 1E 00 00 */ cmplwi r30, 0
/* 8028B0C8 00288028 41 82 00 0C */ beq lbl_8028B0D4
/* 8028B0CC 0028802C 38 61 00 38 */ addi r3, r1, 0x38
/* 8028B0D0 00288030 48 0B 5C B5 */ bl Lock__6CTokenFv
lbl_8028B0D4:
/* 8028B0D4 00288034 80 18 00 04 */ lwz r0, 4(r24)
/* 8028B0D8 00288038 80 B8 00 08 */ lwz r5, 8(r24)
/* 8028B0DC 0028803C 7C 00 28 00 */ cmpw r0, r5
/* 8028B0E0 00288040 41 80 00 1C */ blt lbl_8028B0FC
/* 8028B0E4 00288044 2C 05 00 00 */ cmpwi r5, 0
/* 8028B0E8 00288048 7F 03 C3 78 */ mr r3, r24
/* 8028B0EC 0028804C 38 80 00 04 */ li r4, 4
/* 8028B0F0 00288050 41 82 00 08 */ beq lbl_8028B0F8
/* 8028B0F4 00288054 54 A4 08 3C */ slwi r4, r5, 1
lbl_8028B0F8:
/* 8028B0F8 00288058 4B D7 D8 65 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi"
lbl_8028B0FC:
/* 8028B0FC 0028805C 80 18 00 04 */ lwz r0, 4(r24)
/* 8028B100 00288060 80 78 00 0C */ lwz r3, 0xc(r24)
/* 8028B104 00288064 54 00 18 38 */ slwi r0, r0, 3
/* 8028B108 00288068 7C 63 02 15 */ add. r3, r3, r0
/* 8028B10C 0028806C 41 82 00 0C */ beq lbl_8028B118
/* 8028B110 00288070 38 81 00 38 */ addi r4, r1, 0x38
/* 8028B114 00288074 48 0B 5D 95 */ bl __ct__6CTokenFRC6CToken
lbl_8028B118:
/* 8028B118 00288078 80 B8 00 04 */ lwz r5, 4(r24)
/* 8028B11C 0028807C 38 61 00 38 */ addi r3, r1, 0x38
/* 8028B120 00288080 38 80 FF FF */ li r4, -1
/* 8028B124 00288084 38 05 00 01 */ addi r0, r5, 1
/* 8028B128 00288088 90 18 00 04 */ stw r0, 4(r24)
/* 8028B12C 0028808C 48 0B 5D 15 */ bl __dt__6CTokenFv
/* 8028B130 00288090 7F 63 DB 78 */ mr r3, r27
/* 8028B134 00288094 7F 44 D3 78 */ mr r4, r26
/* 8028B138 00288098 48 0B 14 A9 */ bl rbtree_traverse_forward__4rstlFPCvPv
/* 8028B13C 0028809C 7C 7A 1B 78 */ mr r26, r3
lbl_8028B140:
/* 8028B140 002880A0 28 1A 00 00 */ cmplwi r26, 0
/* 8028B144 002880A4 38 00 00 00 */ li r0, 0
/* 8028B148 002880A8 40 82 00 0C */ bne lbl_8028B154
/* 8028B14C 002880AC 7C 1B D8 40 */ cmplw r27, r27
/* 8028B150 002880B0 41 82 00 08 */ beq lbl_8028B158
lbl_8028B154:
/* 8028B154 002880B4 38 00 00 01 */ li r0, 1
lbl_8028B158:
/* 8028B158 002880B8 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 8028B15C 002880BC 40 82 FE 64 */ bne lbl_8028AFC0
/* 8028B160 002880C0 BB 01 00 60 */ lmw r24, 0x60(r1)
/* 8028B164 002880C4 80 01 00 84 */ lwz r0, 0x84(r1)
/* 8028B168 002880C8 7C 08 03 A6 */ mtlr r0
/* 8028B16C 002880CC 38 21 00 80 */ addi r1, r1, 0x80
/* 8028B170 002880D0 4E 80 00 20 */ blr
.global "unlock_tokens__12NWeaponTypesFRQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>"
"unlock_tokens__12NWeaponTypesFRQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>":
/* 8028B174 002880D4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8028B178 002880D8 7C 08 02 A6 */ mflr r0
/* 8028B17C 002880DC 90 01 00 14 */ stw r0, 0x14(r1)
/* 8028B180 002880E0 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8028B184 002880E4 93 C1 00 08 */ stw r30, 8(r1)
/* 8028B188 002880E8 7C 7E 1B 78 */ mr r30, r3
/* 8028B18C 002880EC 83 E3 00 0C */ lwz r31, 0xc(r3)
/* 8028B190 002880F0 48 00 00 10 */ b lbl_8028B1A0
lbl_8028B194:
/* 8028B194 002880F4 7F E3 FB 78 */ mr r3, r31
/* 8028B198 002880F8 48 0B 5B A9 */ bl Unlock__6CTokenFv
/* 8028B19C 002880FC 3B FF 00 08 */ addi r31, r31, 8
lbl_8028B1A0:
/* 8028B1A0 00288100 80 1E 00 04 */ lwz r0, 4(r30)
/* 8028B1A4 00288104 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 8028B1A8 00288108 54 00 18 38 */ slwi r0, r0, 3
/* 8028B1AC 0028810C 7C 03 02 14 */ add r0, r3, r0
/* 8028B1B0 00288110 7C 1F 00 40 */ cmplw r31, r0
/* 8028B1B4 00288114 40 82 FF E0 */ bne lbl_8028B194
/* 8028B1B8 00288118 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8028B1BC 0028811C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8028B1C0 00288120 83 C1 00 08 */ lwz r30, 8(r1)
/* 8028B1C4 00288124 7C 08 03 A6 */ mtlr r0
/* 8028B1C8 00288128 38 21 00 10 */ addi r1, r1, 0x10
/* 8028B1CC 0028812C 4E 80 00 20 */ blr
.global "lock_tokens__12NWeaponTypesFRQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>"
"lock_tokens__12NWeaponTypesFRQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>":
/* 8028B1D0 00288130 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8028B1D4 00288134 7C 08 02 A6 */ mflr r0
/* 8028B1D8 00288138 90 01 00 14 */ stw r0, 0x14(r1)
/* 8028B1DC 0028813C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8028B1E0 00288140 93 C1 00 08 */ stw r30, 8(r1)
/* 8028B1E4 00288144 7C 7E 1B 78 */ mr r30, r3
/* 8028B1E8 00288148 83 E3 00 0C */ lwz r31, 0xc(r3)
/* 8028B1EC 0028814C 48 00 00 10 */ b lbl_8028B1FC
lbl_8028B1F0:
/* 8028B1F0 00288150 7F E3 FB 78 */ mr r3, r31
/* 8028B1F4 00288154 48 0B 5B 91 */ bl Lock__6CTokenFv
/* 8028B1F8 00288158 3B FF 00 08 */ addi r31, r31, 8
lbl_8028B1FC:
/* 8028B1FC 0028815C 80 1E 00 04 */ lwz r0, 4(r30)
/* 8028B200 00288160 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 8028B204 00288164 54 00 18 38 */ slwi r0, r0, 3
/* 8028B208 00288168 7C 03 02 14 */ add r0, r3, r0
/* 8028B20C 0028816C 7C 1F 00 40 */ cmplw r31, r0
/* 8028B210 00288170 40 82 FF E0 */ bne lbl_8028B1F0
/* 8028B214 00288174 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8028B218 00288178 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8028B21C 0028817C 83 C1 00 08 */ lwz r30, 8(r1)
/* 8028B220 00288180 7C 08 03 A6 */ mtlr r0
/* 8028B224 00288184 38 21 00 10 */ addi r1, r1, 0x10
/* 8028B228 00288188 4E 80 00 20 */ blr
.global "are_tokens_ready__12NWeaponTypesFRCQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>"
"are_tokens_ready__12NWeaponTypesFRCQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>":
/* 8028B22C 0028818C 80 03 00 04 */ lwz r0, 4(r3)
/* 8028B230 00288190 80 A3 00 0C */ lwz r5, 0xc(r3)
/* 8028B234 00288194 54 00 18 38 */ slwi r0, r0, 3
/* 8028B238 00288198 7C 85 02 14 */ add r4, r5, r0
/* 8028B23C 0028819C 48 00 00 20 */ b lbl_8028B25C
lbl_8028B240:
/* 8028B240 002881A0 80 65 00 00 */ lwz r3, 0(r5)
/* 8028B244 002881A4 80 03 00 10 */ lwz r0, 0x10(r3)
/* 8028B248 002881A8 28 00 00 00 */ cmplwi r0, 0
/* 8028B24C 002881AC 40 82 00 0C */ bne lbl_8028B258
/* 8028B250 002881B0 38 60 00 00 */ li r3, 0
/* 8028B254 002881B4 4E 80 00 20 */ blr
lbl_8028B258:
/* 8028B258 002881B8 38 A5 00 08 */ addi r5, r5, 8
lbl_8028B25C:
/* 8028B25C 002881BC 7C 05 20 40 */ cmplw r5, r4
/* 8028B260 002881C0 40 82 FF E0 */ bne lbl_8028B240
/* 8028B264 002881C4 38 60 00 01 */ li r3, 1
/* 8028B268 002881C8 4E 80 00 20 */ blr
.global "get_token_vector__12NWeaponTypesFR9CAnimDataiiRQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>b"
"get_token_vector__12NWeaponTypesFR9CAnimDataiiRQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>b":
/* 8028B26C 002881CC 94 21 FF 80 */ stwu r1, -0x80(r1)
/* 8028B270 002881D0 7C 08 02 A6 */ mflr r0
/* 8028B274 002881D4 90 01 00 84 */ stw r0, 0x84(r1)
/* 8028B278 002881D8 DB E1 00 70 */ stfd f31, 0x70(r1)
/* 8028B27C 002881DC F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0
/* 8028B280 002881E0 BF 01 00 50 */ stmw r24, 0x50(r1)
/* 8028B284 002881E4 89 01 00 08 */ lbz r8, 8(r1)
/* 8028B288 002881E8 3B A0 00 00 */ li r29, 0
/* 8028B28C 002881EC 88 01 00 0C */ lbz r0, 0xc(r1)
/* 8028B290 002881F0 7C 78 1B 78 */ mr r24, r3
/* 8028B294 002881F4 99 01 00 10 */ stb r8, 0x10(r1)
/* 8028B298 002881F8 7C B9 2B 78 */ mr r25, r5
/* 8028B29C 002881FC C3 E2 BE 6C */ lfs f31, lbl_805ADB8C@sda21(r2)
/* 8028B2A0 00288200 7C DA 33 78 */ mr r26, r6
/* 8028B2A4 00288204 98 01 00 11 */ stb r0, 0x11(r1)
/* 8028B2A8 00288208 7C FB 3B 78 */ mr r27, r7
/* 8028B2AC 0028820C 7C 9C 23 78 */ mr r28, r4
/* 8028B2B0 00288210 3B E0 00 01 */ li r31, 1
/* 8028B2B4 00288214 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8028B2B8 00288218 3B C0 FF FF */ li r30, -1
/* 8028B2BC 0028821C 93 A1 00 18 */ stw r29, 0x18(r1)
/* 8028B2C0 00288220 93 A1 00 1C */ stw r29, 0x1c(r1)
/* 8028B2C4 00288224 93 A1 00 20 */ stw r29, 0x20(r1)
/* 8028B2C8 00288228 48 00 00 40 */ b lbl_8028B308
lbl_8028B2CC:
/* 8028B2CC 0028822C 93 81 00 24 */ stw r28, 0x24(r1)
/* 8028B2D0 00288230 7F 03 C3 78 */ mr r3, r24
/* 8028B2D4 00288234 38 81 00 24 */ addi r4, r1, 0x24
/* 8028B2D8 00288238 38 A1 00 10 */ addi r5, r1, 0x10
/* 8028B2DC 0028823C 93 C1 00 28 */ stw r30, 0x28(r1)
/* 8028B2E0 00288240 D3 E1 00 2C */ stfs f31, 0x2c(r1)
/* 8028B2E4 00288244 9B E1 00 30 */ stb r31, 0x30(r1)
/* 8028B2E8 00288248 93 A1 00 34 */ stw r29, 0x34(r1)
/* 8028B2EC 0028824C 93 A1 00 38 */ stw r29, 0x38(r1)
/* 8028B2F0 00288250 9B A1 00 3C */ stb r29, 0x3c(r1)
/* 8028B2F4 00288254 93 A1 00 40 */ stw r29, 0x40(r1)
/* 8028B2F8 00288258 93 A1 00 44 */ stw r29, 0x44(r1)
/* 8028B2FC 0028825C 93 A1 00 48 */ stw r29, 0x48(r1)
/* 8028B300 00288260 4B DA 19 79 */ bl "GetAnimationPrimitives__9CAnimDataCFRC18CAnimPlaybackParmsRQ24rstl72set<10CPrimitive,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>"
/* 8028B304 00288264 3B 9C 00 01 */ addi r28, r28, 1
lbl_8028B308:
/* 8028B308 00288268 7C 1C C8 00 */ cmpw r28, r25
/* 8028B30C 0028826C 41 80 FF C0 */ blt lbl_8028B2CC
/* 8028B310 00288270 7F 03 C3 78 */ mr r3, r24
/* 8028B314 00288274 7F 45 D3 78 */ mr r5, r26
/* 8028B318 00288278 38 81 00 10 */ addi r4, r1, 0x10
/* 8028B31C 0028827C 57 66 06 3E */ clrlwi r6, r27, 0x18
/* 8028B320 00288280 4B FF FB 9D */ bl "primitive_set_to_token_vector__12NWeaponTypesFRC9CAnimDataRCQ24rstl72set<10CPrimitive,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>RQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>b"
/* 8028B324 00288284 80 81 00 20 */ lwz r4, 0x20(r1)
/* 8028B328 00288288 28 04 00 00 */ cmplwi r4, 0
/* 8028B32C 0028828C 41 82 00 0C */ beq lbl_8028B338
/* 8028B330 00288290 38 61 00 10 */ addi r3, r1, 0x10
/* 8028B334 00288294 4B DA 5F 75 */ bl sub_800312a8
lbl_8028B338:
/* 8028B338 00288298 38 00 00 00 */ li r0, 0
/* 8028B33C 0028829C 90 01 00 20 */ stw r0, 0x20(r1)
/* 8028B340 002882A0 90 01 00 18 */ stw r0, 0x18(r1)
/* 8028B344 002882A4 90 01 00 1C */ stw r0, 0x1c(r1)
/* 8028B348 002882A8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8028B34C 002882AC E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0
/* 8028B350 002882B0 CB E1 00 70 */ lfd f31, 0x70(r1)
/* 8028B354 002882B4 BB 01 00 50 */ lmw r24, 0x50(r1)
/* 8028B358 002882B8 80 01 00 84 */ lwz r0, 0x84(r1)
/* 8028B35C 002882BC 7C 08 03 A6 */ mtlr r0
/* 8028B360 002882C0 38 21 00 80 */ addi r1, r1, 0x80
/* 8028B364 002882C4 4E 80 00 20 */ blr
.global "get_token_vector__12NWeaponTypesFR9CAnimDataiRQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>b"
"get_token_vector__12NWeaponTypesFR9CAnimDataiRQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>b":
/* 8028B368 002882C8 94 21 FF A0 */ stwu r1, -0x60(r1)
/* 8028B36C 002882CC 7C 08 02 A6 */ mflr r0
/* 8028B370 002882D0 C0 02 BE 6C */ lfs f0, lbl_805ADB8C@sda21(r2)
/* 8028B374 002882D4 39 00 00 00 */ li r8, 0
/* 8028B378 002882D8 90 01 00 64 */ stw r0, 0x64(r1)
/* 8028B37C 002882DC 38 E0 FF FF */ li r7, -1
/* 8028B380 002882E0 89 41 00 08 */ lbz r10, 8(r1)
/* 8028B384 002882E4 38 00 00 01 */ li r0, 1
/* 8028B388 002882E8 93 E1 00 5C */ stw r31, 0x5c(r1)
/* 8028B38C 002882EC 7C DF 33 78 */ mr r31, r6
/* 8028B390 002882F0 89 21 00 0C */ lbz r9, 0xc(r1)
/* 8028B394 002882F4 93 C1 00 58 */ stw r30, 0x58(r1)
/* 8028B398 002882F8 7C BE 2B 78 */ mr r30, r5
/* 8028B39C 002882FC 38 A1 00 10 */ addi r5, r1, 0x10
/* 8028B3A0 00288300 93 A1 00 54 */ stw r29, 0x54(r1)
/* 8028B3A4 00288304 7C 7D 1B 78 */ mr r29, r3
/* 8028B3A8 00288308 90 81 00 24 */ stw r4, 0x24(r1)
/* 8028B3AC 0028830C 38 81 00 24 */ addi r4, r1, 0x24
/* 8028B3B0 00288310 99 41 00 10 */ stb r10, 0x10(r1)
/* 8028B3B4 00288314 99 21 00 11 */ stb r9, 0x11(r1)
/* 8028B3B8 00288318 91 01 00 14 */ stw r8, 0x14(r1)
/* 8028B3BC 0028831C 91 01 00 18 */ stw r8, 0x18(r1)
/* 8028B3C0 00288320 91 01 00 1C */ stw r8, 0x1c(r1)
/* 8028B3C4 00288324 91 01 00 20 */ stw r8, 0x20(r1)
/* 8028B3C8 00288328 90 E1 00 28 */ stw r7, 0x28(r1)
/* 8028B3CC 0028832C D0 01 00 2C */ stfs f0, 0x2c(r1)
/* 8028B3D0 00288330 98 01 00 30 */ stb r0, 0x30(r1)
/* 8028B3D4 00288334 91 01 00 34 */ stw r8, 0x34(r1)
/* 8028B3D8 00288338 91 01 00 38 */ stw r8, 0x38(r1)
/* 8028B3DC 0028833C 99 01 00 3C */ stb r8, 0x3c(r1)
/* 8028B3E0 00288340 91 01 00 40 */ stw r8, 0x40(r1)
/* 8028B3E4 00288344 91 01 00 44 */ stw r8, 0x44(r1)
/* 8028B3E8 00288348 91 01 00 48 */ stw r8, 0x48(r1)
/* 8028B3EC 0028834C 4B DA 18 8D */ bl "GetAnimationPrimitives__9CAnimDataCFRC18CAnimPlaybackParmsRQ24rstl72set<10CPrimitive,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>"
/* 8028B3F0 00288350 7F A3 EB 78 */ mr r3, r29
/* 8028B3F4 00288354 7F C5 F3 78 */ mr r5, r30
/* 8028B3F8 00288358 38 81 00 10 */ addi r4, r1, 0x10
/* 8028B3FC 0028835C 57 E6 06 3E */ clrlwi r6, r31, 0x18
/* 8028B400 00288360 4B FF FA BD */ bl "primitive_set_to_token_vector__12NWeaponTypesFRC9CAnimDataRCQ24rstl72set<10CPrimitive,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>RQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>b"
/* 8028B404 00288364 80 81 00 20 */ lwz r4, 0x20(r1)
/* 8028B408 00288368 28 04 00 00 */ cmplwi r4, 0
/* 8028B40C 0028836C 41 82 00 0C */ beq lbl_8028B418
/* 8028B410 00288370 38 61 00 10 */ addi r3, r1, 0x10
/* 8028B414 00288374 4B DA 5E 95 */ bl sub_800312a8
lbl_8028B418:
/* 8028B418 00288378 38 00 00 00 */ li r0, 0
/* 8028B41C 0028837C 90 01 00 20 */ stw r0, 0x20(r1)
/* 8028B420 00288380 90 01 00 18 */ stw r0, 0x18(r1)
/* 8028B424 00288384 90 01 00 1C */ stw r0, 0x1c(r1)
/* 8028B428 00288388 90 01 00 14 */ stw r0, 0x14(r1)
/* 8028B42C 0028838C 83 E1 00 5C */ lwz r31, 0x5c(r1)
/* 8028B430 00288390 83 C1 00 58 */ lwz r30, 0x58(r1)
/* 8028B434 00288394 83 A1 00 54 */ lwz r29, 0x54(r1)
/* 8028B438 00288398 80 01 00 64 */ lwz r0, 0x64(r1)
/* 8028B43C 0028839C 7C 08 03 A6 */ mtlr r0
/* 8028B440 002883A0 38 21 00 60 */ addi r1, r1, 0x60
/* 8028B444 002883A4 4E 80 00 20 */ blr
.global get_asset_id_from_name__12NWeaponTypesFPCc
get_asset_id_from_name__12NWeaponTypesFPCc:
/* 8028B448 002883A8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8028B44C 002883AC 7C 08 02 A6 */ mflr r0
/* 8028B450 002883B0 7C 64 1B 78 */ mr r4, r3
/* 8028B454 002883B4 90 01 00 14 */ stw r0, 0x14(r1)
/* 8028B458 002883B8 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13)
/* 8028B45C 002883BC 81 83 00 00 */ lwz r12, 0(r3)
/* 8028B460 002883C0 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 8028B464 002883C4 7D 89 03 A6 */ mtctr r12
/* 8028B468 002883C8 4E 80 04 21 */ bctrl
/* 8028B46C 002883CC 28 03 00 00 */ cmplwi r3, 0
/* 8028B470 002883D0 41 82 00 0C */ beq lbl_8028B47C
/* 8028B474 002883D4 80 63 00 04 */ lwz r3, 4(r3)
/* 8028B478 002883D8 48 00 00 08 */ b lbl_8028B480
lbl_8028B47C:
/* 8028B47C 002883DC 38 60 FF FF */ li r3, -1
lbl_8028B480:
/* 8028B480 002883E0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8028B484 002883E4 7C 08 03 A6 */ mtlr r0
/* 8028B488 002883E8 38 21 00 10 */ addi r1, r1, 0x10
/* 8028B48C 002883EC 4E 80 00 20 */ blr

View File

@ -5469,7 +5469,7 @@ lbl_800074A8:
/* 800074C4 00004424 38 61 00 08 */ addi r3, r1, 8 /* 800074C4 00004424 38 61 00 08 */ addi r3, r1, 8
/* 800074C8 00004428 48 00 11 D5 */ bl sub_8000869c /* 800074C8 00004428 48 00 11 D5 */ bl sub_8000869c
/* 800074CC 0000442C 38 7E 00 44 */ addi r3, r30, 0x44 /* 800074CC 0000442C 38 7E 00 44 */ addi r3, r30, 0x44
/* 800074D0 00004430 48 2B 97 25 */ bl nullsub_6 /* 800074D0 00004430 48 2B 97 25 */ bl InitializeApplicationUI__FR7CGuiSys
/* 800074D4 00004434 38 1E 00 44 */ addi r0, r30, 0x44 /* 800074D4 00004434 38 1E 00 44 */ addi r0, r30, 0x44
/* 800074D8 00004438 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) /* 800074D8 00004438 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13)
/* 800074DC 0000443C 90 0D A0 70 */ stw r0, gGuiSystem@sda21(r13) /* 800074DC 0000443C 90 0D A0 70 */ stw r0, gGuiSystem@sda21(r13)

12296
asm/MetaRender/CCubeRenderer.s Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

1131
asm/Weapons/CDecal.s Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Some files were not shown because too many files have changed in this diff Show More